:root {
    --bg: #140d10;
    --surface: #1e1519;
    --surface-2: #2a1e23;
    --border: #3b2a31;
    --border-soft: #2a1e23;
    --primary: #a8475c;
    --primary-hover: #be5870;
    --primary-soft: rgba(168, 71, 92, 0.14);
    --on-primary: #fbeff2;
    --accent: #c9a45c;
    --text: #f5eae4;
    --text-2: #c9b8bc;
    --text-muted: #9a8a90;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --nav-h: 72px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

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

html {
    scroll-behavior: smooth;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        Manrope,
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

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

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

svg {
    display: block;
}

.icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.icon-fill {
    fill: currentColor;
    stroke: none;
}

.container {
    width: min(1160px, 100% - 48px);
    margin-inline: auto;
}

.section {
    padding: 96px 0;
}

.section-alt {
    background: var(--surface);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.section-heading {
    max-width: 640px;
    margin-bottom: 48px;
}

.section-heading h2 {
    margin: 12px 0 0;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-intro {
    margin: 18px 0 0;
    color: var(--text-2);
    font-size: 18px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
    white-space: nowrap;
}

.button-primary {
    background: var(--primary);
    color: var(--on-primary);
}

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

.button-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.button-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.button-large {
    padding: 15px 26px;
    font-size: 16px;
}

.button-small {
    padding: 10px 18px;
    font-size: 14px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(20, 13, 16, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: var(--nav-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.brand-mark {
    display: grid;
    place-items: center;
}

.brand-mark img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.brand-name {
    font-size: 19px;
}

.brand-name::after {
    content: ".";
    color: var(--accent);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-inline: auto;
}

.site-nav a {
    color: var(--text-2);
    font-size: 14.5px;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.nav-toggle .icon {
    width: 20px;
    height: 20px;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 8px 20px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.mobile-nav[hidden] {
    display: none;
}

.mobile-nav.is-open {
    display: flex;
    animation: nav-drop 0.18s ease-out;
}

.mobile-nav a:not(.button) {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 8px;
    border-bottom: 1px solid var(--border-soft);
    color: var(--text-2);
    font-size: 15px;
    font-weight: 700;
    transition:
        color 0.18s ease,
        background 0.18s ease;
}

.mobile-nav a:not(.button):hover {
    color: var(--text);
    background: rgba(245, 234, 228, 0.03);
}

.mobile-nav a:not(.button):last-of-type {
    border-bottom: none;
}

.mobile-nav .button {
    margin-top: 16px;
    padding: 14px 12px;
    font-size: 15px;
}

@keyframes nav-drop {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 56px;
    min-height: 100vh;
    padding: 88px 0 56px;
    overflow: hidden;
    background: #140d10;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("moodflix_hero.webp");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.75;
    z-index: 0;
}

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

.vibe {
    color: var(--primary);
    font-style: italic;
}

.movie {
    color: var(--primary);
    font-style: italic;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
}

.hero-copy {
    max-width: 640px;
}

.hero-copy h1 {
    margin: 20px 0 0;
    font-size: clamp(38px, 5.4vw, 58px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.hero-lead {
    margin: 22px 0 0;
    max-width: 520px;
    color: var(--text-2);
    font-size: 18px;
}

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

.hero-meta {
    margin: 20px 0 0;
    color: var(--text-muted);
    font-size: 14px;
}

.hero-media {
    display: flex;
    justify-content: center;
}

.phone-frame {
    position: relative;
    width: min(340px, 86%);
    aspect-ratio: 460 / 1024;
    border-radius: 44px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 10px;
}

.phone-frame video {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    object-fit: cover;
    background: #000;
}

.phone-speaker {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    z-index: 2;
}

.phone-chip {
    position: absolute;
    left: 50%;
    z-index: 3;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(30, 21, 25, 0.9);
    color: var(--text-2);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.phone-chip::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.phone-chip-top {
    top: 56px;
}

.phone-chip-bottom {
    bottom: 74px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-2);
    font-size: 14px;
    font-weight: 600;
}

.trust-item .icon {
    color: var(--accent);
}

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

.step {
    position: relative;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.step-index {
    position: absolute;
    top: 24px;
    right: 26px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.step-icon,
.feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
}

.step-icon .icon,
.feature-icon .icon {
    width: 22px;
    height: 22px;
}

.step h3,
.feature-card h3,
.safety-item h3 {
    margin: 20px 0 8px;
    font-size: 19px;
}

.step-body p,
.feature-card p,
.safety-item p {
    margin: 0;
    color: var(--text-2);
    font-size: 15.5px;
}

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

.feature-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.why-note {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-top: 28px;
    padding: 30px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.why-note-mark {
    width: 22px;
    height: 22px;
    color: var(--accent);
    margin-top: 4px;
}

.why-note p {
    margin: 0;
    color: var(--text-2);
    font-size: 16.5px;
}

.safety-band {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.safety-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.safety-item .feature-icon {
    flex: none;
    background: rgba(201, 164, 92, 0.12);
    color: var(--accent);
}

.build-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.build-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

.build-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.build-recommended {
    border-color: var(--primary);
}

.build-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    margin-bottom: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.build-badge .icon {
    width: 13px;
    height: 13px;
}

.build-badge-plain {
    background: var(--surface-2);
    color: var(--text-2);
}

.build-card h3 {
    margin: 0;
    font-size: 19px;
}

.build-card p {
    margin: 0;
    color: var(--text-2);
    font-size: 15px;
    flex: 1;
}

.build-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
    color: var(--text-muted);
    font-size: 13px;
}

.build-file {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.build-size {
    flex: none;
    font-weight: 800;
    color: var(--text-2);
}

.download-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 26px 0 0;
    color: var(--text-muted);
    font-size: 14px;
}

.download-note .icon {
    margin-top: 3px;
    color: var(--accent);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-weight: 700;
    font-size: 16.5px;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary .icon {
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.faq-item[open] summary .icon {
    transform: rotate(180deg);
}

.faq-item p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--text-2);
    font-size: 15.5px;
    max-width: 720px;
}

.section-final {
    padding-top: 40px;
}

.final-card {
    position: relative;
    padding: 72px 48px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--surface);
    text-align: center;
    overflow: hidden;
}

.final-card h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.02em;
}

.final-card p {
    max-width: 520px;
    margin: 16px auto 30px;
    color: var(--text-2);
    font-size: 17px;
    position: relative;
}

.final-card .button {
    position: relative;
}

.site-footer {
    padding: 72px 0 48px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.footer-tagline {
    margin: 16px 0 0;
    color: var(--text-muted);
    font-size: 15px;
    max-width: 300px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--text-2);
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-nav .icon {
    color: var(--accent);
    width: 16px;
    height: 16px;
}

.footer-note {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding-top: 28px;
    border-top: 1px solid var(--border-soft);
}

.footer-developed {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--text);
    font-weight: 700;
}

.footer-developed .icon {
    color: var(--primary);
}

.footer-developed a {
    color: var(--accent);
}

.footer-developed a:hover {
    text-decoration: underline;
}

.footer-disclaimer,
.footer-legal,
.footer-copy {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 13.5px;
}

.legal {
    max-width: 720px;
}

.legal h1 {
    margin: 14px 0 0;
    font-size: clamp(32px, 4.5vw, 46px);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.legal-updated {
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: 14px;
}

.legal-body {
    margin-top: 40px;
}

.legal-body section {
    padding: 26px 0;
    border-bottom: 1px solid var(--border-soft);
}

.legal-body section:last-child {
    border-bottom: none;
}

.legal-body h2 {
    margin: 0 0 12px;
    font-size: 19px;
}

.legal-body p,
.legal-body li {
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.7;
}

.legal-body ul {
    margin: 0;
    padding-left: 22px;
}

.legal-body li {
    margin: 8px 0;
}

.legal-body a {
    color: var(--accent);
    font-weight: 600;
}

.legal-body a:hover {
    text-decoration: underline;
}

@media (max-width: 960px) {
    .hero {
        position: relative;
        overflow: hidden;
        background: #140d10;
    }
    
    .hero::before {
        content: "";
        position: absolute;
        inset: -20px;
        background: url("moodflix_hero_mobile.webp") center / cover no-repeat;
        filter: blur(8px);
        transform: scale(1.05);
        z-index: 0;
    }
    
    .hero > * {
        position: relative;
        z-index: 1;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy h1,
    .hero-lead {
        margin-inline: auto;
    }

    .hero-actions,
    .trust-row {
        justify-content: center;
    }

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

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

    .section {
        padding: 72px 0;
    }
}

@media (max-width: 720px) {
    .site-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .header-actions {
        /*display: flex;
        align-items: center;*/
        margin-left: auto;
    }

    .header-actions .button {
        display: none;
    }

    .mobile-nav.is-open {
        display: flex;
    }

    .hero {
        padding-top: 56px;
    }

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

    .final-card {
        padding: 56px 28px;
    }
}
