/* Shared styles for secondary pages */
:root {
    --move: #E85A5A;
    --fuel: #5ABF6A;
    --rest: #E8A54A;
    --rise: #9B7EC8;
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --bg-section: #161616;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, var(--move), var(--fuel), var(--rest), var(--rise));
    --shadow-card: none;
    --shadow-card-hover: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Light Theme — Warm & Soft */
[data-theme="light"] {
    --bg-dark: #F8F7F4;
    --bg-card: #FFFFFF;
    --bg-section: #F0EDE8;
    --text-primary: #1a1a1a;
    --text-secondary: rgba(0, 0, 0, 0.6);
    --text-muted: rgba(0, 0, 0, 0.4);
    --border: rgba(0, 0, 0, 0.08);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.03);
    --shadow-card-hover: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--bg-dark, #0a0a0a);
    color: var(--text-primary, #ffffff);
    padding: 8px 16px;
    z-index: 10001;
    transition: top 0.2s;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--rise);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
.header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 100;
}

[data-theme="light"] .header {
    background: rgba(248, 247, 244, 0.95);
}

[data-theme="light"] .contact-card {
    box-shadow: var(--shadow-card);
}

[data-theme="light"] .blog-card {
    box-shadow: var(--shadow-card);
}

[data-theme="light"] .blog-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.header-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.25rem;
}

.logo:hover {
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.header-nav a:hover {
    color: var(--text-primary);
}

.header-nav .nav-cta {
    background: linear-gradient(135deg, var(--move), var(--rest));
    color: var(--text-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
}

.header-nav .nav-cta:hover {
    opacity: 0.9;
}

/* Main Content */
.main {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
    flex: 1;
}

.main.legal {
    max-width: 900px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Sections */
.section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-content {
    color: var(--text-secondary);
}

.section-content p {
    margin-bottom: 1rem;
}

.section-content ul {
    margin: 1rem 0 1rem 1.5rem;
}

.section-content li {
    margin-bottom: 0.5rem;
}

.muted {
    color: var(--text-muted);
    font-style: italic;
}

/* Pillars Grid (About page) */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pillar-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.pillar-item h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.pillar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.pillar-item.move .pillar-dot {
    background: var(--move);
}

.pillar-item.fuel .pillar-dot {
    background: var(--fuel);
}

.pillar-item.rest .pillar-dot {
    background: var(--rest);
}

.pillar-item.rise .pillar-dot {
    background: var(--rise);
}

.pillar-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Coming Soon (Blog page) */
.coming-soon {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.coming-soon-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--rise);
}

.coming-soon-icon svg {
    width: 100%;
    height: 100%;
}

.coming-soon h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.coming-soon p {
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto 1.5rem;
}

/* Press page */
.highlight-email {
    font-size: 1.25rem;
    margin-top: 1rem;
}

.brand-assets {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.brand-asset {
    text-align: center;
}

.logo-preview {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 0.75rem;
}

.brand-colors h3 {
    margin-bottom: 1rem;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.swatch {
    width: 100px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 0.5rem;
}

.swatch span {
    font-size: 0.65rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--text-secondary);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-icon.support {
    color: var(--fuel);
}

.contact-icon.press {
    color: var(--rise);
}

.contact-icon.privacy {
    color: var(--rest);
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.contact-email {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rise);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* FAQ / Help page */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-item summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 500;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 1.25rem 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.help-contact {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.help-contact p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.cta-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1rem;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

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

.footer-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-social a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Blog listing */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.blog-card:hover {
    border-color: var(--chart-card-border-hover, rgba(255, 255, 255, 0.2));
    transform: translateY(-2px);
}

.blog-card a {
    text-decoration: none;
    color: inherit;
}

.blog-card-body {
    padding: 2rem;
}

.blog-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.blog-card-tag.wellness {
    background: rgba(155, 126, 200, 0.15);
    color: var(--rise);
}

.blog-card-tag.product {
    background: rgba(232, 90, 90, 0.15);
    color: var(--move);
}

.blog-card-tag.science {
    background: rgba(90, 191, 106, 0.15);
    color: var(--fuel);
}

.blog-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-card-meta svg {
    width: 14px;
    height: 14px;
}

.blog-read-more {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--rise);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-read-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.blog-card:hover .blog-read-more svg {
    transform: translateX(3px);
}

/* Blog article page */
.blog-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0 2.5rem;
}

.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 2rem;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-back:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.blog-back svg {
    width: 16px;
    height: 16px;
}

.blog-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-article-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-article-meta svg {
    width: 14px;
    height: 14px;
}

.blog-article-body h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
}

.blog-article-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: var(--text-primary);
}

.blog-article-body p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.blog-article-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.blog-article-body em {
    color: var(--text-secondary);
}

.blog-article-body a {
    color: var(--rise);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-article-body a:hover {
    color: #b89edf;
}

.blog-article-body ul,
.blog-article-body ol {
    margin: 0.75rem 0 1.25rem 1.5rem;
    color: var(--text-secondary);
}

.blog-article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.blog-callout {
    background: var(--bg-card);
    border-left: 3px solid var(--rise);
    border-radius: 0 10px 10px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
}

.blog-callout p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
    font-style: italic;
}

.blog-pillars-visual {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.blog-pillar-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.blog-pillar-chip .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.blog-questions {
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.blog-questions p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.blog-questions p:last-child {
    margin-bottom: 0;
}

.blog-sources {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.blog-sources h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.blog-sources ol {
    margin: 0 0 0 1.25rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.blog-sources li {
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.blog-sources a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-word;
}

.blog-sources a:hover {
    color: var(--rise);
}

.blog-cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    margin-top: 3rem;
}

.blog-cta-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.blog-cta-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .header-nav {
        gap: 0.75rem;
    }

    .header-nav a:not(.nav-cta) {
        font-size: 0.8rem;
    }

    .header-nav .nav-cta {
        font-size: 0.75rem;
        padding: 0.4rem 0.9rem;
    }

    .main {
        padding: 2rem 1.25rem 3rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .pillars-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .brand-assets {
        flex-direction: column;
        align-items: center;
    }

    .color-swatches {
        justify-content: center;
    }

    .blog-pillars-visual {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Breadcrumb Navigation ──────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-tertiary, rgba(255, 255, 255, 0.5));
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--text-secondary, rgba(255, 255, 255, 0.7));
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--text-primary, #fff);
}

.breadcrumb span[aria-hidden] {
    opacity: 0.4;
    font-size: 0.75rem;
}

.breadcrumb span[aria-current] {
    color: var(--text-tertiary, rgba(255, 255, 255, 0.5));
}

/* ── HTML Sitemap Page ──────────────────────────────────────── */
.sitemap-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.sitemap-group h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary, #fff);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-primary, rgba(255, 255, 255, 0.1));
}

.sitemap-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-group li {
    margin-bottom: 0.5rem;
}

.sitemap-group a {
    color: var(--text-secondary, rgba(255, 255, 255, 0.7));
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.sitemap-group a:hover {
    color: var(--text-primary, #fff);
}

/* ── Toast Notifications ────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card, #111111);
    color: var(--text-primary, #ffffff);
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-success {
    border-color: rgba(90, 191, 106, 0.3);
}

.toast-error {
    border-color: rgba(232, 90, 90, 0.3);
}

.toast-info {
    border-color: rgba(90, 200, 250, 0.3);
}