/* ============================================================================
   landing_redesign.css — RizzGen Clean Monochrome Directorial Theme
   - Authentic Hero Background Video (Original Page Architecture)
   - Small, refined hero & final CTA typography (crisp, solid white, no gradients)
   - Tight, focused container widths (max-width: 920px; app/scrubber: 860px)
   - Zero unnecessary eyebrows or badges
   - Embedded real screen recordings from the workflow page
   ========================================================================== */

:root {
    --rz-purple: #9a43ff;
    --rz-green: #35d07f;
    --rz-dark-bg: #070709;
    --rz-card-bg: #111217;
    --rz-card-border: rgba(255, 255, 255, 0.08);
    --rz-text-bright: #ffffff;
    --rz-text-muted: rgba(241, 241, 241, 0.68);
    --rz-font-mono: 'JetBrains Mono', monospace;
    --rz-font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ----------------------------------------------------------- Universal Typography ---- */

/* Unified solid white text — strictly no gradients */
.hero-title,
.hero-title-v2,
.bimodal-header h2,
.final-cta-title,
.hero-gradient-text,
.text-gradient-purple,
h1, h2, h3 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    letter-spacing: -0.025em;
}

/* Hide all unnecessary eyebrows as requested */
.section-badge-eyebrow,
.hero-pill-badge,
.nav-badge-hot,
.wf-scrub-label,
.eyebrow,
.take-eyebrow,
.faq-badge {
    display: none !important;
}

/* ----------------------------------------------------------- Hero Section with Background Video ---- */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: clamp(70px, 8vh, 90px) 20px 24px;
    background: transparent !important;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 0.5;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.hero.hero-video-ready #hero-video {
    opacity: 0.6;
}

.hero-video-overlay {
    display: none !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

/* Refined typography for hero — slightly bigger as requested */
.hero-title,
.hero-title-v2 {
    font-size: clamp(28px, 3.8vw, 46px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.025em !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    margin: 0 auto 16px !important;
    max-width: 740px;
}

.hero-subtitle,
.hero-subhead-v2 {
    font-size: clamp(14px, 1.2vw, 15.5px) !important;
    color: rgba(241, 241, 241, 0.72) !important;
    line-height: 1.55 !important;
    max-width: 580px !important;
    margin: 0 auto 24px !important;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

#hero-primary-cta,
.btn-hero-primary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: #ffffff !important;
    color: #000000 !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    border: 1px solid #ffffff !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
    text-decoration: none !important;
    box-shadow: none !important;
    line-height: 1.35 !important;
}

#hero-primary-cta:hover,
.btn-hero-primary:hover {
    background: #eaeaea !important;
    transform: translateY(-1px) !important;
    box-shadow: none !important;
}

.btn-hero-secondary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 0.82rem !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease !important;
    text-decoration: none !important;
    line-height: 1.35 !important;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-1px) !important;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--rz-font-mono);
    margin-top: 6px;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-trust-item i {
    color: var(--rz-green);
}

/* Hero Prompt Sandbox */
.hero-prompt-bar {
    max-width: 660px;
    margin: 0 auto 30px;
    background: rgba(16, 17, 22, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 14px 16px;
    text-align: left;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-prompt-bar:focus-within {
    border-color: rgba(255, 255, 255, 0.35);
}

.prompt-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.72rem;
    font-family: var(--rz-font-mono);
    color: rgba(255, 255, 255, 0.42);
}

.prompt-bar-header .assistant-tag {
    color: #ffffff;
    font-weight: 500;
}

.prompt-bar-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prompt-bar-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.94rem;
    font-family: var(--rz-font-sans);
    resize: none;
    min-height: 40px;
    line-height: 1.45;
}

.prompt-bar-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.prompt-bar-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #ffffff;
    color: #000000;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.prompt-bar-submit:hover {
    transform: scale(1.05);
}

.prompt-suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.prompt-chip {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 3px 9px;
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    transition: all 0.2s ease;
}

.prompt-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ----------------------------------------------------------- Tighter Section Widths ---- */

.bimodal-section,
.takes-git-section,
.landing-workflow-section,
.transparency-section,
.faq-section {
    max-width: 920px !important;
    margin: 0 auto !important;
    padding: 68px 20px !important;
}

.bimodal-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 32px;
}

.bimodal-header h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 12px;
}

.bimodal-header p {
    font-size: 0.95rem;
    color: var(--rz-text-muted);
    line-height: 1.55;
}

/* ----------------------------------------------------------- Studio Screen Recordings Showcases ---- */

.studio-tab-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.studio-tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 14px;
    border-radius: 8px;
    font-family: var(--rz-font-mono);
    font-size: 0.76rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.studio-tab-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.studio-tab-btn.is-active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-weight: 600;
}

.studio-video-container {
    max-width: 860px;
    margin: 0 auto;
    background: #0d0e14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.studio-tab-panel {
    display: none;
}

.studio-tab-panel.is-active {
    display: block;
}

.studio-screen-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.studio-caption-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    background: #0a0b10;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
    color: rgba(241, 241, 241, 0.7);
}

.caption-tag {
    font-family: var(--rz-font-mono);
    font-size: 0.7rem;
    color: var(--rz-green);
    background: rgba(53, 208, 127, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* ----------------------------------------------------------- Takes: Git for Films ---- */

.git-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: flex-start;
    margin-top: 32px;
}

@media (max-width: 860px) {
    .git-grid-layout {
        grid-template-columns: 1fr;
    }
}

.git-feature-item {
    display: flex;
    gap: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 12px;
    transition: border-color 0.2s ease;
}

.git-feature-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.git-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.git-feature-content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    text-align: left;
}

.git-feature-content p {
    font-size: 0.85rem;
    color: var(--rz-text-muted);
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

/* Lineage Visual Card */
.lineage-git-card {
    background: #0d0e14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
}

.lineage-git-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-family: var(--rz-font-mono);
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.45);
}

.branch-tag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2px 8px;
    color: #fff;
}

.tree-node-item {
    position: relative;
    padding-left: 26px;
    margin-bottom: 16px;
}

.tree-node-item::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 10px;
    bottom: -16px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.tree-node-item:last-child::before {
    display: none;
}

.tree-node-dot {
    position: absolute;
    left: 1px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    z-index: 2;
}

.tree-node-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 14px;
}

.tree-node-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--rz-font-mono);
    font-size: 0.68rem;
    margin-bottom: 4px;
}

.tree-author {
    color: #ffffff;
    font-weight: 500;
}

.tree-remakes-badge {
    color: var(--rz-green);
}

.tree-node-title {
    font-size: 0.86rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
    text-align: left;
}

.tree-node-desc {
    font-size: 0.76rem;
    color: var(--rz-text-muted);
    text-align: left;
    margin-bottom: 8px;
}

.tree-fork-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 4px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.tree-fork-action:hover {
    background: #ffffff;
    color: #000000 !important;
}

/* ----------------------------------------------------------- Scrubber Tighter Width & Screen Recordings ---- */

.wf-scrub {
    max-width: 860px !important;
    margin: 0 auto 20px !important;
}

.wf-app {
    max-width: 900px !important;
    margin: 0 auto !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    background: #0d0e14 !important;
    overflow: hidden !important;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.85) !important;
}

.wf-app-body {
    position: relative !important;
    min-height: 590px !important;
    padding: 22px 24px 26px !important;
}

.wf-panel {
    position: absolute !important;
    inset: 0 !important;
    padding: 22px 24px 26px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

/* Screen recordings in workflow scrubber: keep full 16:9 view without cutting bottom timeline */
.wf-panel-recording {
    width: 100% !important;
    height: auto !important;
    max-height: 440px !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: #000 !important;
    display: block !important;
    margin: 12px 0 10px !important;
    flex-shrink: 0 !important;
}

.wf-panel-foot {
    margin-top: auto !important;
    padding-top: 6px !important;
}

@media (max-width: 920px) {
    .wf-app-body {
        min-height: 510px !important;
        padding: 18px !important;
    }
    .wf-panel {
        padding: 18px !important;
    }
    .wf-panel-recording {
        max-height: 350px !important;
    }
}

@media (max-width: 640px) {
    .wf-app-body {
        min-height: 420px !important;
        padding: 14px !important;
    }
    .wf-panel {
        padding: 14px !important;
    }
    .wf-panel-recording {
        max-height: 240px !important;
    }
}

/* ----------------------------------------------------------- Radical Transparency Section ---- */

.transparency-section {
    max-width: 1040px !important;
    margin: 0 auto !important;
    padding: 76px 20px !important;
}

.transparency-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}

.transparency-header h2 {
    font-size: clamp(26px, 3.2vw, 38px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
    margin-bottom: 14px !important;
}

.transparency-header p {
    font-size: clamp(14px, 1.1vw, 15.5px) !important;
    color: var(--rz-text-muted) !important;
    line-height: 1.6 !important;
    margin: 0 auto !important;
}

.lineage-showcase-card {
    background: #0d0e14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 28px;
    width: 100%;
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
}

.lineage-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.lineage-shot-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #ffffff;
}

.lineage-shot-badge i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.lineage-shot-meta {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
}

.lineage-status-badge {
    font-family: var(--rz-font-mono);
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.lineage-track {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: #3d4042 transparent;
}

.lineage-node {
    flex: 1 1 0;
    min-width: 170px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 16px;
    background: #17181c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.lineage-node--spent {
    opacity: 0.68;
}

.lineage-node--kept {
    background: #171f16 !important;
    border-color: rgba(74, 222, 128, 0.35) !important;
    opacity: 1 !important;
}

.lineage-take {
    font-family: var(--rz-font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lineage-node--kept .lineage-take {
    color: #4ade80;
}

.lineage-change {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
    flex: 1;
}

.lineage-verdict {
    display: inline-block;
    font-family: var(--rz-font-mono);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 6px;
    width: fit-content;
}

.lineage-verdict--cut {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.28);
    color: #f87171;
}

.lineage-verdict--kept {
    background: rgba(74, 222, 128, 0.14);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #4ade80;
}

.lineage-link {
    flex: none;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lineage-link::before {
    content: "→";
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.95rem;
}

.lineage-card-foot {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lineage-caption {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verdict-legend-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.verdict-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: rgba(241, 241, 241, 0.65);
}

.verdict-pill-demo {
    font-family: var(--rz-font-mono);
    font-size: 0.72rem;
    padding: 3px 9px;
    border-radius: 6px;
    white-space: nowrap;
}

.verdict-pill-demo.keeper {
    background: rgba(74, 222, 128, 0.14);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #4ade80;
}

.verdict-pill-demo.rejected {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.28);
    color: #f87171;
}

.verdict-pill-demo.superseded {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.7);
}

/* ----------------------------------------------------------- Final Call to Action ---- */

.final-cta-section {
    position: relative;
    padding: 72px 20px 84px !important;
    text-align: center;
    overflow: hidden;
    background: transparent !important;
    border-top: none !important;
}

/* Perspective grid background kept as requested */
.cta-grid-stage {
    position: absolute;
    inset: 0;
    perspective: 720px;
    perspective-origin: 50% 32%;
    pointer-events: none;
    z-index: 0;
    display: block !important;
}

.cta-grid-floor {
    position: absolute;
    left: -60%;
    right: -60%;
    bottom: -15%;
    height: 130%;
    transform: rotateX(75deg);
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: radial-gradient(ellipse 68% 62% at 50% 96%, #000 30%, transparent 78%);
    display: block !important;
}

/* No purple glow — removed as requested */
.cta-vanishing-glow {
    display: none !important;
}

.final-cta-title {
    font-size: clamp(26px, 3.4vw, 38px) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    line-height: 1.18 !important;
    margin: 0 auto 14px !important;
    max-width: 680px;
}

.final-cta-subtitle {
    font-size: clamp(13px, 1.1vw, 15px) !important;
    color: rgba(241, 241, 241, 0.65) !important;
    line-height: 1.5 !important;
    max-width: 520px;
    margin: 0 auto 20px !important;
}

.final-cta-section .btn-hero-primary,
.final-cta-section .btn-hero-secondary {
    padding: 10px 22px !important;
    font-size: 0.88rem !important;
}
