/*
Theme Name: SelfAwareSurvivor
Description: Custom theme for SelfAwareSurvivor.com — resources for self-aware survivors of abuse.
Author: Todd Doyle
Version: 0.1.0
Text Domain: selfawaresurvivor
*/

:root {
    --primary: #0D3B66;
    --primary-light: #1E4E79;
    --accent: #F59E0B;
    --accent-hover: #D97706;
    --mint: #10B981;
    --bg-warm: #FAFAF8;
    --surface: #FFFFFF;
    --text-main: #111827;
    --text-muted: #4B5563;
    --danger: #EF4444;
    --border: #E5E7EB;
    --radius: 12px;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); background-color: var(--bg-warm); color: var(--text-main); line-height: 1.6; }

.safety-bar {
    background-color: #1E1E2E;
    color: #F3F4F6;
    padding: 8px 16px;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.quick-exit-btn {
    background-color: var(--danger);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.logo { font-size: 1.4rem; font-weight: 800; color: var(--primary); text-decoration: none; }
.logo span { color: var(--accent); }
.site-nav { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.site-nav a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.site-nav a:hover, .site-nav a.active { color: var(--primary); }

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

.page-card { background: var(--surface); padding: 40px; border-radius: var(--radius); border: 1px solid var(--border); margin: 40px 0; }
.page-card h1 { color: var(--primary); font-size: 2.2rem; margin-bottom: 16px; }
.page-card h2 { color: var(--primary); font-size: 1.4rem; margin: 24px 0 12px; }
.page-card p { margin-bottom: 16px; color: var(--text-muted); font-size: 1.05rem; }

.hero { padding: 60px 0 40px; text-align: center; }
.tagline { display: inline-block; background: #FEF3C7; color: #92400E; font-weight: 700; padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; margin-bottom: 16px; }
.hero h1 { font-size: 2.75rem; font-weight: 800; color: var(--primary); line-height: 1.25; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 720px; margin: 0 auto 30px; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary { background: var(--accent); color: white; font-weight: 700; padding: 14px 28px; border-radius: var(--radius); text-decoration: none; font-size: 1.1rem; border: none; cursor: pointer; display: inline-block; transition: background 0.2s; text-align: center; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--primary); font-weight: 700; padding: 14px 28px; border-radius: var(--radius); text-decoration: none; font-size: 1.1rem; border: 2px solid var(--primary); cursor: pointer; display: inline-block; }
.btn-secondary:hover { background: #F0F4F8; }

.pain-section { background: var(--surface); padding: 50px; border-radius: var(--radius); border: 1px solid var(--border); margin: 40px 0; }
.pain-section h2 { color: var(--primary); font-size: 2rem; margin-bottom: 20px; }
.checklist { list-style: none; margin: 20px 0; }
.checklist li { padding: 10px 0; border-bottom: 1px dashed var(--border); display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; }
.checklist li::before { content: "✓"; color: var(--mint); font-weight: 800; }

.offer-card { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: white; padding: 50px; border-radius: var(--radius); text-align: center; margin: 50px 0; }
.offer-card h2 { font-size: 2.2rem; margin-bottom: 16px; color: #FFFFFF; }
.price { font-size: 2.5rem; font-weight: 800; color: var(--accent); margin: 20px 0; }
.paypal-box { background: white; padding: 24px; border-radius: var(--radius); max-width: 400px; margin: 20px auto 0; color: var(--text-main); }

.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 2000; align-items: center; justify-content: center; }
.modal-card { background: white; width: 90%; max-width: 480px; border-radius: var(--radius); overflow: hidden; position: relative; }
.modal-header { padding: 20px; background: var(--primary); color: white; display: flex; justify-content: space-between; align-items: center; }
.close-modal { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.modal-body { padding: 24px; text-align: center; }
.tiktok-preview { background: #000; color: white; height: 200px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-weight: 700; flex-direction: column; gap: 8px; }
.sendy-form input { width: 100%; padding: 12px; margin-bottom: 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 1rem; }

.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--text-main); color: white; padding: 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.9rem; z-index: 999; }
.cookie-banner button { background: var(--mint); color: white; border: none; padding: 8px 16px; border-radius: 6px; font-weight: 700; cursor: pointer; }

.site-footer { text-align: center; padding: 40px 0; color: var(--text-muted); font-size: 0.9rem; border-top: 1px solid var(--border); margin-top: 60px; }
.site-footer a { color: var(--primary); text-decoration: none; margin: 0 8px; }
