:root {
    --bg-dark: #08101f;
    --bg-mid: #111b34;
    --bg-deep: #050b18;
    --text-main: #ecf2ff;
    --text-muted: #a8b6d8;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-strong: rgba(255, 255, 255, 0.12);
    --line: rgba(255, 255, 255, 0.16);
    --brand-a: #00b7ff;
    --brand-b: #4bffc4;
    --section-light: #f2f7ff;
    --section-text: #172033;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans SC", "Outfit", sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background: radial-gradient(1200px 620px at 10% -8%, rgba(32, 199, 255, 0.18), transparent 60%),
                radial-gradient(1000px 560px at 92% 0%, rgba(255, 186, 88, 0.12), transparent 58%),
                radial-gradient(700px 430px at 50% 118%, rgba(95, 255, 214, 0.12), transparent 65%),
                linear-gradient(155deg, var(--bg-deep), var(--bg-dark) 45%, var(--bg-mid) 100%);
    background-attachment: fixed;
    --scroll-ratio: 0;
    --mouse-x: 50%;
    --mouse-y: 35%;
}

body::before {
    content: "";
    position: fixed;
    inset: -20% -10% auto;
    height: 60vh;
    background: radial-gradient(circle at calc(14% + (var(--scroll-ratio) * 52%)) 40%, rgba(95, 255, 214, 0.2), transparent 54%),
                radial-gradient(circle at calc(85% - (var(--scroll-ratio) * 42%)) 56%, rgba(46, 166, 255, 0.2), transparent 52%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(280px 280px at var(--mouse-x) var(--mouse-y), rgba(132, 255, 225, 0.24), transparent 70%),
        radial-gradient(140px 140px at var(--mouse-x) var(--mouse-y), rgba(255, 214, 130, 0.2), transparent 68%),
        repeating-linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.022) 0px,
            rgba(255, 255, 255, 0.022) 1px,
            transparent 1px,
            transparent 12px
        );
    mix-blend-mode: screen;
    opacity: 0.9;
    transition: opacity 0.35s ease;
}

.container {
    width: min(90%, 1100px);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 999;
    background: linear-gradient(90deg, var(--brand-b), var(--brand-a));
    box-shadow: 0 0 12px rgba(0, 183, 255, 0.8);
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
    backdrop-filter: blur(14px);
    background: rgba(4, 12, 28, 0.62);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-family: "Outfit", sans-serif;
    font-size: 30px;
    letter-spacing: 0.04em;
    font-weight: 800;
}

nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.9;
    transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

nav a:hover,
nav a.active {
    color: var(--brand-b);
    opacity: 1;
    transform: translateY(-1px);
}

.hero {
    min-height: 88vh;
    padding: 130px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    transform: translateZ(0);
}

.hero-orb {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(6px);
    opacity: 0.34;
    pointer-events: none;
}

.hero-orb-left {
    left: -80px;
    top: 120px;
    background: radial-gradient(circle, #2affcf 0%, transparent 70%);
    animation: floatOrb 10s ease-in-out infinite;
}

.hero-orb-right {
    right: -120px;
    top: 20px;
    background: radial-gradient(circle, #37a8ff 0%, transparent 70%);
    animation: floatOrb 13s ease-in-out infinite reverse;
}

.eyebrow {
    font-family: "Outfit", sans-serif;
    letter-spacing: 0.15em;
    color: var(--brand-b);
    font-size: 12px;
    margin-bottom: 14px;
}

.hero h2 {
    font-size: clamp(40px, 8vw, 74px);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 18px;
}

.hero-subtitle {
    max-width: 760px;
    font-size: clamp(16px, 2.2vw, 21px);
    color: var(--text-muted);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(90deg, var(--brand-a), #7ddfff);
    color: #061122;
    box-shadow: 0 10px 28px rgba(0, 183, 255, 0.34);
}

.btn-secondary {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 14px;
    margin-top: 36px;
    max-width: 800px;
}

.metric {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    backdrop-filter: blur(8px);
}

.metric span {
    display: block;
    font-family: "Outfit", sans-serif;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    color: var(--brand-b);
}

.metric p {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

.section {
    padding: 95px 0;
}

.section h2 {
    text-align: center;
    font-size: clamp(30px, 4vw, 46px);
    margin-bottom: 18px;
}

.section > .container > p {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-muted);
}

.gray {
    background: linear-gradient(180deg, #ecf2ff, var(--section-light));
    color: var(--section-text);
}

.gray .section-title,
.gray h2 {
    color: #0f1a33;
}

.gray .reveal,
.gray p,
.gray li,
.gray h3 {
    color: #2d3851;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}

.card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 26px;
    border: 1px solid #e2ebfa;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(130deg, rgba(0, 183, 255, 0.6), rgba(75, 255, 196, 0.55), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 0;
}

.card::after {
    content: "";
    position: absolute;
    top: -120%;
    left: -40%;
    width: 32%;
    height: 340%;
    transform: rotate(20deg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: left 0.55s ease, opacity 0.35s ease;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #0d1d38;
}

.card p {
    font-size: 15px;
    color: #4b5875;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(8, 20, 43, 0.16);
}

.card:hover::before {
    opacity: 1;
}

.card:hover::after {
    opacity: 1;
    left: 120%;
}

.advantages {
    list-style: none;
    margin: 30px auto 0;
    max-width: 540px;
    display: grid;
    gap: 12px;
}

.advantages li {
    text-align: left;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 17px;
}

.contact-panel {
    margin: 20px auto 0;
    max-width: 680px;
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #dde8fd;
    box-shadow: 0 20px 34px rgba(8, 20, 43, 0.12);
}

.contact-panel p {
    font-size: 17px;
    color: #223352;
}

.contact-panel p + p {
    margin-top: 8px;
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #9eb0d1;
    padding: 24px 0 30px;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0ms);
    will-change: transform, opacity;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatOrb {
    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
    }
    50% {
        transform: translateY(-16px) translateX(8px) scale(1.06);
    }
}

@media (max-width: 900px) {
    .hero {
        min-height: 78vh;
        padding-top: 95px;
    }

    .hero h2 {
        font-size: clamp(36px, 11vw, 58px);
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        max-width: 460px;
    }

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

    .section {
        padding: 72px 0;
    }
}

@media (max-width: 640px) {
    header {
        padding: 12px 0;
    }

    header .container {
        flex-direction: column;
        gap: 8px;
    }

    .logo {
        font-size: 26px;
    }

    nav {
        gap: 14px;
    }

    nav a {
        font-size: 14px;
    }

    .hero {
        padding: 90px 0 56px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
        max-width: 260px;
    }

    .contact-panel {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    [data-parallax],
    [data-float] {
        transform: none !important;
    }
}
