/* ===================== TOKENS ===================== */
:root {
    --navy-900: #060f28;
    --navy-850: #081432;
    --navy-800: #0a1a3c;
    --navy-700: #0e2350;
    --navy-600: #143163;
    --blue-600: #1e63e9;
    --blue-500: #2f80ed;
    --blue-400: #3fa9f5;
    --cyan-300: #6fc3ff;
    --white: #ffffff;
    --ink-100: #eaf1ff;
    --ink-300: #b9c6e4;
    --ink-400: #8ea0c8;
    --ink-500: #6a7ba6;
    --line: rgba(120, 160, 240, 0.16);
    --card: rgba(255, 255, 255, 0.035);
    --card-hover: rgba(255, 255, 255, 0.06);
    --grad: linear-gradient(120deg, #3fa9f5 0%, #2f80ed 45%, #1e63e9 100%);
    --grad-soft: linear-gradient(135deg, rgba(63, 169, 245, 0.18), rgba(30, 99, 233, 0.05));
    --shadow: 0 24px 60px -20px rgba(4, 12, 35, 0.85);
    --radius: 18px;
    --maxw: 1200px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--navy-900);
    color: var(--ink-300);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; color: var(--white); line-height: 1.15; font-weight: 700; }
.container { width: min(var(--maxw), 92%); margin-inline: auto; }
section { position: relative; }

/* ===================== BACKGROUND AURORA ===================== */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(60% 50% at 82% 0%, rgba(30, 99, 233, 0.22), transparent 60%),
        radial-gradient(50% 45% at 8% 22%, rgba(63, 169, 245, 0.14), transparent 60%),
        radial-gradient(70% 60% at 50% 110%, rgba(20, 49, 99, 0.5), transparent 60%);
    z-index: -2;
    pointer-events: none;
}

/* ===================== SCROLL PROGRESS ===================== */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: var(--grad); z-index: 1000;
    box-shadow: 0 0 12px rgba(63, 169, 245, 0.7);
}

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    padding: 25px 0;
    transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.navbar.scrolled {
    padding: 20px 0;
    background: rgba(6, 15, 40, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.9);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand-logo { height: 100px; width: auto; transition: height 0.9s var(--ease); }
.navbar.scrolled .brand-logo { height: 100px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
    font-size: 0.92rem; font-weight: 500; color: var(--ink-300);
    padding: 9px 16px; border-radius: 999px;
    transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.nav-cta {
    background: var(--grad); color: var(--white) !important;
    font-weight: 600; box-shadow: 0 10px 26px -10px rgba(47, 128, 237, 0.8);
}
.nav-cta:hover { filter: brightness(1.08); background: var(--grad) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 140px 0 90px;
    background:
        linear-gradient(180deg, rgba(6, 15, 40, 0.55) 0%, rgba(6, 15, 40, 0.85) 70%, var(--navy-900) 100%),
        url('assets/bg-network-dark.jpg') center/cover no-repeat;
    overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-overlay {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: radial-gradient(50% 60% at 70% 40%, rgba(30, 99, 233, 0.28), transparent 70%);
}
.hero-content { position: relative; z-index: 3; max-width: 820px; }
.eyebrow {
    display: inline-block; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--cyan-300); font-weight: 600; padding: 8px 16px;
    border: 1px solid var(--line); border-radius: 999px; margin-bottom: 26px;
    background: rgba(63, 169, 245, 0.06);
}
.hero-title {
    font-size: clamp(2.9rem, 7vw, 5.4rem); font-weight: 800; letter-spacing: -0.02em;
    line-height: 1.02; margin-bottom: 24px;
}
.hero-title .grad-text { display: inline-block; margin-right: 0.35em; }
.grad-text {
    background: linear-gradient(100deg, #ffffff 0%, #bcd8ff 40%, #3fa9f5 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.22rem); color: var(--ink-300); max-width: 620px; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 54px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 38px; }
.badge { display: flex; flex-direction: column; }
.badge strong { font-family: 'Sora', sans-serif; font-size: 2rem; color: var(--white); line-height: 1; }
.badge span { font-size: 0.82rem; color: var(--ink-400); letter-spacing: 0.04em; margin-top: 4px; }

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
    font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.98rem;
    padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, filter 0.3s;
}
.btn-primary { background: var(--grad); color: var(--white); box-shadow: 0 16px 40px -14px rgba(47, 128, 237, 0.85); }
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.08); box-shadow: 0 22px 50px -14px rgba(47, 128, 237, 1); }
.btn-primary .arrow { transition: transform 0.3s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(5px); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--white); border-color: var(--line); backdrop-filter: blur(6px); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.09); border-color: rgba(120, 160, 240, 0.4); }

/* ===================== SCROLL HINT ===================== */
.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; }
.mouse { display: block; width: 26px; height: 42px; border: 2px solid rgba(180, 205, 255, 0.5); border-radius: 14px; position: relative; }
.wheel { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--cyan-300); border-radius: 2px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 22px; } }

/* ===================== TAGLINE MARQUEE ===================== */
.tagline-strip { border-block: 1px solid var(--line); background: rgba(10, 26, 60, 0.5); padding: 20px 0; overflow: hidden; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 26px; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--ink-100); text-transform: uppercase; letter-spacing: 0.08em; }
.marquee-track i { color: var(--blue-400); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===================== SECTION BASICS ===================== */
.section { padding: 100px 0; }
.section-head.center { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-tag {
    display: inline-block; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--blue-400); font-weight: 700; margin-bottom: 16px;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -0.02em; margin-bottom: 18px; }
.section-lead { font-size: 1.08rem; color: var(--ink-400); }

/* ===================== WHO WE ARE ===================== */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.media-frame { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-glow { position: absolute; inset: 0; background: linear-gradient(160deg, transparent 55%, rgba(30, 99, 233, 0.35)); pointer-events: none; }
.floating-card {
    position: absolute; bottom: -26px; right: -18px; display: flex; align-items: center; gap: 14px;
    background: rgba(10, 22, 50, 0.9); border: 1px solid var(--line); border-radius: 16px;
    padding: 16px 22px; backdrop-filter: blur(12px); box-shadow: var(--shadow); animation: float 5s ease-in-out infinite;
}
.fc-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 0 6px rgba(63, 169, 245, 0.18); }
.floating-card strong { display: block; color: var(--white); font-family: 'Sora', sans-serif; font-size: 1rem; }
.floating-card span { font-size: 0.85rem; color: var(--ink-400); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.feature-list { display: grid; gap: 22px; margin-top: 34px; }
.feature-item { display: flex; gap: 18px; align-items: flex-start; }
.feature-ico {
    flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
    background: var(--grad-soft); border: 1px solid var(--line); color: var(--blue-400);
}
.feature-ico svg { width: 24px; height: 24px; }
.feature-item h3 { font-size: 1.14rem; margin-bottom: 4px; }
.feature-item p { color: var(--ink-400); font-size: 0.98rem; }

/* ===================== STATS ===================== */
.stats-section { padding: 60px 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 26, 60, 0.4), transparent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat { position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -15px; top: 12%; height: 76%; width: 1px; background: var(--line); }
.stat-num { display: block; font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.2rem); background: linear-gradient(120deg, #ffffff, #6fc3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--ink-400); font-size: 0.92rem; letter-spacing: 0.03em; }

/* ===================== VISION & MISSION ===================== */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.vm-card {
    position: relative; padding: 44px 40px; border-radius: var(--radius); border: 1px solid var(--line);
    background: var(--grad-soft); overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s;
}
.vm-card::after { content: ""; position: absolute; top: -40%; right: -30%; width: 60%; height: 120%; background: radial-gradient(circle, rgba(63, 169, 245, 0.2), transparent 70%); }
.vm-card:hover { transform: translateY(-6px); border-color: rgba(120, 160, 240, 0.4); }
.vm-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(6, 15, 40, 0.5); border: 1px solid var(--line); color: var(--blue-400); margin-bottom: 22px; }
.vm-ico svg { width: 28px; height: 28px; }
.vm-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.vm-card p { color: var(--ink-300); font-size: 1.02rem; position: relative; z-index: 1; }

/* ===================== CORE VALUES ===================== */
.values-section { background: linear-gradient(180deg, transparent, rgba(10, 26, 60, 0.3), transparent); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
    padding: 34px 28px; border-radius: var(--radius); border: 1px solid var(--line);
    background: var(--card); position: relative; overflow: hidden;
    transition: transform 0.4s var(--ease), background 0.4s, border-color 0.4s;
}
.value-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--grad); transition: width 0.5s var(--ease); }
.value-card:hover { transform: translateY(-8px); background: var(--card-hover); border-color: rgba(120, 160, 240, 0.35); }
.value-card:hover::before { width: 100%; }
.value-num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.85; }
.value-card h3 { font-size: 1.28rem; margin: 12px 0 8px; }
.value-card p { color: var(--ink-400); font-size: 0.96rem; }

/* ===================== SERVICES ===================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    padding: 36px 32px; border-radius: var(--radius); border: 1px solid var(--line);
    background: var(--card); position: relative; overflow: hidden;
    transition: transform 0.4s var(--ease), background 0.4s, border-color 0.4s;
}
.service-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 90% at 100% 0%, rgba(30, 99, 233, 0.14), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.service-card:hover { transform: translateY(-8px); background: var(--card-hover); border-color: rgba(120, 160, 240, 0.35); }
.service-card:hover::after { opacity: 1; }
.svc-ico {
    width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
    background: var(--grad-soft); border: 1px solid var(--line); color: var(--blue-400); margin-bottom: 22px;
    transition: transform 0.4s var(--ease);
}
.service-card:hover .svc-ico { transform: rotate(-8deg) scale(1.06); }
.svc-ico svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.28rem; margin-bottom: 10px; position: relative; z-index: 1; }
.service-card p { color: var(--ink-400); position: relative; z-index: 1; }

/* ===================== HOW WE BUILD ===================== */
.build-section { background: linear-gradient(180deg, transparent, rgba(10, 26, 60, 0.35), transparent); }
.build-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.build-list { display: grid; gap: 12px; margin-top: 30px; }
.build-item {
    display: flex; gap: 20px; align-items: flex-start; padding: 22px 24px;
    border-radius: 16px; border: 1px solid var(--line); background: var(--card);
    transition: transform 0.35s var(--ease), background 0.35s;
}
.build-item:hover { transform: translateX(8px); background: var(--card-hover); }
.build-num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.build-item h3 { font-size: 1.18rem; margin-bottom: 4px; }
.build-item p { color: var(--ink-400); font-size: 0.97rem; }

/* ===================== DELIVERY STEPS ===================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.step { text-align: center; padding: 0 10px; }
.step-badge {
    width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px;
    font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--white);
    background: var(--grad); box-shadow: 0 14px 34px -12px rgba(47, 128, 237, 0.9); position: relative; z-index: 1;
    transition: transform 0.4s var(--ease);
}
.step:hover .step-badge { transform: translateY(-6px) scale(1.06); }
.step h3 { font-size: 1.22rem; margin-bottom: 8px; }
.step p { color: var(--ink-400); font-size: 0.96rem; }

/* ===================== PRODUCTS ===================== */
.products-section { background: linear-gradient(180deg, transparent, rgba(10, 26, 60, 0.3), transparent); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
    padding: 40px 34px; border-radius: var(--radius); border: 1px solid var(--line);
    background: var(--card); position: relative; overflow: hidden; text-align: left;
    transition: transform 0.4s var(--ease), background 0.4s, border-color 0.4s;
}
.product-card:hover { transform: translateY(-10px); background: var(--card-hover); border-color: rgba(120, 160, 240, 0.4); }
.product-logo {
    height: 92px; border-radius: 14px; background: #ffffff; display: grid; place-items: center;
    padding: 16px 22px; margin-bottom: 24px; box-shadow: var(--shadow);
}
.product-logo img { max-height: 60px; width: auto; object-fit: contain; }
.product-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.product-card p { color: var(--ink-400); margin-bottom: 18px; }
.product-tag { display: inline-block; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--cyan-300); padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(63, 169, 245, 0.07); }

/* ===================== PARTNERS ===================== */
.partners-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.partner {
    height: 128px; border-radius: 16px; border: 1px solid var(--line);
    background: #ffffff; display: grid; place-items: center; padding: 18px; overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.partner:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.7); }
.partner img { width: 100%; height: 72px; object-fit: contain; }

/* ===================== OUR STORY (MERGER) ===================== */
.story-section { background: linear-gradient(180deg, transparent, rgba(10, 26, 60, 0.3), transparent); }
.story-grid { display: grid; grid-template-columns: 1.1fr auto 1fr; gap: 26px; align-items: stretch; }
.story-origins { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.story-card {
    display: flex; align-items: center; gap: 20px; padding: 22px 24px;
    border-radius: var(--radius); border: 1px solid var(--line); border-top: 3px solid var(--blue-400);
    background: var(--card); transition: transform 0.4s var(--ease), background 0.4s;
}
.story-card:hover { transform: translateY(-4px); background: var(--card-hover); }
.story-logo {
    flex: none; width: 104px; height: 72px; border-radius: 12px; background: #ffffff;
    display: grid; place-items: center; padding: 10px; overflow: hidden;
}
.story-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.story-year { display: block; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-400); margin-bottom: 4px; }
.story-card h3 { font-size: 1.2rem; margin-bottom: 2px; }
.story-card p { color: var(--ink-400); font-size: 0.94rem; }
.story-join { display: grid; place-items: center; width: 120px; }
.story-join svg { width: 120px; height: 100%; max-height: 320px; overflow: visible; }
.flow-path {
    stroke: var(--blue-400); stroke-width: 2.2; stroke-linecap: round;
    stroke-dasharray: 7 9; animation: flowDash 1.4s linear infinite; opacity: 0.9;
}
.flow-path-out { animation-duration: 1.1s; }
@keyframes flowDash { to { stroke-dashoffset: -32; } }
.flow-node {
    fill: #ffffff;
    filter: drop-shadow(0 0 10px rgba(63, 169, 245, 0.9));
    animation: nodePulse 2s ease-in-out infinite;
    transform-box: fill-box; transform-origin: center;
}
@keyframes nodePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
.flow-arrow {
    stroke: var(--blue-400); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; fill: none;
    animation: arrowNudge 1.4s ease-in-out infinite;
    transform-box: fill-box; transform-origin: center;
}
@keyframes arrowNudge { 0%, 100% { transform: translateX(0); opacity: 0.75; } 50% { transform: translateX(5px); opacity: 1; } }
.story-result {
    display: flex; flex-direction: column; justify-content: center;
    padding: 34px 32px; border-radius: var(--radius); border: 1px solid var(--line); border-top: 3px solid var(--blue-400);
    background: linear-gradient(150deg, rgba(20, 49, 99, 0.55), rgba(10, 26, 60, 0.75));
    transition: transform 0.4s var(--ease);
}
.story-result:hover { transform: translateY(-4px); }
.story-result-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.story-result-logo { height: 40px; width: auto; }
.story-result .story-year { margin-bottom: 0; }
.story-result h3 { font-size: 1.6rem; margin-bottom: 10px; color: var(--white); }
.story-result p { color: var(--ink-300); }

/* ===================== LEADERSHIP ===================== */
.leaders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.leader-card {
    display: flex; gap: 24px; align-items: stretch; padding: 26px;
    border-radius: var(--radius); border: 1px solid var(--line); border-top: 3px solid var(--blue-400);
    background: var(--card); transition: transform 0.4s var(--ease), background 0.4s;
}
.leader-card:hover { transform: translateY(-6px); background: var(--card-hover); }
.leader-photo { flex: none; width: 148px; min-height: 170px; height: auto; align-self: stretch; object-fit: cover; object-position: top center; border-radius: 14px; }
.leader-info { display: flex; flex-direction: column; justify-content: center; }
.leader-info h3 { font-size: 1.3rem; margin-bottom: 6px; }
.leader-role { display: block; color: var(--blue-400); font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; font-family: 'Sora', sans-serif; }
.leader-info p { color: var(--ink-400); font-size: 0.95rem; }

/* ===================== WHY MEGA ===================== */
.why-section { background: linear-gradient(180deg, transparent, rgba(10, 26, 60, 0.3), transparent); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
    padding: 34px 28px; border-radius: var(--radius); border: 1px solid var(--line);
    background: var(--card); transition: transform 0.4s var(--ease), background 0.4s, border-color 0.4s;
}
.why-card:hover { transform: translateY(-8px); background: var(--card-hover); border-color: rgba(120, 160, 240, 0.35); }
.why-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line); color: var(--blue-400); margin-bottom: 20px; }
.why-ico svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.why-card p { color: var(--ink-400); font-size: 0.96rem; }

/* ===================== CTA ===================== */
.cta-section { position: relative; padding: 110px 0; text-align: center; overflow: hidden; }
.cta-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        linear-gradient(180deg, var(--navy-900), rgba(14, 35, 80, 0.6)),
        url('assets/bg-network-dark.jpg') center/cover no-repeat;
}
.cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 40%, rgba(30, 99, 233, 0.35), transparent 70%); }
.cta-inner { position: relative; z-index: 1; max-width: 760px; }
.cta-logo { height: 66px; width: auto; margin: 0 auto 28px; }
.cta-section h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.cta-section p { font-size: 1.12rem; color: var(--ink-300); margin-bottom: 36px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ===================== FOOTER ===================== */
.footer { position: relative; border-top: 1px solid var(--line); padding: 70px 0 30px; background: var(--navy-850); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 48px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--ink-400); max-width: 320px; font-size: 0.96rem; }
.footer-col h4 { font-size: 0.92rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-col a, .footer-addr { display: block; color: var(--ink-400); font-size: 0.94rem; margin-bottom: 12px; transition: color 0.25s; }
.footer-col a:hover { color: var(--blue-400); }
.footer-addr { color: var(--ink-500); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px 0 34px; color: var(--ink-500); font-size: 0.86rem; }
.footer-brand .socials { position: absolute; left: 50%; bottom: 18px; z-index: 2; margin: 0; transform: translateX(-50%); }
.socials { display: flex; gap: 8px; }
.socials a {
    width: 30px !important; height: 30px !important; flex: 0 0 30px; border-radius: 50%; display: grid; place-items: center;
    color: var(--ink-400); border: 1px solid var(--line); background: transparent;
    transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.3s var(--ease);
}
.socials a:hover { color: #fff; background: var(--grad); border-color: transparent; transform: translateY(-2px); }
.socials svg { display: block; width: 14px !important; height: 14px !important; max-width: 14px; max-height: 14px; }

/* ===================== TO TOP ===================== */
.to-top {
    position: fixed; bottom: 26px; right: 26px; width: 48px; height: 48px; z-index: 800;
    display: grid; place-items: center; border-radius: 50%; font-size: 1.3rem; color: var(--white);
    background: var(--grad); box-shadow: 0 14px 34px -12px rgba(47, 128, 237, 0.9);
    opacity: 0; visibility: hidden; transform: translateY(16px); transition: 0.4s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { filter: brightness(1.1); transform: translateY(-3px); }

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===================== NAV ACTIONS + THEME TOGGLE ===================== */.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
    width: 42px; height: 42px; flex: none; display: grid; place-items: center; cursor: pointer;
    border-radius: 50%; border: 1px solid var(--line); color: var(--ink-100);
    background: rgba(255, 255, 255, 0.05); transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.3s var(--ease);
}
.theme-toggle:hover { color: var(--white); background: rgba(255, 255, 255, 0.1); border-color: rgba(120, 160, 240, 0.4); transform: translateY(-2px); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .ico-moon { display: none; }
html[data-theme="light"] .theme-toggle .ico-sun { display: none; }
html[data-theme="light"] .theme-toggle .ico-moon { display: block; }

/* ===================== CONTACT FORM ===================== */
.contact-section { background: linear-gradient(180deg, transparent, rgba(10, 26, 60, 0.32), transparent); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.contact-intro .section-head { margin: 0; }
.contact-details { list-style: none; display: grid; gap: 22px; margin-top: 34px; }
.contact-details li { display: flex; gap: 16px; align-items: flex-start; }
.contact-details .ci {
    flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
    background: var(--grad-soft); border: 1px solid var(--line); color: var(--blue-400);
}
.contact-details .ci svg { width: 22px; height: 22px; }
.contact-details strong { display: block; color: var(--white); font-family: 'Sora', sans-serif; font-size: 1rem; margin-bottom: 3px; }
.contact-details a, .contact-details span { color: var(--ink-400); font-size: 0.97rem; transition: color 0.25s; }
.contact-details a:hover { color: var(--blue-400); }

.contact-form {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 36px; box-shadow: var(--shadow); display: grid; gap: 20px;
}
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink-100); font-family: 'Sora', sans-serif; }
.field label .opt { color: var(--ink-500); font-weight: 400; }
.field input, .field textarea {
    width: 100%; font-family: 'Inter', sans-serif; font-size: 0.98rem; color: var(--white);
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 12px;
    padding: 13px 16px; transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-500); }
.field input:focus, .field textarea:focus {
    outline: none; border-color: var(--blue-400); background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(63, 169, 245, 0.14);
}
.field.invalid input, .field.invalid textarea { border-color: #ff6b7d; box-shadow: 0 0 0 4px rgba(255, 107, 125, 0.14); }
.field .err { color: #ff97a4; font-size: 0.82rem; min-height: 1em; }
.contact-form .btn { justify-self: start; margin-top: 4px; }
.form-status { font-size: 0.95rem; font-weight: 500; min-height: 1.2em; }
.form-status.success { color: #4fd39a; }
.form-status.error { color: #ff97a4; }

/* ===================== LIGHT THEME ===================== */
html[data-theme="light"] {
    --navy-900: #eef2f9;
    --navy-850: #e7edf7;
    --navy-800: #ffffff;
    --navy-700: #dce6f5;
    --navy-600: #cdd9ee;
    --white: #0c1c3f;
    --ink-100: #14244a;
    --ink-300: #35476d;
    --ink-400: #566a90;
    --ink-500: #8493b0;
    --line: rgba(20, 49, 99, 0.14);
    --card: rgba(20, 49, 99, 0.028);
    --card-hover: rgba(20, 49, 99, 0.055);
    --grad-soft: linear-gradient(135deg, rgba(47, 128, 237, 0.12), rgba(30, 99, 233, 0.03));
    --shadow: 0 24px 60px -20px rgba(20, 49, 99, 0.22);
    background: #eef2f9;
}
html[data-theme="light"] body { background: #eef2f9; }
html[data-theme="light"] body::before {
    background:
        radial-gradient(60% 50% at 82% 0%, rgba(47, 128, 237, 0.10), transparent 60%),
        radial-gradient(50% 45% at 8% 22%, rgba(63, 169, 245, 0.08), transparent 60%),
        radial-gradient(70% 60% at 50% 110%, rgba(180, 205, 255, 0.30), transparent 60%);
}
html[data-theme="light"] .navbar { background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
html[data-theme="light"] .navbar.scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: 0 10px 40px -20px rgba(20, 49, 99, 0.28); }
html[data-theme="light"] .navbar .brand-logo {
    filter: brightness(0) saturate(100%) invert(11%) sepia(84%) saturate(3204%) hue-rotate(215deg) brightness(0.85) contrast(0.95);
}
html[data-theme="light"] .hero {
    background:
        linear-gradient(180deg, rgba(6, 15, 40, 0.5) 0%, rgba(6, 15, 40, 0.82) 72%, #060f28 100%),
        url('assets/bg-network-dark.jpg') center/cover no-repeat;
}
html[data-theme="light"] .theme-toggle { background: rgba(20, 49, 99, 0.04); }
html[data-theme="light"] .nav-links a:hover { background: rgba(20, 49, 99, 0.06); }
html[data-theme="light"] .btn-ghost { background: rgba(20, 49, 99, 0.04); }
html[data-theme="light"] .btn-ghost:hover { background: rgba(20, 49, 99, 0.08); }
html[data-theme="light"] .tagline-strip { background: rgba(255, 255, 255, 0.55); }
html[data-theme="light"] .stats-section { background: linear-gradient(180deg, rgba(205, 217, 238, 0.5), transparent); }
html[data-theme="light"] .footer { background: #e7edf7; }
html[data-theme="light"] .field input, html[data-theme="light"] .field textarea { background: #ffffff; }
html[data-theme="light"] .field input:focus, html[data-theme="light"] .field textarea:focus { background: #ffffff; }
html[data-theme="light"] .floating-card { background: rgba(255, 255, 255, 0.94); }
html[data-theme="light"] .vm-ico { background: #ffffff; }
html[data-theme="light"] .story-result { background: linear-gradient(150deg, #12305f, #0a1a3c); }
html[data-theme="light"] .story-result h3 { color: #ffffff; }
html[data-theme="light"] .story-result p { color: #c9d8f5; }
html[data-theme="light"] .flow-node { fill: var(--blue-500); filter: drop-shadow(0 0 8px rgba(47, 128, 237, 0.6)); }
html[data-theme="light"] .stat-num { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
/* Keep white text on gradient / dark surfaces */
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .nav-cta,
html[data-theme="light"] .step-badge,
html[data-theme="light"] .to-top { color: #ffffff; }
html[data-theme="light"] .nav-cta { color: #ffffff !important; }
/* Hero + CTA stay dark (image backgrounds) -> keep light text */
html[data-theme="light"] .hero .badge strong,
html[data-theme="light"] .cta-section h2 { color: #ffffff; }
html[data-theme="light"] .hero-sub,
html[data-theme="light"] .cta-section p { color: #c9d8f5; }
html[data-theme="light"] .hero .badge span { color: #9fb2d8; }
/* White-text logos need a dark tint on light surfaces (navbar chip + footer) */
html[data-theme="light"] .footer-brand img {
    filter: brightness(0) saturate(100%) invert(11%) sepia(84%) saturate(3204%) hue-rotate(215deg) brightness(0.85) contrast(0.95);
}
@media (max-width: 720px) {
    html[data-theme="light"] .nav-links { background: rgba(255, 255, 255, 0.97); border-left-color: var(--line); }
}

/* ===================== PAGE HERO (inner pages) ===================== */
.page-hero {
    position: relative; padding: 170px 0 70px; overflow: hidden;
    background:
        linear-gradient(180deg, rgba(6, 15, 40, 0.6), var(--navy-900) 92%),
        url('assets/bg-network-dark.jpg') center/cover no-repeat;
    border-bottom: 1px solid var(--line);
}
html[data-theme="light"] .page-hero { background: linear-gradient(180deg, rgba(6, 15, 40, 0.55), rgba(6, 15, 40, 0.85)); }
.page-hero .container { position: relative; z-index: 2; max-width: 820px; }
.page-hero .crumbs { font-size: 0.85rem; color: var(--ink-400); margin-bottom: 18px; }
.page-hero .crumbs a { color: var(--cyan-300); }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); letter-spacing: -0.02em; margin-bottom: 18px; }
.page-hero .grad-text { display: inline; }
.page-hero p { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--ink-300); max-width: 640px; }
html[data-theme="light"] .page-hero h1 { color: #fff; }
html[data-theme="light"] .page-hero p { color: #c9d8f5; }

/* Rich text + wide grids used on inner pages */
.prose-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.svc-detail { display: grid; gap: 20px; }
.svc-detail-card {
    display: flex; gap: 22px; align-items: flex-start; padding: 30px 32px;
    border-radius: var(--radius); border: 1px solid var(--line); background: var(--card);
    transition: transform 0.4s var(--ease), background 0.4s, border-color 0.4s;
}
.svc-detail-card:hover { transform: translateX(8px); background: var(--card-hover); border-color: rgba(120, 160, 240, 0.35); }
.svc-detail-card .svc-ico { margin-bottom: 0; }
.svc-detail-card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.svc-detail-card p { color: var(--ink-400); }
.svc-detail-card ul { list-style: none; margin-top: 12px; display: grid; gap: 7px; }
.svc-detail-card li { position: relative; padding-left: 22px; color: var(--ink-300); font-size: 0.95rem; }
.svc-detail-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-400); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1000px) {
    .about-grid, .build-grid { grid-template-columns: 1fr; gap: 50px; }
    .build-media { order: 2; }
    .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .prose-grid { grid-template-columns: 1fr; gap: 44px; }
    .values-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .steps::before { display: none; }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .story-grid { grid-template-columns: 1fr; gap: 22px; }
    .story-join { width: auto; justify-self: center; }
    .story-join svg { transform: rotate(90deg); width: 90px; height: 90px; }
    .leaders-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .nav-links {
        position: fixed; inset: 0 0 0 auto; width: min(78%, 320px); flex-direction: column;
        align-items: flex-start; justify-content: center; gap: 8px; padding: 40px 30px;
        background: rgba(6, 15, 40, 0.97); backdrop-filter: blur(16px); border-left: 1px solid var(--line);
        transform: translateX(100%); transition: transform 0.4s var(--ease);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { width: 100%; font-size: 1.05rem; padding: 12px 16px; }
    .nav-toggle { display: flex; z-index: 950; }
    .section { padding: 74px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
    .stat + .stat::before { display: none; }
    .vm-grid, .products-grid, .services-grid, .values-grid, .why-grid { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .contact-form { padding: 26px; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .leader-card { flex-direction: column; }
    .leader-photo { width: 100%; height: 240px; min-height: 0; align-self: auto; }
    .hero-badges { gap: 26px; }
    .floating-card { right: 10px; bottom: -20px; }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
