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

:root {
    --brand-dark: #0f131a;
    --brand-header-start: #1a202c;
    --brand-header-end: #0b0e14;
    --accent-coral: #ff4d7d;
    --accent-coral-hover: #f03a66;
    --accent-coral-soft: rgba(255, 77, 125, 0.12);
    --clinical-indigo: #6366f1;
    --clinical-indigo-soft: rgba(99, 102, 241, 0.1);
    --clinical-relief: #10b981;
    --clinical-relief-soft: rgba(16, 185, 129, 0.1);
    --clinical-warn: #f59e0b;
    --clinical-warn-soft: rgba(245, 158, 11, 0.12);
    --ink-primary: #19212c;
    --ink-secondary: #4a5568;
    --ink-muted: #718096;
    --surface-white: #ffffff;
    --surface-ground: #f6f8fb;
    --surface-card: #f9fbfd;
    --border-subtle: #e2e8f0;
    --border-strong: #cbd5e1;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-soft: 0 10px 35px -5px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.05);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.65;
    color: var(--ink-primary);
    background: linear-gradient(145deg, #f1f4f9 0%, #e5ebf4 100%);
    min-height: 100vh;
    padding: 24px 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 860px;
    margin: 0 auto;
    background: var(--surface-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

/* Header */
header {
    background: linear-gradient(135deg, var(--brand-header-start) 0%, var(--brand-header-end) 100%);
    color: #ffffff;
    padding: 52px 36px 40px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header h1 {
    font-size: 2.35rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 24px;
    font-weight: 400;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Value Badges */
.header-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    letter-spacing: 0.2px;
}

.pill-badge.accent {
    background: var(--accent-coral-soft);
    color: #ff8faf;
    border-color: rgba(255, 77, 125, 0.35);
}

.pill-badge.relief {
    background: var(--clinical-relief-soft);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.35);
}

/* Nav */
nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

nav a {
    color: #e2e8f0;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

nav a:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    transform: translateY(-1px);
}

nav a.active {
    background: var(--accent-coral);
    border-color: var(--accent-coral);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(255, 77, 125, 0.35);
}

/* Main Content */
main {
    padding: 44px 38px;
}

section {
    margin-bottom: 44px;
}

h2 {
    font-size: 1.65rem;
    color: var(--ink-primary);
    margin-bottom: 22px;
    font-weight: 700;
    letter-spacing: -0.4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

h3 {
    font-size: 1.2rem;
    color: var(--ink-primary);
    margin-bottom: 10px;
    margin-top: 22px;
    font-weight: 600;
}

/* Medical & Legal Disclaimer Banner */
.legal-disclaimer-box {
    background: #fff5f7;
    border: 1px solid #fed7e2;
    border-left: 5px solid var(--accent-coral);
    padding: 22px;
    border-radius: var(--radius-md);
    margin-bottom: 36px;
}

.legal-disclaimer-box h4 {
    color: #be185d;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-disclaimer-box p {
    color: #702446;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.legal-disclaimer-box p strong {
    color: #501330;
}

/* Contact Cards */
.contact-section {
    background: var(--surface-card);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 16px;
    padding: 20px;
    background: var(--surface-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
    transition: transform 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
}

.contact-card:last-child {
    margin-bottom: 0;
}

.contact-card .icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1;
}

.contact-info h3 {
    margin-top: 0;
    margin-bottom: 4px;
    font-size: 1.1rem;
    color: var(--ink-primary);
}

.contact-info a {
    color: var(--accent-coral-hover);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info p {
    margin-top: 4px;
    color: var(--ink-secondary);
    font-size: 0.92rem;
}

/* Feature Highlights Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.feature-box {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    padding: 20px;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
}

.feature-box:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.feature-box .feat-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.feature-box h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ink-primary);
}

.feature-box p {
    font-size: 0.88rem;
    color: var(--ink-secondary);
    line-height: 1.5;
}

/* FAQ Items */
.faq-item {
    background: var(--surface-card);
    padding: 22px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    border-left: 4px solid var(--clinical-indigo);
    border-top: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    transition: transform 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.faq-item h3 {
    margin-top: 0;
    color: var(--ink-primary);
    font-size: 1.12rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--ink-secondary);
    margin-bottom: 8px;
    line-height: 1.65;
    font-size: 0.95rem;
}

.faq-item ul {
    margin-left: 20px;
    margin-top: 8px;
    color: var(--ink-secondary);
}

.faq-item li {
    margin-bottom: 6px;
    font-size: 0.93rem;
}

/* Troubleshooting */
.troubleshooting-section {
    background: #fdfaf6;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid #faead9;
}

.troubleshooting-item {
    margin-bottom: 22px;
}

.troubleshooting-item:last-child {
    margin-bottom: 0;
}

.troubleshooting-item h3 {
    color: #b45309;
    font-size: 1.12rem;
    margin-top: 0;
    margin-bottom: 8px;
}

.troubleshooting-item ul {
    margin-left: 20px;
    color: #78350f;
}

.troubleshooting-item li {
    margin-bottom: 8px;
    font-size: 0.93rem;
}

/* Review Section */
.review-section {
    text-align: center;
    padding: 44px 32px;
    background: linear-gradient(135deg, var(--brand-header-start) 0%, var(--brand-header-end) 100%);
    border-radius: var(--radius-lg);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-section h2 {
    color: #ffffff;
    justify-content: center;
    margin-bottom: 10px;
}

.review-section p {
    margin-bottom: 24px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.review-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-coral);
    color: #ffffff;
    padding: 13px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.02rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(255, 77, 125, 0.4);
}

.review-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 77, 125, 0.5);
    background: var(--accent-coral-hover);
}

/* Privacy & Terms Pages */
.privacy-section {
    background: var(--surface-card);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.last-updated {
    color: var(--ink-muted);
    font-style: italic;
    margin-bottom: 26px;
    font-size: 0.92rem;
}

.privacy-content {
    background: var(--surface-white);
    padding: 34px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
}

.privacy-content h3 {
    color: var(--ink-primary);
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.22rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 8px;
}

.privacy-content h3:first-child {
    margin-top: 0;
}

.privacy-content p {
    color: var(--ink-secondary);
    margin-bottom: 14px;
    line-height: 1.75;
    font-size: 0.96rem;
}

.privacy-content ul {
    margin-left: 22px;
    margin-bottom: 18px;
    color: var(--ink-secondary);
}

.privacy-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    font-size: 0.94rem;
}

.privacy-content a {
    color: var(--accent-coral-hover);
    text-decoration: none;
    font-weight: 500;
}

.privacy-content a:hover {
    text-decoration: underline;
}

.privacy-content strong {
    color: var(--ink-primary);
}

/* Footer */
footer {
    background: #090c12;
    color: #ffffff;
    text-align: center;
    padding: 32px 24px;
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.6;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header {
        padding: 36px 20px 28px;
    }

    header h1 {
        font-size: 1.85rem;
    }

    .subtitle {
        font-size: 1.02rem;
    }

    main {
        padding: 24px 16px;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-card .icon {
        margin: 0 auto;
    }

    nav {
        flex-direction: column;
        gap: 8px;
    }

    nav a {
        width: 100%;
        text-align: center;
    }

    h2 {
        font-size: 1.4rem;
    }

    .privacy-content {
        padding: 20px;
    }
}
