/* ═══════════════════════════════════════════════════════════
   WEWEBLABS — COMPLETE STYLESHEET
   Fonts: Fraunces (display) + DM Sans (body)
   Theme: Dark navy + electric blue — sharp, trusted, modern
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,400;1,9..144,700&family=Space+Grotesk:wght@300..700&display=swap');

/* ─── Tokens ──────────────────────────────────────────────── */
:root {
    --bg:          #07090f;
    --bg-2:        #0d1117;
    --bg-3:        #111827;
    --surface:     #161d2c;
    --surface-2:   #1c2436;
    --border:      rgba(255,255,255,0.07);
    --border-hi:   rgba(99,179,255,0.35);

    --blue:        #3b82f6;
    --blue-bright: #60a5fa;
    --blue-dim:    rgba(59,130,246,0.15);
    --cyan:        #22d3ee;
    --green:       #4ade80;

    --text:        #f0f4ff;
    --text-2:      #94a3b8;
    --text-3:      #64748b;

    --ff-display:  'Fraunces', Georgia, serif;
    --ff-body:     'DM Sans', system-ui, sans-serif;
    --ff-logo:     'Space Grotesk', system-ui, sans-serif;

    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-card: 0 1px 3px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 40px rgba(59,130,246,0.18);
    --glow-blue:   0 0 60px rgba(59,130,246,0.25);
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
    font-family: var(--ff-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select {
    font-family: var(--ff-body);
    color: var(--text);
}
::selection { background: var(--blue); color: #fff; }

/* ─── Premium Texture Overlay ───────────────────────── */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 32px 32px;
    opacity: 0.02;
    pointer-events: none;
    z-index: 99999;
}

/* ─── Aurora Background Depth ───────────────────────── */
.aurora-container {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.4;
}

.aurora-blur {
    position: absolute;
    width: 40vw; height: 40vw;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    animation: auroraFloat 20s infinite alternate ease-in-out;
}

.aurora-blur.blue { background: var(--blue); top: -10%; left: -10%; }
.aurora-blur.cyan { background: var(--cyan); bottom: -10%; right: -10%; animation-delay: -5s; }

@keyframes auroraFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.1); }
}

/* ─── Magnetic & Motion Utilities ───────────────────── */
.magnetic { display: inline-block; transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal-text { overflow: hidden; }
.reveal-text span { display: inline-block; transform: translateY(100%); transition: transform 0.8s var(--ease-out); }
.reveal-text.active span { transform: translateY(0); }


/* ─── Typography ──────────────────────────────────────────── */
.section-heading {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
}
.section-heading.centered { text-align: center; }
.section-heading.light { color: #fff; }

.section-sub {
    color: var(--text-2);
    font-size: 1.05rem;
    text-align: center;
    max-width: 520px;
    margin: 0.75rem auto 0;
    line-height: 1.75;
}
.section-sub.light { color: rgba(255,255,255,0.65); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px; height: 1.5px;
    background: var(--blue-bright);
    border-radius: 2px;
}
.eyebrow.eyebrow-light { color: rgba(255,255,255,0.7); }
.eyebrow.eyebrow-light::before { background: rgba(255,255,255,0.5); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .eyebrow { justify-content: center; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section { padding: 6rem 0; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: #fff;
    font-family: var(--ff-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    transition: all 0.25s var(--ease-out);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59,130,246,0.45);
    border-color: rgba(255,255,255,0.1);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.9rem 1.8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
    background: rgba(255,255,255,0.04);
}
.btn-ghost:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.play-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}

/* ─── HEADER ──────────────────────────────────────────────── */
#header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 72px;
    z-index: 9000;
    background: rgba(7, 9, 15, 0.6);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
}
#header.scrolled {
    height: 64px;
    background: rgba(7, 9, 15, 0.92);
    border-bottom-color: rgba(255,255,255,0.05);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}
.logo-mark {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-logo);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
    position: relative;
    overflow: hidden;
}
.logo-mark::after {
    content: "";
    position: absolute;
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    top: 6px; right: 6px;
    box-shadow: 0 0 8px #fff;
    animation: neonPulse 2s infinite ease-in-out;
}
@keyframes neonPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}
.logo-text {
    font-family: var(--ff-logo);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.04em;
    text-transform: lowercase;
}
.logo img {
    height: 32px;
    width: auto;
    display: block;
}
.logo-accent { color: var(--blue-bright); opacity: 0.9; }

/* Desktop Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}
.nav-link {
    display: block;
    padding: 0.5rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-2);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    position: relative;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--blue-bright); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}
.btn-nav {
    display: inline-flex;
    align-items: center;
    background: var(--blue);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-nav:hover {
    background: var(--blue-bright);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59,130,246,0.4);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.05); }
.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.35s var(--ease-out);
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE DRAWER ───────────────────────────────────────── */
.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.drawer-overlay.show {
    display: block;
    opacity: 1;
}

.mobile-drawer {
    position: fixed;
    top: 0; right: 0;
    width: 85%;
    max-width: 360px;
    height: 100svh;
    background: var(--bg-3);
    border-left: 1px solid var(--border);
    z-index: 9999;
    transform: translateX(110%);
    transition: transform 0.45s var(--ease-out);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}
.drawer-header .logo-text { font-size: 1.3rem; }

.drawer-close {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-2);
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid var(--border);
}
.drawer-close:hover { background: rgba(255,255,255,0.1); color: var(--text); }

.drawer-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 2rem 0;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--ff-display);
    color: var(--text-2);
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    opacity: 0;
    transform: translateX(24px);
    border: 1px solid transparent;
}
.mobile-drawer.open .drawer-link {
    opacity: 1;
    transform: translateX(0);
}
.mobile-drawer.open .drawer-link:nth-child(1) { transition-delay: 0.08s; }
.mobile-drawer.open .drawer-link:nth-child(2) { transition-delay: 0.14s; }
.mobile-drawer.open .drawer-link:nth-child(3) { transition-delay: 0.20s; }
.mobile-drawer.open .drawer-link:nth-child(4) { transition-delay: 0.26s; }
.mobile-drawer.open .drawer-link:nth-child(5) { transition-delay: 0.32s; }
.drawer-link:hover {
    color: var(--text);
    background: rgba(255,255,255,0.04);
    border-color: var(--border);
    transform: translateX(4px) !important;
}
.drawer-num {
    font-size: 0.72rem;
    font-family: var(--ff-body);
    font-weight: 700;
    color: var(--blue-bright);
    letter-spacing: 1px;
    min-width: 22px;
}

.drawer-footer {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}
.btn-drawer {
    display: block;
    text-align: center;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    transition: all 0.25s ease;
}
.btn-drawer:hover { background: var(--blue-bright); box-shadow: 0 4px 20px rgba(59,130,246,0.4); }
.drawer-tagline { text-align: center; font-size: 0.8rem; color: var(--text-3); }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg);
}

/* Slider */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
    transform: scale(1.05);
    animation: kenBurns 10s ease-in-out infinite alternate;
}
.slide.active { opacity: 1; }
@keyframes kenBurns {
    from { transform: scale(1.05) translateX(0); }
    to   { transform: scale(1.0) translateX(-1%); }
}

/* Layered dark overlay for readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom, rgba(7,9,15,0.4) 0%, rgba(7,9,15,0.65) 60%, rgba(7,9,15,0.95) 100%),
        radial-gradient(ellipse at center, rgba(7,9,15,0.3) 0%, rgba(7,9,15,0.7) 70%);
}

/* Particle canvas */
#particleCanvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

/* Slider progress */
.slider-progress {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: rgba(255,255,255,0.08);
    z-index: 10;
}
.slider-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transition: width 0.1s linear;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 5;
    padding-top: 5rem;
    padding-bottom: 5rem;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(59,130,246,0.12);
    border: 1px solid rgba(59,130,246,0.3);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue-bright);
    margin-bottom: 1.75rem;
    letter-spacing: 0.3px;
    animation: fadeSlideUp 0.8s var(--ease-out) 0.1s both;
}
.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74,222,128,0.25);
    animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
    0%,100% { box-shadow: 0 0 0 3px rgba(74,222,128,0.25); }
    50%      { box-shadow: 0 0 0 6px rgba(74,222,128,0.1); }
}

.hero-title {
    font-family: var(--ff-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.5rem;
    animation: fadeSlideUp 0.9s var(--ease-out) 0.2s both;
}
.hero-em {
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(100deg, var(--blue-bright) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    animation: fadeSlideUp 0.9s var(--ease-out) 0.35s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.9s var(--ease-out) 0.5s both;
}

/* Social proof */
.hero-proof {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
    animation: fadeSlideUp 0.9s var(--ease-out) 0.65s both;
}

.proof-avatars {
    display: flex;
}
.avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid var(--bg);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--blue-bright);
    margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }

.proof-text .stars { color: #facc15; font-size: 0.9rem; line-height: 1; }
.proof-text span { font-size: 0.8rem; color: rgba(255,255,255,0.6); font-weight: 500; }

.proof-divider {
    width: 1px; height: 30px;
    background: rgba(255,255,255,0.12);
}

.proof-stat { text-align: center; }
.proof-stat strong {
    display: block;
    font-family: var(--ff-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.proof-stat span { font-size: 0.72rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; }

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
    animation: fadeSlideUp 1s var(--ease-out) 1s both;
}
.scroll-wheel {
    width: 22px; height: 36px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    position: relative;
}
.scroll-wheel::before {
    content: '';
    position: absolute;
    top: 5px; left: 50%;
    transform: translateX(-50%);
    width: 3px; height: 7px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
    0%  { top: 5px; opacity: 1; }
    80% { top: 18px; opacity: 0; }
    100%{ top: 5px; opacity: 0; }
}
.scroll-hint span { font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35); }

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── TICKER ──────────────────────────────────────────────── */
.ticker-wrap {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 0.9rem 0;
}
.ticker-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: ticker 30s linear infinite;
}
.ticker-track span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-2);
    padding: 0 1.5rem;
    white-space: nowrap;
    letter-spacing: 0.5px;
}
.ticker-dot {
    color: var(--blue-bright) !important;
    font-size: 0.5rem !important;
    padding: 0 0.25rem !important;
}
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ─── ABOUT ───────────────────────────────────────────────── */
.section-about {
    background: var(--bg);
    padding: 7rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-body {
    font-size: 1.05rem;
    color: var(--text-2);
    line-height: 1.8;
    margin-top: 1.2rem;
}
.about-body strong { color: var(--text); font-weight: 600; }

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.stat-block { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
    font-family: var(--ff-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--blue-bright);
    line-height: 1;
}
.stat-num sup { font-size: 1.2rem; }
.stat-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-3); font-weight: 600; }

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 1.5rem;
}
@media (min-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .home-grid-fix {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@keyframes techBreathe {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.85;
    }
    50% {
        transform: translateY(-7px) scale(1.04);
        opacity: 1;
    }
}

.tech-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-2);
    cursor: default;
    animation: techBreathe 3.5s ease-in-out infinite;
    will-change: transform;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease, color 0.3s ease;
}

/* Glow layer that pulses via pseudo-element using the --c variable */
.tech-pill::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 1.5px solid var(--c, var(--blue));
    opacity: 0;
    animation: techGlow 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes techGlow {
    0%, 100% { opacity: 0; box-shadow: none; }
    50% { opacity: 1; box-shadow: 0 0 18px 2px var(--c, var(--blue)), inset 0 0 12px rgba(255,255,255,0.04); }
}

.tech-pill:nth-child(1), .tech-pill:nth-child(1)::after { animation-delay: 0s; }
.tech-pill:nth-child(2), .tech-pill:nth-child(2)::after { animation-delay: 0.58s; }
.tech-pill:nth-child(3), .tech-pill:nth-child(3)::after { animation-delay: 1.16s; }
.tech-pill:nth-child(4), .tech-pill:nth-child(4)::after { animation-delay: 1.74s; }
.tech-pill:nth-child(5), .tech-pill:nth-child(5)::after { animation-delay: 2.32s; }
.tech-pill:nth-child(6), .tech-pill:nth-child(6)::after { animation-delay: 2.9s; }

.tech-icon { font-size: 1.1rem; }

.tech-pill:hover {
    animation-play-state: paused;
    border-color: var(--c, var(--blue)) !important;
    background: rgba(255,255,255,0.06) !important;
    box-shadow: 0 0 24px 4px var(--c, var(--blue)), 0 12px 32px -4px rgba(0,0,0,0.4) !important;
    color: #fff !important;
    transform: translateY(-9px) scale(1.07) !important;
    opacity: 1 !important;
}
.tech-pill:hover::after { animation-play-state: paused; opacity: 1; }

/* Floating Performance Card */
.about-card-float {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.float-header {
    background: var(--bg-2);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}
.float-dot { width: 10px; height: 10px; border-radius: 50%; }
.float-dot.green { background: #28c840; }
.float-dot.yellow { background: #febc2e; }
.float-dot.red { background: #ff5f57; }
.float-url { font-size: 0.72rem; color: var(--text-3); flex: 1; text-align: center; font-family: monospace; }

.float-content { padding: 1.5rem; }
.float-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.metric-label { font-size: 0.82rem; color: var(--text-2); font-weight: 500; }
.metric-val { font-size: 0.85rem; font-weight: 700; color: var(--green); }
.metric-bar {
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    overflow: hidden;
}
.metric-fill {
    height: 100%;
    background: var(--blue);
    border-radius: 6px;
    transition: width 1.5s var(--ease-out);
}
.metric-fill.green { background: var(--green); }
.metric-fill.cyan { background: var(--cyan); }

/* ─── SERVICES ────────────────────────────────────────────── */
.section-services { background: var(--bg-2); }

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

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all 0.4s var(--ease-spring);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}
.service-card:hover { transform: translateY(-10px); border-color: rgba(59,130,246,0.3); box-shadow: var(--glow-blue); }
.service-card:hover::before { transform: scaleX(1); }

/* First card featured */
.service-card.featured {
    grid-column: span 2;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(59,130,246,0.12) 0%, var(--surface) 60%);
    border-color: rgba(59,130,246,0.2);
}
.service-card.featured::before { transform: scaleX(1); }

.service-number {
    font-family: var(--ff-display);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--blue-bright);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.service-icon-wrap {
    width: 56px; height: 56px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: all 0.3s var(--ease-spring);
}
.service-card:hover .service-icon-wrap {
    background: var(--blue);
    border-color: var(--blue);
    transform: rotate(-8deg) scale(1.1);
}
.service-card.featured .service-icon-wrap { width: 72px; height: 72px; font-size: 2rem; }

.service-card h3 {
    font-family: var(--ff-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}
.service-card p { font-size: 0.92rem; color: var(--text-2); line-height: 1.7; flex: 1; }
.service-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue-bright);
    transition: gap 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}
.service-link:hover { color: var(--cyan); }

/* ─── FEATURES / WHY US ───────────────────────────────────── */
.section-features { background: var(--bg); padding: 7rem 0; }

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
    color: var(--text-2);
    font-weight: 500;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s ease;
}
.feature-list li:hover { color: var(--text); }
.check {
    width: 22px; height: 22px;
    background: rgba(74,222,128,0.12);
    border: 1px solid rgba(74,222,128,0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: var(--green);
    flex-shrink: 0;
    font-weight: 900;
}

.reasons-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}
.reasons-title {
    font-family: var(--ff-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.reason-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border);
}
.reason-item:last-of-type { border-bottom: none; padding-bottom: 0; }
.reason-icon {
    width: 42px; height: 42px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.reason-item strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; font-size: 0.95rem; }
.reason-item p { color: var(--text-2); font-size: 0.88rem; line-height: 1.65; margin: 0; }

/* ─── PORTFOLIO ───────────────────────────────────────────── */
.section-portfolio { background: var(--bg-2); }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-window {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.45s var(--ease-spring);
}
.project-window:hover {
    transform: translateY(-12px);
    border-color: rgba(59,130,246,0.35);
    box-shadow: var(--glow-blue), var(--shadow-card);
}

.browser-bar {
    background: var(--bg-2);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.browser-url {
    font-size: 0.68rem;
    color: var(--text-3);
    background: rgba(255,255,255,0.04);
    padding: 4px 16px;
    border-radius: 20px;
    flex: 1;
    text-align: center;
    font-family: monospace;
    border: 1px solid var(--border);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-3);
}
.project-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.7) saturate(0.9);
    transition: all 0.6s ease;
}
.project-window:hover .project-thumb img {
    filter: brightness(0.4) saturate(1);
    transform: scale(1.07);
}

.project-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,9,15,0.95) 0%, rgba(7,9,15,0.5) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.project-window:hover .project-hover { opacity: 1; }

.project-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue-bright);
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.3);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 0.6rem;
    width: fit-content;
}
.project-hover h3 {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}
.project-hover p { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-bottom: 1rem; }

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--blue);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 50px;
    width: fit-content;
    transition: all 0.2s ease;
}
.project-btn:hover { background: var(--blue-bright); transform: translateY(-2px); }

/* ─── FEATURED STACK ────────────────────────────────────────── */
.stack-wrapper { 
    height: 600vh; /* Extra height for more cards to stay fully revealed */
    position: relative; 
    margin-bottom: 5rem;
    z-index: 10;
}
.stack-container { 
    position: sticky; 
    top: 72px; /* Offset for header */
    height: calc(100vh - 72px); 
    width: 100%; 
    overflow: hidden; 
    background: var(--bg);
}
.stack-card { 
    position: absolute; 
    inset: 0; 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    clip-path: inset(100% 0 0 0); 
    transition: clip-path 0.1s linear, filter 0.5s ease; 
    background: #000;
}
.stack-card:first-child { clip-path: inset(0% 0 0 0); }
.stack-card img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    filter: brightness(0.8) contrast(1.1) saturate(0.8); 
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.stack-card.active img {
    filter: brightness(1.2) contrast(1.2) saturate(1.4);
}
.stack-overlay { 
    position: absolute; 
    bottom: 10%; 
    left: 10%; 
    color: white; 
    max-width: 500px; 
    z-index: 5; 
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: none; /* Hidden as per user request */
}
.stack-card.active .stack-overlay {
    opacity: 1;
    transform: translateY(0);
}
.stack-tag { display: inline-block; background: var(--blue); color: white; padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }
.stack-title { font-size: clamp(2.5rem, 6vw, 4rem); font-family: var(--font-heading); margin-bottom: 1.5rem; line-height: 1.1; }
.stack-desc { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; line-height: 1.6; }

/* Progress Bar on Side */
.stack-progress-container {
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    z-index: 20;
}
.stack-progress-line {
    width: 100%;
    height: 0%;
    background: var(--blue);
    border-radius: 10px;
    box-shadow: 0 0 15px var(--blue);
    transition: height 0.1s linear;
}

@media (max-width: 768px) {
    .stack-overlay { bottom: 15%; left: 5%; right: 5%; }
    .stack-progress-container { right: 1rem; height: 150px; }
}

/* ─── TRUST ───────────────────────────────────────────────── */
.section-trust {
    background: var(--bg-3);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}
.trust-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.orb-1 { width: 500px; height: 500px; background: rgba(59,130,246,0.07); top: -15%; left: -10%; }
.orb-2 { width: 400px; height: 400px; background: rgba(34,211,238,0.05); bottom: -10%; right: -5%; }

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.trust-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-spring);
}
.trust-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.trust-card:hover { transform: translateY(-10px); border-color: rgba(59,130,246,0.3); box-shadow: var(--shadow-card); }
.trust-card:hover::before { transform: scaleX(1); }

.trust-icon-box {
    width: 60px; height: 60px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s var(--ease-spring);
}
.trust-card:hover .trust-icon-box {
    background: var(--blue);
    border-color: var(--blue);
    transform: rotate(8deg) scale(1.1);
}
.trust-card h3 {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}
.trust-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; }

/* ─── TESTIMONIAL (INFINITE CAROUSEL) ─────────────────────── */
.section-testimonial {
    background: var(--bg);
    padding: 6rem 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    width: 100%;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    animation: marquee-scroll 45s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    flex: 0 0 450px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    text-align: left;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    font-family: var(--ff-display);
    font-size: 5rem;
    line-height: 0;
    color: var(--blue);
    opacity: 0.15;
    position: absolute;
    top: 2rem;
    left: 2rem;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue-dim);
    border: 2px solid rgba(59,130,246,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue-bright);
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    color: var(--text);
    font-size: 0.95rem;
}

.testimonial-author span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-3);
}

.testimonial-stars {
    color: #facc15;
    font-size: 1rem;
    margin-left: auto;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 1rem)); }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 300px;
        padding: 2rem;
    }
}

/* ─── CONTACT ─────────────────────────────────────────────── */
.section-contact { background: var(--bg-2); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.4rem;
    transition: all 0.3s var(--ease-spring);
    text-decoration: none;
    color: inherit;
}
.contact-card:hover {
    border-color: rgba(59,130,246,0.35);
    transform: translateX(8px);
    box-shadow: var(--shadow-card);
}
.contact-card-icon {
    width: 46px; height: 46px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.contact-card:hover .contact-card-icon { background: var(--blue); border-color: var(--blue); }
.contact-card-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-3); font-weight: 700; display: block; margin-bottom: 2px; }
.contact-card strong { font-size: 0.9rem; color: var(--text); font-weight: 600; }

/* Form */
.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-field label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-3);
}
.form-field input,
.form-field textarea,
.form-field select {
    background: rgba(255,255,255,0.04);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    transition: all 0.25s ease;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-3); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--blue);
    background: rgba(59,130,246,0.05);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}
.form-field select { cursor: pointer; }
.form-field select option { background: var(--bg-3); color: var(--text); }
.form-field textarea { resize: vertical; min-height: 120px; }

.btn-submit {
    background: var(--blue);
    color: #fff;
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-spring);
    width: 100%;
    position: relative;
    overflow: hidden;
}
.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-submit:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59,130,246,0.45); }
.btn-submit:hover::before { opacity: 1; }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-note { font-size: 0.78rem; color: var(--text-3); text-align: center; }

/* ─── FINAL CTA ───────────────────────────────────────────── */
.section-cta {
    background: var(--bg);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.cta-content { position: relative; z-index: 1; }
.cta-heading {
    font-family: var(--ff-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text);
    margin: 0.75rem 0 1.25rem;
}
.cta-sub { color: var(--text-2); font-size: 1.05rem; max-width: 480px; margin: 0 auto 2.5rem; }
.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.4); }

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
    background: var(--bg-3);
    border-top: 1px solid var(--border);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border);
}

.footer-brand .logo { margin-bottom: 1rem; }
.footer-tagline { font-size: 0.88rem; color: var(--text-2); line-height: 1.7; max-width: 240px; margin-bottom: 1.5rem; }
.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37,211,102,0.1);
    border: 1px solid rgba(37,211,102,0.25);
    color: #4ade80;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}
.footer-whatsapp:hover { background: rgba(37,211,102,0.18); }

.footer-instagram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(225,48,108,0.1);
    border: 1px solid rgba(225,48,108,0.25);
    color: #f472b6;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    margin-top: 0.6rem;
    text-decoration: none;
}
.footer-instagram:hover { background: rgba(225,48,108,0.2); transform: translateX(3px); }

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-3);
    margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a,
.footer-col ul li span {
    font-size: 0.88rem;
    color: var(--text-2);
    transition: color 0.2s ease;
}
.footer-col ul li a:hover { color: var(--blue-bright); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-3); }

/* ─── WHATSAPP FLOAT ──────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(37,211,102,0.5);
    z-index: 8000;
    transition: all 0.3s var(--ease-spring);
    text-decoration: none;
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 8px 36px rgba(37,211,102,0.6); }
.whatsapp-float img { width: 22px; height: 22px; }

/* ─── ANIMATED SVGS ─────────────────────────────────────────── */
.animated-svg-icon {
    width: 55%;
    height: 55%;
    stroke: var(--blue-bright);
    transition: all 0.4s var(--ease-spring);
    animation: gentle-float 3.5s ease-in-out infinite;
}

.service-icon-wrap:hover .animated-svg-icon,
.reason-icon:hover .animated-svg-icon {
    stroke: #fff;
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 10px var(--cyan));
    animation-play-state: paused;
}

@keyframes gentle-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.03); }
}

/* ─── FOUNDER ─────────────────────────────────────────────── */
.section-founder { background: var(--bg-2); padding: 5rem 0; }
.founder-card {
    background: linear-gradient(135deg, rgba(59,130,246,0.05), var(--surface));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-card);
}
.founder-img-box {
    flex: 0 0 350px;
    height: 100%;
}
.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.founder-content {
    padding: 3.5rem;
    flex-grow: 1;
}
.founder-title {
    font-family: var(--ff-display);
    font-size: 1.8rem;
    color: var(--text);
    margin: 1rem 0 1.5rem;
    line-height: 1.3;
}
.founder-sig {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.founder-sig strong { display: block; color: var(--text); font-size: 1rem; }
.founder-sig span { color: var(--text-3); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

/* ─── PRICING ─────────────────────────────────────────────── */
.section-pricing { background: var(--bg); padding: 6rem 0; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}
.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.price-card:hover { transform: translateY(-10px); border-color: rgba(59,130,246,0.3); box-shadow: var(--shadow-card); }
.price-card.popular {
    background: linear-gradient(180deg, rgba(59,130,246,0.1) 0%, var(--surface) 100%);
    border-color: var(--blue);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 10px 40px -10px rgba(59,130,246,0.3);
}
.price-card.popular:hover { transform: scale(1.05) translateY(-10px); }
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
}
.price-header { margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
.price-header h4 { font-size: 1.1rem; color: var(--text-2); margin-bottom: 0.5rem; }
.price-amount { font-family: var(--ff-display); font-size: 2.5rem; font-weight: 700; color: var(--text); display: flex; align-items: baseline; gap: 8px;}
.price-amount span { font-size: 0.85rem; color: var(--text-3); font-weight: 400; font-family: var(--ff-body); }
.price-desc { font-size: 0.95rem; color: var(--text-2); line-height: 1.6; margin-bottom: 2rem; flex-grow: 1; }
.price-features { list-style: none; margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 0.8rem; }
.price-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-2); }
.btn-price {
    display: block;
    text-align: center;
    background: rgba(255,255,255,0.05);
    color: var(--text);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    text-decoration: none;
}
.btn-price:hover { background: rgba(255,255,255,0.1); }
.btn-price.primary { background: var(--blue); color: #fff; border: none; }
.btn-price.primary:hover { background: var(--blue-bright); }

/* ─── FAQ ─────────────────────────────────────────────────── */
.section-faq { background: var(--bg-2); padding: 6rem 0; }
.faq-list { max-width: 800px; margin: 4rem auto 0; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item.active { border-color: rgba(59,130,246,0.4); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.faq-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}
.faq-btn:hover { color: var(--blue-bright); }
.icon-plus {
    font-size: 1.5rem;
    color: var(--text-3);
    transition: transform 0.3s ease;
}
.faq-item.active .icon-plus { transform: rotate(45deg); color: var(--blue); }
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}
.faq-item.active .faq-content { max-height: 500px; transition: max-height 0.6s ease-in-out; }
.faq-content p {
    padding: 0 2rem 1.5rem;
    color: var(--text-2);
    line-height: 1.7;
    font-size: 0.95rem;
}


/* ─── DYNAMIC BANNER ──────────────────────────────────────── */
.section-banner-aurora {
    position: relative;
    padding: 10rem 0;
    background: #07090f;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.aurora-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #07090f 0%, #0d1117 50%, #07090f 100%);
    z-index: 1;
}

.aurora-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 60%);
    filter: blur(100px);
    animation: auroraMove 20s ease-in-out infinite alternate;
}

@keyframes auroraMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(2%, 4%) scale(1.1); }
}

.aurora-sphere {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 2;
    animation: floating 20s ease-in-out infinite;
}

.sphere-1 { width: 400px; height: 400px; top: -150px; left: -100px; background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.02)); animation-duration: 30s; }
.sphere-2 { width: 300px; height: 300px; bottom: -100px; right: 5%; background: linear-gradient(135deg, rgba(147, 51, 234, 0.08), rgba(126, 34, 206, 0.02)); animation-delay: -5s; animation-duration: 25s; }
.sphere-3 { width: 200px; height: 200px; top: 10%; right: -50px; background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(8, 145, 178, 0.02)); animation-duration: 22s; animation-delay: -10s; }
.sphere-4 { width: 150px; height: 150px; bottom: 20%; left: 10%; background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), rgba(21, 128, 61, 0.02)); animation-duration: 18s; animation-delay: -15s; }
.sphere-5 { width: 250px; height: 250px; top: -50px; right: 30%; background: linear-gradient(135deg, rgba(244, 63, 94, 0.05), rgba(225, 29, 72, 0.01)); animation-duration: 35s; animation-delay: -2s; }
.sphere-6 { width: 100px; height: 100px; bottom: 10%; right: 40%; background: linear-gradient(135deg, rgba(234, 179, 8, 0.05), rgba(202, 138, 4, 0.01)); animation-duration: 15s; animation-delay: -8s; }

@keyframes floating {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, 50px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.aurora-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.aurora-title {
    font-family: var(--ff-display);
    font-size: clamp(1.8rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

.typewriter-cursor {
    color: var(--blue-bright);
    animation: blink 0.8s step-end infinite;
    font-weight: 400;
    margin-left: 5px;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

.aurora-actions-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-spring);
    box-shadow: 0 10px 20px rgba(204, 35, 102, 0.2);
}

.btn-instagram:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(204, 35, 102, 0.4);
    filter: brightness(1.1);
}

.btn-instagram svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

@media (max-width: 768px) {
    .section-banner-aurora { padding: 8rem 0; }
    .aurora-title { font-size: 1.8rem; }
    .btn-instagram { width: 100%; justify-content: center; }
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .features-grid { grid-template-columns: 1fr; gap: 3rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .footer-brand { grid-column: span 2; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card.featured { grid-column: span 2; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .price-card.popular { transform: none; }
    .price-card.popular:hover { transform: translateY(-10px); }
    .founder-card { flex-direction: column; }
    .founder-img-box { flex: 0 0 280px; width: 100%; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .header-subpage .nav-links { display: flex; justify-content: flex-end; flex: 1; }
    .header-subpage .nav-links li { margin-left: auto; }
    .btn-nav { display: none; }
    .hamburger { display: flex; }
    .header-subpage .hamburger { display: none; }

    section { padding: 4rem 0; }

    .hero-content { padding-top: 6rem; padding-bottom: 7rem; }
    .hero-title { font-size: clamp(2.4rem, 9vw, 3.6rem); }
    .hero-proof { gap: 1rem; }
    .proof-divider { display: none; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card.featured { grid-column: span 1; flex-direction: column; }

    .portfolio-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .testimonial-card { padding: 2rem 1.5rem; }

    .scroll-hint { display: none; }

    .founder-content { padding: 2rem; }
    .founder-title { font-size: 1.4rem; }
    .founder-img-box { flex: 0 0 220px; }

    .pricing-grid { grid-template-columns: 1fr; }
    .price-card.popular { transform: none; }

    .faq-btn { font-size: 0.95rem; padding: 1.2rem 1.5rem; }

    .faq-btn { font-size: 0.95rem; padding: 1.2rem 1.5rem; }

    /* Refined Mobile Alignment (Non-Aggressive) */
    .hero-content { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    
    .section-heading { text-align: center; max-width: 90%; margin: 0 auto 1.5rem; }
    .eyebrow { justify-content: center; width: 100%; margin-bottom: 1.25rem; }
    .about-body { text-align: center; max-width: 600px; margin: 0 auto; }
    .about-stats { justify-content: center; margin: 2.5rem auto 0; width: 100%; }
    .about-text { display: flex; flex-direction: column; align-items: center; text-align: center; }
    
    .features-left { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .contact-left { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .trust-header { text-align: center; display: flex; flex-direction: column; align-items: center; }
    
    .section-banner-aurora { text-align: center; padding: 6rem 0; }
    .aurora-actions-wrap { justify-content: center; }

    /* Fix Nav for Mobile */
    .nav-container {
        padding: 0 1rem;
        gap: 1rem;
    }
    .logo-text {
        font-size: 1.1rem;
    }
    .logo-mark {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* ─── STICKY CTAs (Conversion Optimization) ─────────────── */
.whatsapp-float, .hire-float {
    position: fixed;
    bottom: 30px;
    padding: 16px 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.4s var(--ease-spring);
    backdrop-filter: blur(10px);
}

.whatsapp-float {
    right: 30px;
    background: #25d366;
}
.whatsapp-float:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}
.whatsapp-float img { width: 24px; height: 24px; }

.hire-float {
    left: 30px;
    background: rgba(59, 130, 246, 0.9);
    border: 1px solid rgba(255,255,255,0.1);
}
.hire-float:hover {
    transform: scale(1.05) translateY(-5px);
    background: var(--blue);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
    border-color: rgba(255,255,255,0.3);
}
.hire-float .dot {
    width: 10px; height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

@media (max-width: 768px) {
    .whatsapp-float span, .hire-float span { display: none; }
    .whatsapp-float, .hire-float { padding: 16px; border-radius: 50%; bottom: 20px; }
    .whatsapp-float { right: 20px; }
    .hire-float { left: 20px; }
}

@media (max-width: 400px) {
    .container { padding: 0 1rem; }
    .hero-title { font-size: 2.2rem; }
}

/* ─── SUCCESS MODAL ─────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.success-modal {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.active .success-modal {
    transform: scale(1);
}
.success-icon {
    width: 60px;
    height: 60px;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

/* ─── CUSTOM CURSOR ─────────────────────────────────────── */
.custom-cursor {
    width: 25px;
    height: 25px;
    border: 2px solid var(--blue-bright);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.1s ease, opacity 0.3s ease;
    mix-blend-mode: difference;
    display: none;
    transform: translate(-50%, -50%);
    background: rgba(59, 130, 246, 0.2);
}
@media (hover: hover) {
    .custom-cursor { display: block; }
}