/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy: #1a1a2e;
    --navy-light: #16213e;
    --sunset: #e94560;
    --sunset-soft: #ff6b6b;
    --orange: #f5a623;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --radius: 12px;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
}

a { color: inherit; text-decoration: none; }

/* Nav Bar */
.nav-bar {
    background: var(--navy);
    border-bottom: 3px solid var(--sunset);
    position: sticky;
    top: 0;
    z-index: 50;
}
.nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}
.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}
.nav-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}
.nav-links a.active {
    color: white;
    background: var(--sunset);
    font-weight: 600;
}

/* Sidebar toggle button */
.nav-sidebar-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nav-sidebar-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: rgba(255,255,255,0.8);
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-sidebar-btn:hover span {
    background: white;
}

/* Sidebar */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26,26,46,0.4);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.3s;
}
.sidebar-overlay.open {
    display: block;
    opacity: 1;
}
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 100;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    transition: right 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.sidebar.open {
    right: 0;
}
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-200);
}
.sidebar-header span {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
}
.sidebar-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--gray-400);
    padding: 4px 8px;
    border-radius: 4px;
}
.sidebar-close:hover {
    color: var(--navy);
    background: var(--gray-50);
}
.sidebar-section {
    padding: 16px 20px 8px;
}
.sidebar-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 8px;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 2px;
    border-radius: 8px;
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.sidebar-link:hover {
    background: var(--gray-50);
    color: var(--navy);
}
.sidebar-link.active {
    background: rgba(233, 69, 96, 0.08);
    color: var(--sunset);
    font-weight: 600;
}
.sidebar-link-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.sidebar-link-badge {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    background: #fef2f2;
    color: var(--sunset);
}
.sidebar-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 8px 20px;
}
.sidebar-footer {
    margin-top: auto;
    padding: 16px 20px;
    border-top: 1px solid var(--gray-200);
    font-size: 0.75rem;
    color: var(--gray-400);
    line-height: 1.5;
}

/* Hide desktop links on mobile, always show sidebar button */
@media (max-width: 768px) {
    .nav-links { display: none; }
}

/* Hero */
.hero {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    text-align: center;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--navy);
    margin-bottom: 24px;
}
.hero-sub {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* What */
.what {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 60px;
}
.what-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 40px;
}
.what-box h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 16px;
}
.what-box p {
    color: var(--gray-600);
    margin-bottom: 12px;
}
.what-box p:last-child { margin-bottom: 0; }

/* Guides */
.guides {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
}
.guides h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 24px;
}
.guide-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.guide-card:hover {
    border-color: var(--sunset);
    box-shadow: 0 4px 24px rgba(233, 69, 96, 0.1);
}
.guide-badge {
    display: inline-block;
    background: #fef2f2;
    color: var(--sunset);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.guide-card h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 8px;
}
.guide-card p {
    color: var(--gray-600);
    margin-bottom: 16px;
}
.guide-cta {
    color: var(--sunset);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Footer */
footer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px;
    border-top: 1px solid var(--gray-200);
    text-align: center;
    color: var(--gray-400);
    font-size: 0.85rem;
}

/* === Delighted Campaign Page === */

.campaign-hero {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    text-align: center;
}
.campaign-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--navy);
    margin-bottom: 16px;
}
.campaign-hero .deadline-badge {
    display: inline-block;
    background: var(--sunset);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.campaign-hero p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px;
}
.section h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 20px;
}
.section p, .section li {
    color: var(--gray-600);
    margin-bottom: 12px;
}
.section ul {
    list-style: none;
    padding: 0;
}
.section ul li::before {
    content: "⚠️ ";
}
.section ul.check li::before {
    content: "✓ ";
    color: var(--sunset);
    font-weight: 700;
}
.section ol {
    padding-left: 20px;
}
.section ol li {
    padding-left: 8px;
    margin-bottom: 10px;
}

/* Alert box */
.alert {
    background: #fef2f2;
    border-left: 4px solid var(--sunset);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 24px 0;
}
.alert p {
    color: var(--gray-800);
    font-weight: 500;
    margin: 0;
}

/* Comparison Table */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    font-size: 0.9rem;
}
.comparison-table thead {
    background: var(--navy);
    color: white;
}
.comparison-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}
.comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
}
.comparison-table tbody tr:hover {
    background: var(--gray-50);
}
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Recommendation cards */
.rec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 24px 0;
}
.rec-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
}
.rec-card h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 4px;
}
.rec-card .rec-for {
    font-size: 0.8rem;
    color: var(--sunset);
    font-weight: 600;
    margin-bottom: 8px;
}
.rec-card p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.btn {
    display: inline-block;
    background: var(--sunset);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.2s;
}
.btn:hover {
    background: #d63851;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 8px;
}
.faq-item p {
    margin-bottom: 0;
}

/* Disclosure */
.disclosure {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 40px;
    font-size: 0.8rem;
    color: var(--gray-400);
    text-align: center;
}

/* Table of Contents */
.toc {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px 32px;
}
.toc strong {
    display: block;
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 0.95rem;
}
.toc ol {
    padding-left: 20px;
}
.toc li {
    margin-bottom: 6px;
    font-size: 0.9rem;
}
.toc a {
    color: var(--sunset);
    text-decoration: none;
    font-weight: 500;
}
.toc a:hover {
    text-decoration: underline;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 24px;
    border-left: 3px solid var(--gray-200);
    margin: 20px 0;
}
.timeline-item {
    position: relative;
    padding-bottom: 20px;
    padding-left: 20px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-200);
    border: 3px solid white;
}
.timeline-item.past::before { background: var(--gray-400); }
.timeline-item.current::before { background: var(--sunset); box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.2); }
.timeline-item.future::before { background: var(--navy); }
.timeline-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-400);
    margin-bottom: 4px;
}
.timeline-item.current .timeline-date { color: var(--sunset); }
.timeline-text {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Section headings */
.section h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    color: var(--navy);
    margin-top: 28px;
    margin-bottom: 12px;
}
.section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 20px;
    margin-bottom: 8px;
}

/* Mobile */
@media (max-width: 640px) {
    .hero { padding: 50px 20px 40px; }
    .what-box { padding: 24px; }
    .guide-card { padding: 24px; }
    .section { padding: 30px 20px; }
    .rec-grid { grid-template-columns: 1fr; }
}
