@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
    --green: #1b4332; /* Deep Forest Green */
    --green-dark: #081c15;
    --green-light: #f1f5f2;
    --green-mid: #2d6a4f;
    --gold: #c5a059; /* Premium Champagne Gold */
    --gold-dark: #a38245;
    --gold-light: #f9f5eb;
    --bg: #fcfaf7; /* Warm Off-White */
    --white: #ffffff;
    --text: #1a1c1e;
    --muted: #4a4d50;
    --border: #e8e2d9; /* Subtle Warm Border */
    --radius: 12px;
    --shadow-premium: 0 12px 40px rgba(27, 67, 50, 0.08);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

.container { 
    max-width: 900px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

/* ── Header ── */
header {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: -0.5px;
}

/* ── Above-fold wrap ── */
.above-fold {
    padding: 60px 16px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.above-fold.interacting {
    padding-top: 20px;
}

.above-fold.interacting .hero-header {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.page-wrap {
    width: 100%;
    max-width: 580px;
}

.hero-header {
    text-align: center;
    margin-bottom: 40px;
    transition: all 0.5s ease;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-light); /* Consistently golden background */
    color: var(--gold-dark);
    border: 1.5px solid var(--gold);
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.15);
}

.hero-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 16px;
}

.hero-header h1 span { 
    color: var(--green); 
}

.subtitle {
    font-size: 17px;
    color: var(--muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ── Quiz Card ── */
.quiz-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border);
    overflow: hidden;
}

.progress-header {
    padding: 32px 32px 0;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.step-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.step-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.progress-track {
    height: 4px;
    background: #f1f5f9;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--green);
    transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.quiz-body {
    padding: 40px 32px 48px;
}

.question-text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 32px;
    color: var(--text);
}

.answers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.answer-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px 24px;
    border: 1.5px solid var(--border);
    background: var(--white);
    border-radius: var(--radius);
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.25s ease;
    outline: none;
}

.answer-btn:hover {
    border-color: var(--gold);
    background: var(--gold-light);
    transform: translateX(6px);
}

.answer-btn.selected {
    border-color: var(--gold); /* Consistent gold theme for selection */
    background: var(--gold-light);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.12);
}

.answer-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.answer-btn:hover .answer-icon {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

.answer-btn.selected .answer-icon {
    background: var(--gold); /* Use gold for the selected icon too */
    border-color: var(--gold);
    color: white;
}

/* ── Email Section ── */
.email-section { 
    display: none; 
}

.email-header {
    background: var(--green);
    padding: 48px 32px 40px;
    text-align: center;
    color: white;
}

.email-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.email-header p {
    font-size: 15px;
    opacity: 0.9;
    max-width: 400px;
    margin: 0 auto;
}

.email-body {
    padding: 40px 32px;
}

.checklist-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--gold-light);
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 32px;
}

.checklist-preview .icon-svg {
    width: 32px;
    height: 32px;
    color: var(--gold);
}

.checklist-preview .text {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.checklist-preview .text span {
    display: block;
    font-weight: 400;
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus {
    border-color: var(--green);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--green);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ── Success Screen ── */
.success-screen { 
    display: none; 
    padding: 60px 32px; 
    text-align: center; 
}

.success-screen h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 12px;
}

.success-screen p {
    color: var(--muted);
    margin-bottom: 40px;
}

.pdf-container {
    margin-bottom: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #f1f5f9;
}

.pdf-header {
    padding: 12px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
}

.pdf-header .file-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
}

.pdf-view {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

.success-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.secondary-btn {
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.secondary-btn:hover {
    color: var(--green);
}

/* ── Vision Section ── */
.vision-section {
    padding: 100px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.vision-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 44px);
    text-align: center;
    margin-bottom: 60px;
}

.meme-card {
    background: var(--bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.meme-card img {
    width: 100%;
    height: auto;
    display: block;
}

.meme-caption {
    padding: 32px;
    text-align: center;
}

.meme-caption p {
    font-size: 16px;
    color: var(--muted);
    font-weight: 500;
}

/* ── Footer ── */
footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--white);
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .above-fold { padding-top: 40px; }
    .quiz-body { padding: 32px 20px; }
    .pdf-view { height: 400px; }
}
