:root {
    --bg: #10121a;
    --panel: rgba(20, 22, 32, 0.9);
    --panel-soft: rgba(28, 31, 43, 0.78);
    --line: rgba(135, 144, 176, 0.18);
    --line-strong: rgba(135, 144, 176, 0.28);
    --text: #f5f6fa;
    --muted: #a2a7b8;
    --blue: #1da9ff;
    --blue-deep: #167fcb;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --max-width: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Roboto", "Helvetica Neue", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(29, 169, 255, 0.08), transparent 24%),
        linear-gradient(180deg, #151722 0%, #0f1118 52%, #12141c 100%);
}

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

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

.page-shell {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
    padding: 20px 0 48px;
}

.site-header,
.hero,
.showcase-section,
.section-grid,
.premium-panel,
.download-band,
.legal-page,
.support-hero,
.support-grid,
.support-banner {
    position: relative;
    z-index: 1;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 18px;
    margin-bottom: 28px;
    background: rgba(23, 25, 36, 0.78);
    border: 1px solid var(--line);
    border-radius: 999px;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-icon,
.support-app-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
}

.brand-text strong,
.footer-brand strong {
    display: block;
    font-size: 1.02rem;
}

.brand-text small,
.footer-brand p,
.site-nav a,
.footer-links a,
.hero-text,
.feature-card p,
.phone-card p,
.premium-copy p,
.download-copy p,
.support-copy p,
.support-card p,
.plan-list,
.trial-note,
.support-list {
    color: var(--muted);
}

.site-nav,
.header-actions,
.hero-actions,
.feature-grid,
.plan-grid,
.download-actions,
.footer-links,
.support-grid {
    display: flex;
    gap: 16px;
}

.site-nav {
    align-items: center;
    flex-wrap: wrap;
}

.site-nav a:hover,
.footer-links a:hover {
    color: var(--text);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
    background: linear-gradient(180deg, var(--blue), var(--blue-deep));
    color: #fff;
    box-shadow: 0 12px 24px rgba(29, 169, 255, 0.22);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--line);
}

.menu-toggle {
    display: none;
    border: 0;
    padding: 0;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--text);
}

.hero,
.support-hero,
.download-band,
.support-banner {
    padding: 32px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(24, 26, 38, 0.96), rgba(16, 18, 26, 0.96));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-simple {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 28px;
    align-items: center;
}

.support-hero {
    display: grid;
    grid-template-columns: 0.95fr 0.75fr;
    gap: 28px;
    align-items: center;
}

.eyebrow,
.plan-badge,
.support-label {
    display: inline-flex;
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue);
}

h1,
h2,
h3 {
    margin: 0;
}

h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 900;
}

h2 {
    max-width: 12ch;
    font-size: clamp(2.1rem, 5vw, 3.8rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 900;
}

h3 {
    font-size: 1.45rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.hero-text,
.premium-copy p,
.download-copy p,
.support-copy p,
.support-card p,
.phone-card p,
.feature-card p {
    margin: 0;
    line-height: 1.7;
    font-size: 1.03rem;
}

.hero-actions,
.download-actions {
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-phone-stack {
    position: relative;
    min-height: 640px;
}

.phone-mockup {
    width: 100%;
    max-width: 320px;
    padding: 10px;
    border-radius: 38px;
    background: linear-gradient(180deg, #2d3144, #161923 68%, #0d0f16);
    box-shadow: var(--shadow);
}

.phone-mockup img {
    width: 100%;
    border-radius: 30px;
}

.phone-mockup-front,
.phone-mockup-back {
    position: absolute;
}

.phone-mockup-front {
    top: 0;
    right: 40px;
    z-index: 2;
}

.phone-mockup-back {
    bottom: 20px;
    left: 0;
    transform: scale(0.92);
    opacity: 0.95;
}

.feature-card,
.phone-card,
.plan-card,
.support-card,
.support-contact-card {
    background: var(--panel-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.showcase-section,
.section-grid,
.premium-panel,
.download-band,
.support-grid,
.support-banner {
    margin-top: 32px;
}

.section-heading,
.premium-copy,
.download-copy,
.support-copy {
    margin-bottom: 24px;
}

.feature-grid,
.plan-grid,
.support-grid {
    flex-wrap: wrap;
}

.feature-card,
.plan-card,
.support-card {
    flex: 1 1 280px;
    padding: 22px;
}

.showcase-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: center;
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--panel-soft);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.showcase-copy p {
    margin: 14px 0 0;
    line-height: 1.7;
    color: var(--muted);
}

.showcase-highlights {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.highlight-card {
    display: grid;
    grid-template-columns: 168px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.highlight-card img {
    width: 100%;
    height: 116px;
    object-fit: cover;
    object-position: top center;
    border-radius: 14px;
}

.highlight-card strong {
    display: block;
    margin-bottom: 4px;
}

.highlight-card span {
    color: var(--muted);
    line-height: 1.55;
}

.showcase-visuals {
    position: relative;
}

.showcase-shots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.showcase-shot {
    display: grid;
    gap: 14px;
}

.showcase-shot .phone-mockup {
    max-width: 100%;
}

.showcase-caption {
    line-height: 1.55;
    color: var(--muted);
}

.plan-card-featured {
    border-color: var(--line-strong);
    background: rgba(28, 32, 46, 0.94);
}

.plan-badge-featured {
    color: var(--text);
}

.plan-price {
    margin: 10px 0 12px;
    font-size: 2rem;
    font-weight: 900;
}

.plan-price small {
    font-size: 1rem;
    color: var(--muted);
}

.plan-list,
.support-list {
    margin: 0;
    padding-left: 18px;
    line-height: 1.8;
}

.download-band,
.support-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.support-contact-card {
    padding: 28px;
}

.support-contact-card strong {
    display: block;
    margin: 10px 0 8px;
    font-size: 1.2rem;
}

.faq-group {
    display: grid;
    gap: 10px;
}

.faq-group details {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-group summary {
    cursor: pointer;
    font-weight: 700;
}

.faq-group p {
    margin-top: 10px;
}

.legal-page {
    margin-top: 32px;
}

.legal-card {
    padding: 32px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(24, 26, 38, 0.96), rgba(16, 18, 26, 0.96));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.legal-card h2 {
    max-width: none;
    margin-top: 28px;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    line-height: 1.05;
}

.legal-card h2:first-of-type {
    margin-top: 0;
}

.legal-card p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.legal-updated {
    margin: 0 0 18px;
    color: var(--muted);
    font-weight: 500;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 34px;
    padding: 8px 4px 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand img {
    width: 52px;
    height: 52px;
}

.site-footer p {
    margin: 6px 0 0;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 640ms ease, transform 640ms ease;
}

.reveal-delay {
    transition-delay: 120ms;
}

.reveal-delay-2 {
    transition-delay: 220ms;
}

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

body.nav-open .site-nav,
body.nav-open .header-actions {
    display: flex;
}

@media (max-width: 980px) {
    .hero-simple,
    .support-hero,
    .showcase-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .page-shell {
        width: min(calc(100% - 20px), var(--max-width));
        padding-top: 12px;
    }

    .site-header {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 16px;
        border-radius: 28px;
    }

    .site-nav,
    .header-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .hero,
    .support-hero,
    .download-band,
    .support-banner {
        padding: 22px;
    }

    h1 {
        max-width: 9ch;
        font-size: clamp(2.7rem, 16vw, 4.3rem);
    }

    h2 {
        max-width: 11ch;
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .hero-phone-stack {
        min-height: 880px;
    }

    .highlight-card {
        grid-template-columns: 1fr;
    }

    .highlight-card img {
        height: 160px;
    }

    .showcase-shots {
        grid-template-columns: 1fr;
    }

    .phone-mockup-front,
    .phone-mockup-back {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .phone-mockup-front {
        top: 0;
    }

    .phone-mockup-back {
        bottom: 0;
        transform: translateX(-50%) scale(0.94);
    }

    .download-band,
    .support-banner,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .reveal-delay,
    .reveal-delay-2,
    .button {
        transition: none;
    }

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