:root {
    --bg: #ffffff;
    --surface: #f5f5f7;
    --surface-2: #fbfbfd;
    --text: #1d1d1f;
    --muted: #6e6e73;
    --border: #d2d2d7;
    --purple: #6e45ff;
    --purple-dark: #4c24d6;
    --max-width: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        "Segoe UI",
        Arial,
        sans-serif;

    background: var(--bg);
    color: var(--text);

    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
}

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

button {
    font: inherit;
}


/* ================================
   GLOBAL
================================ */

.section-container {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: 0 auto;
}

.eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--purple);
    text-transform: uppercase;
}


/* ================================
   NAVIGATION
================================ */

.site-header {
    position: sticky;
    top: 0;

    z-index: 100;

    background: rgba(255,255,255,0.88);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.nav-container {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    height: 64px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    font-weight: 600;
    font-size: 16px;
}

.brand-icon {
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #7b52ff,
            #4b22d7
        );

    font-size: 12px;
    font-weight: 700;
}

.main-nav {
    display: flex;
    gap: 34px;
}

.main-nav a {
    color: #424245;

    font-size: 14px;

    transition:
        color 0.2s ease;
}

.main-nav a:hover {
    color: #000000;
}

.nav-button {
    padding: 8px 16px;

    border-radius: 999px;

    background: var(--purple);
    color: white;

    font-size: 13px;
    font-weight: 600;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.nav-button:hover {
    transform: translateY(-1px);

    background: var(--purple-dark);
}

.menu-button {
    display: none;

    width: 38px;
    height: 38px;

    border: 0;

    background: transparent;

    cursor: pointer;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-button span {
    width: 19px;
    height: 2px;

    border-radius: 99px;

    background: var(--text);

    transition:
        transform 0.25s ease;
}


/* ================================
   MOBILE MENU
================================ */

.mobile-menu {
    display: none;

    position: fixed;

    top: 64px;
    left: 0;
    right: 0;

    z-index: 99;

    background: rgba(255,255,255,0.97);

    backdrop-filter: blur(20px);

    border-bottom: 1px solid var(--border);

    padding: 22px 24px;

    flex-direction: column;
    gap: 18px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 18px;
    font-weight: 600;
}

.mobile-cta {
    color: var(--purple);
}


/* ================================
   HERO
================================ */

.hero {
    min-height: 760px;

    padding:
        130px 0
        100px;

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    gap: 70px;

    align-items: center;

    max-width: var(--max-width);

    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: 0 auto;
}

.hero-content h1 {
    margin-top: 20px;

    max-width: 760px;

    font-size:
        clamp(
            58px,
            8vw,
            96px
        );

    line-height: 0.98;

    letter-spacing: -0.055em;

    font-weight: 700;
}

.hero-content h1 span {
    color: var(--purple);
}

.hero-description {
    max-width: 640px;

    margin-top: 30px;

    color: var(--muted);

    font-size: 20px;

    line-height: 1.6;
}

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    border-radius: 999px;

    font-size: 15px;

    font-weight: 600;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

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

.button-primary {
    background: var(--purple);

    color: white;
}

.button-primary:hover {
    background: var(--purple-dark);
}

.button-secondary {
    border: 1px solid var(--border);

    color: var(--text);

    background: white;
}

.button-secondary:hover {
    border-color: #a1a1a6;
}


/* ================================
   HERO VISUAL
================================ */

.hero-visual {
    display: flex;

    justify-content: flex-end;
}

.visual-window {
    width: 100%;
    max-width: 520px;

    border-radius: 24px;

    overflow: hidden;

    background: #111111;

    box-shadow:
        0 25px 60px rgba(0,0,0,0.15),
        0 3px 10px rgba(0,0,0,0.08);
}

.window-top {
    height: 48px;

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 0 16px;

    border-bottom:
        1px solid rgba(255,255,255,0.08);

    position: relative;
}

.window-top span {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #5a5a5a;
}

.window-title {
    position: absolute;

    left: 50%;

    transform:
        translateX(-50%);

    color: #888888;

    font-family: "SFMono-Regular", Consolas, monospace;

    font-size: 12px;
}

.visual-content {
    padding: 34px 28px 32px;

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 15px;

    line-height: 2;
}

.visual-line {
    color: #ededed;
}

.visual-line.muted {
    color: #666666;

    margin-bottom: 8px;
}

.purple {
    color: #b09aff;
}

.green {
    color: #9ce0b2;
}

.visual-output {
    margin-top: 26px;

    padding: 13px 15px;

    border:
        1px solid
        rgba(255,255,255,0.08);

    border-radius: 10px;

    color: #dcdcdc;

    background:
        rgba(255,255,255,0.025);
}


/* ================================
   FEATURED PRODUCT
================================ */

.featured-product {
    background: #f5f5f7;

    padding: 110px 0;
}

.featured-product .section-container {
    display: grid;

    grid-template-columns:
        1.2fr
        0.8fr;

    align-items: center;

    gap: 80px;
}

.featured-content h2 {
    margin-top: 12px;

    font-size:
        clamp(70px, 9vw, 120px);

    line-height: 1;

    letter-spacing: -0.06em;
}

.featured-description {
    max-width: 650px;

    margin-top: 24px;

    color: var(--muted);

    font-size: 20px;

    line-height: 1.6;
}

.feature-links {
    display: flex;

    flex-wrap: wrap;

    gap: 28px;

    margin-top: 28px;
}

.feature-links a {
    color: var(--purple);

    font-weight: 600;
}

.feature-links span {
    display: inline-block;

    margin-left: 5px;
}

.featured-logo {
    display: flex;

    justify-content: center;
}

.logo-circle {
    width: 280px;
    aspect-ratio: 1;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #7c52ff,
            #4320bf
        );

    box-shadow:
        0 35px 70px
        rgba(110,69,255,0.2);

    color: white;

    font-size: 78px;
    font-weight: 800;

    letter-spacing: -0.06em;
}


/* ================================
   SECTIONS
================================ */

.section {
    padding: 130px 0;
}

.section-heading h2 {
    margin-top: 16px;

    font-size:
        clamp(
            46px,
            6vw,
            72px
        );

    line-height: 1;

    letter-spacing: -0.05em;
}


/* ================================
   PRODUCT GRID
================================ */

.product-grid {
    margin-top: 60px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}

.product-card {
    min-height: 350px;

    padding: 26px;

    display: flex;

    flex-direction: column;

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    background: white;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 40px
        rgba(0,0,0,0.08);
}

.product-number {
    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    color: var(--purple);

    font-size: 12px;
}

.product-card h3 {
    margin-top: 52px;

    font-size: 31px;

    letter-spacing: -0.03em;
}

.product-card p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.7;
}

.product-card a {
    margin-top: auto;

    padding-top: 25px;

    color: var(--purple);

    font-size: 14px;

    font-weight: 600;
}

.product-card a span {
    margin-left: 5px;
}


/* ================================
   TECHNOLOGY
================================ */

.technology-section {
    background: #111111;

    color: white;

    padding: 130px 0;
}

.technology-grid {
    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap: 100px;
}

.technology-text h2 {
    margin-top: 18px;

    font-size:
        clamp(
            46px,
            6vw,
            74px
        );

    line-height: 0.98;

    letter-spacing: -0.05em;
}

.technology-text h2 span {
    color: #a994ff;
}

.technology-text > p:last-child {
    max-width: 500px;

    margin-top: 26px;

    color: #999999;

    font-size: 18px;

    line-height: 1.7;
}

.technology-list {
    border-top:
        1px solid
        rgba(255,255,255,0.14);
}

.technology-item {
    display: grid;

    grid-template-columns: 70px 1fr;

    gap: 15px;

    padding: 28px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,0.14);
}

.technology-item > span {
    color: #7f6aa8;

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 12px;
}

.technology-item h3 {
    font-size: 23px;
}

.technology-item p {
    margin-top: 5px;

    color: #888888;

    font-size: 14px;

    line-height: 1.6;
}


/* ================================
   ABOUT
================================ */

.about-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 100px;
}

.about-grid h2 {
    margin-top: 18px;

    max-width: 650px;

    font-size:
        clamp(
            45px,
            6vw,
            72px
        );

    line-height: 1;

    letter-spacing: -0.05em;
}

.about-copy {
    padding-top: 35px;
}

.about-copy p {
    color: var(--muted);

    font-size: 20px;

    line-height: 1.7;
}

.about-copy p + p {
    margin-top: 30px;
}


/* ================================
   NEWS
================================ */

.news-section {
    background: #f5f5f7;
}

.news-grid {
    margin-top: 55px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;
}

.news-card {
    min-height: 270px;

    padding: 26px;

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    background: white;
}

.news-card > p {
    color: var(--purple);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.08em;
}

.news-card h3 {
    margin-top: 42px;

    max-width: 310px;

    font-size: 27px;

    line-height: 1.12;

    letter-spacing: -0.03em;
}

.news-card span {
    display: block;

    margin-top: 15px;

    color: var(--muted);

    font-size: 14px;
}


/* ================================
   FINAL CTA
================================ */

.final-cta {
    padding: 140px 0;

    background: white;

    text-align: center;
}

.final-cta h2 {
    margin-top: 18px;

    font-size:
        clamp(
            52px,
            8vw,
            90px
        );

    line-height: 0.98;

    letter-spacing: -0.055em;
}

.final-cta .button {
    margin-top: 32px;
}


/* ================================
   FOOTER
================================ */

footer {
    background: #f5f5f7;

    border-top:
        1px solid
        var(--border);
}

.footer-content {
    padding: 70px 0;

    display: flex;

    justify-content: space-between;

    gap: 80px;
}

.footer-brand {
    display: flex;

    align-items: flex-start;

    gap: 14px;
}

.footer-logo {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--purple);

    color: white;

    font-size: 12px;
    font-weight: 800;
}

.footer-brand strong {
    font-size: 16px;
}

.footer-brand p {
    margin-top: 5px;

    color: var(--muted);

    font-size: 13px;
}

.footer-links {
    display: flex;

    gap: 90px;
}

.footer-links > div {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-links strong {
    margin-bottom: 5px;

    font-size: 13px;
}

.footer-links a {
    color: var(--muted);

    font-size: 13px;
}

.footer-bottom {
    padding:
        25px 0
        40px;

    display: flex;

    justify-content: space-between;

    border-top:
        1px solid
        var(--border);

    color: #8a8a8f;

    font-size: 12px;
}


/* ================================
   SCROLL REVEAL
================================ */

.reveal {
    opacity: 0;

    transform:
        translateY(24px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1000px) {

    .main-nav,
    .nav-button {
        display: none;
    }

    .menu-button {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;

        padding-top: 95px;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .featured-product .section-container {
        grid-template-columns: 1fr;
    }

    .featured-logo {
        justify-content: flex-start;
    }

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

    .technology-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

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


@media (max-width: 650px) {

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

    .hero {
        padding:
            75px 0
            70px;
    }

    .hero-content h1 {
        font-size: 52px;
    }

    .hero-description {
        font-size: 17px;
    }

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

    .product-card {
        min-height: 300px;
    }

    .featured-product {
        padding: 80px 0;
    }

    .logo-circle {
        width: 210px;
        font-size: 60px;
    }

    .section,
    .technology-section {
        padding: 85px 0;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        gap: 45px;

        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 10px;
    }
}
