/* =====================================================
   DinnerVideoJourney — Main Stylesheet
   CSS Architecture: scoped (css-modules methodology)
   Naming: SUIT CSS (ComponentName-elementName--modifier)
   Units: clamp() based
   Reset: minimal-reset
   Variables: semantic-variables
   Colors: streaming-dark-gold
   Typography: Nunito (streaming-nunito)
   Spacing: tight rhythm
   Layout: flexbox-column
   ===================================================== */

/* ─────────────────────────────────────────────────────
   MODULE: Minimal Reset
   ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img, video { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; padding: 0; }

/* ─────────────────────────────────────────────────────
   MODULE: Semantic CSS Variables (streaming-dark-gold)
   ───────────────────────────────────────────────────── */
:root {
--color-bg-base:      #0d0b08;
    --color-bg-surface:   #1a1712;
    --color-bg-elevated:  #241f16;
    --color-bg-overlay:   rgba(13, 11, 8, 0.93);
    --color-bg-card:      #1e1b13;

    --color-brand:        #c9a227;
    --color-brand-light:  #f0c84a;
    --color-brand-dark:   #9a7a18;
    --color-brand-glow:   rgba(201, 162, 39, 0.28);
    --color-brand-subtle: rgba(201, 162, 39, 0.08);

    --color-text-primary:  #f0ece2;
    --color-text-secondary:#b8af9a;
    --color-text-muted:    #7a7060;
    --color-text-subtle:   #4a4438;
    --color-text-inverse:  #0d0b08;

    --color-border:        #2a2520;
    --color-border-light:  #3d3520;

    --color-success: #4ade80;
    --color-error:   #f87171;
    --color-info:    #60a5fa;
--font-sans: 'Nunito', system-ui, -apple-system, sans-serif;

    --text-xs:   clamp(0.68rem, 1.4vw, 0.75rem);
    --text-sm:   clamp(0.78rem, 1.7vw, 0.875rem);
    --text-base: clamp(0.88rem, 1.9vw, 1rem);
    --text-lg:   clamp(1rem,    2.3vw, 1.125rem);
    --text-xl:   clamp(1.1rem,  2.8vw, 1.25rem);
    --text-2xl:  clamp(1.25rem, 3.5vw, 1.5rem);
    --text-3xl:  clamp(1.5rem,  4.5vw, 2rem);
    --text-4xl:  clamp(1.9rem,  5.5vw, 2.75rem);
    --text-5xl:  clamp(2.4rem,  7vw,   3.75rem);

    --weight-light:     300;
    --weight-regular:   400;
    --weight-medium:    500;
    --weight-semibold:  600;
    --weight-bold:      700;
    --weight-extrabold: 800;
    --weight-black:     900;
--sp-1:  clamp(0.2rem,  0.5vw,  0.25rem);
    --sp-2:  clamp(0.35rem, 0.8vw,  0.5rem);
    --sp-3:  clamp(0.5rem,  1.2vw,  0.75rem);
    --sp-4:  clamp(0.7rem,  1.6vw,  1rem);
    --sp-5:  clamp(0.9rem,  2vw,    1.25rem);
    --sp-6:  clamp(1.1rem,  2.4vw,  1.5rem);
    --sp-8:  clamp(1.4rem,  3vw,    2rem);
    --sp-10: clamp(1.8rem,  4vw,    2.5rem);
    --sp-12: clamp(2.2rem,  5vw,    3rem);
    --sp-16: clamp(2.8rem,  6.5vw,  4rem);
    --sp-20: clamp(3.5rem,  8vw,    5rem);
    --sp-24: clamp(4.5rem,  10vw,   6rem);
--nav-h:          clamp(60px, 8vw, 72px);
    --container-max:  1280px;
    --container-sm:   840px;
--r-sm:   4px;
    --r-md:   8px;
    --r-lg:   12px;
    --r-xl:   16px;
    --r-2xl:  24px;
    --r-full: 9999px;
--shadow-sm:    0 1px 4px rgba(0,0,0,0.5);
    --shadow-md:    0 4px 16px rgba(0,0,0,0.65);
    --shadow-lg:    0 8px 32px rgba(0,0,0,0.75);
    --shadow-brand: 0 4px 20px rgba(201,162,39,0.25);
--dur-fast: 150ms;
    --dur-base: 300ms;
    --dur-slow: 500ms;
    --ease:     cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ─────────────────────────────────────────────────────
   MODULE: Base / Body
   ───────────────────────────────────────────────────── */
body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: var(--weight-regular);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main { flex: 1; }

/* ─────────────────────────────────────────────────────
   MODULE: Container
   ───────────────────────────────────────────────────── */
.Container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.Container--sm { max-width: var(--container-sm); }

/* ─────────────────────────────────────────────────────
   MODULE: Nav (navigation_type: top-sticky)
   ───────────────────────────────────────────────────── */
.Nav {
    position: sticky;
    top: 0;
    z-index: 900;
    height: var(--nav-h);
    background: rgba(13, 11, 8, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--dur-base) var(--ease);
}
.Nav.is-scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.7); }

.Nav-container {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
    gap: var(--sp-4);
}

.Nav-logo {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-xl);
    font-weight: var(--weight-black);
    color: var(--color-text-primary);
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity var(--dur-fast) var(--ease);
}
.Nav-logo:hover { opacity: 0.85; }
.Nav-logo-icon { font-size: 1.4em; line-height: 1; }
.Nav-logo-accent { color: var(--color-brand); }

.Nav-menu {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex: 1;
    margin-left: var(--sp-6);
}

.Nav-link {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--color-text-secondary);
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--r-md);
    transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
    white-space: nowrap;
}
.Nav-link:hover { color: var(--color-brand); }
.Nav-link--active { color: var(--color-brand); }

.Nav-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-left: auto;
}
.Nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0.5rem;
    border-radius: var(--r-md);
    transition: background var(--dur-fast) var(--ease);
    flex-shrink: 0;
}
.Nav-toggle:hover { background: var(--color-bg-elevated); }
.Nav-toggle-bar {
    width: 100%;
    height: 2px;
    background: var(--color-text-secondary);
    border-radius: 2px;
    transition: all var(--dur-base) var(--ease);
    display: block;
}
.Nav-menu.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--color-bg-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--sp-4) var(--sp-5);
    gap: var(--sp-2);
    box-shadow: var(--shadow-lg);
    z-index: 800;
}
.Nav-menu.is-open .Nav-link {
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--text-base);
    border-radius: var(--r-md);
}
.Nav-menu.is-open .Nav-link:hover {
    background: var(--color-brand-subtle);
    color: var(--color-brand);
}

/* ─────────────────────────────────────────────────────
   MODULE: Buttons
   ───────────────────────────────────────────────────── */
.Button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: clamp(0.55rem, 1.5vw, 0.7rem) clamp(1rem, 2.5vw, 1.5rem);
    border-radius: var(--r-full);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--dur-base) var(--ease);
    text-decoration: none;
}
.Button--primary {
    background: var(--color-brand);
    color: var(--color-text-inverse);
    border-color: var(--color-brand);
}
.Button--primary:hover {
    background: var(--color-brand-light);
    border-color: var(--color-brand-light);
    box-shadow: var(--shadow-brand);
    transform: translateY(-1px);
}
.Button--outline {
    background: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-border-light);
}
.Button--outline:hover {
    border-color: var(--color-brand);
    color: var(--color-brand);
}
.Button--ghost {
    background: transparent;
    color: var(--color-text-secondary);
    border-color: transparent;
}
.Button--ghost:hover { color: var(--color-brand); background: var(--color-brand-subtle); }

.Button--lg {
    font-size: var(--text-base);
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3.5vw, 2.25rem);
}
.Button--sm {
    font-size: var(--text-xs);
    padding: 0.4rem 0.9rem;
}
.Button--full { width: 100%; }
.Button:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* ─────────────────────────────────────────────────────
   MODULE: Section base (app-interface naming)
   ───────────────────────────────────────────────────── */
.app-section {
    padding-block: var(--sp-20);
}
.app-section--compact { padding-block: var(--sp-12); }
.app-section--dark    { background: var(--color-bg-base); }
.app-section--surface { background: var(--color-bg-surface); }
.app-section--elevated{ background: var(--color-bg-elevated); }

.Section-header {
    text-align: center;
    margin-bottom: var(--sp-10);
}
.Section-eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brand);
    margin-bottom: var(--sp-3);
}
.Section-title {
    font-size: var(--text-4xl);
    font-weight: var(--weight-black);
    color: var(--color-text-primary);
    line-height: 1.15;
    margin-bottom: var(--sp-4);
}
.Section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.65;
}

/* ─────────────────────────────────────────────────────
   MODULE: app-hero (visual_flow: streaming-carousel-hero)
            + parallax-effect image strategy
   ───────────────────────────────────────────────────── */
.app-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    overflow: hidden;
}
.app-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13,11,8,0.92) 0%,
        rgba(13,11,8,0.75) 50%,
        rgba(13,11,8,0.45) 100%
    );
    z-index: 1;
}
.app-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--color-bg-base), transparent);
    z-index: 2;
}

.Hero-body {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: var(--sp-12);
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
    padding-top: calc(var(--nav-h) + var(--sp-10));
    padding-bottom: var(--sp-16);
    width: 100%;
}

.Hero-content {
    flex: 0 0 auto;
    max-width: 580px;
}
.Hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: var(--color-brand-subtle);
    border: 1px solid var(--color-brand);
    color: var(--color-brand);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: var(--r-full);
    margin-bottom: var(--sp-5);
}
.Hero-title {
    font-size: var(--text-5xl);
    font-weight: var(--weight-black);
    line-height: 1.08;
    color: var(--color-text-primary);
    margin-bottom: var(--sp-5);
    letter-spacing: -0.02em;
}
.Hero-title em {
    font-style: normal;
    color: var(--color-brand);
}
.Hero-subtitle {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--sp-8);
    max-width: 480px;
}
.Hero-cta {
    display: flex;
    gap: var(--sp-3);
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: var(--sp-8);
}
.Hero-trust {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
}
.Hero-trustItem {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}
.Hero-trustItem-icon { color: var(--color-brand); font-size: 1.1em; }
.Hero-carousel {
    flex: 1;
    display: flex;
    gap: var(--sp-4);
    overflow: visible;
    align-items: center;
    justify-content: flex-end;
}
.Hero-posterTrack {
    display: flex;
    gap: var(--sp-4);
    animation: posterScroll 20s linear infinite;
}
.Hero-poster {
    flex-shrink: 0;
    width: clamp(110px, 12vw, 150px);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--dur-base) var(--ease);
    cursor: pointer;
}
.Hero-poster:nth-child(even) { margin-top: clamp(20px, 4vw, 40px); }
.Hero-poster:hover { transform: scale(1.05) translateY(-4px); box-shadow: var(--shadow-brand); }
.Hero-poster img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
}
.Hero-poster-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13,11,8,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--dur-base) var(--ease);
    border-radius: var(--r-lg);
}
.Hero-poster { position: relative; }
.Hero-poster:hover .Hero-poster-overlay { opacity: 1; }
.Hero-poster-play {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--color-brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--color-bg-base);
    font-weight: var(--weight-black);
    box-shadow: var(--shadow-brand);
}

@keyframes posterScroll {
    0%  { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100%{ transform: translateY(0); }
}

/* ─────────────────────────────────────────────────────
   MODULE: app-stats
   ───────────────────────────────────────────────────── */
.app-stats {
    background: var(--color-bg-surface);
    border-block: 1px solid var(--color-border);
    padding-block: var(--sp-8);
}
.Stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.Stats-item {
    flex: 1;
    min-width: 130px;
    text-align: center;
    padding: var(--sp-4) var(--sp-6);
    border-right: 1px solid var(--color-border);
}
.Stats-item:last-child { border-right: none; }
.Stats-value {
    font-size: var(--text-3xl);
    font-weight: var(--weight-black);
    color: var(--color-brand);
    line-height: 1;
    margin-bottom: var(--sp-2);
}
.Stats-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    font-weight: var(--weight-medium);
}

/* ─────────────────────────────────────────────────────
   MODULE: app-spotlight (Featured Films)
   ───────────────────────────────────────────────────── */
.app-spotlight { background: var(--color-bg-base); }

.MovieGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 18vw, 210px), 1fr));
    gap: var(--sp-5);
}

.MovieCard {
    background: var(--color-bg-card);
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
    cursor: pointer;
}
.MovieCard:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-brand);
    border-color: var(--color-brand-dark);
}
.MovieCard-poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
}
.MovieCard-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease);
}
.MovieCard:hover .MovieCard-poster img { transform: scale(1.06); }

.MovieCard-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,11,8,0.9) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: var(--sp-4);
    opacity: 0;
    transition: opacity var(--dur-base) var(--ease);
}
.MovieCard:hover .MovieCard-overlay { opacity: 1; }

.MovieCard-play {
    background: var(--color-brand);
    color: var(--color-bg-base);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--r-full);
    width: 100%;
    text-align: center;
    transition: background var(--dur-fast) var(--ease);
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
}
.MovieCard-play:hover { background: var(--color-brand-light); }

.MovieCard-badge {
    position: absolute;
    top: var(--sp-3);
    left: var(--sp-3);
    background: var(--color-brand);
    color: var(--color-bg-base);
    font-size: var(--text-xs);
    font-weight: var(--weight-black);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: var(--r-sm);
}
.MovieCard-badge--new  { background: var(--color-brand); }
.MovieCard-badge--hot  { background: #e05c1a; }
.MovieCard-badge--4k   { background: #4a6ef0; }

.MovieCard-info {
    padding: var(--sp-4) var(--sp-4) var(--sp-5);
}
.MovieCard-title {
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--sp-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.MovieCard-meta {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-bottom: var(--sp-2);
}
.MovieCard-rating {
    font-size: var(--text-xs);
    color: var(--color-brand);
    font-weight: var(--weight-semibold);
}

/* ─────────────────────────────────────────────────────
   MODULE: app-reviews (Testimonials)
   ───────────────────────────────────────────────────── */
.app-reviews { background: var(--color-bg-surface); }

.ReviewGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--sp-6);
}
.ReviewCard {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--r-xl);
    padding: var(--sp-6) var(--sp-6) var(--sp-5);
    transition: border-color var(--dur-base) var(--ease);
}
.ReviewCard:hover { border-color: var(--color-brand-dark); }
.ReviewCard-stars {
    color: var(--color-brand);
    font-size: var(--text-lg);
    margin-bottom: var(--sp-4);
    letter-spacing: 2px;
}
.ReviewCard-text {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--sp-5);
    font-style: italic;
}
.ReviewCard-author {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}
.ReviewCard-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--color-brand-subtle);
    border: 2px solid var(--color-brand-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: var(--text-xl);
    font-weight: var(--weight-black);
    color: var(--color-brand);
    flex-shrink: 0;
}
.ReviewCard-name {
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: var(--color-text-primary);
}
.ReviewCard-city {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* ─────────────────────────────────────────────────────
   MODULE: app-browse (Categories)
   ───────────────────────────────────────────────────── */
.app-browse { background: var(--color-bg-base); }

.GenreGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: var(--sp-4);
}
.GenreCard {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--r-lg);
    padding: var(--sp-6) var(--sp-5);
    text-align: center;
    cursor: pointer;
    transition: all var(--dur-base) var(--ease);
    text-decoration: none;
}
.GenreCard:hover {
    background: var(--color-bg-elevated);
    border-color: var(--color-brand);
    transform: translateY(-4px);
    box-shadow: var(--shadow-brand);
}
.GenreCard-icon { font-size: clamp(1.8rem, 4vw, 2.25rem); margin-bottom: var(--sp-3); display: block; }
.GenreCard-name {
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--sp-1);
}
.GenreCard-count { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ─────────────────────────────────────────────────────
   MODULE: app-plans (Pricing)
   ───────────────────────────────────────────────────── */
.app-plans { background: var(--color-bg-surface); }

.PricingGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--sp-6);
    max-width: 900px;
    margin-inline: auto;
}
.PricingCard {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--r-2xl);
    padding: var(--sp-8) var(--sp-6);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--dur-base) var(--ease);
}
.PricingCard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.PricingCard--featured {
    border-color: var(--color-brand);
    box-shadow: var(--shadow-brand);
}
.PricingCard--featured:hover { box-shadow: 0 8px 40px rgba(201,162,39,0.35); }

.PricingCard-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--color-brand);
    color: var(--color-bg-base);
    font-size: var(--text-xs);
    font-weight: var(--weight-black);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: var(--r-full);
    white-space: nowrap;
}
.PricingCard-name {
    font-size: var(--text-lg);
    font-weight: var(--weight-extrabold);
    color: var(--color-brand);
    margin-bottom: var(--sp-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.PricingCard-price {
    margin-bottom: var(--sp-5);
}
.PricingCard-amount {
    font-size: var(--text-4xl);
    font-weight: var(--weight-black);
    color: var(--color-text-primary);
    line-height: 1;
}
.PricingCard-currency {
    font-size: var(--text-xl);
    vertical-align: top;
    line-height: 1.6;
    color: var(--color-text-secondary);
}
.PricingCard-period {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: var(--sp-1);
}
.PricingCard-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    margin-bottom: var(--sp-8);
}
.PricingCard-feature {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}
.PricingCard-check { color: var(--color-brand); font-size: 1rem; flex-shrink: 0; }
.PricingCard-cross { color: var(--color-text-subtle); font-size: 1rem; flex-shrink: 0; }

/* ─────────────────────────────────────────────────────
   MODULE: app-features (Platform features)
   ───────────────────────────────────────────────────── */
.app-features { background: var(--color-bg-base); }

.FeatGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--sp-6);
}
.FeatCard {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--r-xl);
    padding: var(--sp-8) var(--sp-6);
    text-align: center;
    transition: border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.FeatCard:hover { border-color: var(--color-brand-dark); transform: translateY(-3px); }
.FeatCard-icon {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin-bottom: var(--sp-4);
    display: block;
}
.FeatCard-title {
    font-size: var(--text-lg);
    font-weight: var(--weight-extrabold);
    color: var(--color-text-primary);
    margin-bottom: var(--sp-3);
}
.FeatCard-desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }

/* ─────────────────────────────────────────────────────
   MODULE: app-cta (CTA section)
   ───────────────────────────────────────────────────── */
.app-cta {
    background: linear-gradient(135deg, var(--color-bg-elevated) 0%, #1f1a0e 100%);
    border-block: 1px solid var(--color-border);
    text-align: center;
}
.CTA-title {
    font-size: var(--text-4xl);
    font-weight: var(--weight-black);
    color: var(--color-text-primary);
    margin-bottom: var(--sp-4);
}
.CTA-title span { color: var(--color-brand); }
.CTA-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--sp-8);
    max-width: 520px;
    margin-inline: auto;
    line-height: 1.65;
}
.CTA-actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }
.CTA-note { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--sp-4); }

/* ─────────────────────────────────────────────────────
   MODULE: Footer
   ───────────────────────────────────────────────────── */
.Footer {
    background: var(--color-bg-surface);
    border-top: 1px solid var(--color-border);
    padding-block: var(--sp-16) var(--sp-8);
    margin-top: auto;
}
.Footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--sp-8);
    margin-bottom: var(--sp-10);
}
.Footer-brand-logo {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-xl);
    font-weight: var(--weight-black);
    color: var(--color-text-primary);
    margin-bottom: var(--sp-4);
}
.Footer-brand-logo span { color: var(--color-brand); }
.Footer-brand-desc {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: var(--sp-5);
    max-width: 280px;
}
.Footer-social { display: flex; gap: var(--sp-3); }
.Footer-social-link {
    width: 36px; height: 36px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: var(--color-text-muted);
    transition: all var(--dur-fast) var(--ease);
}
.Footer-social-link:hover { border-color: var(--color-brand); color: var(--color-brand); }
.Footer-col-title {
    font-size: var(--text-sm);
    font-weight: var(--weight-extrabold);
    color: var(--color-text-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: var(--sp-5);
}
.Footer-nav { display: flex; flex-direction: column; gap: var(--sp-3); }
.Footer-nav-link {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    transition: color var(--dur-fast) var(--ease);
}
.Footer-nav-link:hover { color: var(--color-brand); }
.Footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--sp-3);
    line-height: 1.5;
}
.Footer-contact-item span:first-child { flex-shrink: 0; }
.Footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: var(--sp-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-4);
}
.Footer-copyright { font-size: var(--text-xs); color: var(--color-text-subtle); }
.Footer-legal { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.Footer-legal a {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    transition: color var(--dur-fast) var(--ease);
}
.Footer-legal a:hover { color: var(--color-brand); }

/* ─────────────────────────────────────────────────────
   MODULE: Contact Modal (form_placement: modal-popup)
   ───────────────────────────────────────────────────── */
.Modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(13,11,8,0.85);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-6);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-base) var(--ease), visibility var(--dur-base) var(--ease);
}
.Modal-backdrop.is-open { opacity: 1; visibility: visible; }

.Modal {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--r-2xl);
    padding: var(--sp-8);
    max-width: 520px;
    width: 100%;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform var(--dur-base) var(--ease);
}
.Modal-backdrop.is-open .Modal { transform: translateY(0) scale(1); }

.Modal-close {
    position: absolute;
    top: var(--sp-4); right: var(--sp-4);
    width: 36px; height: 36px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease);
}
.Modal-close:hover { color: var(--color-text-primary); border-color: var(--color-text-muted); }
.Modal-title {
    font-size: var(--text-2xl);
    font-weight: var(--weight-black);
    color: var(--color-text-primary);
    margin-bottom: var(--sp-2);
}
.Modal-subtitle { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--sp-6); }

/* ─────────────────────────────────────────────────────
   MODULE: Form elements
   ───────────────────────────────────────────────────── */
.Form-group { margin-bottom: var(--sp-5); }
.Form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--color-text-secondary);
    margin-bottom: var(--sp-2);
}
.Form-label span { color: var(--color-brand); margin-left: 2px; }
.Form-input,
.Form-textarea,
.Form-select {
    width: 100%;
    background: var(--color-bg-elevated);
    border: 1.5px solid var(--color-border);
    border-radius: var(--r-md);
    padding: clamp(0.6rem, 1.5vw, 0.8rem) clamp(0.8rem, 2vw, 1rem);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--color-text-primary);
    transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
    outline: none;
    -webkit-appearance: none;
}
.Form-input::placeholder,
.Form-textarea::placeholder { color: var(--color-text-subtle); }
.Form-input:focus,
.Form-textarea:focus,
.Form-select:focus {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px var(--color-brand-glow);
}
.Form-textarea { resize: vertical; min-height: 120px; }

.Form-alert {
    padding: var(--sp-4) var(--sp-5);
    border-radius: var(--r-md);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    margin-bottom: var(--sp-5);
}
.Form-alert--success { background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.3); color: var(--color-success); }
.Form-alert--error   { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.3); color: var(--color-error); }

/* ─────────────────────────────────────────────────────
   MODULE: FAQ
   ───────────────────────────────────────────────────── */
.app-faq-list { max-width: 700px; margin-inline: auto; }
.FaqItem {
    border-bottom: 1px solid var(--color-border);
}
.FaqItem-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: var(--sp-5) 0;
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    color: var(--color-text-primary);
    cursor: pointer;
    text-align: left;
    transition: color var(--dur-fast) var(--ease);
}
.FaqItem-btn:hover { color: var(--color-brand); }
.FaqItem-icon {
    flex-shrink: 0;
    color: var(--color-brand);
    font-size: var(--text-xl);
    transition: transform var(--dur-base) var(--ease);
    line-height: 1;
}
.FaqItem.is-open .FaqItem-icon { transform: rotate(45deg); }
.FaqItem-answer {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur-slow) var(--ease-out), padding var(--dur-base) var(--ease);
    padding-bottom: 0;
}
.FaqItem.is-open .FaqItem-answer {
    max-height: 400px;
    padding-bottom: var(--sp-5);
}

/* ─────────────────────────────────────────────────────
   MODULE: Dashboard / Video Library
   ───────────────────────────────────────────────────── */
.PageHero {
    background: linear-gradient(135deg, var(--color-bg-elevated) 0%, var(--color-bg-surface) 100%);
    border-bottom: 1px solid var(--color-border);
    padding-block: var(--sp-12);
}
.PageHero-eyebrow { color: var(--color-brand); font-size: var(--text-sm); font-weight: var(--weight-bold); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--sp-3); }
.PageHero-title { font-size: var(--text-4xl); font-weight: var(--weight-black); color: var(--color-text-primary); margin-bottom: var(--sp-3); }
.PageHero-subtitle { font-size: var(--text-lg); color: var(--color-text-secondary); max-width: 560px; line-height: 1.6; }

.Dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
    margin-bottom: var(--sp-10);
}
.DashCard {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--r-xl);
    padding: var(--sp-6);
}
.DashCard-label { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--sp-2); }
.DashCard-value { font-size: var(--text-3xl); font-weight: var(--weight-black); color: var(--color-brand); }

.PlanBadge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 0.4rem 1rem;
    border-radius: var(--r-full);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
}
.PlanBadge--free    { background: rgba(122,112,96,0.15); color: var(--color-text-muted); border: 1px solid var(--color-border); }
.PlanBadge--premium { background: var(--color-brand-subtle); color: var(--color-brand); border: 1px solid var(--color-brand-dark); }

/* ─────────────────────────────────────────────────────
   MODULE: Breadcrumb / Page header
   ───────────────────────────────────────────────────── */
.Breadcrumb {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--sp-4);
    display: flex;
    gap: var(--sp-2);
    align-items: center;
}
.Breadcrumb a { color: var(--color-brand); }
.Breadcrumb a:hover { color: var(--color-brand-light); }

/* ─────────────────────────────────────────────────────
   MODULE: Legal pages
   ───────────────────────────────────────────────────── */
.Legal-content {
    max-width: 720px;
    margin-inline: auto;
    padding-block: var(--sp-16);
}
.Legal-content h1 { font-size: var(--text-4xl); font-weight: var(--weight-black); color: var(--color-text-primary); margin-bottom: var(--sp-3); }
.Legal-content h2 { font-size: var(--text-2xl); font-weight: var(--weight-extrabold); color: var(--color-brand); margin-top: var(--sp-10); margin-bottom: var(--sp-4); }
.Legal-content h3 { font-size: var(--text-xl); font-weight: var(--weight-bold); color: var(--color-text-primary); margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.Legal-content p  { color: var(--color-text-secondary); line-height: 1.75; margin-bottom: var(--sp-5); }
.Legal-content ul { padding-left: var(--sp-5); margin-bottom: var(--sp-5); }
.Legal-content li { color: var(--color-text-secondary); line-height: 1.7; margin-bottom: var(--sp-2); list-style: disc; }
.Legal-content a  { color: var(--color-brand); text-decoration: underline; }
.Legal-updated { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--sp-8); }

/* ─────────────────────────────────────────────────────
   MODULE: Simplified Mobile (mobile_behavior: simplified-layout)
   ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .Footer-grid { grid-template-columns: 1fr 1fr; }
    .Hero-carousel { display: none; }
    .Hero-content { max-width: 100%; }
    .Dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .Nav-menu { display: none; }
    .Nav-toggle { display: flex; }
    .Nav-actions .Button--outline { display: none; }

    .Hero-title { font-size: var(--text-4xl); }
    .Hero-trust { display: none; }

    .Stats-item { border-right: none; border-bottom: 1px solid var(--color-border); padding-block: var(--sp-5); }
    .Stats-item:last-child { border-bottom: none; }
    .Stats-grid { flex-direction: column; }

    .Footer-grid { grid-template-columns: 1fr; }
    .Footer-bottom { flex-direction: column; text-align: center; }

    .PricingGrid { grid-template-columns: 1fr; max-width: 360px; }
}

@media (max-width: 480px) {
    .Hero-cta { flex-direction: column; align-items: stretch; }
    .Hero-cta .Button { justify-content: center; }
    .GenreGrid { grid-template-columns: repeat(2, 1fr); }
    .MovieGrid { grid-template-columns: repeat(2, 1fr); }
    .ReviewGrid { grid-template-columns: 1fr; }
    .FeatGrid { grid-template-columns: 1fr 1fr; }
}

/* ─────────────────────────────────────────────────────
   MODULE: Animations (animation_type: page-transitions)
   ───────────────────────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in:nth-child(1) { transition-delay: 0ms; }
.fade-in:nth-child(2) { transition-delay: 80ms; }
.fade-in:nth-child(3) { transition-delay: 160ms; }
.fade-in:nth-child(4) { transition-delay: 240ms; }
.fade-in:nth-child(5) { transition-delay: 320ms; }
.fade-in:nth-child(6) { transition-delay: 400ms; }
body.is-loading * { transition: none !important; }
.pulse-brand:hover { animation: pulseBrand 0.6s ease; }
@keyframes pulseBrand {
    0%, 100% { box-shadow: 0 0 0 0 var(--color-brand-glow); }
    50%       { box-shadow: 0 0 0 8px transparent; }
}
.scroll-indicator {
    position: absolute;
    bottom: var(--sp-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    color: var(--color-text-muted);
    font-size: var(--text-xs);
    animation: bounceDown 2s ease-in-out infinite;
    cursor: pointer;
}
@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}
