﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #080d14;
    --bg2: #0d1521;
    --card: #0f1a27;
    --border: rgba(255,255,255,.08);
    --text: #e8f0fe;
    --muted: #9caec2;
    --primary: #22bae6;
    --secondary: #d71dc4;
    --accent: #d71dc4;
    --cyan: #00d4ff;
    --purple: #8b5cf6;
    --emerald: #10b981;
    --orange: #f97316;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── UTILITIES ── */
.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--muted);
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── NAV ── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background .3s, border-color .3s, backdrop-filter .3s;
    border-bottom: 1px solid transparent;
}

    header.scrolled {
        background: rgba(8,13,20,.85);
        backdrop-filter: blur(16px);
        border-color: var(--border);
    }

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -.02em;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0,212,255,.1);
    border: 1px solid rgba(0,212,255,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s;
}

.logo:hover .logo-icon {
    border-color: rgba(0,212,255,.6);
}

.logo svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

    .nav-links a {
        color: var(--muted);
        font-size: 1.1rem;
        font-weight: 600;
        text-decoration: none;
        transition: color .2s;
    }

        .nav-links a:hover {
            color: var(--text);
        }

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    font-family: 'Inter', sans-serif;
    transition: color .2s;
}

    .dropdown-toggle:hover {
        color: var(--text);
    }

    .dropdown-toggle svg {
        transition: transform .2s;
    }

.dropdown.open .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 8px;
    min-width: 240px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity .2s, transform .2s;
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--muted);
    transition: background .15s, color .15s;
}

    .dropdown-menu a:hover {
        background: rgba(0,212,255,.1);
        color: var(--primary);
    }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all .2s;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0,212,255,.3);
}

    .btn-primary:hover {
        background: #33dbff;
        box-shadow: 0 0 30px rgba(0,212,255,.5);
    }

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255,255,255,.2);
}

    .btn-outline:hover {
        border-color: rgba(255,255,255,.5);
        background: rgba(255,255,255,.05);
    }

.btn-glow {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 25px rgba(0,212,255,.25);
}

    .btn-glow:hover {
        box-shadow: 0 0 40px rgba(0,212,255,.45);
        transform: translateY(-1px);
    }

.btn-lg {
    padding: 14px 30px;
    font-size: 1rem;
    border-radius: 12px;
}

/* Mobile hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    padding: 6px;
}

    .hamburger:hover {
        color: var(--text);
    }

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border);
    background: rgba(8,13,20,.97);
    backdrop-filter: blur(16px);
}

    .mobile-nav.open {
        display: flex;
    }

    .mobile-nav a {
        color: var(--text);
        text-decoration: none;
        padding: 12px 0;
        font-size: 1.05rem;
        font-weight: 500;
        border-bottom: 1px solid var(--border);
    }

        .mobile-nav a:hover {
            color: var(--primary);
        }

    .mobile-nav .section-label {
        color: var(--muted);
        font-size: .75rem;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        padding: 16px 0 8px;
    }

    .mobile-nav .sub-link {
        padding-left: 16px;
        border-left: 2px solid rgba(0,212,255,.2);
        border-bottom: none;
        color: var(--muted);
        font-size: .95rem;
    }

        .mobile-nav .sub-link:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

/* ── HERO ── */
#hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0,212,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,212,255,.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    top: 10%;
    left: 5%;
    background: rgba(0,212,255,.18);
    animation-duration: 8s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    bottom: 5%;
    right: 0%;
    background: rgba(139,92,246,.15);
    animation-delay: -4s;
    animation-duration: 10s;
}

.hero-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, var(--bg));
}

@keyframes pulse {
    0%, 100% {
        opacity: .6;
        transform: scale(1);
    }

    50% {
        opacity: .9;
        transform: scale(1.15);
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(0,212,255,.1);
    border: 1px solid rgba(0,212,255,.25);
    color: var(--primary);
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 24px;
}

    .hero-badge svg {
        width: 14px;
        height: 14px;
    }

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -.03em;
}

.hero-sub {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 600;
    color: rgba(232,240,254,.9);
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 500px;
    margin-bottom: 36px;
    line-height: 1.75;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-wrap {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
}

.hero-img-glow {
    position: absolute;
    inset: -10%;
    background: radial-gradient(ellipse, rgba(0,212,255,.2) 0%, transparent 70%);
    animation: pulse 6s ease-in-out infinite;
}

.hero-img-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(0,212,255,.3);
    box-shadow: 0 0 40px rgba(0,212,255,.15), inset 0 0 40px rgba(0,212,255,.05);
}

.hero-img-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255,255,255,.08);
    mix-blend-mode: screen;
}

/* ── FEATURES ── */
#features {
    padding: 96px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 64px;
}

    .section-heading h2 {
        font-size: clamp(1.8rem, 3.5vw, 2.6rem);
        font-weight: 800;
        letter-spacing: -.03em;
        margin-bottom: 16px;
    }

    .section-heading p {
        color: var(--muted);
        font-size: 1.05rem;
        max-width: 580px;
        margin: 0 auto;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s, transform .3s;
}

    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 50px rgba(0,0,0,.3);
    }

    .feature-card.blue:hover {
        border-color: rgba(0,212,255,.4);
    }

    .feature-card.purple:hover {
        border-color: rgba(139,92,246,.4);
    }

    .feature-card.green:hover {
        border-color: rgba(16,185,129,.4);
    }

    .feature-card.orange:hover {
        border-color: rgba(249,115,22,.4);
    }

.feature-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: .5;
    transition: opacity .3s;
}

.feature-card:hover .feature-bar {
    opacity: 1;
}

.blue .feature-bar {
    background: linear-gradient(90deg, #00d4ff, #06b6d4);
}

.purple.feature-bar {
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
}

.green .feature-bar {
    background: linear-gradient(90deg, #10b981, #22c55e);
}

.orange.feature-bar {
    background: linear-gradient(90deg, #f97316, #ef4444);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform .3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.blue .feature-icon svg {
    color: var(--cyan);
}

.purple .feature-icon svg {
    color: var(--purple);
}

.green .feature-icon svg {
    color: var(--emerald);
}

.orange .feature-icon svg {
    color: var(--orange);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    transition: color .2s;
}

.feature-card:hover h3 {
    color: var(--primary);
}

.feature-card p {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.65;
}

/* ── SOLUTIONS ── */
#solutions {
    padding: 96px 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.solutions-header {
    margin-bottom: 80px;
}

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: 16px;
}

    .section-eyebrow span {
        display: block;
        width: 32px;
        height: 1px;
        background: var(--primary);
    }

.solutions-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.solution-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

    .solution-row:last-child {
        margin-bottom: 0;
    }

    .solution-row.reverse .sol-text {
        order: 2;
    }

    .solution-row.reverse .sol-visual {
        order: 1;
    }

.sol-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(139,92,246,.1);
    border: 1px solid rgba(139,92,246,.25);
    color: var(--secondary);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .03em;
    margin-bottom: 16px;
}

.sol-text h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 14px;
}

.sol-text p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 24px;
}

.sol-points {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .sol-points li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 600;
        font-size: .95rem;
        color: rgba(232,240,254,.9);
    }

        .sol-points li svg {
            width: 18px;
            height: 18px;
            color: var(--primary);
            flex-shrink: 0;
        }

.btn-sol {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 600;
    border: 1px solid rgba(0,212,255,.3);
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
    transition: border-color .2s, background .2s;
    background: transparent;
}

    .btn-sol:hover {
        border-color: var(--primary);
        background: rgba(0,212,255,.05);
    }

    .btn-sol svg {
        width: 16px;
        height: 16px;
        color: var(--primary);
        transition: transform .2s;
    }

    .btn-sol:hover svg {
        transform: translateX(4px);
    }

.sol-visual {
    position: relative;
}

.sol-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,212,255,.2);
    box-shadow: 0 0 40px rgba(0,212,255,.08), 0 20px 60px rgba(0,0,0,.4);
    aspect-ratio: 4/3;
}

    .sol-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .55;
        transition: transform .6s, opacity .6s;
    }

    .sol-img-wrap:hover img {
        transform: scale(1.04);
        opacity: .7;
    }

.sol-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg2) 0%, rgba(13,21,33,.2) 60%, transparent 100%);
}

.sol-status {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    background: rgba(13,21,33,.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sol-status-label {
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: 2px;
}

.sol-status-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: .9rem;
    color: var(--primary);
    font-weight: 700;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    animation: blink 1.5s ease-in-out infinite;
}

/* ── CTA ── */
#cta {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-glow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    border-radius: 50%;
    background: rgba(0,212,255,.15);
    filter: blur(100px);
    pointer-events: none;
}

.cta-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--card);
    border: 1px solid rgba(0,212,255,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    box-shadow: 0 0 30px rgba(0,212,255,.2);
}

    .cta-icon-wrap svg {
        width: 30px;
        height: 30px;
        color: var(--primary);
    }

#cta h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -.03em;
    margin-bottom: 20px;
    line-height: 1.15;
}

.cta-glow-text {
    color: var(--primary);
    text-shadow: 0 0 30px rgba(0,212,255,.4);
}

#cta p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ── FOOTER ── */
footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.7;
    margin: 16px 0;
    max-width: 340px;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: .9rem;
    transition: color .2s;
}

    .footer-email:hover {
        color: var(--primary);
    }

    .footer-email svg {
        width: 16px;
        height: 16px;
    }

.footer-col h4 {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--muted);
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s;
}

    .footer-col a:hover {
        color: var(--primary);
    }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

    .footer-bottom span {
        color: var(--muted);
        font-size: .85rem;
    }

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

    .footer-bottom-links span {
        color: var(--muted);
        font-size: .85rem;
        cursor: default;
    }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .solution-row, .solution-row.reverse {
        grid-template-columns: 1fr;
    }

        .solution-row.reverse .sol-text {
            order: 1;
        }

        .solution-row.reverse .sol-visual {
            order: 2;
        }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .nav-links, .nav-right {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.4rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

        .hero-ctas .btn {
            width: 100%;
            justify-content: center;
        }
}
