/*
Theme Name: Atif Malik - AI Automation Expert
Theme URI: https://atifmalik.me
Author: Skynetlabs
Author URI: https://www.skynetjoe.com
Description: Premium dark-themed portfolio WordPress theme for AI automation experts. Features glassmorphism design, ambient glow effects, refined typography, and full SEO optimization.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: dark, portfolio, one-page, custom-background, custom-logo, featured-images
Text Domain: atif-malik
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    --color-bg: #0a0a0a;
    --color-surface: #111111;
    --color-surface-2: #1a1a1a;
    --color-surface-3: #222222;
    --color-accent: #2563EB;
    --color-accent-2: #60A5FA;
    --color-accent-rgb: 37, 99, 235;
    --color-accent-2-rgb: 96, 165, 250;
    --color-text: #ededed;
    --color-text-dim: #a1a1a1;
    --color-text-muted: #666666;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --container-max: 1200px;
    --container-wide: 1400px;
    --section-padding: 112px;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    --glow-accent: 0 0 20px rgba(37, 99, 235, 0.25), 0 0 40px rgba(37, 99, 235, 0.1);
    --glow-accent-strong: 0 4px 30px rgba(37, 99, 235, 0.4), 0 0 60px rgba(37, 99, 235, 0.15);
    --glow-accent-2: 0 0 20px rgba(96, 165, 250, 0.25), 0 0 40px rgba(96, 165, 250, 0.1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Grain / noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-base), opacity var(--transition-base);
}

a:hover {
    color: var(--color-accent-2);
}

a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 2px;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 2px;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Skip to content (accessibility) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    z-index: 100000;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 10px;
    color: #fff;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-text);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.03em;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    letter-spacing: -0.02em;
}

h4 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    letter-spacing: -0.01em;
}

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--color-text-dim);
    line-height: 1.7;
    max-width: 680px;
}

code, pre, .mono {
    font-family: var(--font-mono);
}

.text-accent {
    color: var(--color-accent);
}

.text-accent-2 {
    color: var(--color-accent-2);
}

.text-gradient {
    background: linear-gradient(135deg, #2563EB, #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* Alternating section backgrounds */
section:nth-child(even) {
    background-color: var(--color-surface);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.section-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-header p {
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Animated Grid Background
   ========================================================================== */

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Floating orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
    will-change: transform;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(37, 99, 235, 0.06);
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(96, 165, 250, 0.04);
    top: 60%;
    right: -5%;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(37, 99, 235, 0.04);
    bottom: 10%;
    left: 30%;
    animation-delay: -14s;
}

/* ==========================================================================
   Custom Scrollbar
   ========================================================================== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-surface-2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--color-surface-2) var(--color-bg);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: background var(--transition-base), backdrop-filter var(--transition-base), padding var(--transition-base);
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 0;
}

.nav-container {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.03em;
}

.nav-logo span {
    background: linear-gradient(135deg, #2563EB, #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-text-dim);
    font-weight: 500;
    transition: color var(--transition-base);
    position: relative;
    letter-spacing: -0.01em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563EB, #60A5FA);
    transition: width var(--transition-base);
    border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--color-accent);
    color: #fff !important;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    letter-spacing: -0.01em;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    color: #fff !important;
    box-shadow: var(--glow-accent);
    transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    box-shadow: var(--glow-accent-strong);
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    border-color: rgba(37, 99, 235, 0.4);
    color: var(--color-text);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.btn-accent-2 {
    background: linear-gradient(135deg, #2563EB, #60A5FA);
    color: #fff;
}

.btn-accent-2:hover {
    box-shadow: var(--glow-accent-2);
    transform: translateY(-2px);
    color: #fff;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: all var(--transition-base);
    position: relative;
    overflow: clip;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(37, 99, 235, 0.06);
}

.card:hover::before {
    opacity: 1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    text-align: center;
    overflow-x: hidden;
}

/* Ambient glow background for hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(96, 165, 250, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite;
}

.hero h1 {
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.15s both;
}

.hero h1 .line {
    display: block;
}

.hero-description {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 64px;
    animation: fadeInUp 0.6s ease-out 0.45s both;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 48px;
    animation: fadeInUp 0.6s ease-out 0.6s both;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    background: linear-gradient(135deg, #2563EB, #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: all var(--transition-base);
    position: relative;
    overflow: clip;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563EB, #60A5FA);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(37, 99, 235, 0.06);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: rgba(37, 99, 235, 0.12);
    box-shadow: 0 0 24px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.25);
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-features span {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--color-text-dim);
    font-family: var(--font-mono);
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.portfolio-card {
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    overflow: clip;
    transition: all var(--transition-base);
    position: relative;
}

.portfolio-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 99, 235, 0.06);
}

.portfolio-card-image {
    width: 100%;
    height: 220px;
    background: var(--color-surface-2);
    position: relative;
    overflow: hidden;
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.05);
}

.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-card:hover .portfolio-card-overlay {
    opacity: 1;
}

.portfolio-card-content {
    padding: 28px;
}

.portfolio-card-content h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.portfolio-card-content p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.portfolio-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--color-accent);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   VEO3 Section
   ========================================================================== */

.veo3-section {
    background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.03), transparent);
}

.veo3-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--border-radius);
    padding: 64px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: clip;
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.06);
}

.veo3-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2563EB, #60A5FA, transparent);
}

.veo3-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(96, 165, 250, 0.06);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-accent-2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.veo3-price {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 700;
    margin: 24px 0;
    letter-spacing: -0.03em;
}

.veo3-price .currency {
    font-size: 0.5em;
    vertical-align: super;
    background: linear-gradient(135deg, #2563EB, #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.veo3-price .period {
    font-size: 0.35em;
    color: var(--color-text-muted);
    font-weight: 400;
}

/* VEO3 features grid — primary styles in components.css */
.veo3-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 0 0 calc(8px * 8);
    text-align: center;
    list-style: none;
    padding: 0;
}

/* ==========================================================================
   Process / How I Work Section
   ========================================================================== */

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    counter-reset: step;
    position: relative;
}

.process-step {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 36px;
    position: relative;
    transition: all var(--transition-base);
    counter-increment: step;
}

.process-step::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(96, 165, 250, 0.08));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
}

.process-step:hover {
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(37, 99, 235, 0.06);
}

.process-step h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.process-step p {
    font-size: 0.9rem;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 36px;
    position: relative;
    transition: all var(--transition-base);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 28px;
    font-size: 4rem;
    line-height: 1;
    color: rgba(37, 99, 235, 0.2);
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    border-color: rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--color-text-dim);
    margin-bottom: 20px;
    padding-top: 24px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(96, 165, 250, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

/* ==========================================================================
   Tech Stack Section
   ========================================================================== */

.techstack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-sm);
    padding: 24px 16px;
    text-align: center;
    transition: all var(--transition-base);
}

.tech-item:hover {
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.tech-item-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.tech-item-name {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--color-text-dim);
}

/* ==========================================================================
   Why Section
   ========================================================================== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.why-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 36px;
    position: relative;
    transition: all var(--transition-base);
}

.why-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(37, 99, 235, 0.06);
}

.why-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(96, 165, 250, 0.1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.why-card p {
    font-size: 0.9rem;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.faq-item.active {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.06);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-base);
    letter-spacing: -0.01em;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-question:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--color-accent);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--color-text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   CTA / Contact Section
   ========================================================================== */

.cta-section {
    text-align: center;
    padding: 128px 0;
    position: relative;
    overflow: clip;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(96, 165, 250, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section h2 {
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--color-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.footer-brand h3 span {
    background: linear-gradient(135deg, #2563EB, #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 360px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--color-text-dim);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--color-text);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-credits {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-credits a {
    color: var(--color-text-dim);
}

.footer-credits a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    z-index: 999;
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.45);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* ==========================================================================
   Chatbot
   ========================================================================== */

.chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 380px;
    max-height: 520px;
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(37, 99, 235, 0.06);
    z-index: 998;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-container.active {
    display: flex;
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--color-surface-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chatbot-header h4 {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-status {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite;
}

.chatbot-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background var(--transition-base);
    font-size: 1.2rem;
    color: var(--color-text-dim);
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.06);
}

.chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 300px;
}

.chatbot-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chatbot-input-area input {
    flex: 1;
    padding: 10px 16px;
    background: var(--color-surface-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    color: var(--color-text);
    transition: border-color var(--transition-base);
}

.chatbot-input-area input:focus {
    border-color: rgba(37, 99, 235, 0.4);
}

.chatbot-input-area button {
    padding: 10px 20px;
    background: var(--color-accent);
    color: #fff;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: box-shadow var(--transition-base);
}

.chatbot-input-area button:hover {
    box-shadow: var(--glow-accent);
}

.chatbot-toggle {
    position: fixed;
    bottom: 24px;
    right: 90px;
    width: 56px;
    height: 56px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-accent);
    z-index: 999;
    transition: all var(--transition-base);
    cursor: pointer;
}

.chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: var(--glow-accent-strong);
}

.chatbot-toggle svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes glow {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 4px currentColor;
    }
    50% {
        opacity: 0.5;
        box-shadow: 0 0 12px currentColor;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, -30px);
    }
    50% {
        transform: translate(-15px, 20px);
    }
    75% {
        transform: translate(25px, 15px);
    }
}

@keyframes morph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll reveal utility */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible,
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .orb {
        animation: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    /* Mobile menu */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-surface);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right var(--transition-base);
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-links a::after {
        display: none;
    }

    /* Mobile overlay */
    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999;
    }

    .mobile-overlay.active {
        display: block;
    }

    .hero {
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-stats .stat {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .veo3-card {
        padding: 36px 24px;
    }

    .card {
        padding: 28px;
    }

    .chatbot-container {
        width: calc(100% - 32px);
        right: 16px;
        left: 16px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .techstack-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   WordPress Specific
   ========================================================================== */

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
    padding-top: 8px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--color-surface);
    clip: auto !important;
    clip-path: none;
    color: var(--color-accent);
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   Backdrop-filter Fallback for Older Browsers
   ========================================================================== */

@supports not (backdrop-filter: blur(10px)) {
    .card,
    .service-card,
    .veo3-card,
    .process-step,
    .testimonial-card,
    .why-card,
    .site-header {
        background: rgba(17, 17, 17, 0.95);
    }
}

/* ==========================================================================
   No-JS Fallback — Ensure content is visible without JavaScript
   ========================================================================== */

.reveal {
    /* JS adds .active to trigger the reveal — this ensures content shows even without JS */
}

.no-js .reveal,
.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
