/* Variables */
:root {
    --bg: #07111f;
    --bg-deep: #030712;
    --bg-soft: #0d1b2f;
    --card: rgba(15, 30, 51, 0.72);
    --card-solid: #101f34;
    --primary: #2f80ff;
    --secondary: #22d3ee;
    --violet: #8b5cf6;
    --text: #f8fbff;
    --muted: #aebcd0;
    --muted-strong: #d8e3f0;
    --border: rgba(148, 163, 184, 0.22);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --radius: 8px;
    --max-width: 1180px;
    --header-height: 78px;
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 8%, rgba(34, 211, 238, 0.16), transparent 28rem),
        radial-gradient(circle at 85% 18%, rgba(139, 92, 246, 0.15), transparent 26rem),
        linear-gradient(180deg, var(--bg), var(--bg-deep) 52%, #06101c);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 82%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 45%, rgba(34, 211, 238, 0.05) 45% 45.3%, transparent 45.3%),
        linear-gradient(65deg, transparent 0 62%, rgba(47, 128, 255, 0.06) 62% 62.25%, transparent 62.25%);
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    font: inherit;
}

/* Layout */
.container {
    width: min(100% - 40px, var(--max-width));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 112px 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(7, 17, 31, 0), rgba(13, 27, 47, 0.62), rgba(7, 17, 31, 0));
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading.align-left {
    margin: 0;
    text-align: left;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, var(--secondary), var(--violet));
}

h1,
h2,
h3 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    max-width: 780px;
    font-size: clamp(2.55rem, 6vw, 5.45rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
    font-size: 1.18rem;
}

p {
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 14px 36px rgba(34, 211, 238, 0.18);
    color: #ffffff;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(47, 128, 255, 0.25);
}

.btn-small {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.92rem;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border);
    box-shadow: none;
    color: var(--muted-strong);
}

.btn-ghost:hover {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.btn-light {
    background: #ffffff;
    color: #06101c;
    box-shadow: 0 16px 40px rgba(255, 255, 255, 0.18);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: var(--header-height);
    border-bottom: 1px solid transparent;
    background: rgba(7, 17, 31, 0.68);
    backdrop-filter: blur(16px);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    border-color: var(--border);
    background: rgba(3, 7, 18, 0.86);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-menu a {
    color: var(--muted-strong);
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--secondary);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px 0;
    border-radius: 999px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--header-height) + 64px) 0 70px;
    display: flex;
    align-items: center;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.78fr);
    align-items: center;
    gap: 54px;
}

.hero-copy p {
    max-width: 690px;
    margin-top: 22px;
    color: var(--muted-strong);
    font-size: clamp(1.04rem, 2vw, 1.25rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-proof span {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted-strong);
    font-size: 0.88rem;
    font-weight: 700;
}

.dashboard-mockup {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(15, 30, 51, 0.86), rgba(8, 18, 33, 0.88));
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mockup-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
    padding: 0 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.window-dots {
    display: flex;
    gap: 7px;
}

.window-dots span,
.code-panel-top span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--secondary);
}

.window-dots span:nth-child(2),
.code-panel-top span:nth-child(2) {
    background: var(--primary);
}

.window-dots span:nth-child(3),
.code-panel-top span:nth-child(3) {
    background: var(--violet);
}

.mockup-title,
.mini-label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mockup-body {
    display: grid;
    grid-template-columns: 68px 1fr;
    min-height: 500px;
}

.mockup-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 22px 0;
    border-right: 1px solid var(--border);
    background: rgba(3, 7, 18, 0.35);
}

.mockup-sidebar span {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.09);
}

.mockup-sidebar .side-logo {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.mockup-content {
    padding: 22px;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.mockup-header strong {
    display: block;
    margin-top: 4px;
    color: var(--text);
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 1.5rem;
}

.status-pill {
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 999px;
    padding: 7px 10px;
    background: rgba(34, 211, 238, 0.08);
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 800;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.metric-grid article {
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
}

.metric-grid span {
    color: var(--muted);
    font-size: 0.78rem;
}

.metric-grid strong {
    display: block;
    margin: 5px 0 2px;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 1.55rem;
}

.metric-grid em {
    color: var(--secondary);
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 800;
}

.chart-panel {
    position: relative;
    height: 150px;
    margin-top: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        rgba(255, 255, 255, 0.035);
    background-size: 36px 36px;
}

.chart-bars {
    position: absolute;
    inset: 28px 26px 22px;
    display: flex;
    align-items: end;
    gap: 14px;
}

.chart-bars span {
    flex: 1;
    min-width: 12px;
    border-radius: 8px 8px 2px 2px;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.9), rgba(47, 128, 255, 0.25));
}

.chart-line {
    position: absolute;
    left: 28px;
    right: 28px;
    top: 55px;
    height: 2px;
    background: linear-gradient(90deg, var(--violet), var(--secondary), transparent);
    transform: rotate(-8deg);
    transform-origin: left center;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.55);
}

.module-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.module-list div {
    display: grid;
    grid-template-columns: 12px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--muted-strong);
    font-size: 0.88rem;
}

.module-list span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--secondary);
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.65);
}

.module-list strong {
    color: var(--secondary);
    font-size: 0.75rem;
}

/* Cards */
.feature-grid,
.solution-grid {
    display: grid;
    gap: 18px;
}

.feature-grid {
    grid-template-columns: repeat(4, 1fr);
}

.feature-card,
.solution-card,
.process-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
}

.feature-card {
    min-height: 270px;
    padding: 26px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-card:hover,
.solution-card:hover,
.process-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.38);
    background: rgba(17, 37, 62, 0.82);
}

.icon-box {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    place-items: center;
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(47, 128, 255, 0.18), rgba(34, 211, 238, 0.09));
}

.icon-box svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: var(--secondary);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
}

.solution-grid {
    grid-template-columns: repeat(4, 1fr);
}

.solution-card {
    position: relative;
    min-height: 112px;
    padding: 22px;
    display: flex;
    align-items: end;
    overflow: hidden;
    color: var(--muted-strong);
    font-weight: 800;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.solution-card::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 22px;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--secondary), var(--violet));
}

/* Sections */
.benefits-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
    align-items: center;
    gap: 56px;
}

.benefits-copy p {
    margin-top: 18px;
    font-size: 1.05rem;
}

.check-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 34px;
    color: var(--muted-strong);
    font-weight: 600;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.check-list li::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.code-panel {
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    background: rgba(3, 7, 18, 0.62);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.code-panel-top {
    display: flex;
    gap: 8px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.code-panel pre {
    overflow-x: auto;
    padding: 26px;
    color: #d7f9ff;
    font-size: 0.95rem;
    line-height: 1.85;
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border-top: 1px solid var(--border);
    background: var(--border);
}

.tech-list span {
    padding: 14px 10px;
    background: rgba(15, 30, 51, 0.88);
    color: var(--muted-strong);
    text-align: center;
    font-size: 0.84rem;
    font-weight: 800;
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 35px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.55), transparent);
}

.process-card {
    position: relative;
    padding: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.process-card span {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 22px;
    place-items: center;
    border: 1px solid rgba(34, 211, 238, 0.38);
    border-radius: 8px;
    background: #081523;
    color: var(--secondary);
    font-weight: 900;
}

.process-card h3 {
    margin-bottom: 10px;
}

.process-card p {
    font-size: 0.92rem;
}

.technology-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
    align-items: center;
    gap: 62px;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.capability-grid span {
    min-height: 70px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(34, 211, 238, 0.08), transparent 52%),
        rgba(255, 255, 255, 0.035);
    color: var(--muted-strong);
    font-weight: 800;
}

.final-cta {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
    background:
        linear-gradient(135deg, rgba(47, 128, 255, 0.95), rgba(34, 211, 238, 0.82) 52%, rgba(139, 92, 246, 0.9));
}

.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 54px 54px;
    opacity: 0.35;
}

.final-cta .container {
    position: relative;
    max-width: 860px;
    text-align: center;
}

.final-cta h2 {
    color: #ffffff;
}

.final-cta p {
    max-width: 680px;
    margin: 18px auto 30px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.12rem;
}

/* Footer */
.site-footer {
    padding: 62px 0 28px;
    background: #030712;
}

.footer-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 0.9fr;
    gap: 42px;
    padding-bottom: 38px;
}

.footer-layout p {
    margin-top: 14px;
}

.footer-layout h2 {
    margin-bottom: 14px;
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-size: 0.86rem;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-layout a:not(.brand) {
    display: block;
    margin: 9px 0;
    color: var(--muted);
    transition: color 0.2s ease;
}

.footer-layout a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 22px;
    color: var(--muted);
    font-size: 0.92rem;
}

/* Responsive */
@media (max-width: 1080px) {
    .hero-layout,
    .benefits-layout,
    .technology-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-mockup,
    .code-panel {
        max-width: 680px;
        width: 100%;
        margin-inline: auto;
    }

    .feature-grid,
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        display: none;
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 72px;
    }

    .container {
        width: min(100% - 32px, var(--max-width));
    }

    .nav-toggle {
        display: grid;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        display: grid;
        gap: 4px;
        padding: 16px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: rgba(3, 7, 18, 0.96);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .nav-menu.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu a {
        padding: 12px 10px;
    }

    .nav-menu .btn {
        margin-top: 6px;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 42px);
    }

    .section {
        padding: 84px 0;
    }

    .mockup-body {
        grid-template-columns: 54px 1fr;
        min-height: 440px;
    }

    .mockup-content {
        padding: 16px;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .chart-panel {
        height: 128px;
    }

    .module-list div {
        grid-template-columns: 12px 1fr;
    }

    .module-list strong {
        grid-column: 2;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 620px) {
    h1 {
        font-size: clamp(2.35rem, 13vw, 3.45rem);
    }

    .hero-actions,
    .btn {
        width: 100%;
    }

    .feature-grid,
    .solution-grid,
    .timeline,
    .capability-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .dashboard-mockup {
        border-radius: 8px;
    }

    .mockup-sidebar {
        display: none;
    }

    .mockup-body {
        grid-template-columns: 1fr;
    }

    .mockup-header {
        flex-direction: column;
    }

    .tech-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .code-panel pre {
        padding: 20px;
        font-size: 0.82rem;
    }

    .final-cta {
        padding: 78px 0;
    }
}
