/* ===== GRADIENT MESH FUSION — DESIGN SYSTEM ===== */
:root {
    --bg: #0a0a12;
    --bg-card: rgba(18, 18, 30, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text: #e8e8f0;
    --text-muted: #8888a0;
    --text-dim: #55556a;
    --white: #ffffff;

    --blue: #3b82f6;
    --blue-glow: rgba(59, 130, 246, 0.3);
    --purple: #8b5cf6;
    --purple-glow: rgba(139, 92, 246, 0.3);
    --teal: #06b6d4;
    --teal-glow: rgba(6, 182, 212, 0.3);
    --orange: #f59e0b;
    --orange-glow: rgba(245, 158, 11, 0.3);
    --pink: #ec4899;
    --pink-glow: rgba(236, 72, 153, 0.3);
    --green: #10b981;
    --green-glow: rgba(16, 185, 129, 0.3);

    --grad-rainbow: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b);
    --grad-blue: linear-gradient(135deg, #3b82f6, #06b6d4);
    --grad-purple: linear-gradient(135deg, #8b5cf6, #6366f1);
    --grad-teal: linear-gradient(135deg, #06b6d4, #10b981);
    --grad-orange: linear-gradient(135deg, #f59e0b, #ef4444);
    --grad-pink: linear-gradient(135deg, #ec4899, #8b5cf6);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== GRADIENT MESH BLOBS ===== */
.mesh-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    will-change: transform;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--blue);
    top: -10%;
    left: -5%;
    animation: blobMove1 20s infinite alternate;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--pink);
    top: 30%;
    right: -10%;
    animation: blobMove2 25s infinite alternate;
}

.blob-3 {
    width: 550px;
    height: 550px;
    background: var(--teal);
    bottom: 10%;
    left: 20%;
    animation: blobMove3 22s infinite alternate;
}

.blob-4 {
    width: 400px;
    height: 400px;
    background: var(--orange);
    top: 60%;
    right: 25%;
    animation: blobMove4 18s infinite alternate;
}

@keyframes blobMove1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(200px, 100px) scale(1.1);
    }

    66% {
        transform: translate(100px, 300px) scale(0.9);
    }

    100% {
        transform: translate(-50px, 150px) scale(1.05);
    }
}

@keyframes blobMove2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-150px, 200px) scale(1.15);
    }

    66% {
        transform: translate(-300px, 50px) scale(0.95);
    }

    100% {
        transform: translate(-100px, -100px) scale(1.1);
    }
}

@keyframes blobMove3 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(250px, -150px) scale(1.1);
    }

    66% {
        transform: translate(100px, -250px) scale(0.9);
    }

    100% {
        transform: translate(-100px, -50px) scale(1);
    }
}

@keyframes blobMove4 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-200px, -100px) scale(0.9);
    }

    66% {
        transform: translate(50px, -200px) scale(1.2);
    }

    100% {
        transform: translate(150px, 100px) scale(1);
    }
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    will-change: left, top;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--grad-rainbow);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
}

/* ===== REVEAL ===== */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-up:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal-up:nth-child(3) {
    transition-delay: 0.15s;
}

.reveal-up:nth-child(4) {
    transition-delay: 0.2s;
}

.reveal-up:nth-child(5) {
    transition-delay: 0.25s;
}

.reveal-up:nth-child(6) {
    transition-delay: 0.3s;
}

/* ===== COMMON ===== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.15);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}

.tag-dot {
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.gradient-text-rainbow {
    background: var(--grad-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-blue {
    background: var(--grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-purple {
    background: var(--grad-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-teal {
    background: var(--grad-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-orange {
    background: var(--grad-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-pink {
    background: var(--grad-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== PILLS ===== */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(12px);
}

.pill-blue {
    background: rgba(59, 130, 246, 0.28);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.55);
    text-shadow: 0 0 10px rgba(59, 130, 246, .4);
}

.pill-purple {
    background: rgba(139, 92, 246, 0.28);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.55);
    text-shadow: 0 0 10px rgba(139, 92, 246, .4);
}

.pill-teal {
    background: rgba(20, 184, 166, 0.28);
    color: #5eead4;
    border: 1px solid rgba(20, 184, 166, 0.55);
    text-shadow: 0 0 10px rgba(20, 184, 166, .4);
}

.pill-orange {
    background: rgba(245, 158, 11, 0.28);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.55);
    text-shadow: 0 0 10px rgba(245, 158, 11, .4);
}

.pill-pink {
    background: rgba(236, 72, 153, 0.28);
    color: #f9a8d4;
    border: 1px solid rgba(236, 72, 153, 0.55);
    text-shadow: 0 0 10px rgba(236, 72, 153, .4);
}

.pill-green {
    background: rgba(16, 185, 129, 0.28);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.55);
    text-shadow: 0 0 10px rgba(16, 185, 129, .4);
}

/* ===== BUTTONS ===== */
.btn-gradient {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--white);
    background: var(--grad-rainbow);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.4s var(--ease);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
}

.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text);
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.4s var(--ease);
    position: relative;
    z-index: 1;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 20px 40px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.4s var(--ease);
}

/* ===== SUBPAGE NAVBAR (svc-*, plan-*, story, timeline, certifications) ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 3, 15, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 2rem;
    height: 52px;
    transition: background 0.3s ease;
}

.nav .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    gap: 1.5rem;
}

.nav .nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.nav .nav-link {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav .nav-link:hover {
    color: #fff;
}

.nav .nav-phone {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
}

/* Also handle .nav-container inside .navbar (timeline.html uses this) */
.navbar .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    gap: 1.5rem;
    padding: 0 2rem;
}

.navbar .nav-container .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.navbar .nav-container .nav-link {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.navbar .nav-container .nav-link:hover {
    color: #fff;
}

.navbar .nav-container .nav-phone {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
}

/* ===== DRAWER NAVIGATION ===== */
.drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    transition: transform 0.4s var(--ease);
    z-index: 1100;
    padding: 2rem 1.5rem;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.3);
}

.drawer.open {
    transform: translateX(100%);
}

.drawer-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.drawer-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.drawer-link {
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
    transition: color var(--transition);
}

.drawer-link:hover {
    color: var(--accent);
}

/* ===== PROGRESS DOTS ===== */
.progress-dots {
    position: fixed;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1050;
}

.progress-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-dim);
    transition: background var(--transition);
    cursor: pointer;
}

.progress-dots .dot.active {
    background: var(--accent);
}

/* ===== HERO TITLE ANIMATION ===== */
@keyframes titleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-title {
    animation: titleFadeIn 1s ease-out forwards;
}



.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

.nav-logo img,
.footer-logo img {
    mix-blend-mode: screen;
}

.logo-apple {
    font-size: 1.3rem;
}

.nav-center {
    display: flex;
    gap: 4px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: var(--bg-glass);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-phone {
    font-size: 0.82rem;
    color: var(--text-dim);
    transition: color 0.3s;
}

.nav-phone:hover {
    color: var(--white);
}

.nav-cta {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 10px 22px;
    background: var(--grad-rainbow);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    color: var(--white);
    border-radius: var(--radius);
    transition: all 0.4s var(--ease);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 120px 0 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ─── Hero two-layer floating system ─── */
.hero-image-wrap {
    position: relative;
    width: 520px;
    height: 560px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    /* Lower into vertical center of hero */
    margin-top: 60px;
    /* Entire wrap on its own GPU layer */
    will-change: transform;
}


/* Ambient colour glow behind both elements */
.hero-image-wrap::before {
    content: '';
    position: absolute;
    width: 460px;
    height: 460px;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    background: radial-gradient(ellipse 55% 52% at 50% 46%,
            rgba(124, 58, 237, 0.32) 0%,
            rgba(59, 130, 246, 0.20) 48%,
            transparent 72%);
    border-radius: 50%;
    filter: blur(42px);
    z-index: 0;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

/* Shared layer base — transparent PNGs render natively, no mask needed */
.hero-layer {
    position: absolute;
    border-radius: 0;
    background: transparent;
    will-change: transform;
    transform: translateZ(0);
}

/* HAND — fills the lower portion, floats slowly like something heavy */
.hero-hand {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    bottom: 0;
    z-index: 2;
    filter:
        drop-shadow(0 0 28px rgba(96, 165, 250, .38)) drop-shadow(0 0 10px rgba(124, 58, 237, .28)) drop-shadow(0 0 55px rgba(6, 182, 212, .15)) drop-shadow(0 0 22px rgba(59, 130, 246, .12));
    animation: handDrift 11s ease-in-out infinite;
}


/* APPLE — floats gently above fingertips, depth via shadow animation */
.hero-apple {
    width: 50%;
    height: 50%;
    object-fit: contain;
    top: 18%;
    left: 50%;
    translate: -50% 0;
    z-index: 3;

    animation: appleDrift 14s ease-in-out infinite;
}



/* Hand: very slow, minimal movement — grounded, heavy */
@keyframes handFloat {

    0%,
    100% {
        transform: translateZ(0) translateY(0px);
        filter: drop-shadow(0 0 28px rgba(96, 165, 250, .35)) drop-shadow(0 0 10px rgba(124, 58, 237, .25));
    }

    50% {
        transform: translateZ(0) translateY(-3px);
        filter: drop-shadow(0 0 22px rgba(96, 165, 250, .28)) drop-shadow(0 0 8px rgba(124, 58, 237, .2));
    }
}

/* ── Shared group float — apple + hand move as ONE unit ─────────────── */
@keyframes groupFloat {

    0%,
    100% {
        transform: translateZ(0) translateY(0px);
    }

    50% {
        transform: translateZ(0) translateY(-7px);
    }
}

/* ── Hand: floats UP/DOWN gently — slightly slower than apple ─────────── */
@keyframes handDrift {

    0%,
    100% {
        transform: translateZ(0) translateY(0px);
    }

    50% {
        transform: translateZ(0) translateY(-8px);
    }
}

/* ── Apple: floats UP ~1mm more — effortless levitation */
@keyframes appleDrift {

    0%,
    100% {
        transform: translateZ(0) translateY(0px);
    }

    50% {
        transform: translateZ(0) translateY(-10px);
    }
}


/* Apple: gentle hover — stays fully above hand, shadow grows at peak to add depth */
@keyframes appleRise {

    0%,
    100% {
        transform: translateZ(0) translateY(0px) scale(1);
        filter:
            drop-shadow(0 8px 18px rgba(0, 0, 0, .7)) drop-shadow(0 2px 4px rgba(0, 0, 0, .5)) drop-shadow(0 0 48px rgba(124, 58, 237, .6)) drop-shadow(0 0 20px rgba(59, 130, 246, .45)) drop-shadow(0 0 80px rgba(124, 58, 237, .18));
    }

    50% {
        transform: translateZ(0) translateY(-3px) scale(1.008);
        filter:
            drop-shadow(0 14px 28px rgba(0, 0, 0, .65)) drop-shadow(0 4px 8px rgba(0, 0, 0, .45)) drop-shadow(0 0 60px rgba(124, 58, 237, .72)) drop-shadow(0 0 28px rgba(59, 130, 246, .55)) drop-shadow(0 0 100px rgba(124, 58, 237, .22));
    }
}



/* ── iPhone Call Swap ── */

/* Apple gets a transition so it cross-fades smoothly */
.hero-apple {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* iPhone: same position/size/slot as the apple — invisible by default */
.hero-iphone {
    /* Same slot as apple — same size, same position */
    width: 50%;
    height: 50%;
    object-fit: contain;
    top: 2%;
    left: 50%;
    translate: -50% 0;
    z-index: 4;
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateZ(0) translateY(8px) scale(0.9);
    filter:
        drop-shadow(0 0 32px rgba(34, 197, 94, .6)) drop-shadow(0 0 60px rgba(34, 197, 94, .25));
    transition:
        opacity 0.65s cubic-bezier(.16, 1, .3, 1),
        transform 0.65s cubic-bezier(.16, 1, .3, 1),
        visibility 0s linear 0.65s;
}

/* ── Hover active state ── */

@keyframes iphoneFloat {

    0%,
    100% {
        transform: translateZ(0) translateY(0px) scale(1);
    }

    50% {
        transform: translateZ(0) translateY(-28px) scale(1.03);
    }
}





/* Apple floats independently — faster, more lift than the hand */
@keyframes appleFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    40% {
        transform: translateY(-18px) scale(1.03);
    }

    70% {
        transform: translateY(-12px) scale(1.01);
    }
}

.hero-apple-float {
    animation: appleFloat 4s ease-in-out infinite;
    transform-origin: 180px 130px;
}

/* Sparkle twinkle animations */
@keyframes sparklePulse {

    0%,
    100% {
        opacity: 0.75;
        r: 2.2;
    }

    50% {
        opacity: 0.2;
        r: 1.2;
    }
}

@keyframes sparklePulse2 {

    0%,
    100% {
        opacity: 0.65;
    }

    60% {
        opacity: 0.15;
    }
}

.sparkle-1 {
    animation: sparklePulse 2.4s ease-in-out infinite;
}

.sparkle-2 {
    animation: sparklePulse2 3.1s ease-in-out 0.8s infinite;
}

.sparkle-3 {
    animation: sparklePulse 2.8s ease-in-out 1.4s infinite;
}

.sparkle-4 {
    animation: sparklePulse2 2.2s ease-in-out 0.4s infinite;
}


.hero-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(59, 130, 246, 0.2) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(40px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    z-index: 2;
    animation: ringRotate 20s linear infinite;
}

.ring-1 {
    width: 300px;
    height: 300px;
    border-color: rgba(59, 130, 246, 0.15);
    animation-duration: 20s;
}

.ring-2 {
    width: 360px;
    height: 360px;
    border-color: rgba(139, 92, 246, 0.1);
    animation-duration: 30s;
    animation-direction: reverse;
}

.ring-3 {
    width: 420px;
    height: 420px;
    border-color: rgba(236, 72, 153, 0.08);
    animation-duration: 25s;
}

@keyframes ringRotate {
    to {
        transform: rotate(360deg);
    }
}

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 14px;
    text-align: center;
    flex: 1 1 0;
    min-width: 0;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ── 18-yr link card  ·  2026 style hover ──────────────────────────────── */
a.stat-card {
    position: relative;
    overflow: visible;
    /* must be visible so outline + glow aren't clipped */
    isolation: isolate;
    cursor: pointer;
    --mx: 50%;
    --my: 50%;
    transition: transform 0.35s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.45s ease,
        border-color 0.35s ease,
        background 0.4s ease;
}

/* Spotlight wash (follows cursor via JS) */
a.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle 110px at var(--mx) var(--my),
            rgba(6, 182, 212, .18) 0%,
            transparent 75%);
    opacity: 0;
    transition: opacity .3s ease;
}

a.stat-card:hover {
    border-color: rgba(6, 182, 212, .7);
    background: rgba(6, 182, 212, .06);
    transform: translateY(-7px) scale(1.04);
    /* outline is never clipped by overflow */
    outline: 1.5px solid rgba(6, 182, 212, .45);
    outline-offset: 3px;
    /* multi-layer glow — clearly visible */
    box-shadow:
        0 14px 44px rgba(0, 0, 0, .45),
        0 0 0 1px rgba(6, 182, 212, .5),
        0 0 18px rgba(6, 182, 212, .45),
        0 0 45px rgba(96, 165, 250, .25),
        0 0 80px rgba(6, 182, 212, .12);
    animation: statPulse 1.8s ease-in-out infinite;
}

a.stat-card:hover::after {
    opacity: 1;
}

a.stat-card:hover .stat-num {
    filter: brightness(1.25) drop-shadow(0 0 8px rgba(6, 182, 212, .6));
    transition: filter .3s ease;
}

a.stat-card:hover .stat-label {
    color: rgba(6, 182, 212, .9);
    transition: color .3s ease;
}

a.stat-card:active {
    transform: translateY(-2px) scale(0.98);
    animation: none;
    transition-duration: .08s;
}

/* Beacon pulse — the glow breathes while you hover ── */
@keyframes statPulse {

    0%,
    100% {
        box-shadow:
            0 14px 44px rgba(0, 0, 0, .45),
            0 0 0 1px rgba(6, 182, 212, .5),
            0 0 18px rgba(6, 182, 212, .45),
            0 0 45px rgba(96, 165, 250, .25),
            0 0 80px rgba(6, 182, 212, .12);
    }

    50% {
        box-shadow:
            0 14px 44px rgba(0, 0, 0, .45),
            0 0 0 1px rgba(6, 182, 212, .8),
            0 0 26px rgba(6, 182, 212, .65),
            0 0 60px rgba(96, 165, 250, .40),
            0 0 110px rgba(6, 182, 212, .20);
    }
}

/* ── Page transition overlay ──────────────────────────────────────────────── */
#pageTransitionVeil {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    background: radial-gradient(circle at var(--ox, 50%) var(--oy, 50%),
            #0d0a1e 0%, #050510 100%);
    clip-path: circle(0% at var(--ox, 50%) var(--oy, 50%));
    transition: clip-path .65s cubic-bezier(.4, 0, .2, 1);
}

#pageTransitionVeil.expanding {
    clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%));
}

/* Entry reveal on new page */
.page-reveal #pageTransitionVeil {
    clip-path: circle(150% at 50% 50%);
    transition: none;
}

.page-reveal #pageTransitionVeil.revealed {
    clip-path: circle(0% at 50% 50%);
    transition: clip-path .7s cubic-bezier(.4, 0, .2, 1) .05s;
}

.stat-card:nth-child(1) .stat-num {
    background: var(--grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card:nth-child(2) .stat-num {
    background: var(--grad-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card:nth-child(3) .stat-num {
    background: var(--grad-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card:nth-child(4) .stat-num {
    background: var(--grad-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Number + suffix on same line */
.stat-num-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    display: inline;
    font-variant-numeric: tabular-nums;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
    display: inline;
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 6px;
}

/* ===== ABOUT ===== */
.about {
    position: relative;
    z-index: 2;
    padding: 140px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-photo-stack {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.photo-main {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    position: relative;
    z-index: 3;
    border-radius: 0;
    border: none;
    /* Transparent PNG — rendered natively by browser, no mask needed */
    background: transparent;
}

.photo-accent {
    position: absolute;
    border-radius: var(--radius);
    object-fit: cover;
    z-index: 2;
    border: 2px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s var(--ease);
}

.photo-accent-1 {
    width: 160px;
    height: 120px;
    bottom: -20px;
    right: -40px;
    z-index: 4;
}

.photo-accent-1:hover {
    transform: scale(1.05) rotate(-2deg);
}

.photo-accent-2 {
    width: 140px;
    height: 100px;
    top: -20px;
    right: -30px;
}

.photo-accent-2:hover {
    transform: scale(1.05) rotate(2deg);
}

.about-badge-float {
    position: absolute;
    bottom: 40px;
    left: -30px;
    z-index: 5;
    background: var(--grad-rainbow);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    border-radius: var(--radius);
    padding: 16px 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}

.badge-year {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
}

.badge-text {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--white);
    font-weight: 600;
}

.trust-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.trust-item {
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s var(--ease);
}

.trust-item:hover {
    border-color: var(--blue);
    color: var(--white);
    background: rgba(59, 130, 246, 0.1);
}

/* ===== SERVICES ===== */
.services {
    position: relative;
    z-index: 2;
    padding: 0 0 140px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    display: block;
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: visible;
    transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.5s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transform-style: preserve-3d;
}

/*
 * .service-card IS the <a> anchor — never disable pointer-events on it.
 * Only disable on its inner elements so clicks pass to the anchor.
 */
.service-card * {
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .06);
}

/* Color-matched hover glow per card type */
.service-card.card-blue:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3), 0 0 40px rgba(59, 130, 246, .15);
    border-color: rgba(59, 130, 246, .4);
}

.service-card.card-green:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3), 0 0 40px rgba(16, 185, 129, .15);
    border-color: rgba(16, 185, 129, .4);
}

.service-card.card-orange:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3), 0 0 40px rgba(245, 158, 11, .15);
    border-color: rgba(245, 158, 11, .4);
}

.service-card.card-pink:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3), 0 0 40px rgba(236, 72, 153, .15);
    border-color: rgba(236, 72, 153, .4);
}

.service-card.card-teal:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3), 0 0 40px rgba(6, 182, 212, .15);
    border-color: rgba(6, 182, 212, .4);
}

.service-card.card-purple:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3), 0 0 40px rgba(139, 92, 246, .15);
    border-color: rgba(139, 92, 246, .4);
}

.card-color-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    border-radius: 0 0 4px 0;
    transition: height 0.5s var(--ease);
    z-index: 3;
}

.service-card:hover .card-color-bar {
    height: 100%;
}

.card-blue .card-color-bar {
    background: var(--grad-blue);
}

.card-purple .card-color-bar {
    background: var(--grad-purple);
}

.card-teal .card-color-bar {
    background: var(--grad-teal);
}

.card-orange .card-color-bar {
    background: var(--grad-orange);
}

.card-pink .card-color-bar {
    background: var(--grad-pink);
}

.card-green .card-color-bar {
    background: var(--grad-teal);
}

.card-img-area {
    position: relative;
    height: 180px;
    overflow: hidden;
    /* perspective so the SVG spins in 3D */
    perspective: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.card-img-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease), filter 0.5s var(--ease);
    filter: brightness(1.0);
}

.card-svg {
    width: 85%;
    height: 85%;
    display: block;
    /* BLACK background becomes transparent — same technique as hero apple */
    background: transparent;
    mix-blend-mode: screen;
    transition: transform 0.8s cubic-bezier(.16, 1, .3, 1), filter 0.4s ease;
    transform-origin: center center;
    /* Subtle 3D float at rest */
    transform: perspective(600px) rotateY(0deg) rotateX(4deg);
    filter:
        drop-shadow(0 8px 20px rgba(0, 0, 0, .6)) drop-shadow(0 0 12px currentColor);
}

.service-card:hover .card-img-area img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* Full 360 spin on hover */
.service-card:hover .card-svg {
    transform: perspective(600px) rotateY(360deg) rotateX(0deg);
    filter:
        drop-shadow(0 4px 12px rgba(0, 0, 0, .4)) drop-shadow(0 0 24px currentColor);
}

.card-body {
    padding: 24px 28px 28px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.card-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.3s var(--ease);
}

.card-blue .card-link {
    color: var(--blue);
}

.card-purple .card-link {
    color: var(--purple);
}

.card-teal .card-link {
    color: var(--teal);
}

.card-orange .card-link {
    color: var(--orange);
}

.card-pink .card-link {
    color: var(--pink);
}

.card-green .card-link {
    color: var(--green);
}

.service-card:hover .card-link {
    letter-spacing: 0.04em;
}

.card-blue:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 16px 48px var(--blue-glow);
}

.card-purple:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 16px 48px var(--purple-glow);
}

.card-teal:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 16px 48px var(--teal-glow);
}

.card-orange:hover {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 16px 48px var(--orange-glow);
}

.card-pink:hover {
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 16px 48px var(--pink-glow);
}

.card-green:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 16px 48px var(--green-glow);
}

/* ===== PRICING ===== */
.pricing {
    position: relative;
    z-index: 2;
    padding: 140px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.price-card {
    flex: 1;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s var(--ease);
    position: relative;
}

/*
 * Card clickability: .price-card IS the <a> tag.
 * Disable pointer-events on all its internal children so
 * clicks always land on the parent <a> anchor.
 */
.price-card * {
    pointer-events: none;
}

/* Ensure inner CTA buttons remain clickable */
.price-card .engage-now-btn {
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.price-card.featured {
    border-color: rgba(139, 92, 246, 0.3);
}

.featured-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 14px;
    background: var(--grad-rainbow);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    color: var(--white);
    border-radius: var(--radius-pill);
}

.price-card-img {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.price-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

/* Real photo cards */
.price-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.0) saturate(1.05);
    transition: transform 0.7s cubic-bezier(.16, 1, .3, 1), filter 0.5s ease;
}

.price-card:hover .price-photo {
    transform: scale(1.07);
    filter: brightness(1.1) saturate(1.1);
}

.price-svg {
    width: 100%;
    height: 100%;
    display: block;
    background: rgba(0, 0, 0, 0.2);
    transition: transform 0.5s var(--ease);
}

.price-card:hover .price-card-img img {
    transform: scale(1.05);
}

.price-card:hover .price-svg {
    transform: scale(1.06);
}

.price-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, var(--bg-card) 100%);
}

.price-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.price-card-body {
    padding: 24px 28px 28px;
}

.price-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.price-dollar {
    font-size: 1.2rem;
    color: var(--text-dim);
}

.price-val {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.price-per {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-left: 4px;
}

.price-features {
    list-style: none;
    margin-bottom: 24px;
}

.price-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features li::before {
    content: '✓';
    color: var(--teal);
    font-weight: 700;
    font-size: 0.75rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    position: relative;
    z-index: 2;
    padding: 0 0 140px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.test-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s var(--ease);
}

.test-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.test-stars {
    color: var(--orange);
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.test-card p {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.test-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
}

.avatar-blue {
    background: var(--grad-blue);
}

.avatar-purple {
    background: var(--grad-purple);
}

.avatar-teal {
    background: var(--grad-teal);
}

.test-author strong {
    display: block;
    font-size: 0.88rem;
    color: var(--white);
}

.test-author span {
    font-size: 0.72rem;
    color: var(--text-dim);
}

/* ===== CTA ===== */
.cta {
    position: relative;
    z-index: 2;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 18, 0.65) 0%, rgba(10, 10, 18, 0.45) 50%, rgba(10, 10, 18, 0.65) 100%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin: 16px 0 16px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 2;
    padding: 80px 0 0;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.3s var(--ease);
}

.social-link:hover {
    color: var(--white);
    border-color: var(--blue);
    background: rgba(59, 130, 246, 0.1);
}

.footer-contact h4,
.footer-form-area h4 {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-contact a,
.footer-contact span {
    display: block;
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 4px 0;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--blue);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.88rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.3s;
    resize: vertical;
}

.form-input::placeholder {
    color: var(--text-dim);
}

.form-input:focus {
    border-color: var(--blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-dim);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-center,
    .nav-right .nav-phone {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-center {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: rgba(10, 10, 18, 0.95);
        backdrop-filter: blur(24px);
        border-left: 1px solid var(--border);
        padding: 80px 32px 32px;
        gap: 0;
        transition: right 0.4s var(--ease);
    }

    .nav-center.active {
        display: flex;
        right: 0;
    }

    .nav-link {
        font-size: 1rem;
        padding: 14px 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }

    .hero-pills {
        justify-content: center;
    }

    .hero-desc {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-wrap {
        width: 280px;
        height: 280px;
    }

    .hero-img {
        width: 180px;
    }

    .hero-stats {
        gap: 12px;
    }

    .stat-card {
        min-width: 140px;
        padding: 16px 20px;
    }

    .stat-num {
        font-size: 1.8rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-photo-stack {
        max-width: 300px;
        margin: 0 auto;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .trust-row {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .mesh-blob {
        filter: blur(80px);
        opacity: 0.25;
    }

    .cursor-glow {
        display: none;
    }

    section {
        padding: 80px 0;
    }
}

/* ===== SITE-WIDE MOTION ANIMATIONS ===== */

/* Hero pills gently float at different offsets */
@keyframes floatBob {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-7px);
    }
}

.hero-pills .pill:nth-child(1) {
    animation: floatBob 3.8s ease-in-out infinite;
}

.hero-pills .pill:nth-child(2) {
    animation: floatBob 3.8s ease-in-out 0.8s infinite;
}

.hero-pills .pill:nth-child(3) {
    animation: floatBob 3.8s ease-in-out 1.6s infinite;
}

/* Stat cards breathe with a subtle glow pulse */
@keyframes breatheGlow {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 8px 36px rgba(59, 130, 246, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.08);
    }
}

.stat-card {
    animation: breatheGlow 4s ease-in-out infinite;
}

.stat-card:nth-child(2) {
    animation-delay: 1s;
}

.stat-card:nth-child(3) {
    animation-delay: 2s;
}

.stat-card:nth-child(4) {
    animation-delay: 3s;
}

/* SVG illustrations fade+scale in when scrolled into view */
@keyframes svgReveal {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.service-card.revealed .card-svg,
.price-card.revealed .price-svg {
    animation: svgReveal 0.8s var(--ease) both;
}

/* Gentle gradient text shimmer on all coloured headings */
@keyframes gradientShimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.gradient-text-rainbow,
.gradient-text-blue,
.gradient-text-purple,
.gradient-text-teal,
.gradient-text-orange,
.gradient-text-pink {
    background-size: 200% 200%;
    animation: gradientShimmer 6s ease infinite;
}

/* Section-tag dot keeps pulsing everywhere it appears */
.tag-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    margin-right: 6px;
    vertical-align: middle;
    animation: pulse 2.2s ease-in-out infinite;
}

/* Card colour-bar shimmer */
@keyframes barShimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.card-color-bar {
    background-size: 200% 100%;
    animation: barShimmer 4s linear infinite;
}

/* Hero about-badge float */
.about-badge-float {
    animation: floatBob 4s ease-in-out 0.5s infinite;
}

/* ===================================================
   MAGAZINE SCROLL CHOREOGRAPHY
   Fashion/editorial infographic-style reveals
=================================================== */

/* ── Section headers: clip from bottom up ── */
.mag-header {
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    transition:
        clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.6s ease;
}

.mag-header.mag-visible {
    clip-path: inset(0 0 0% 0);
    opacity: 1;
}

/* ── Cards: subtle rise + fade, staggered ── */
.mag-card {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.mag-card.mag-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger based on order within grid */
.mag-card:nth-child(2) {
    transition-delay: 0.10s;
}

.mag-card:nth-child(3) {
    transition-delay: 0.20s;
}

.mag-card:nth-child(4) {
    transition-delay: 0.30s;
}

.mag-card:nth-child(5) {
    transition-delay: 0.40s;
}

.mag-card:nth-child(6) {
    transition-delay: 0.50s;
}

/* ── About section: left/right horizontal splits ── */
.mag-from-left {
    opacity: 0;
    transform: translateX(-36px);
    transition:
        opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.mag-from-right {
    opacity: 0;
    transform: translateX(36px);
    transition:
        opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.mag-from-left.mag-visible,
.mag-from-right.mag-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── Contact fade-up ── */
.mag-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.mag-fade-up.mag-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Decorative hairline gradient divider ── */
.mag-divider {
    position: relative;
    width: 0%;
    height: 1px;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(96, 165, 250, 0.5) 25%,
            rgba(167, 139, 250, 0.7) 50%,
            rgba(96, 165, 250, 0.5) 75%,
            transparent 100%);
    margin: 0 auto 0;
    transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.mag-divider--active {
    width: 80%;
}

/* Hero image simplified float — gentle, no rotation on auto-float */
@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* ===================================================
   PERFORMANCE OPTIMIZATIONS
=================================================== */

/* Sections: contained for paint optimisation */
section {
    contain: layout style paint;
}

/* GPU composite animated cards */
.service-card,
.price-card,
.stat-card,
.testimonial-card {
    transform: translateZ(0);
    will-change: transform, opacity;
}

.service-card.mag-visible,
.price-card.mag-visible,
.stat-card.mag-visible,
.testimonial-card.mag-visible {
    will-change: auto;
    /* release after animation */
}

/* Navbar and scroll bar on compositor */
.navbar {
    will-change: background-color;
}

#scrollProgress {
    will-change: width;
    transform: translateZ(0);
}

/* ── Button hover — glow intensifies, no movement = zero shake ── */
.btn-primary,
.btn-glass,
.btn-outline,
button[class*="btn"] {
    transition:
        box-shadow 0.3s ease,
        filter 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;
}

.btn-primary:hover,
.btn-glass:hover,
.btn-outline:hover,
button[class*="btn"]:hover {
    box-shadow: 0 0 22px rgba(124, 58, 237, 0.45), 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.03);
}

.btn-primary:active,
.btn-glass:active,
.btn-outline:active {
    transform: scale(0.97);
    transition-duration: 0.08s;
}

/* ── 15-Min Countdown Easter Egg ─────────────────────────── */

/* Dark veil that slowly blankets the page on hover */




/* Countdown overlay — starts invisible/small, grows to full screen */










@keyframes cdPulse {
    from {
        filter: drop-shadow(0 0 40px rgba(124, 58, 237, .4)) drop-shadow(0 0 80px rgba(59, 130, 246, .25));
    }

    to {
        filter: drop-shadow(0 0 80px rgba(124, 58, 237, .7)) drop-shadow(0 0 160px rgba(59, 130, 246, .5));
    }
}



@keyframes cdBlink {

    0%,
    100% {
        opacity: .35;
    }

    50% {
        opacity: .7;
    }
}

/* Glow ring behind the timer */


/* ── iPhone swap on Call Direct hover — pure CSS, no JS ── */

/* When ANY tel: link or Call Direct btn is hovered */
body:has(#callDirectBtn:hover) .hero-apple,
body:has(a[href^="tel:"]:hover) .hero-apple {
    opacity: 0 !important;
    animation-play-state: paused !important;
}

body:has(#callDirectBtn:hover) .hero-iphone,
body:has(a[href^="tel:"]:hover) .hero-iphone {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateZ(0) translateY(0) scale(1) !important;
    animation: iphoneFloat 5.5s cubic-bezier(.45, .05, .55, .95) infinite,
        phoneVibrate 6s ease-in-out 3s infinite !important;
    transition: opacity 0.65s cubic-bezier(.16, 1, .3, 1),
        transform 0.65s cubic-bezier(.16, 1, .3, 1) !important;
}

/* ── iPhone swap — triggered by inline onmouseover on Call Direct btn ── */
body.call-hover .hero-apple {
    opacity: 0 !important;
    animation-play-state: paused !important;
}

body.call-hover #hero15Min {
    opacity: 0 !important;
}


body.call-hover .hero-iphone {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateZ(0) translateY(0) scale(1) !important;
    transition: opacity 0.65s cubic-bezier(.16, 1, .3, 1),
        transform 0.65s cubic-bezier(.16, 1, .3, 1) !important;
    animation: iphoneFloat 5.5s cubic-bezier(.45, .05, .55, .95) infinite,
        phoneVibrate 6s ease-in-out 3s infinite !important;
}

@keyframes phoneVibrate {

    /* Still for first 2.8 seconds */
    0%,
    46% {
        translate: -50% 0;
    }

    /* Subtle buzz at ~3s mark */
    47% {
        translate: calc(-50% + 1.5px) 0;
    }

    48% {
        translate: calc(-50% - 1.5px) 0.5px;
    }

    49% {
        translate: calc(-50% + 1px) -0.5px;
    }

    50% {
        translate: -50% 0;
    }

    /* Still again until 5.6s */
    51%,
    93% {
        translate: -50% 0;
    }

    /* Harder buzz at ~6s mark */
    94% {
        translate: calc(-50% + 4px) 0;
    }

    95% {
        translate: calc(-50% - 4px) 1.5px;
    }

    96% {
        translate: calc(-50% + 3px) -1px;
    }

    97% {
        translate: calc(-50% - 3px) 1px;
    }

    98% {
        translate: calc(-50% + 2px) -0.5px;
    }

    99% {
        translate: calc(-50% - 1px) 0;
    }

    100% {
        translate: -50% 0;
    }
}


/* ════════════════════════════════════════
   CERTIFICATIONS SECTION
   ════════════════════════════════════════ */
.certs {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.certs::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 80% 20%, rgba(20, 184, 166, .06) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 10% 80%, rgba(124, 58, 237, .05) 0%, transparent 70%);
    pointer-events: none;
}

.certs-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

/* Flyhyer-inspired divider list — dark glass version */
.certs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.cert-row {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding: 1.5rem 2rem 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    border-right: 1px solid rgba(255, 255, 255, .04);
    transition: background .25s ease;
    cursor: default;
}

.cert-row:nth-child(even) {
    padding-left: 2rem;
    border-right: none;
}

.cert-row:hover {
    background: rgba(255, 255, 255, .025);
}

.cert-left {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.cert-pill {
    font-size: .65rem;
    padding: .25rem .7rem;
    letter-spacing: .06em;
    font-weight: 700;
    flex-shrink: 0;
}

.cert-name {
    font-size: .85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
    line-height: 1.3;
}

.cert-desc {
    font-size: .78rem;
    color: rgba(255, 255, 255, .45);
    line-height: 1.55;
    margin: 0;
    padding-left: 0;
}

/* Responsive: stack to 1 column on mobile */
@media (max-width: 768px) {
    .certs-grid {
        grid-template-columns: 1fr;
    }

    .cert-row,
    .cert-row:nth-child(even) {
        padding: 1.25rem 0;
        border-right: none;
    }
}

/* ── Contact section background continuity layer ─────────────────────── */
section#contact {
    position: relative;
    overflow: hidden;
}

.contact-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(.16, 1, .3, 1);
    z-index: 0;
    /* Dark gradient overlay so text remains readable */
    filter: brightness(0.65) saturate(1.1);
    transform: scale(1.04);
}

.contact-bg-layer.active {
    opacity: 1;
}

section#contact .container {
    position: relative;
    z-index: 1;
}

/* ════════════════════════════════════════
   THEME TOGGLE BUTTON
   ════════════════════════════════════════ */
.theme-toggle {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    color: var(--white);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.1);
}

.theme-icon {
    position: absolute;
    transition: all 0.4s var(--ease);
}

/* Dark mode: show sun icon (to switch to light) */
.theme-icon--sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-icon--moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* Light mode: show moon icon (to switch to dark) */
html.light-mode .theme-icon--sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

html.light-mode .theme-icon--moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* ════════════════════════════════════════
   LIGHT / DAY MODE OVERRIDES
   ════════════════════════════════════════ */
html.light-mode {
    --bg: #f5f5fa;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-glass: rgba(0, 0, 0, 0.03);
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
    --text: #1a1a2e;
    --text-muted: #5a5a7a;
    --text-dim: #8888a0;
    --white: #1a1a2e;

    --blue: #2563eb;
    --blue-glow: rgba(37, 99, 235, 0.15);
    --purple: #7c3aed;
    --purple-glow: rgba(124, 58, 237, 0.15);
    --teal: #0891b2;
    --teal-glow: rgba(8, 145, 178, 0.15);
    --orange: #d97706;
    --orange-glow: rgba(217, 119, 6, 0.15);
    --pink: #db2777;
    --pink-glow: rgba(219, 39, 119, 0.15);
    --green: #059669;
    --green-glow: rgba(5, 150, 105, 0.15);
}

/* Background & body */
html.light-mode body {
    background: #f5f5fa;
    color: #1a1a2e;
}

/* Mesh gradient overlay — fully visible in light mode */
html.light-mode .mesh-container {
    opacity: 1;
}

/* Navbar in light mode */
html.light-mode .navbar {
    background: rgba(245, 245, 250, 0.85);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

html.light-mode .nav-link {
    color: #5a5a7a;
}

html.light-mode .nav-link:hover,
html.light-mode .nav-link.active {
    color: #1a1a2e;
}

html.light-mode .nav-phone {
    color: #5a5a7a;
}

html.light-mode .nav-cta {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: #fff !important;
}

/* navbar logo filter handled by light-mode.css */

/* Hero section — dark text that reads well on light background */
html.light-mode .hero-title {
    color: #1d1d1f !important;
    -webkit-text-fill-color: #1d1d1f !important;
    font-weight: 900 !important;
    text-shadow: none !important;
    position: relative;
    z-index: 1;
}

/* Soft light-blue radial gradient sits behind just the title */
html.light-mode .hero-title::before {
    content: '';
    position: absolute;
    inset: -40px -60px -40px -60px;
    background: radial-gradient(ellipse at 50% 50%,
            rgba(56, 150, 255, 0.20) 0%,
            rgba(99, 179, 255, 0.08) 55%,
            transparent 75%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(20px);
}

html.light-mode .hero-gradient-text {
    background: linear-gradient(135deg, #7c3aed, #db2777, #d97706);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

html.light-mode .hero-desc {
    color: #1a1a2e;
}

/* Buttons */
html.light-mode .btn-primary {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: #fff !important;
}

html.light-mode .btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
    color: #1a1a2e;
}

html.light-mode .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.2);
}

/* Stat cards — borderless, transparent */
html.light-mode .stat-card {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

html.light-mode .stat-number {
    color: #2563eb;
}

/* Section headings */
html.light-mode .section-tag {
    color: #7c3aed;
    border-color: rgba(124, 58, 237, 0.2);
    background: rgba(124, 58, 237, 0.06);
}

/* About / Practice section */
html.light-mode .about-text,
html.light-mode .about-text p {
    color: #3a3a5a;
}

html.light-mode .about-text strong {
    color: #1a1a2e;
}

html.light-mode .trust-item {
    color: #5a5a7a;
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
}

/* Cards — general glassmorphism override */
html.light-mode .glass-card,
html.light-mode .service-card,
html.light-mode .pricing-card,
html.light-mode .testimonial-card,
html.light-mode .cert-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

html.light-mode .service-card:hover,
html.light-mode .pricing-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.08);
}

/* Service card titles/text */
html.light-mode .service-card h3,
html.light-mode .pricing-card h3 {
    color: #1a1a2e;
}

html.light-mode .service-card p,
html.light-mode .pricing-card p {
    color: #5a5a7a;
}

/* Footer */
html.light-mode footer {
    background: #1a1a2e;
    color: #e8e8f0;
}

html.light-mode footer .nav-logo-img {
    filter: none;
}

html.light-mode footer a {
    color: #8888a0;
}

html.light-mode footer a:hover {
    color: #fff;
}

/* Scroll progress bar */
html.light-mode .scroll-progress {
    background: linear-gradient(90deg, #7c3aed, #2563eb);
}

/* Contact section - keep dark */
html.light-mode section#contact {
    background: #0a0a12;
    color: #e8e8f0;
}

html.light-mode section#contact h2,
html.light-mode section#contact p,
html.light-mode section#contact .section-tag {
    color: #e8e8f0;
}

/* Pricing amount */
html.light-mode .price-amount {
    color: #1a1a2e;
}

/* Badge/pills */
html.light-mode .badge,
html.light-mode .hero-badge {
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.2);
    color: #7c3aed;
}

/* Mobile menu */
html.light-mode .mobile-menu {
    background: rgba(245, 245, 250, 0.98);
}

html.light-mode .mobile-menu .nav-link {
    color: #1a1a2e;
}

/* Logo carousel */
html.light-mode .logo-item img {
    filter: brightness(0.3);
}

/* Timeline & misc text */
html.light-mode h1,
html.light-mode h2,
html.light-mode h3,
html.light-mode h4 {
    color: #1a1a2e;
}

/* Horizontal rules / dividers */
html.light-mode hr {
    border-color: rgba(0, 0, 0, 0.08);
}

/* Smooth transition for theme switch */
html.light-mode,
html.light-mode body,
html.light-mode * {
    transition: background-color 0.4s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ════════════════════════════════════════
   DAYTIME IMAGE & ELEMENT ADJUSTMENTS
   Fortune 500 polish — light mode only
   ════════════════════════════════════════ */

/* Smooth image transitions on theme swap */
html.light-mode img {
    transition: opacity 0.4s ease;
}

/* Navbar logo — swapped via JS, no CSS filter needed */

/* Footer logo stays light (footer stays dark) */
html.light-mode footer .nav-logo-img,
html.light-mode .footer-logo img {
    filter: none !important;
}

/* Logo carousel — give it a dark rounded background
   so white logos display naturally without ugly inversion */
html.light-mode .logo-track,
html.light-mode .logo-carousel {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 24px 0;
    margin: 0 auto;
}

/* Keep logos natural white on dark carousel strip */
html.light-mode .logo-item img,
html.light-mode img[src*="logos/"] {
    filter: none !important;
}

/* StrawberryFrog — keep natural on dark strip */
html.light-mode img[src*="strawberryfrog"] {
    filter: none !important;
}

/* ── Hide ALL decorative elements in light mode ── */
html.light-mode .progress-dots,
html.light-mode .tag-dot,
html.light-mode .about-pixel-corner,
html.light-mode .sparkle-1,
html.light-mode .sparkle-2,
html.light-mode .sparkle-3,
html.light-mode .sparkle-4,
html.light-mode [class*="sparkle"],
html.light-mode [class*="float-el"],
html.light-mode [class*="pixel-corner"],
html.light-mode .milestone-dot,
html.light-mode .timeline-dot,
html.light-mode .stat-accent,
html.light-mode .accent-dot {
    display: none !important;
}

/* ── Hero hand ── */
html.light-mode .hero-hand {
    filter: brightness(1.1) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05)) !important;
}

/* ── Apple logo — dark silhouette (Apple TV style) ── */
html.light-mode .hero-apple {
    filter: brightness(0.3) saturate(0.4) contrast(1.5);
}

/* Mesh blobs — maximum visible blue in light mode */
html.light-mode .mesh-container {
    display: block !important;
    opacity: 0.85 !important;
    z-index: 1 !important;
    mix-blend-mode: multiply !important;
    pointer-events: none !important;
}

html.light-mode .mesh-blob {
    filter: blur(28px) !important;
    opacity: 0.80 !important;
}

html.light-mode .blob-1 {
    background: #2563eb !important;
    /* bold blue-600 */
    opacity: 0.80 !important;
    width: 900px !important;
    height: 900px !important;
}

html.light-mode .blob-2 {
    background: #4f46e5 !important;
    /* bold indigo-600 */
    opacity: 0.70 !important;
    width: 700px !important;
    height: 700px !important;
}

html.light-mode .blob-3 {
    background: #0284c7 !important;
    /* bold sky-600 */
    opacity: 0.65 !important;
    width: 800px !important;
    height: 800px !important;
}

html.light-mode .blob-4 {
    background: #3b82f6 !important;
    /* blue-500 */
    opacity: 0.75 !important;
    width: 600px !important;
    height: 600px !important;
}

/* ── Stat numbers — dark readable text ── */
html.light-mode .stat-number,
html.light-mode .stat-card h3,
html.light-mode [class*="stat"] h3 {
    color: #1a1a2e !important;
}

html.light-mode .stat-label,
html.light-mode .stat-card p,
html.light-mode [class*="stat"] p {
    color: #5a5a7a !important;
}

/* ── Fortune 500 Section Styling ── */

/* Hero — clean premium gradient */
html.light-mode .hero {
    background: linear-gradient(180deg, #3896ff 0%, #2b7de9 50%, #1a6ad4 100%) !important;
}

/* Cards — clean white with refined shadows */
html.light-mode .glass-card,
html.light-mode .service-card,
html.light-mode .pricing-card,
html.light-mode .testimonial-card,
html.light-mode .cert-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.03);
}

html.light-mode .service-card:hover,
html.light-mode .pricing-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.06), 0 12px 36px rgba(0, 0, 0, 0.06);
}

/* About section image — refined shadow */
html.light-mode .about-media {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

/* Sections — alternate subtle backgrounds for visual rhythm */
html.light-mode section:nth-child(even) {
    background: rgba(248, 247, 252, 0.5);
}

/* Section tags — refined styling */
html.light-mode .section-tag {
    font-weight: 600;
    letter-spacing: 0.12em;
}

/* Trust items — clean Fortune 500 look */
html.light-mode .trust-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* Stat cards — no block box, fully seamless */
html.light-mode .stat-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Scroll progress — refined blue */
html.light-mode .scroll-progress {
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    height: 2px;
}

/* Contact section — keep dark as contrast point */
html.light-mode section#contact {
    background: #0a0a12;
}

html.light-mode section#contact img {
    filter: none !important;
}

html.light-mode section#contact .contact-bg-layer {
    filter: brightness(0.35) saturate(1.1);
}

/* Pricing "popular" badge — refined */
html.light-mode .pricing-card.popular {
    border: 2px solid rgba(37, 99, 235, 0.3);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08), 0 16px 48px rgba(0, 0, 0, 0.06);
}

/* Hero badge — clean */
html.light-mode .hero-badge {
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: #2563eb;
    backdrop-filter: none;
}

/* Testimonial quote marks — subtle */
html.light-mode .testimonial-card::before {
    color: rgba(37, 99, 235, 0.12);
}

/* Navigation — crisp and clean */
html.light-mode .navbar.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* CTA buttons keep their gradient */
html.light-mode .nav-cta,
html.light-mode .btn-primary {
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

/* Theme toggle in light mode */
html.light-mode .theme-toggle {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #5a5a7a;
}

html.light-mode .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #1a1a2e;
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE — STEP CARD PHOTO BACKGROUNDS
   ═══════════════════════════════════════════════════════════ */

/* Step cards – premium glassmorphism card layout (Dark Mode) */
[data-svc] .sv-step {
    background-color: #1a1a2e !important;
    border-radius: 20px !important;
    padding: 160px 24px 24px 24px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 280px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
}

/* The top image area */
[data-svc] .sv-step::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 140px !important;
    background-size: cover !important;
    background-position: center !important;
    z-index: 0 !important;
    background-color: #0a0a1a !important;
    filter: brightness(.38) saturate(.55) !important;
}

[data-svc] .sv-step>* {
    position: relative !important;
    z-index: 1 !important;
}

[data-svc] .sv-step:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 32px rgba(96, 165, 250, 0.15) !important;
}

/* Hide emoji icons in dark mode too */
[data-svc] .sv-step-num {
    display: none !important;
}

/* Text styles for dark mode */
[data-svc] .sv-step-title {
    color: #f5f5f7 !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    margin-bottom: 14px !important;
    margin-top: 0 !important;
    position: relative !important;
    display: block !important;
    padding-bottom: 10px !important;
}

/* Purple gradient underline — uniform across all dark mode cards */
[data-svc] .sv-step-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 48px !important;
    height: 2.5px !important;
    background: linear-gradient(90deg, #8b5cf6, #a855f7, #c084fc) !important;
    border-radius: 2px !important;
    opacity: 0.7 !important;
}

[data-svc] .sv-step-body {
    color: #a1a1a6 !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
}

/* ── PAGE BACKGROUNDS (Abstract AI Style) ── */
[data-svc="health"] .sv-step::before {
    background-image: url('images/abstract-health.png') !important;
}

[data-svc="hardware"] .sv-step::before {
    background-image: url('images/abstract-hardware.png') !important;
}

[data-svc="backup"] .sv-step::before {
    background-image: url('images/abstract-backup.png') !important;
}

[data-svc="network"] .sv-step::before {
    background-image: url('images/abstract-network.png') !important;
}

[data-svc="remote"] .sv-step::before {
    background-image: url('images/abstract-remote.png') !important;
}

[data-svc="concierge"] .sv-step::before {
    background-image: url('images/abstract-concierge.png') !important;
}

/* ── Hero h1 text-shadow for readability over all dark background images ── */
.plan-hero h1,
.sv-hero h1 {
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.95), 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* ─────────────────────────────────────────────────────────
   HERO H1 — always white with shadow, both modes
   The hero always sits over a dark background image so
   the text must always be white regardless of mode.
   ───────────────────────────────────────────────────────── */
.plan-hero h1,
.sv-hero h1 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.9), 0 1px 8px rgba(0, 0, 0, 0.75);
}

.plan-hero .plan-hero-sub,
.sv-hero .sv-hero-sub {
    color: rgba(255, 255, 255, 0.82) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.82) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.plan-hero .plan-price-line {
    color: rgba(255, 255, 255, 0.75) !important;
}