/* Landing Page Styles - DOJ Parody Theme */
:root {
    --navy: #162e51;
    --navy-dark: #0d1b2a;
    --navy-light: #205493;
    --gold: #daa520;
    --gold-light: #e5c158;
    --cream: #f5f0e1;
    --text-dark: #212121;
    --text-muted: #5b616b;
    --green: #2e8540;
    --red: #c9302c;
    --white: #fff;
}

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

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

/* Gov Banner - spoof version */
.gov-banner-spoof {
    background: var(--navy-dark);
    padding: 8px 16px;
    font-size: 13px;
    color: var(--white);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    justify-content: center;
}
.gov-banner-spoof .flag { font-size: 14px; }
.gov-banner-spoof em { font-style: normal; opacity: 0.7; }

/* Header - DOJ parody */
.parody-header {
    background: var(--navy);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-bottom: 4px solid var(--gold);
}
.parody-seal {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, var(--gold) 0%, #b8860b 30%, var(--navy) 55%, var(--navy-dark) 100%);
    border: 3px solid var(--gold);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.parody-header-text {
    color: var(--white);
}
.parody-header-text .dept {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 4.9px;
}
.parody-header-text .title {
    font-family: 'Merriweather', serif;
    font-size: 26px;
    font-weight: 700;
}
.parody-header-text .subtitle {
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 20px 40px;
    background: var(--cream);
    border-bottom: 2px solid #e0d5c0;
}

.emoji-header {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.hero h1 {
    font-family: 'Merriweather', serif;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.2;
    color: var(--navy);
}

.subhead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Name Form */
.name-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

#name-input {
    padding: 14px 20px;
    font-size: 1.1rem;
    font-family: inherit;
    border: 2px solid var(--text-muted);
    background: var(--white);
    color: var(--text-dark);
    text-align: center;
    transition: all 0.3s ease;
}

#name-input::placeholder {
    color: #aaa;
}

#name-input:focus {
    outline: none;
    border-color: var(--navy-light);
    box-shadow: 0 0 0 3px rgba(32, 84, 147, 0.15);
}

.generate-btn {
    padding: 16px 36px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: inherit;
    background: var(--navy-light);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.generate-btn:hover {
    background: var(--navy);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 46, 81, 0.3);
}

.generate-btn:active {
    transform: translateY(0);
}

.disclaimer-mini {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--red);
    font-weight: 600;
}

/* Demo Video Section */
.demo-section {
    padding: 50px 20px;
    text-align: center;
    background: var(--white);
}

.demo-section h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.demo-video-wrapper {
    max-width: 360px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    background: #000;
    aspect-ratio: 9/16;
}

.demo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--navy-dark);
    color: var(--white);
}

.demo-play-icon {
    font-size: 48px;
    opacity: 0.6;
    margin-bottom: 12px;
}

.demo-placeholder p {
    font-size: 14px;
    opacity: 0.5;
}

.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.demo-caption {
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Optional fields */
.optional-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.optional-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 4px 0 0;
}

.optional-fields input {
    padding: 10px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1px solid #ccc;
    background: var(--white);
    color: var(--text-dark);
    text-align: center;
}

.optional-fields input:focus {
    outline: none;
    border-color: var(--navy-light);
    box-shadow: 0 0 0 2px rgba(32, 84, 147, 0.1);
}

/* Live counter */
.live-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding: 10px 20px;
    background: rgba(32, 84, 147, 0.06);
    border-radius: 20px;
    font-size: 0.95rem;
    color: var(--navy);
}

.counter-icon {
    font-size: 1.1rem;
}

.counter-text strong {
    color: var(--red);
    font-size: 1.1rem;
}

/* Reactions section */
.reactions-section {
    padding: 50px 20px;
    background: var(--white);
    text-align: center;
}

.reactions-section h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.reaction-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.reaction-card {
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-left: 4px solid var(--gold);
    padding: 20px;
    text-align: left;
}

.reaction-stars {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.reaction-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 10px;
}

.reaction-author {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.reactions-cta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.reactions-cta a {
    color: var(--navy-light);
}

/* Gold accent bar */
.gold-bar {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0;
}

/* How It Works */
.how-it-works {
    padding: 50px 20px;
    background: var(--white);
}

.how-it-works h2 {
    font-family: 'Merriweather', serif;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--navy);
}

.section-accent {
    width: 55px;
    margin: 0 auto 35px;
}
.section-accent div {
    height: 2px;
    background: var(--gold);
    margin-bottom: 3px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 20px;
    position: relative;
    border: 1px solid #e8e8e8;
    background: #fafafa;
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--navy-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    color: var(--white);
}

.step-icon {
    font-size: 2.5rem;
    margin: 20px 0 12px;
}

.step h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--navy);
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq {
    padding: 50px 20px;
    background: #f8f8f8;
}

.faq h2 {
    font-family: 'Merriweather', serif;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--navy);
}

.faq-item {
    background: var(--white);
    padding: 18px 22px;
    margin-bottom: 12px;
    border-left: 4px solid var(--gold);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    cursor: pointer;
    user-select: none;
}

.faq-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0;
    color: var(--navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-toggle {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.faq-item.open p {
    max-height: 200px;
    margin-top: 12px;
}

/* Ad Placeholder */
.ad-placeholder {
    background: #f1f1f1;
    border: 2px dashed #d0d0d0;
    padding: 35px;
    text-align: center;
    margin: 40px 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Footer - DOJ parody */
.footer {
    background: var(--navy-dark);
    padding: 30px 20px;
    border-top: 3px solid var(--gold);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.legal-disclaimer {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-left: 3px solid var(--gold);
    text-align: left;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* Responsive */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .subhead {
        font-size: 1rem;
    }
    
    .generate-btn {
        font-size: 1rem;
        padding: 14px 28px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .parody-header-text .title {
        font-size: 22px;
    }
}
