/* ============================================================
   TECH NEW RIGHT WAY — Premium Stylesheet (Unified v4)
   File: assets/css/style.css
   SEO + AEO + Mobile Enhanced
   ============================================================ */

/* ---------- RESET ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------- DESIGN TOKENS ---------- */
:root {
    /* Brand colors */
    --brand-500: #6366f1;
    --brand-600: #4f46e5;
    --brand-700: #4338ca;
    --accent-400: #22d3ee;
    --accent-500: #06b6d4;

    /* Gen-Z accents */
    --pop-pink: #f472b6;
    --pop-lime: #a3e635;
    --pop-violet: #a78bfa;

    /* Neutrals */
    --ink-950: #080812;
    --ink-900: #0d0d1a;
    --ink-800: #14142b;
    --ink-700: #1e1e38;
    --ink-600: #2a2a45;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --paper: #ffffff;
    --paper-soft: #f6f7fb;
    --border: #e5e7f0;

    /* Gradients */
    --grad-brand: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
    --grad-brand-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(34, 211, 238, 0.12) 100%);
    --grad-dark: linear-gradient(180deg, #0d0d1a 0%, #14142b 100%);
    --grad-pop: linear-gradient(135deg, #f472b6 0%, #a78bfa 50%, #22d3ee 100%);
    --grad-mesh:
        radial-gradient(at 20% 15%, rgba(99, 102, 241, 0.18) 0%, transparent 45%),
        radial-gradient(at 80% 20%, rgba(34, 211, 238, 0.14) 0%, transparent 45%),
        radial-gradient(at 50% 90%, rgba(244, 114, 182, 0.10) 0%, transparent 50%);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
    --shadow-brand: 0 16px 40px rgba(99, 102, 241, 0.28);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.18);

    /* Radii */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-pill: 999px;

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 0.18s var(--ease);
    --t-base: 0.32s var(--ease);
    --t-slow: 0.6s var(--ease-out);

    /* Type */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-w: 1240px;

    /* Viewport (set by JS on mobile) */
    --vh: 1vh;
}

/* ---------- BASE ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-900);
    background: var(--paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; transition: var(--t-fast); }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

main { display: block; }
section { display: block; }

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
}

/* ---------- TEXT GRADIENT UTILITY ---------- */
.gradient-text {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.gradient-pop {
    background: var(--grad-pop);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: var(--r-pill);
    border: 1.5px solid transparent;
    transition: transform var(--t-base), box-shadow var(--t-base),
                background var(--t-base), border-color var(--t-base), color var(--t-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn i { font-size: 13px; transition: transform var(--t-base); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--grad-brand);
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--t-base);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 22px 48px rgba(99, 102, 241, 0.45), var(--shadow-glow);
}
.btn-primary:hover::before { opacity: 1; }

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.02);
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(8, 8, 18, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background var(--t-base), box-shadow var(--t-base),
                border-color var(--t-base);
}

.header.scrolled {
    background: rgba(8, 8, 18, 0.92);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    border-bottom-color: transparent;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--grad-brand);
    border-radius: 11px;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.logo a:hover .logo-icon {
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.5);
}

.logo-text {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}
.logo-text .highlight { color: var(--accent-400); }

/* Nav */
.navbar { display: flex; align-items: center; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    padding: 8px 14px;
    border-radius: var(--r-sm);
    transition: color var(--t-fast), background var(--t-fast);
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--grad-brand);
    border-radius: 2px;
    transition: transform var(--t-base);
}
.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: translateX(-50%) scaleX(1); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.06);
    transition: background var(--t-fast);
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.hamburger:hover { background: rgba(255, 255, 255, 0.12); }
.hamburger .bar {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--t-base), opacity var(--t-base);
}
.hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 170px 0 130px;
    background: var(--ink-950);
    overflow: hidden;
    isolation: isolate;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}
.hero::before {
    top: -180px; right: -120px;
    width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.42) 0%, transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite alternate;
}
.hero::after {
    bottom: -220px; left: -140px;
    width: 560px; height: 560px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.28) 0%, transparent 70%);
    animation: pulseGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes pulseGlow {
    0%   { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1;   transform: scale(1.15); }
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 70px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.32);
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 600;
    color: #c7d2fe;
    margin-bottom: 26px;
    backdrop-filter: blur(6px);
    transition: background var(--t-base), border-color var(--t-base), transform var(--t-base);
}
.hero-badge:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}
.hero-badge i { color: var(--accent-400); font-size: 12px; }

.hero-text h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #fff;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 17px;
    color: var(--slate-400);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 38px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    animation: floatY 7s ease-in-out infinite;
}
.hero-image img {
    width: 100%;
    filter: drop-shadow(0 30px 60px rgba(99, 102, 241, 0.35));
    border-radius: var(--r-lg);
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-18px); }
}

/* Hero stats strip */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-stat h3 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}
.hero-stat h3 .gradient-text { font-size: inherit; }
.hero-stat p {
    font-size: 13px;
    color: var(--slate-500);
    font-weight: 500;
    margin: 0;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-600);
    background: var(--grad-brand-soft);
    border-radius: var(--r-pill);
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--ink-900);
    margin-bottom: 14px;
}

.section-header p {
    font-size: 16.5px;
    color: var(--slate-500);
    line-height: 1.65;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
    padding: 110px 0;
    background: var(--paper-soft);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px 30px 30px;
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
    overflow: hidden;
    isolation: isolate;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: var(--grad-brand);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--t-base);
    pointer-events: none;
}
.service-card:hover::after { opacity: 1; }

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--grad-brand-soft);
    color: var(--brand-600);
    font-size: 22px;
    margin-bottom: 24px;
    transition: background var(--t-base), color var(--t-base),
                transform var(--t-base), box-shadow var(--t-base);
}
.service-card:hover .service-icon {
    background: var(--grad-brand);
    color: #fff;
    transform: scale(1.06) rotate(-6deg);
    box-shadow: 0 12px 26px rgba(99, 102, 241, 0.32);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    line-height: 1.35;
}

.service-card p {
    font-size: 14.5px;
    color: var(--slate-500);
    line-height: 1.65;
    margin-bottom: 22px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-600);
    transition: color var(--t-fast);
}
.service-link i { font-size: 11px; transition: transform var(--t-fast); }
.service-link:hover { color: var(--brand-700); }
.service-link:hover i { transform: translateX(4px); }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-choose {
    padding: 110px 0;
    background: var(--paper);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature {
    text-align: center;
    padding: 44px 26px;
    background: var(--paper-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: background var(--t-base), transform var(--t-base),
                box-shadow var(--t-base), border-color var(--t-base);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-slow);
}
.feature:hover::before { transform: scaleX(1); }

.feature:hover {
    background: var(--paper);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.feature i {
    display: inline-grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--grad-brand-soft);
    color: var(--brand-600);
    font-size: 24px;
    margin-bottom: 20px;
    transition: background var(--t-base), color var(--t-base), transform var(--t-base);
}
.feature:hover i {
    background: var(--grad-brand);
    color: #fff;
    transform: scale(1.08);
}

.feature h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature p {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.6;
}

/* ============================================================
   FAQ (AEO block)
   ============================================================ */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.faq-item {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 32px;
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
    position: relative;
}

.faq-item::before {
    content: 'Q';
    position: absolute;
    top: 22px;
    right: 28px;
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    color: var(--brand-500);
    opacity: 0.08;
    pointer-events: none;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.faq-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: -0.01em;
    line-height: 1.4;
    margin-bottom: 12px;
    padding-right: 32px;
}

.faq-item p {
    font-size: 14.5px;
    color: var(--slate-500);
    line-height: 1.7;
    margin: 0;
}

.last-updated {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: var(--slate-500);
}

.last-updated time {
    font-weight: 600;
    color: var(--ink-700);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
    position: relative;
    padding: 100px 0;
    background: var(--ink-950);
    overflow: hidden;
    isolation: isolate;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.32) 0%, transparent 65%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    animation: pulseGlow 9s ease-in-out infinite alternate;
}

.cta-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(1.9rem, 3.8vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
}

.cta p {
    font-size: 17px;
    color: var(--slate-400);
    margin-bottom: 34px;
}

.cta .btn-primary {
    background: #fff;
    color: var(--ink-950);
    box-shadow: 0 20px 44px rgba(99, 102, 241, 0.35);
}
.cta .btn-primary::before { background: var(--grad-brand); }
.cta .btn-primary:hover { color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--ink-900);
    color: var(--slate-400);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 56px;
    padding-bottom: 56px;
}

.footer-col .logo { margin-bottom: 20px; }

.footer-col p {
    font-size: 14px;
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: 22px;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul li a {
    font-size: 14px;
    color: var(--slate-400);
    transition: color var(--t-fast), padding-left var(--t-fast);
    display: inline-block;
}
.footer-col ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 10px;
}
.social-links a {
    width: 40px; height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--slate-400);
    font-size: 14px;
    transition: background var(--t-base), color var(--t-base),
                transform var(--t-base), box-shadow var(--t-base);
}
.social-links a:hover {
    background: var(--grad-brand);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.35);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--slate-400);
    line-height: 1.55;
    margin-bottom: 14px;
}
.contact-info li i {
    color: var(--accent-400);
    margin-top: 4px;
    font-size: 14px;
    min-width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 26px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: var(--slate-600);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   MOBILE STICKY CTA BAR
   ============================================================ */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 999;
    padding: 16px 24px;
    background: var(--grad-brand);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    border-radius: var(--r-pill);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45),
                0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    opacity: 0;
    transform: translateY(120%);
    transition: opacity 0.35s var(--ease-out),
                transform 0.35s var(--ease-out);
    pointer-events: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-sticky-cta:active {
    transform: scale(0.97);
}

.mobile-sticky-cta i {
    font-size: 13px;
    transition: transform 0.3s var(--ease);
}

.mobile-sticky-cta:active i {
    transform: translateX(4px);
}

/* ============================================================
   RESPONSIVE — TABLETS & SMALL LAPTOPS
   ============================================================ */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 48px; }
    .hero-image { max-width: 480px; margin: 0 auto; }
    .hero-text { text-align: center; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ============================================================
   RESPONSIVE — MOBILE NAV
   ============================================================ */
@media (max-width: 860px) {
    .hamburger { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: min(300px, 82vw);
        height: 100dvh;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 4px;
        padding: 110px 24px 40px;
        background: var(--ink-900);
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
        transition: right 0.4s var(--ease-out);
        overflow-y: auto;
        will-change: transform;
        touch-action: pan-y;
    }
    .nav-menu.active { right: 0; }
    .nav-menu a {
        font-size: 16px;
        padding: 14px 16px;
        border-radius: var(--r-sm);
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    .nav-menu a::after { display: none; }

    /* Mobile-only tweaks */
    .mobile-sticky-cta {
        display: inline-flex;
    }

    .footer {
        padding-bottom: 100px;
    }

    .social-links a {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .btn {
        min-height: 48px;
        padding: 14px 24px;
    }

    /* Prevent double-tap zoom */
    .btn,
    .hamburger,
    .service-card,
    .feature,
    .faq-item {
        touch-action: manipulation;
    }

    /* Disable heavy hover transforms on touch */
    .service-card:hover,
    .feature:hover,
    .faq-item:hover {
        transform: none;
    }

    /* Active-state feedback for touch */
    .service-card.touching,
    .feature.touching,
    .faq-item.touching {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    /* Disable hero parallax animation on mobile */
    .hero-image {
        animation: none;
        will-change: auto;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
    .container { padding: 0 20px; }

    .hero { padding: 130px 0 90px; }
    .hero-text h1 { font-size: 2rem; }
    .hero-text p { font-size: 15.5px; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }

    .services,
    .why-choose,
    .cta { padding: 80px 0; }

    .section-header { margin-bottom: 48px; }

    .services-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }

    .faq-item { padding: 24px 22px; }
    .faq-item::before { top: 18px; right: 20px; font-size: 32px; }
    .faq-item h3 { padding-right: 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer { padding-top: 56px; }
}

/* ============================================================
   RESPONSIVE — SMALL PHONES
   ============================================================ */
@media (max-width: 480px) {
    .logo-text { font-size: 14px; }
    .hero-text h1 { font-size: 1.75rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    .btn { padding: 13px 22px; font-size: 14px; }
    .btn-large { padding: 15px 26px; font-size: 15px; }
    .service-card { padding: 28px 22px; }
    .hero-stats { gap: 20px; }
    .hero-stat h3 { font-size: 22px; }
}

/* ============================================================
   LANDSCAPE PHONE TWEAKS
   ============================================================ */
@media (max-width: 860px) and (orientation: landscape) and (max-height: 500px) {
    .nav-menu {
        padding-top: 80px;
        padding-bottom: 30px;
    }

    .mobile-sticky-cta {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
    }
}

/* ============================================================
   SAFE AREA INSETS (iPhone X+)
   ============================================================ */
@supports (padding: max(0px)) {
    .mobile-sticky-cta {
        bottom: max(16px, env(safe-area-inset-bottom));
        left: max(16px, env(safe-area-inset-left));
        right: max(16px, env(safe-area-inset-right));
    }

    .nav-menu {
        padding-top: max(110px, calc(env(safe-area-inset-top) + 70px));
    }

    .footer {
        padding-bottom: max(100px, calc(env(safe-area-inset-bottom) + 80px));
    }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
::selection {
    background: var(--brand-500);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--accent-400);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .header {
        backdrop-filter: none;
        background: rgba(8, 8, 18, 0.95);
    }

    .hero-image {
        animation: none;
    }

    .mobile-sticky-cta {
        transition: none;
    }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink-900); }
::-webkit-scrollbar-thumb {
    background: var(--ink-600);
    border-radius: 10px;
    border: 2px solid var(--ink-900);
}
::-webkit-scrollbar-thumb:hover { background: var(--brand-600); }