:root {
    --black: #111111;
    --text: #181818;
    --muted: #686868;
    --line: #dedede;
    --background: #ffffff;
    --soft: #f4f4f1;
    --dark: #141414;

    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;

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

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.container {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
}


/* ==============================
   HEADER
================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);

    backdrop-filter: blur(14px);
}

.nav-container {
    height: 76px;

    display: flex;
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    font-size: 16px;
    font-weight: 650;

    text-decoration: none;
}

.brand-mark {
    width: 30px;
    height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

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

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

.desktop-nav {
    display: flex;
    align-items: center;

    gap: 30px;

    margin-left: 70px;
}

.desktop-nav a,
.login-link {
    color: #4d4d4d;

    font-size: 14px;
    text-decoration: none;

    transition: color 0.15s ease;
}

.desktop-nav a:hover,
.login-link:hover {
    color: #000;
}

.nav-actions {
    display: flex;
    align-items: center;

    gap: 24px;

    margin-left: auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 48px;
    padding: 0 22px;

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

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

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

    text-decoration: none;

    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.button:hover {
    background: #333;
}

.button-small {
    min-height: 40px;
    padding: 0 17px;

    font-size: 13px;
}

.menu-button {
    display: none;

    margin-left: auto;
    padding: 8px;

    background: transparent;
    border: 0;

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 23px;
    height: 1px;

    margin: 5px 0;

    background: #111;
}

.mobile-nav {
    display: none;
}


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

.hero {
    padding: 100px 0 110px;
}

.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.88fr)
        minmax(500px, 1.12fr);

    gap: 80px;

    align-items: center;
}

.eyebrow {
    margin-bottom: 24px;

    color: #5e5e5e;

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

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 680px;

    margin: 0;

    font-size: clamp(48px, 5.1vw, 76px);
    line-height: 0.99;
    letter-spacing: -0.052em;

    font-weight: 580;
}

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

    margin: 30px 0 0;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;

    gap: 28px;

    margin-top: 38px;
}

.text-link {
    display: inline-flex;
    align-items: center;

    gap: 9px;

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

    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;

    gap: 25px;

    margin-top: 45px;

    color: #6b6b6b;

    font-size: 12px;
}

.hero-points span::before {
    content: "✓";

    margin-right: 7px;

    color: #111;
}


/* ==============================
   FAKE WEBSHOP
================================ */

.product-preview {
    position: relative;

    min-height: 560px;

    overflow: hidden;

    background: #e7e5df;
    border: 1px solid #d6d3cb;
}

.preview-topbar {
    height: 60px;

    display: flex;
    align-items: center;

    padding: 0 24px;

    background: white;
    border-bottom: 1px solid #ddd;
}

.preview-brand {
    font-size: 18px;
    font-weight: 800;

    letter-spacing: -0.05em;
}

.preview-nav {
    margin: 0 auto;

    color: #666;

    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.preview-cart {
    font-size: 10px;
}

.preview-body {
    min-height: 500px;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    padding: 55px 40px;
}

.preview-label {
    color: #666;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.13em;
}

.preview-copy h2 {
    max-width: 230px;

    margin: 15px 0;

    font-size: 38px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.preview-copy p {
    max-width: 200px;

    color: #666;

    font-size: 12px;
    line-height: 1.6;
}

.fake-button {
    width: fit-content;

    margin-top: 20px;
    padding: 10px 15px;

    background: #111;
    color: white;

    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.shoe-visual {
    position: relative;

    height: 250px;
}

.shoe-shape {
    position: absolute;

    top: 80px;
    left: 15px;

    width: 245px;
    height: 85px;

    background: #c4c1b9;

    border-radius:
        60% 35% 22% 30% /
        70% 55% 40% 35%;

    transform: rotate(-12deg);

    border-bottom: 15px solid #f6f5f1;

    box-shadow:
        inset -30px 8px 0 rgba(0,0,0,0.05);
}

.shoe-shape::before {
    content: "";

    position: absolute;

    width: 100px;
    height: 55px;

    top: -28px;
    left: 20px;

    background: #bbb8b0;

    border-radius: 60% 20% 0 20%;

    transform: rotate(8deg);
}

.shoe-shadow {
    position: absolute;

    left: 30px;
    top: 180px;

    width: 220px;
    height: 18px;

    background: rgba(0,0,0,0.12);

    border-radius: 50%;

    filter: blur(8px);
}


/* CHAT */

.chat-preview {
    position: absolute;

    right: 22px;
    bottom: 22px;

    width: 310px;

    background: white;

    border: 1px solid #d4d4d4;

    box-shadow:
        0 18px 45px rgba(0,0,0,0.14);
}

.chat-header {
    min-height: 60px;

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

    padding: 13px 16px;

    border-bottom: 1px solid #e6e6e6;

    font-size: 12px;
}

.chat-header strong {
    display: block;

    margin-bottom: 3px;
}

.online {
    display: block;

    color: #6a6a6a;

    font-size: 9px;
}

.online::before {
    content: "";

    display: inline-block;

    width: 5px;
    height: 5px;

    margin-right: 5px;

    background: #3e9c59;

    border-radius: 50%;
}

.close-chat {
    color: #777;

    font-size: 18px;
}

.chat-messages {
    min-height: 250px;

    padding: 17px;

    background: #fafafa;
}

.chat-message {
    max-width: 82%;

    margin-bottom: 12px;
    padding: 10px 12px;

    font-size: 10px;
    line-height: 1.45;
}

.ai-message {
    background: #ebebeb;
}

.user-message {
    margin-left: auto;

    background: #171717;
    color: white;
}

.chat-input {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 16px;

    color: #888;

    border-top: 1px solid #e5e5e5;

    font-size: 10px;
}

.chat-input span {
    width: 23px;
    height: 23px;

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

    background: #111;
    color: white;

    border-radius: 50%;
}


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

.section {
    padding: 120px 0;
}

.section-light {
    background: var(--soft);
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.section-number {
    display: block;

    margin-bottom: 30px;

    color: #777;

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

    letter-spacing: 0.08em;
}

.section-heading h2,
.section-intro h2,
.dark-intro h2,
.demo-inner h2 {
    margin: 0;

    font-size: clamp(36px, 4vw, 55px);
    line-height: 1.06;

    letter-spacing: -0.045em;
    font-weight: 560;
}

.section-copy {
    padding-top: 45px;
}

.section-copy p {
    margin: 0 0 25px;

    color: #555;

    font-size: 17px;
    line-height: 1.75;
}

.section-intro {
    max-width: 670px;
}

.section-intro > p {
    max-width: 580px;

    margin-top: 24px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.65;
}


/* ==============================
   STEPS
================================ */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 80px;

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

.step {
    min-height: 260px;

    padding: 28px 38px 0 0;

    border-right: 1px solid var(--line);
}

.step + .step {
    padding-left: 38px;
}

.step:last-child {
    border-right: 0;
}

.step-number {
    color: #888;

    font-size: 12px;
}

.step h3 {
    margin: 70px 0 14px;

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

.step p {
    max-width: 290px;

    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}


/* ==============================
   FEATURES
================================ */

.section-dark {
    background: var(--dark);
    color: white;
}

.light-number {
    color: #8e8e8e;
}

.dark-intro {
    max-width: 720px;
}

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

    margin-top: 80px;

    border-top: 1px solid #363636;
    border-left: 1px solid #363636;
}

.feature {
    min-height: 260px;

    padding: 30px;

    border-right: 1px solid #363636;
    border-bottom: 1px solid #363636;
}

.feature-index {
    color: #777;

    font-size: 11px;
}

.feature h3 {
    margin: 75px 0 12px;

    font-size: 21px;
    font-weight: 550;
}

.feature p {
    max-width: 390px;

    margin: 0;

    color: #a9a9a9;

    font-size: 14px;
    line-height: 1.65;
}


/* ==============================
   DEMO
================================ */

.demo-section {
    padding: 120px 0;
}

.demo-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 60px;
}

.demo-inner > div {
    max-width: 680px;
}

.demo-inner p {
    max-width: 570px;

    margin: 25px 0 0;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.65;
}

.button-large {
    flex-shrink: 0;

    min-height: 58px;
    padding: 0 27px;
}


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

footer {
    padding: 55px 0;

    background: #f5f5f3;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 40px;
}

.footer-brand p {
    margin: 20px 0 0;

    color: #777;

    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.footer-links a {
    color: #555;

    font-size: 13px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #000;
}

.footer-meta {
    display: flex;
    justify-content: flex-end;

    color: #888;

    font-size: 12px;
}


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

@media (max-width: 1000px) {

    .desktop-nav,
    .nav-actions {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .mobile-nav.open {
        display: flex;
        flex-direction: column;

        padding: 15px 24px 25px;

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

    .mobile-nav a {
        padding: 13px 0;

        color: #333;

        text-decoration: none;
    }

    .hero {
        padding-top: 70px;
    }

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

        gap: 60px;
    }

    .product-preview {
        max-width: 700px;
    }

}


@media (max-width: 760px) {

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

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

    .hero h1 {
        font-size: 48px;
    }

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

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

        gap: 20px;
    }

    .hero-points {
        gap: 14px;

        flex-direction: column;
    }

    .product-preview {
        min-height: 570px;
    }

    .preview-nav {
        display: none;
    }

    .preview-body {
        grid-template-columns: 1fr;

        align-items: start;

        padding: 35px 25px;
    }

    .shoe-visual {
        display: none;
    }

    .chat-preview {
        right: 15px;
        bottom: 15px;

        width: calc(100% - 30px);
    }

    .section {
        padding: 80px 0;
    }

    .split-section {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .section-copy {
        padding-top: 0;
    }

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

    .step,
    .step + .step {
        min-height: auto;

        padding: 28px 0 35px;

        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .step h3 {
        margin-top: 40px;
    }

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

    .feature {
        min-height: 230px;
    }

    .demo-inner {
        align-items: flex-start;
        flex-direction: column;
    }

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

        gap: 35px;
    }

    .footer-meta {
        justify-content: flex-start;
    }

}