/* ============================================================
   ATLAS CORE TEC — V4 Alive & Fluid
   Inspired by Tunox / Türk Telekom / SedefBisiklet
   ============================================================ */

:root {
    /* Brand Colors */
    --c-navy:       #102454;
    --c-navy-deep:  #0B1832;
    --c-cyan:       #00D2FF;
    --c-blue:       #3D8BFF;
    --c-indigo:     #4F5FFF;
    --c-orange:     #FF8A3D;

    /* Neutrals */
    --c-bg-light:   #F7F9FC;
    --c-card:       #FFFFFF;
    --c-surface:    #F1F5F9;
    --c-border:     #E2E8F0;

    /* Text */
    --t-head:       #0B1220;
    --t-body:       #3A4758;
    --t-muted:      #6B7A90;

    /* Typography */
    --f-head: 'Space Grotesk', sans-serif;
    --f-body: 'Inter', sans-serif;

    /* Spacing */
    --s-1: 0.25rem; --s-2: 0.5rem;   --s-3: 0.75rem; --s-4: 1rem;
    --s-5: 1.25rem; --s-6: 1.5rem;   --s-8: 2rem;    --s-10: 2.5rem;
    --s-12: 3rem;   --s-16: 4rem;    --s-20: 5rem;   --s-24: 6rem;

    /* Layout */
    --max-w: 1200px;
    --radius: 12px;
    --radius-md: 14px;
    --radius-lg: 20px;

    /* Shadows & Transitions */
    --shadow-card: 0 4px 12px rgba(11,18,32, 0.05), 0 1px 3px rgba(11,18,32, 0.03);
    --shadow-hover: 0 20px 40px rgba(16,36,84, 0.12), 0 4px 8px rgba(16,36,84, 0.06);
    --t-fast: 150ms ease;
    --t-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --t-smooth: 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   GRADIENT ACCENT LINE (Left Edge — SedefBisiklet Style)
   ============================================================ */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 3px; height: 100vh;
    background: linear-gradient(180deg, var(--c-blue) 0%, var(--c-cyan) 50%, var(--c-blue) 100%);
    background-size: 100% 200%;
    animation: accentPulse 4s ease-in-out infinite;
    z-index: 9999;
    pointer-events: none;
}
@keyframes accentPulse {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 0% 100%; }
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--f-body);
    color: var(--t-body);
    background: var(--c-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
    font-family: var(--f-head);
    color: var(--t-head);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

/* ============================================================
   SCROLL REVEAL ANIMATION SYSTEM
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--t-smooth), transform var(--t-smooth);
    will-change: opacity, transform;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Direction Variants */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity var(--t-smooth), transform var(--t-smooth);
    will-change: opacity, transform;
}
.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity var(--t-smooth), transform var(--t-smooth);
    will-change: opacity, transform;
}
.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity var(--t-smooth), transform var(--t-smooth);
    will-change: opacity, transform;
}
.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Staggered Delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
    width: 100%; max-width: var(--max-w);
    margin-inline: auto; padding-inline: var(--s-6);
}

.section { padding-block: var(--s-20); position: relative; overflow: hidden; }
@media (min-width: 768px) { .section { padding-block: var(--s-24); } }

.section--navy { background: var(--c-navy); color: rgba(255,255,255,0.85); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #FFFFFF; }
.section--light { background: var(--c-bg-light); }

.section-head { text-align: center; max-width: 650px; margin-inline: auto; margin-bottom: var(--s-12); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: var(--s-4); }
.section-sub { font-size: 1.125rem; color: var(--t-muted); }
.section--navy .section-sub { color: rgba(255,255,255,0.7); }

/* Accent Text */
.t-gradient {
    background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Badges / Labels */
.badge {
    display: inline-flex; align-items: center; gap: var(--s-2);
    font-family: var(--f-head); font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    padding: 0.35rem 0.85rem; border-radius: 99px;
}
.badge--orange { background: rgba(255,138,61,0.15); color: var(--c-orange); }
.badge--blue { background: rgba(61,139,255,0.15); color: var(--c-blue); }
.badge--outline-light {
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { border-color: rgba(255,255,255,0.25); box-shadow: none; }
    50% { border-color: rgba(0,210,255,0.4); box-shadow: 0 0 20px rgba(0,210,255,0.1); }
}

/* ============================================================
   BUTTONS (UNIVERSAL CTA)
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
    padding: 0.85rem 1.75rem; font-family: var(--f-head); font-size: 1rem; font-weight: 600;
    border-radius: 8px; transition: all var(--t-base); line-height: 1; cursor: pointer;
    position: relative; overflow: hidden; white-space: nowrap;
}

/* Shimmer effect on primary buttons */
.btn--primary {
    background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-blue) 100%);
    color: #FFF;
    border: none;
    box-shadow: 0 4px 15px rgba(61, 139, 255, 0.25);
}
.btn--primary::after {
    content: '';
    position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.btn--primary:hover::after { left: 100%; }
.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(61, 139, 255, 0.4);
}

.btn--ghost {
    background: transparent;
    color: var(--c-navy);
    border: 1.5px solid var(--c-navy);
}
.btn--ghost:hover {
    background: rgba(16,36,84,0.05);
    transform: translateY(-2px);
}

.btn--ghost-light {
    background: transparent;
    color: #FFF;
    border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--ghost-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #FFF;
    transform: translateY(-2px);
}

.btn--sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; }

.btn-icon { width: 1.1em; height: 1.1em; transition: transform var(--t-fast); }
.btn:hover .btn-icon--arrow { transform: translateX(4px); }

/* ============================================================
   BACKGROUNDS (Blobs & Grids)
   ============================================================ */
.bg-blob {
    position: absolute;
    width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    animation: blobFloat 8s ease-in-out infinite;
}
.bg-blob--indigo { background: var(--c-indigo); top: -10%; right: -10%; }
.bg-blob--cyan { background: var(--c-cyan); bottom: 10%; left: -10%; animation-delay: -4s; }

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(15px, -20px) scale(1.05); }
    66% { transform: translate(-10px, 15px) scale(0.95); }
}

/* Navy Grid Pattern */
.bg-grid-navy {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    animation: gridFade 1.5s ease-out forwards;
}
@keyframes gridFade { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   NAVBAR — Glassmorphism
   ============================================================ */
.nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    padding-block: 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(180deg, rgba(11,24,50,0.8) 0%, transparent 100%);
}
.nav.scrolled {
    padding-block: 0.85rem;
    background: rgba(16,36,84, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), inset 0 -1px 0 rgba(255,255,255,0.05);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }

.nav__brand { display: flex; align-items: center; gap: var(--s-2); color: #FFF; }
.nav__brand-icon {
    width: 28px; height: 28px; border-radius: 6px;
    background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
    display: flex; align-items: center; justify-content: center;
    transition: transform var(--t-base);
}
@media(min-width: 768px) {
    .nav__brand { gap: var(--s-3); }
    .nav__brand-icon { width: 32px; height: 32px; }
}
.nav__brand:hover .nav__brand-icon { transform: rotate(-8deg) scale(1.1); }
.nav__brand-name { font-family: var(--f-head); font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; }
@media(min-width: 768px) {
    .nav__brand-name { font-size: 1.125rem; }
}

.nav__links { display: none; gap: var(--s-8); }
@media(min-width: 1024px) { .nav__links { display: flex; } }
.nav__link {
    color: rgba(255,255,255,0.75); font-weight: 500; font-size: 0.95rem;
    position: relative; transition: color var(--t-base);
    padding-bottom: 4px;
}
.nav__link:hover, .nav__link.active { color: #FFF; }
.nav__link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--c-blue), var(--c-cyan));
    transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { display: none; }
@media(min-width: 1024px) { .nav__cta { display: inline-flex; } }

.nav__burger { color: #FFF; display: flex; padding: 0.5rem; border-radius: 4px; background: rgba(255,255,255,0.1); transition: all var(--t-fast); }
.nav__burger:hover { background: rgba(255,255,255,0.2); }
@media(min-width: 1024px) { .nav__burger { display: none; } }

/* — Mobile Drawer — */
.nav__drawer {
    position: fixed; inset: 0; z-index: 200; display: flex; justify-content: flex-end;
    pointer-events: none;
}
.nav__drawer.open { pointer-events: auto; }

.nav__veil {
    position: absolute; inset: 0; background: rgba(11,18,32,0.6); backdrop-filter: blur(6px);
    opacity: 0; transition: opacity 0.4s ease;
}
.nav__drawer.open .nav__veil { opacity: 1; }

.nav__panel {
    position: relative; width: min(320px, 85vw); height: 100%;
    background: var(--c-navy-deep); border-left: 1px solid rgba(255,255,255,0.08);
    display: flex; flex-direction: column; transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); overflow-y: auto;
}
.nav__drawer.open .nav__panel { transform: translateX(0); }

.nav__panel-top {
    display: flex; align-items: center; justify-content: space-between; padding: var(--s-6);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav__panel-close { color: rgba(255,255,255,0.6); padding: var(--s-2); background: rgba(255,255,255,0.05); border-radius: 4px; transition: all var(--t-fast); }
.nav__panel-close:hover { color: #FFF; background: rgba(255,255,255,0.1); }

.nav__panel-links { flex: 1; padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); }
.nav__panel-link {
    font-family: var(--f-head); font-size: 1.125rem; font-weight: 600;
    color: rgba(255,255,255,0.7); padding-bottom: var(--s-2);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all var(--t-base);
}
.nav__panel-link:hover, .nav__panel-link.active { color: #FFF; border-color: rgba(61,139,255,0.5); padding-left: var(--s-2); }

.nav__panel-bottom { padding: var(--s-6); border-top: 1px solid rgba(255,255,255,0.08); }

/* ============================================================
   HERO & NODE ANIMATION
   ============================================================ */
.hero {
    position: relative; min-height: 100svh; display: flex; align-items: center;
    padding-top: 80px; padding-bottom: var(--s-10); overflow: hidden;
}
@media(min-width: 1024px) {
    .hero { padding-top: 100px; padding-bottom: var(--s-20); }
}

.hero__inner {
    position: relative; z-index: 2; display: grid; grid-template-columns: 1fr;
    gap: var(--s-8); align-items: center;
}
@media(min-width: 1024px) { .hero__inner { grid-template-columns: 1fr 1fr; gap: var(--s-12); } }

.hero__copy { animation: heroFadeIn 1s ease-out forwards; }
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero__title { font-size: clamp(2rem, 5vw, 4.5rem); margin-bottom: var(--s-6); word-break: break-word; }
.hero__title span.fw-light { font-weight: 500; }
.hero__sub {
    font-size: 1.125rem; max-width: 500px; margin-bottom: var(--s-10);
    animation: heroFadeIn 1s 0.3s ease-out both;
}
.hero__actions {
    display: flex; flex-wrap: wrap; gap: var(--s-4);
    animation: heroFadeIn 1s 0.5s ease-out both;
}

/* Hero Visual */
.hero__visual {
    animation: heroVisualIn 1.2s 0.4s ease-out both;
}
@keyframes heroVisualIn {
    from { opacity: 0; transform: translateY(50px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* White Shape Background */
.hero-white-shape {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}
.hero-white-shape__svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.hero-white-shape--desktop {
    top: 0; right: 0;
    width: 60%; height: 100%;
}
.hero-white-shape--mobile {
    display: none;
}

@media (max-width: 1024px) {
    .hero-white-shape--desktop {
        display: none;
    }
    .hero-white-shape--mobile {
        display: block;
        bottom: 0; left: 0; top: auto;
        width: 100%; height: 60%;
    }
}

.hero-visual-content {
    position: relative;
    z-index: 2;
    animation: floatVisual 6s ease-in-out infinite;
}
@keyframes floatVisual {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Node Diagram */
.hero-diagram { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1; margin: 0 auto; }
.node-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.node-line {
    fill: none; stroke: rgba(61,139,255,0.3); stroke-width: 1.5;
    stroke-dasharray: 6 6;
    animation: flowLine 20s linear infinite;
}
@keyframes flowLine { to { stroke-dashoffset: -200; } }

.node {
    position: absolute; display: flex; align-items: center; justify-content: center;
    background: var(--c-navy); border: 1px solid rgba(61,139,255,0.4);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3); color: #FFF;
    font-family: var(--f-head); font-weight: 700; letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.node:hover {
    border-color: var(--c-cyan);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.5);
    transform: scale(1.1);
}

/* Core Node */
.node--core {
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 130px; height: 130px; border-radius: 50%;
    flex-direction: column; z-index: 10;
    border-color: var(--c-blue); background: #0B1A3D;
    box-shadow: 0 0 40px rgba(61,139,255,0.2);
}
.node--core:hover { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 50px rgba(61,139,255,0.4); }
.node--core span { font-size: 0.65rem; color: var(--c-cyan); margin-top: 2px; }

/* Satellites */
.node--sat {
    width: 80px; height: 80px; border-radius: 50%; font-size: 0.8rem; z-index: 5;
}
.node--web { top: 8%; left: 50%; transform: translateX(-50%); animation: floatY 6s ease-in-out infinite; }
.node--mob { top: 50%; right: 4%; transform: translateY(-50%); animation: floatX 7s ease-in-out infinite; }
.node--api { top: 50%; left: 4%; transform: translateY(-50%); animation: floatXi 5s ease-in-out infinite; }
.node--dat { bottom: 8%; left: 50%; transform: translateX(-50%); animation: floatYi 6.5s ease-in-out infinite; }

@keyframes floatY { 0%,100%{ transform: translateX(-50%) translateY(0); } 50%{ transform: translateX(-50%) translateY(-12px); } }
@keyframes floatYi { 0%,100%{ transform: translateX(-50%) translateY(0); } 50%{ transform: translateX(-50%) translateY(12px); } }
@keyframes floatX { 0%,100%{ transform: translateY(-50%) translateX(0); } 50%{ transform: translateY(-50%) translateX(12px); } }
@keyframes floatXi { 0%,100%{ transform: translateY(-50%) translateX(0); } 50%{ transform: translateY(-50%) translateX(-12px); } }

/* ============================================================
   STATS / COUNTER SECTION
   ============================================================ */
.stats-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6);
    margin-top: var(--s-12);
}
@media(min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
    text-align: center; padding: var(--s-6);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    transition: all var(--t-base);
}
.stat-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(0,210,255,0.3);
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--f-head); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; color: #FFF;
    background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1;
}
.stat-label {
    font-size: 0.85rem; color: rgba(255,255,255,0.6);
    margin-top: var(--s-2); font-weight: 500;
}

/* ============================================================
   CARDS
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--s-6); }
@media(min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
    background: var(--c-card);
    border-radius: var(--radius-lg);
    padding: var(--s-8);
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; border: 1px solid rgba(0,0,0,0.04);
    display: flex; flex-direction: column;
}

/* Gradient border illusion on hover */
.card::before {
    content: ''; position: absolute; inset: -1px; border-radius: calc(var(--radius-lg) + 1px);
    background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
    z-index: -1; opacity: 0; transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.card:hover::before { opacity: 1; }

.card__icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: rgba(61,139,255,0.08); color: var(--c-blue);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--s-6);
    transition: all var(--t-base);
}
.card:hover .card__icon {
    background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
    color: #FFF;
    transform: scale(1.1) rotate(-5deg);
}

.card__title { font-size: 1.25rem; font-weight: 700; color: var(--t-head); margin-bottom: var(--s-3); }
.card__desc { color: var(--t-body); margin-bottom: var(--s-6); flex: 1; }
.card__link {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--f-head); font-weight: 700; font-size: 0.875rem; color: var(--c-navy);
    transition: all var(--t-base);
}
.card:hover .card__link { color: var(--c-blue); gap: 10px; }

/* ============================================================
   PORTFOLIO LOGO GRID
   ============================================================ */
.ref-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media(min-width: 480px) { .ref-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width: 768px) { .ref-grid { grid-template-columns: repeat(3,1fr); } }
@media(min-width: 1024px) { .ref-grid { grid-template-columns: repeat(4,1fr); } }

.ref-card {
    background: var(--c-card); border-radius: var(--radius); padding: var(--s-6);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: var(--shadow-card); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.04);
}
.ref-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(61,139,255,0.2); }
.ref-logo { max-height: 40px; max-width: 120px; filter: grayscale(1) opacity(0.5); transition: all 0.4s ease; }
.ref-card:hover .ref-logo { filter: grayscale(0) opacity(1); transform: scale(1.05); }

/* ============================================================
   FORMS
   ============================================================ */
.form-card { background: var(--c-card); border-radius: var(--radius-lg); padding: var(--s-8); box-shadow: var(--shadow-card); }
@media(min-width: 768px) { .form-card { padding: var(--s-10); } }

.form-label { display: block; font-family: var(--f-head); font-weight: 600; font-size: 0.9rem; color: var(--t-head); margin-bottom: 0.5rem; }
.form-control {
    width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--c-border); border-radius: 10px;
    font-family: var(--f-body); font-size: 1rem; color: var(--t-head); background: var(--c-surface);
    transition: all var(--t-base); outline: none; appearance: none;
}
.form-control:focus { background: #FFF; border-color: var(--c-blue); box-shadow: 0 0 0 4px rgba(61,139,255,0.12); }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--s-4); margin-bottom: var(--s-4); }
@media(min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--t-base);
}
.faq-item:hover { border-color: rgba(61,139,255,0.3); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

.faq-btn {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: var(--s-5); background: none; border: none; cursor: pointer;
    color: var(--t-head); font-family: var(--f-head); font-weight: 700; font-size: 1.05rem;
    text-align: left; transition: color var(--t-fast);
}
.faq-btn:hover { color: var(--c-blue); }

.faq-icon { transition: transform 0.3s ease; flex-shrink: 0; margin-left: var(--s-3); color: var(--c-cyan); }

.faq-content {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-content > div {
    padding: 0 var(--s-5) var(--s-5);
    color: var(--t-body); line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--c-navy-deep); color: rgba(255,255,255,0.7);
    padding-block: var(--s-16) var(--s-8);
    position: relative;
}
/* Gradient top border */
.footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--c-blue), var(--c-cyan), var(--c-indigo));
}

.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-10); margin-bottom: var(--s-12); }
@media(min-width: 768px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-title { font-family: var(--f-head); color: #FFF; font-weight: 700; margin-bottom: var(--s-4); font-size: 1.1rem; }
.footer-link {
    display: block; margin-bottom: 0.75rem;
    transition: all var(--t-base); position: relative;
    padding-left: 0;
}
.footer-link:hover { color: var(--c-cyan); padding-left: var(--s-2); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: var(--s-6);
    text-align: center; font-size: 0.875rem;
    display: flex; flex-direction: column; gap: var(--s-3); align-items: center;
}
@media(min-width: 768px) {
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ============================================================
   ACCESSIBILITY & PERFORMANCE
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
    body::before { animation: none; }
}

/* Mobile Performance Overrides for Hero Node */
@media (max-width: 768px) {
    .node-line { animation: none !important; stroke-dasharray: none !important; }
    .node--sat { animation: none !important; }
    .node--web { top: 0; }
    .node--dat { bottom: 0; }
    .node--mob { right: 0; }
    .node--api { left: 0; }

    /* Accent line thinner on mobile */
    body::before { width: 2px; }
}
