/**
 * Justice Advocates Landing Theme
 * Main Stylesheet
 */

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

:root {
    --bg: #fafafa;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    --bg-muted: #f1f5f9;
    --text: #0f172a;
    --text-muted: #64748b;
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --accent: #dc2626;
    --accent-light: #fef2f2;
    --green: #059669;
    --green-light: #ecfdf5;
    --gold: #d97706;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --font: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

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

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Alert Bar */
.alert-bar {
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.alert-bar span { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px;
}

.alert-bar .icon {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-bar .icon svg { width: 12px; height: 12px; fill: var(--primary); }

/* Header */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark svg { width: 22px; height: 22px; fill: white; }

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.header-phone .badge {
    background: var(--green-light);
    color: var(--green);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Hero */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 60px;
    align-items: start;
}

.hero-content { animation: fadeUp 0.6s ease-out; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-light);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-badge svg { width: 16px; height: 16px; fill: currentColor; }

.hero-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
}

/* Trust Row */
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-muted);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg { width: 22px; height: 22px; fill: var(--primary); }
.trust-icon.green { background: var(--green-light); }
.trust-icon.green svg { fill: var(--green); }

.trust-text { font-size: 0.9rem; }
.trust-text strong { display: block; color: var(--text); }
.trust-text span { color: var(--text-muted); font-size: 0.8rem; }

/* Hero Image */
.hero-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Social Proof Bar */
.social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-muted);
    padding: 14px 20px;
    border-radius: var(--radius);
}

.avatars {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
    color: white;
}

.avatar:first-child { margin-left: 0; }

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

.social-proof-text strong { color: var(--text); }

/* Form Card */
.form-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 90px;
    animation: fadeUp 0.6s ease-out 0.15s both;
}

.form-ribbon {
    background: var(--green);
    color: white;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-ribbon svg { width: 18px; height: 18px; fill: white; }

.form-header {
    padding: 24px 24px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.form-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
}

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

.form-timer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 12px;
}

.form-timer svg { width: 16px; height: 16px; fill: currentColor; }

.form-body { padding: 24px; }

/* Progress */
.progress-wrap { margin-bottom: 24px; }

.progress-bar {
    height: 8px;
    background: var(--bg-muted);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--green));
    border-radius: 4px;
    transition: width 0.4s ease;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.progress-meta strong { color: var(--primary); }

/* Steps */
.form-step { display: none; }
.form-step.active { display: block; animation: stepIn 0.3s ease-out; }

@keyframes stepIn {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

.step-question {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

.step-question .emoji {
    font-size: 1.3rem;
    margin-right: 8px;
}

/* Options */
.options { display: flex; flex-direction: column; gap: 12px; }

.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }

.opt-label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-muted);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s;
}

.opt-label:hover {
    border-color: var(--border);
    transform: scale(1.02);
    box-shadow: var(--shadow);
}

.opt input:checked + .opt-label {
    border-color: var(--primary);
    background: rgba(30, 64, 175, 0.05);
    transform: scale(1.02);
    box-shadow: var(--shadow);
}

.opt-emoji {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.opt-check {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
    margin-left: auto;
}

.opt input:checked + .opt-label .opt-check {
    border-color: var(--primary);
    background: var(--primary);
}

.opt input:checked + .opt-label .opt-check::after {
    content: '';
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

.opt-content { flex: 1; }
.opt-title { font-weight: 600; margin-bottom: 2px; }
.opt-desc { font-size: 0.8rem; color: var(--text-muted); }

/* Inputs */
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input-group { margin-bottom: 14px; }
.input-group.full { grid-column: 1 / -1; }

.input-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-muted);
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    transition: all 0.15s;
}

.input-field::placeholder { color: var(--text-muted); }
.input-field:focus { outline: none; border-color: var(--primary); background: var(--bg-white); }
.input-field.error { border-color: var(--accent); background: var(--accent-light); }

.input-error {
    font-size: 0.75rem;
    color: var(--accent);
    margin-top: 4px;
    display: none;
}

.input-field.error + .input-error { display: block; }

/* Buttons */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.5);
}

.btn-back {
    background: var(--bg-muted);
    color: var(--text-muted);
    width: auto;
    padding: 16px;
}

.btn-back:hover { background: var(--border); }

.btn svg { width: 18px; height: 18px; fill: currentColor; }

.btn-group { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 20px; }

.btn.loading { pointer-events: none; position: relative; }
.btn.loading span { opacity: 0; }
.btn.loading::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Legal */
.legal-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
    line-height: 1.6;
}

.legal-text a { color: var(--text); text-decoration: underline; }

/* Form Footer */
.form-footer {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 16px;
    background: var(--bg-muted);
    border-top: 1px solid var(--border);
}

.form-footer-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.form-footer-item svg { width: 14px; height: 14px; fill: var(--green); }

/* Success */
.success-state { text-align: center; padding: 32px 0; }

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: pop 0.5s ease-out;
}

@keyframes pop {
    0% { transform: scale(0); }
    70% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.success-icon svg { width: 40px; height: 40px; fill: white; }
.success-state h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.success-state p { color: var(--text-muted); margin-bottom: 8px; }
.success-state .highlight { color: var(--green); font-weight: 600; }

.success-steps {
    background: var(--bg-muted);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 24px;
    text-align: left;
}

.success-steps h4 {
    font-size: 0.9rem;
    margin-bottom: 16px;
    text-align: center;
}

.success-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
}

.success-step-num {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.success-step-text { font-size: 0.9rem; color: var(--text-muted); }
.success-step-text strong { color: var(--text); }

/* === ARTICLE SECTION === */
.article-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
}

.article-content { max-width: 700px; }

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 48px 0 20px;
    line-height: 1.3;
}

.article-content h2:first-child { margin-top: 0; }

.article-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.article-content strong { color: var(--text); }

.article-content ul {
    color: var(--text-muted);
    margin: 20px 0 20px 24px;
}

.article-content li { margin-bottom: 12px; }

/* Quote Block */
.quote-block {
    background: var(--bg-muted);
    border-left: 4px solid var(--primary);
    padding: 28px 32px;
    margin: 40px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.quote-block blockquote {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 16px;
    color: var(--text);
}

.quote-block cite {
    display: flex;
    align-items: center;
    gap: 12px;
    font-style: normal;
}

.quote-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.quote-meta { font-size: 0.9rem; }
.quote-meta strong { display: block; color: var(--text); }
.quote-meta span { color: var(--text-muted); font-size: 0.8rem; }

.quote-disclaimer {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 12px;
    font-style: normal;
}

/* CTA Block */
.cta-block {
    background: var(--primary);
    color: white;
    padding: 32px;
    border-radius: var(--radius);
    margin: 40px 0;
    text-align: center;
}

.cta-block h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.cta-block p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.cta-block .btn {
    background: white;
    color: var(--primary);
    max-width: 300px;
    margin: 0 auto;
}

.cta-block .btn:hover { background: var(--bg-muted); }

/* Process Cards */
.process-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.process-card {
    background: var(--bg-muted);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
}

.process-card-num {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.process-card h4 { font-size: 1rem; margin-bottom: 8px; }
.process-card p { font-size: 0.85rem; color: var(--text-muted); }

/* Sidebar */
.sidebar-card {
    background: var(--bg-muted);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.sidebar-card h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    text-align: center;
}

.sidebar-cta {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--primary);
    border-radius: 10px;
    text-align: center;
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.sidebar-cta:hover { background: var(--primary-dark); transform: scale(1.02); }

.sidebar-list { list-style: none; }

.sidebar-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.sidebar-list li:last-child { border: none; padding-bottom: 0; }
.sidebar-list svg { width: 20px; height: 20px; fill: var(--green); flex-shrink: 0; margin-top: 2px; }

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    background: var(--bg-muted);
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.2s;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars svg { width: 18px; height: 18px; fill: var(--gold); }

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.testimonial-name { font-weight: 600; }
.testimonial-loc { font-size: 0.8rem; color: var(--text-muted); }

.testimonial-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 32px;
}

/* Final CTA */
.final-cta {
    padding: 80px 0;
    background: var(--primary);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.final-cta p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .btn {
    background: white;
    color: var(--primary);
    max-width: 360px;
    margin: 0 auto;
    padding: 20px 32px;
    font-size: 1.1rem;
}

.final-cta .btn:hover { background: var(--bg-muted); transform: scale(1.03); }

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

.footer a { color: var(--text); }

.footer-disclaimer {
    background: var(--bg-muted);
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    text-align: left;
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-disclaimer strong {
    color: var(--text);
}

/* Mobile CTA */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    z-index: 99;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

.mobile-cta .btn { margin: 0; }

/* Toast */
.toast {
    position: fixed;
    bottom: 100px;
    left: 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    transform: translateX(-120%);
    transition: transform 0.4s ease;
    z-index: 98;
    max-width: 320px;
}

.toast.show { transform: translateX(0); }

.toast-icon {
    width: 40px;
    height: 40px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon svg { width: 20px; height: 20px; fill: var(--green); }
.toast-text { font-size: 0.85rem; }
.toast-text strong { color: var(--text); display: block; }
.toast-text span { color: var(--text-muted); font-size: 0.75rem; }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: 16px;
    max-width: 800px;
    max-height: 90vh;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-muted);
    border-radius: 50%;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    z-index: 10;
}

.modal-close:hover {
    background: var(--border);
    color: var(--text);
}

.modal-body {
    padding: 40px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-body h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.modal-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.modal-body h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--text);
}

.modal-body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 20px 0 8px;
    color: var(--text);
}

.modal-body p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.modal-body ul {
    color: var(--text-muted);
    margin: 12px 0 20px 24px;
    line-height: 1.7;
}

.modal-body li {
    margin-bottom: 8px;
}

.modal-body strong {
    color: var(--text);
}

.ccpa-form {
    background: var(--bg-muted);
    padding: 24px;
    border-radius: var(--radius);
    margin: 20px 0;
}

.ccpa-form .input-group {
    margin-bottom: 12px;
}

/* Confetti */
.confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 20px;
    top: -20px;
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid, .article-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-card, .sidebar-card { position: relative; top: 0; max-width: 480px; margin: 0 auto; }
    .testimonials-grid, .process-cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .mobile-cta { display: block; }
    .toast { display: none; }
}

@media (max-width: 640px) {
    .hero { padding: 40px 0 60px; }
    .trust-row { flex-direction: column; gap: 16px; }
    .input-row { grid-template-columns: 1fr; }
    .btn-group { grid-template-columns: 1fr; }
    .btn-back { order: 2; }
    .header-phone span:not(.badge) { display: none; }
    .alert-bar { font-size: 0.8rem; padding: 10px 16px; }
    .modal-body { padding: 24px; }
    .modal-body h1 { font-size: 1.5rem; padding-right: 40px; }
    .modal-close { top: 12px; right: 12px; }
}
