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

:root {
    --bg: #110914;
    --panel: #1d1122;
    --panel-strong: #28152f;
    --line: rgba(255, 255, 255, 0.12);
    --text: #fff8fb;
    --muted: #d8c4d8;
    --soft: #9d8aa0;
    --rose: #ff5f9a;
    --coral: #ff865f;
    --mint: #67f0d4;
    --ink: #140914;
    --shadow: 0 28px 90px rgba(255, 95, 154, 0.22);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    min-width: 320px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 95, 154, 0.2), transparent 30rem),
        radial-gradient(circle at 88% 18%, rgba(103, 240, 212, 0.16), transparent 28rem),
        radial-gradient(circle at 52% 92%, rgba(255, 134, 95, 0.14), transparent 30rem),
        var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
}

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

.site-nav {
    position: fixed;
    z-index: 20;
    top: 18px;
    left: 50%;
    width: min(1120px, calc(100% - 32px));
    min-height: 64px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 16px 12px 20px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(17, 9, 20, 0.82);
    backdrop-filter: blur(18px);
}

.brand {
    color: var(--text);
    font-size: 20px;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.09);
}

main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    align-items: center;
    gap: 56px;
    padding: 124px 0 76px;
}

.eyebrow {
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 95, 154, 0.25);
    border-radius: 999px;
    color: var(--mint);
    background: rgba(103, 240, 212, 0.08);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 620px;
    font-size: clamp(48px, 8vw, 92px);
    line-height: 0.96;
    letter-spacing: 0;
}

.hero-text {
    max-width: 600px;
    margin-top: 24px;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.7;
}

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

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.button:active {
    transform: translateY(0);
}

.button.primary {
    color: var(--ink);
    background: linear-gradient(135deg, var(--rose), var(--coral));
    box-shadow: var(--shadow);
}

.button.secondary {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
    position: relative;
    min-height: 620px;
}

.phone {
    position: absolute;
    width: min(280px, 46vw);
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
}

.phone-main {
    right: 26%;
    top: 0;
    z-index: 2;
}

.phone-side {
    right: 0;
    top: 96px;
    opacity: 0.86;
    transform: rotate(6deg);
}

.features,
.screens,
.support {
    padding: 96px 0;
}

.section-head {
    max-width: 680px;
    margin-bottom: 34px;
}

.section-head h2,
.support h2 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: 0;
}

.section-head p,
.support p {
    max-width: 620px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 18px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(40, 21, 47, 0.96), rgba(29, 17, 34, 0.8));
}

.feature-card span {
    color: var(--mint);
    font-size: 13px;
    font-weight: 900;
}

.feature-card h3 {
    margin-top: auto;
    font-size: 24px;
    line-height: 1.12;
}

.feature-card p {
    margin-top: 10px;
    color: var(--muted);
}

.screen-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 285px);
    gap: 20px;
    overflow-x: auto;
    padding: 4px 0 28px;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--rose) rgba(255, 255, 255, 0.08);
}

.screen-strip figure {
    scroll-snap-align: start;
}

.screen-strip img {
    width: 100%;
    aspect-ratio: 1284 / 2778;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.screen-strip figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 95, 154, 0.18), rgba(103, 240, 212, 0.1));
}

.support-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.footer {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 44px;
    color: var(--soft);
    border-top: 1px solid var(--line);
}

.footer a {
    color: var(--muted);
    font-weight: 800;
    text-decoration: none;
}

.policy-main {
    padding-top: 132px;
}

.policy-hero {
    max-width: 820px;
    padding: 44px 0 24px;
}

.policy-hero h1 {
    font-size: clamp(46px, 8vw, 88px);
    line-height: 0.98;
    letter-spacing: 0;
}

.policy-hero p:not(.eyebrow) {
    margin-top: 18px;
    color: var(--muted);
    font-size: 18px;
}

.policy-content {
    display: grid;
    gap: 18px;
    padding: 36px 0 92px;
}

.policy-content article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(40, 21, 47, 0.96), rgba(29, 17, 34, 0.8));
}

.policy-content h2 {
    font-size: 24px;
    line-height: 1.15;
}

.policy-content p {
    margin-top: 10px;
    color: var(--muted);
}

.policy-content a {
    color: var(--mint);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 118px;
    }

    .hero-visual {
        min-height: 520px;
    }

    .phone-main {
        left: 8%;
        right: auto;
    }

    .phone-side {
        right: 8%;
    }

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

@media (max-width: 700px) {
    .site-nav {
        top: 12px;
        align-items: flex-start;
        border-radius: 20px;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
    }

    .nav-links a {
        padding: 0 10px;
        font-size: 13px;
    }

    main,
    .footer {
        width: min(100% - 28px, 1180px);
    }

    .hero {
        padding-top: 158px;
        gap: 34px;
    }

    .hero h1 {
        font-size: clamp(42px, 15vw, 68px);
    }

    .hero-visual {
        min-height: 440px;
    }

    .phone {
        width: min(218px, 56vw);
        border-radius: 26px;
    }

    .phone-main {
        left: 0;
    }

    .phone-side {
        right: 0;
        top: 68px;
    }

    .features,
    .screens {
        padding: 72px 0;
    }

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

    .feature-card {
        min-height: 210px;
    }

    .support {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px;
    }

    .support-actions {
        justify-content: flex-start;
    }

    .policy-main {
        padding-top: 164px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
