:root {
    --bg-color: #0b0217;
    --panel-bg: #150529;
    --panel-border: rgba(255, 45, 149, 0.25);
    --neon-pink: #ff2d95;
    --neon-cyan: #00e5ff;
    --neon-yellow: #ffe600;
    --text-main: #f5edff;
    --text-muted: #a491c2;
    --accent-gradient: linear-gradient(135deg, #ff2d95 0%, #9025ff 100%);
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Top Navigation Header */
header.site-header {
    background: rgba(11, 2, 23, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--panel-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 20px;
}

.nav-container {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.logo span.badge-retro {
    background: var(--neon-pink);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
}

nav.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.92rem;
    transition: color 0.2s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

nav.nav-links a:hover {
    color: var(--neon-cyan);
}

/* Main Container */
main.main-content {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 20px 80px 20px;
}

/* ================= 1. Hero Section (First Screen with Pure Full Video) ================= */
.hero-section {
    padding: 16px 0 44px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
    align-items: start;
    margin-bottom: 36px;
}

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

h1.main-title {
    font-size: 2.35rem;
    line-height: 1.18;
    margin-bottom: 14px;
    font-weight: 800;
    background: linear-gradient(180deg, #ffffff 0%, #ff8bcc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.subhead {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.step-strip {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 45, 149, 0.1);
    border: 1px solid rgba(255, 45, 149, 0.3);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 0.82rem;
    color: var(--neon-cyan);
    margin-bottom: 24px;
}

/* Pure Full Video Player in Hero (Right Column) */
.hero-video-box {
    background: #140428;
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.hero-video-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-video-header span.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--neon-cyan);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.hero-video-header span.live-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-cyan);
}

.full-video-viewport {
    width: 100%;
    aspect-ratio: 9/16;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(255, 45, 149, 0.4);
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

video.main-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.video-controls-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
    padding: 20px 14px 14px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.btn-playback-toggle {
    background: var(--neon-pink);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(255, 45, 149, 0.6);
    flex-shrink: 0;
}

.video-duration-meta {
    font-size: 0.8rem;
    color: #fff;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.btn-mute-toggle {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
}

/* 2-Photo Upload Tool Card (In Hero left column) */
.tool-card {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.upload-slot {
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 45, 149, 0.4);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.upload-slot:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 229, 255, 0.05);
}

.upload-slot.has-file {
    border-style: solid;
    border-color: var(--neon-pink);
    background: rgba(0, 0, 0, 0.4);
}

.upload-slot input[type="file"] {
    display: none;
}

.slot-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    margin-bottom: 6px;
    display: inline-block;
}

.slot-tag.left-role {
    background: var(--neon-pink);
    color: #fff;
}

.slot-tag.right-role {
    background: var(--neon-cyan);
    color: #0b0217;
}

.slot-title {
    font-weight: 700;
    font-size: 0.98rem;
    color: #fff;
    margin-bottom: 2px;
}

.slot-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.slot-preview-container {
    width: 100%;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    display: none;
    margin-top: 6px;
    background: #000;
}

.slot-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slot-placeholder-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: var(--neon-pink);
    font-size: 1.3rem;
}

.slot-specs {
    font-size: 0.72rem;
    color: #7d6b99;
}

/* Generate CTA Button */
.btn-generate {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 15px 32px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 45, 149, 0.4);
    transition: all 0.2s ease;
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-generate:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255, 45, 149, 0.6);
}

.btn-generate:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #332049;
    box-shadow: none;
}

.tool-output-specs {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* ================= 2. Storyboard 4-Video Breakdown Section (Below Hero Tool) ================= */
.storyboard-section {
    background: #140428;
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    padding: 32px 24px;
    margin-bottom: 56px;
}

.storyboard-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 30px auto;
}

.storyboard-header h2 {
    font-size: 1.85rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 800;
}

.storyboard-header p {
    color: var(--text-muted);
    font-size: 0.96rem;
}

/* 4 Storyboard Video Cards Grid */
.storyboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.storyboard-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    position: relative;
}

.storyboard-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.15);
}

.mini-video-viewport {
    width: 100%;
    aspect-ratio: 9/16;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 45, 149, 0.3);
    margin-bottom: 12px;
}

video.mini-shot-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shot-time-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(11, 2, 23, 0.85);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
}

.shot-role-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
    align-self: flex-start;
}

.shot-role-tag.p1 {
    background: var(--neon-pink);
    color: #fff;
}

.shot-role-tag.p2 {
    background: var(--neon-cyan);
    color: #0b0217;
}

.shot-role-tag.both {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
    color: #fff;
}

.storyboard-card h3.shot-title {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 6px;
    font-weight: 700;
}

.storyboard-card p.shot-desc {
    font-size: 0.82rem;
    color: #cbbad9;
    line-height: 1.45;
    flex-grow: 1;
}

.storyboard-bottom-cta {
    text-align: center;
    padding-top: 10px;
}

.storyboard-bottom-cta a.btn-jump-tool {
    color: var(--neon-cyan);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}

.storyboard-bottom-cta a.btn-jump-tool:hover {
    color: #fff;
    text-decoration: underline;
}

/* ================= 3. Content Sections ================= */
section.content-section {
    margin-bottom: 56px;
}

h2.section-heading {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff;
    border-left: 4px solid var(--neon-pink);
    padding-left: 12px;
}

.content-card {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
}

.content-card p {
    margin-bottom: 14px;
    font-size: 1rem;
    color: #d8cde8;
}

.content-card p:last-child {
    margin-bottom: 0;
}

/* Shot Summary Table */
.shot-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 16px 0;
}

table.shot-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

table.shot-table th, table.shot-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

table.shot-table th {
    background: rgba(255, 45, 149, 0.15);
    color: var(--neon-cyan);
    font-weight: 700;
}

table.shot-table tr:last-child td {
    border-bottom: none;
}

/* Photo Guidelines Grid (Use / Avoid) */
.rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 16px 0;
}

.rule-box {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 18px;
    border-top: 3px solid #666;
}

.rule-box.use {
    border-top-color: #00e5ff;
}

.rule-box.avoid {
    border-top-color: #ff2d95;
}

.rule-box h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #fff;
}

.rule-box ul {
    list-style-type: none;
}

.rule-box ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #cfbfe3;
}

.rule-box.use ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00e5ff;
    font-weight: bold;
}

.rule-box.avoid ul li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #ff2d95;
    font-weight: bold;
}

/* Caption Generator */
.caption-tool {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 45, 149, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-top: 14px;
}

.caption-selectors {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.caption-select-group {
    flex: 1;
    min-width: 140px;
}

.caption-select-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.caption-select-group select {
    width: 100%;
    background: #1f0b38;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    min-height: 44px;
}

.caption-output-box {
    background: #0f031e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px;
    position: relative;
    font-size: 0.95rem;
    color: #f0e6ff;
}

.btn-copy-caption {
    background: var(--neon-pink);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    min-height: 36px;
}

/* DIY Prompt Card */
.prompt-code-card {
    background: #0f031e;
    border-left: 3px solid var(--neon-cyan);
    border-radius: 0 8px 8px 0;
    padding: 16px;
    margin: 16px 0;
    font-family: monospace;
    font-size: 0.9rem;
    color: #e2d3f7;
    position: relative;
    line-height: 1.5;
}

.btn-copy-prompt {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.75rem;
    cursor: pointer;
    margin-top: 10px;
    display: inline-block;
    min-height: 32px;
}

/* ================= 4. Pricing (3 Tiers Anchored on $9.90 per Video) ================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0 16px 0;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.popular {
    border-color: var(--neon-pink);
    background: rgba(255, 45, 149, 0.08);
    box-shadow: 0 0 25px rgba(255, 45, 149, 0.2);
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neon-pink);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}

.pricing-tier-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--neon-cyan);
    margin-bottom: 4px;
}

.pricing-units {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 6px;
    font-weight: 600;
}

.pricing-unit-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.pricing-save {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--neon-yellow);
    background: rgba(255, 230, 0, 0.12);
    border: 1px solid rgba(255, 230, 0, 0.35);
    border-radius: 999px;
    padding: 2px 10px;
    margin-bottom: 16px;
}

.pricing-desc {
    font-size: 0.85rem;
    color: #c9b9de;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-pricing {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    width: 100%;
}

.pricing-card.popular .btn-pricing {
    background: var(--accent-gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 45, 149, 0.4);
}

.pricing-notice-box {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 12px;
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    min-height: 52px;
    user-select: none;
}

.faq-question::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--neon-pink);
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after {
    content: "−";
    color: var(--neon-cyan);
}

.faq-answer {
    padding: 0 20px 18px 20px;
    color: #d1c2e4;
    font-size: 0.95rem;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Queue / Modal */
.queue-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 2, 23, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.queue-modal {
    background: #190632;
    border: 1px solid var(--neon-pink);
    border-radius: 16px;
    padding: 30px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.queue-modal h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #fff;
}

.queue-modal p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.queue-progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
}

.queue-progress-fill {
    width: 0%;
    height: 100%;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.queue-email-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    margin-bottom: 14px;
    font-size: 0.95rem;
    min-height: 44px;
}

.btn-modal-close {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 0.85rem;
    min-height: 44px;
}

/* Footer */
footer.site-footer {
    border-top: 1px solid var(--panel-border);
    padding: 32px 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: #080112;
}

.footer-nav {
    margin-bottom: 12px;
}

.footer-nav a {
    color: var(--text-muted);
    margin: 0 10px;
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

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

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-video-box {
        max-width: 320px;
        margin: 0 auto;
    }

    .storyboard-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .rules-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    nav.nav-links {
        display: none;
    }
}

@media (max-width: 580px) {
    h1.main-title {
        font-size: 1.75rem;
    }

    .upload-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .storyboard-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
