/**
 * NumericalKey — Soothing Indian Vedic theme
 * Muted terracotta · Dusty gold · Soft mauve · Warm cream
 */

:root {
    --saffron: #B8875E;
    --saffron-light: #D4A574;
    --gold: #C4A574;
    --gold-dark: #A68B5B;
    --maroon: #9E5A66;
    --maroon-deep: #6B4550;
    --royal-purple: #6E5C7A;
    --lotus-pink: #A67B8E;

    --primary-color: #7E6B8F;
    --primary-light: #9A8AA8;
    --primary-dark: #5E4F6E;
    --secondary-color: var(--saffron);
    --accent-color: var(--maroon);

    --background-color: #FAF8F5;
    --surface-color: #FDFCFB;
    --surface-light: #F7F3EE;
    --surface-accent: #F0EBE4;
    --text-primary: #3D3229;
    --text-secondary: #5C5048;
    --text-muted: #8A7B6E;
    --border-color: #E5DDD3;

    --navbar-height: 76px;

    --gradient-primary: linear-gradient(135deg, #B8875E 0%, #C4A574 40%, #8E7A9B 75%, #9E5A66 100%);
    --gradient-secondary: linear-gradient(160deg, #F7F3EE 0%, #F0EBE4 50%, #F5F0F5 100%);
    --gradient-hero: linear-gradient(135deg,
        rgba(184, 135, 94, 0.12) 0%,
        rgba(196, 165, 116, 0.1) 35%,
        rgba(142, 122, 155, 0.1) 65%,
        rgba(158, 90, 102, 0.08) 100%);
    --gradient-footer: linear-gradient(160deg, #3D3229 0%, #5E4F6E 50%, #6B4550 100%);
    --gradient-saffron: linear-gradient(135deg, #B8875E, #C4A574);
    --gradient-lotus: linear-gradient(135deg, #8E7A9B, #A67B8E);
    --gradient-button: linear-gradient(135deg, #9E7E62 0%, #8E6B7A 55%, #7A6B8F 100%);

    --shadow-soft: 0 8px 24px rgba(61, 50, 41, 0.06);
    --shadow-medium: 0 16px 36px rgba(94, 79, 110, 0.1);
    --shadow-strong: 0 24px 48px rgba(107, 69, 80, 0.12);

    --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --pattern-mandala: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23B8875E' stroke-opacity='0.04' stroke-width='1'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3Ccircle cx='40' cy='40' r='18'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3Cpath d='M40 10 L40 70 M10 40 L70 40'/%3E%3C/g%3E%3C/svg%3E");
}

body {
    background-color: var(--background-color);
    background-image: var(--pattern-mandala);
    background-size: 80px 80px;
}

/* Logo — generated mandala emblem */
.logo-link {
    gap: 10px;
}

.logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    background: transparent;
    border: none;
    border-radius: 0;
    filter: drop-shadow(0 2px 6px rgba(94, 79, 110, 0.12));
}

.logo-wordmark {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--maroon-deep);
    letter-spacing: 0.02em;
}

.hero-logo {
    margin-bottom: var(--spacing-md);
}

.hero-logo-img {
    height: 140px;
    width: 140px;
    object-fit: contain;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 4px 16px rgba(94, 79, 110, 0.15));
}

.footer-logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    background: transparent;
    border: none;
    border-radius: 0;
    opacity: 0.95;
}

/* Hero stats — visible numbers */
.hero-stats {
    gap: var(--spacing-md);
}

.stat {
    background: rgba(253, 252, 251, 0.92);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    min-width: 150px;
    box-shadow: var(--shadow-soft);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--maroon-deep);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: currentColor;
    background-clip: unset;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.highlight {
    background: linear-gradient(135deg, #9E7E62 0%, #8E6B7A 50%, #9E5A66 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-badge {
    background: rgba(253, 252, 251, 0.75);
    border: none;
    box-shadow: none;
    color: var(--text-secondary);
    font-family: var(--font-display);
    letter-spacing: 0.5px;
}

.hero-badge i {
    color: var(--saffron);
}

/* Navigation */
.navbar {
    background: rgba(250, 248, 245, 0.94);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-container {
    height: 76px;
}

.nav-link::after {
    background: var(--gradient-saffron);
    height: 2px;
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--maroon-deep);
}

.hamburger .bar {
    background: var(--text-secondary);
}

/* Buttons */
.btn-primary {
    color: #FDFCFB;
    background: var(--gradient-button);
    box-shadow: 0 4px 16px rgba(94, 79, 110, 0.18);
    font-weight: 600;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(94, 79, 110, 0.22);
    filter: brightness(1.03);
}

.btn-secondary {
    color: var(--maroon-deep);
    border-color: var(--border-color);
    background: var(--surface-light);
}

.btn-secondary:hover {
    background: var(--surface-accent);
    color: var(--maroon-deep);
    border-color: var(--saffron-light);
}

/* Hero */
.hero-video {
    filter: sepia(0.2) saturate(0.75) brightness(0.9);
}

.hero-overlay {
    background:
        var(--gradient-hero),
        radial-gradient(ellipse at 50% 80%, rgba(196, 165, 116, 0.08) 0%, transparent 60%);
}

.floating-number {
    font-family: var(--font-display);
    color: rgba(184, 135, 94, 0.22);
    text-shadow: none;
}

.shape {
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(135deg, rgba(184, 135, 94, 0.06), rgba(142, 122, 155, 0.05));
    border: 1px solid rgba(196, 165, 116, 0.12);
}

.hero-title {
    font-family: var(--font-display);
    color: var(--text-primary);
}

.hero-subtitle {
    color: var(--text-secondary);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-mini-form {
    background: rgba(253, 252, 251, 0.96);
    border-color: var(--border-color);
    box-shadow: var(--shadow-soft);
}

.hero-mini-label {
    color: var(--maroon-deep);
}

.hero-mini-or a {
    color: var(--maroon-deep);
}

.hero-mini-or a:hover {
    color: var(--maroon);
}

.hero-trust-title {
    color: var(--maroon-deep);
}

.hero-trust-note {
    color: var(--text-secondary);
}

.scroll-arrow {
    border-color: var(--saffron-light);
}

.scroll-indicator span {
    color: var(--text-secondary);
    font-family: var(--font-display);
}

/* Section headers */
.section-title {
    font-family: var(--font-display);
    color: var(--maroon-deep);
    position: relative;
    display: inline-block;
}

.section-header .section-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    margin: 12px auto 0;
    background: var(--gradient-saffron);
    border-radius: 3px;
    box-shadow: none;
}

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

/* About */
.about {
    background: var(--gradient-secondary);
}

.about::before {
    background: var(--pattern-mandala);
    opacity: 0.35;
}

.about-text h3 {
    color: var(--maroon-deep);
    font-family: var(--font-display);
}

.feature {
    background: rgba(253, 252, 251, 0.85);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--saffron-light);
}

.feature:hover {
    border-left-color: var(--maroon);
    background: #FFFFFF;
}

.feature-icon {
    background: var(--gradient-button);
    color: #FDFCFB;
    box-shadow: 0 3px 10px rgba(94, 79, 110, 0.15);
}

.about-image {
    border: 2px solid var(--border-color);
    border-image: none;
}

.play-button {
    color: var(--maroon-deep);
}

.floating-element {
    background: var(--gradient-saffron);
    opacity: 0.9;
}

/* Calculator */
.calculator {
    background: var(--surface-color);
}

.calculator-form,
.calculator-results,
.contact-form {
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--saffron-light);
    background: var(--surface-light);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--saffron-light);
    box-shadow: 0 0 0 3px rgba(184, 135, 94, 0.12);
}

.result-card {
    border-top: 2px solid var(--gold);
    background: #FFFFFF;
}

.result-card:hover {
    border-top-color: var(--maroon);
    box-shadow: var(--shadow-soft);
}

.result-label {
    color: var(--maroon-deep);
    font-family: var(--font-display);
}

/* Meanings */
.meanings {
    background: var(--gradient-secondary);
}

.meaning-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.meaning-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-saffron);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.meaning-card:hover::before {
    opacity: 1;
}

.meaning-card:hover {
    border-color: var(--saffron-light);
}

.meaning-number {
    background: var(--gradient-button);
    color: #FDFCFB;
    font-family: var(--font-display);
    box-shadow: 0 4px 12px rgba(94, 79, 110, 0.12);
}

.meaning-card h3 {
    color: var(--maroon-deep);
    font-family: var(--font-display);
}

/* Testimonials */
.testimonial-card {
    border-left: 3px solid var(--gold);
    background: var(--surface-light);
}

/* Contact */
.contact-item i {
    color: #FDFCFB;
    background: var(--gradient-button);
}

/* Pricing */
.pricing-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, #F7F3EE 0%, #FDFCFB 50%, #F5F0F5 100%);
    position: relative;
}

.pricing-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--pattern-mandala);
    opacity: 0.25;
    pointer-events: none;
}

.pricing-section .container {
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
    align-items: stretch;
}

.pricing-grid--primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-intro {
    max-width: 640px;
    margin: var(--spacing-md) auto 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pricing-more-options {
    margin-top: 32px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.6);
    overflow: hidden;
}

.pricing-more-options summary {
    cursor: pointer;
    padding: 16px 24px;
    font-weight: 600;
    color: var(--maroon-deep);
    list-style: none;
    text-align: center;
    transition: background var(--transition-normal);
}

.pricing-more-options summary::-webkit-details-marker {
    display: none;
}

.pricing-more-options summary:hover {
    background: rgba(158, 126, 98, 0.08);
}

.pricing-more-options[open] summary {
    border-bottom: 1px solid var(--border-color);
}

.pricing-grid--secondary {
    padding: 24px;
    margin-top: 0;
}

@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-grid--primary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid--primary {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px 24px;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    min-height: 280px;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.pricing-card h3 {
    font-family: var(--font-display);
    color: var(--maroon-deep);
    margin: 0 0 8px;
}

.pricing-card .price {
    font-size: 2.25rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin: 8px 0;
}

.pricing-card .price-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.55;
    flex: 1 1 auto;
    margin: 0 0 20px;
    min-height: 4.5em;
}

.pricing-card--featured {
    border-color: var(--saffron-light);
    box-shadow: 0 8px 24px rgba(184, 135, 94, 0.12);
    padding-top: 36px;
}

.pricing-card--yearpass {
    border-color: rgba(5, 150, 105, 0.35);
}

.pricing-card--yearpass .price {
    color: #059669;
}

.pricing-card--featured .price {
    color: var(--saffron);
}

.pricing-card--compat {
    border-color: rgba(166, 123, 142, 0.4);
}

.pricing-card--compat .price {
    color: var(--lotus-pink);
}

.pricing-card--business {
    border-color: rgba(158, 126, 98, 0.45);
}

.pricing-card--business .price {
    color: var(--saffron);
}

.pricing-card--corrections {
    border-color: rgba(166, 123, 142, 0.4);
}

.pricing-card--corrections .price {
    color: var(--lotus-pink);
}

.pricing-card--free .price {
    color: var(--royal-purple);
}

.pricing-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    line-height: 1.25;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.pricing-btn--outline {
    background: transparent;
    color: var(--maroon-deep);
    border: 2px solid var(--saffron-light);
}

.pricing-btn--outline:hover {
    background: rgba(196, 165, 116, 0.12);
    transform: translateY(-1px);
}

.pricing-btn--action {
    background: linear-gradient(135deg, #9E7E62, #8E6B7A);
    color: #FDFCFB;
    border: none;
}

.pricing-btn--action:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(158, 126, 98, 0.22);
}

.pricing-btn--featured {
    box-shadow: 0 4px 14px rgba(158, 126, 98, 0.2);
}

.pricing-btn--yearpass {
    background: linear-gradient(135deg, #059669, #047857);
    color: #FDFCFB;
    border: none;
}

.pricing-btn--yearpass:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.22);
}

/* Legacy aliases — keep for any dynamic markup */
.pricing-btn--business,
.pricing-btn--compat,
.pricing-btn--corrections {
    background: linear-gradient(135deg, #9E7E62, #8E6B7A);
    color: #FDFCFB;
    border: none;
}

.pricing-btn--business:hover,
.pricing-btn--compat:hover,
.pricing-btn--corrections:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(158, 126, 98, 0.22);
}

/* Premium Advisor chatbot — hidden until full report unlocked */
.chatbot-container.is-visible {
    display: block;
}
.chatbot-container.chatbot--premium .chatbot-toggle {
    background: linear-gradient(135deg, #9E7E62 0%, #7A6B8F 100%);
    box-shadow: 0 6px 20px rgba(110, 92, 122, 0.35);
}
.chatbot-container.chatbot--locked .chatbot-toggle {
    opacity: 0.92;
}

.chatbot-messages {
    scrollbar-width: thin;
    scrollbar-color: rgba(158, 126, 98, 0.55) rgba(0, 0, 0, 0.06);
}

.chatbot-messages::-webkit-scrollbar {
    width: 7px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(184, 135, 94, 0.55), rgba(122, 107, 143, 0.55));
    border-radius: 6px;
}

.chatbot-premium-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #C4A574;
    color: #3d2e24;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 6px;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-saffron);
    color: #FDFCFB;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    z-index: 1;
}

/* removed duplicate .pricing-btn block — unified above */

.pricing-btn--tracker:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(184, 135, 94, 0.2);
}

/* removed tracker */

/* Footer */
.footer {
    background: var(--gradient-footer);
    border-top: none;
    color: rgba(247, 243, 238, 0.9);
}

.footer-section h3,
.footer-section h4 {
    color: #F0EBE4;
    font-family: var(--font-display);
}

.footer-section p,
.footer-section ul li a,
.footer-bottom {
    color: rgba(247, 243, 238, 0.72);
}

.footer-section ul li a:hover {
    color: var(--gold);
}

.social-links a {
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold);
    border: 1px solid rgba(196, 165, 116, 0.25);
}

.social-links a:hover {
    background: rgba(184, 135, 94, 0.35);
    color: #FDFCFB;
    border-color: transparent;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(196, 165, 116, 0.25);
    color: #F0EBE4;
}

.newsletter-form input::placeholder {
    color: rgba(247, 243, 238, 0.45);
}

.newsletter-form button {
    background: var(--gradient-saffron);
    color: var(--maroon-deep);
    font-weight: 600;
}

.newsletter-form button:hover {
    background: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(196, 165, 116, 0.15);
}

/* Chatbot */
.chatbot-toggle {
    background: var(--gradient-button);
    box-shadow: 0 6px 24px rgba(94, 79, 110, 0.22);
}

.chatbot-toggle:hover {
    box-shadow: 0 8px 28px rgba(94, 79, 110, 0.28);
}

.chatbot-header {
    background: linear-gradient(135deg, #5E4F6E 0%, #8E6B7A 50%, #9E7E62 100%);
}

.chatbot-info h3,
.chatbot-info p {
    color: #FDFCFB;
    text-shadow: 0 1px 3px rgba(45, 32, 24, 0.35);
}

.chatbot-scroll-indicator {
    background: rgba(253, 252, 251, 0.98);
    color: #5E4F6E;
}

.chatbot-scroll-indicator.visible {
    border-bottom-color: rgba(158, 126, 98, 0.2);
}

.bot-message .message-avatar,
.user-message .message-content,
.typing-dot,
.chatbot-send-btn {
    background: var(--gradient-button) !important;
}

.user-message .message-avatar {
    background: var(--gradient-saffron) !important;
}

.bot-message .message-content {
    border-color: rgba(158, 126, 98, 0.22) !important;
    background: #FDFCFB !important;
    color: #2c2419 !important;
}

.typing-indicator {
    border-color: var(--border-color) !important;
    background: var(--surface-light) !important;
}

.chatbot-input:focus {
    border-color: var(--saffron-light) !important;
    box-shadow: 0 0 0 3px rgba(184, 135, 94, 0.12) !important;
}

.chatbot-suggestion {
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

.chatbot-suggestion:hover {
    background: var(--surface-accent) !important;
    border-color: var(--saffron-light) !important;
}

.chatbot-quick-action {
    background: var(--surface-light) !important;
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

.chatbot-quick-action:hover {
    border-color: var(--saffron-light) !important;
    color: var(--maroon-deep) !important;
}

.chatbot-body {
    background: linear-gradient(180deg, rgba(253, 252, 251, 0.92) 0%, rgba(247, 243, 238, 0.96) 100%);
}

.chatbot-messages::before {
    background: linear-gradient(180deg, rgba(247, 243, 238, 0.95) 0%, transparent 100%);
}

.chatbot-messages::after {
    background: linear-gradient(0deg, rgba(247, 243, 238, 0.95) 0%, transparent 100%);
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        background: rgba(250, 248, 245, 0.98);
        border-left: 2px solid var(--border-color);
    }

    .logo-wordmark {
        font-size: 1.15rem;
    }

    .hero-logo-img {
        height: 110px;
        width: 110px;
    }

    .forecast-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .forecast-calendar table {
        font-size: 12px !important;
    }
}

/* Premium tools — Tier 1–3 */
.premium-tools-section {
    padding: 64px 0;
    background: linear-gradient(180deg, #FAF8F5 0%, #F0EBE4 100%);
}

.premium-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.premium-tool-card,
.bundle-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
}

.premium-tool-card .btn,
.premium-tool-card .pricing-btn,
.bundle-card .btn,
.bundle-card .bundle-buy-btn {
    margin-top: auto;
    width: 100%;
}

.premium-tool-card:hover,
.bundle-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.premium-tool-card h3,
.bundle-card h4 {
    font-family: var(--font-display);
    color: var(--maroon-deep);
    margin: 0 0 8px;
}

.premium-tool-card p,
.bundle-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0 0 16px;
    line-height: 1.5;
}

.bundle-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--saffron-deep);
    margin-bottom: 12px;
}

.bundle-value {
    margin: 0 0 10px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.bundle-savings {
    display: inline-flex;
    gap: 8px;
    justify-content: center;
    margin: 0 auto 12px;
    flex-wrap: wrap;
}

.bundle-savings span {
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 600;
    border-radius: 999px;
    padding: 4px 10px;
    background: #fef3c7;
    color: #92400e;
}

.bundle-card p {
    flex: 1 1 auto;
}

.bundle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
    align-items: stretch;
}

@media (max-width: 1100px) {
    .bundle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .bundle-grid {
        grid-template-columns: 1fr;
    }
}

.bundle-pricing-row {
    margin-top: 48px;
}

.bundle-pricing-row .section-header {
    margin-bottom: 8px;
}

.vault-panel {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    border-top: 3px solid var(--saffron-light);
}

.vault-panel h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    color: var(--maroon-deep);
}

.vault-sub {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0 0 16px;
}

.vault-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

.vault-form input {
    flex: 1;
    min-width: 140px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.vault-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.vault-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.vault-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.post-purchase-upsell,
.year-pass-checkin-upsell {
    margin: 20px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 2px solid #10b981;
    border-radius: 12px;
    text-align: center;
}

.post-purchase-upsell h4,
.year-pass-checkin-upsell h4 {
    margin: 0 0 8px;
    color: #065f46;
}

.life-path-share-card {
    max-width: 320px;
    margin: 24px auto;
    padding: 32px 24px;
    background: linear-gradient(135deg, #5E4F6E, #6B4550);
    border-radius: 16px;
    color: #FDFCFB;
    text-align: center;
}

.lpsc-brand { font-size: 0.75rem; letter-spacing: 0.1em; opacity: 0.8; }
.lpsc-icon { font-size: 3rem; margin: 12px 0; }
.lpsc-lp { font-size: 2rem; font-weight: 700; }
.lpsc-title { font-size: 1rem; opacity: 0.9; margin-bottom: 8px; }
.lpsc-name { font-size: 1.125rem; font-weight: 600; margin-bottom: 16px; }
.lpsc-cta { font-size: 0.75rem; opacity: 0.7; }

.premium-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.premium-table th,
.premium-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.premium-table th {
    background: var(--surface-light);
    color: var(--maroon-deep);
}

.premium-report .note {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.premium-report .changed {
    color: #059669;
    font-weight: 600;
}

/* Premium Tools dedicated page */
.premium-tools-page .premium-page {
    padding-top: 88px;
    min-height: 100vh;
    background: linear-gradient(180deg, #FAF8F5 0%, #F7F3EE 100%);
}

.premium-hero {
    padding: 48px 0 24px;
    text-align: center;
}

.premium-hero .section-title {
    margin-bottom: 12px;
}

.premium-bundles-section {
    padding: 32px 0 16px;
}

.bundle-value-notes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 0 18px;
}

.bundle-value-notes span {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.premium-panel-section {
    padding: 16px 0 64px;
}

.premium-panel-section .container > div + div {
    margin-top: 24px;
}

.profile-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 20px;
    border-radius: 12px;
    margin: 8px 0 24px;
    border: 1px solid var(--border-color);
    background: #fff;
}

.profile-banner--active {
    border-left: 4px solid var(--saffron-light);
}

.profile-banner--active span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.profile-banner--empty {
    flex-direction: column;
    text-align: center;
    background: linear-gradient(135deg, #F7F3EE, #F0EBE4);
}

.profile-banner--empty p {
    margin: 0 0 12px;
    color: var(--text-muted);
    max-width: 520px;
}

.profile-banner-link {
    color: var(--saffron-deep);
    font-weight: 600;
    text-decoration: none;
}

.profile-banner--highlight {
    border-color: var(--saffron-deep);
    box-shadow: 0 0 0 3px rgba(201, 132, 58, 0.28);
    animation: profile-banner-pulse 1.2s ease 2;
}

.profile-banner-cta--pulse {
    animation: profile-banner-pulse 1.2s ease 2;
}

@keyframes profile-banner-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(201, 132, 58, 0.28); }
    50% { box-shadow: 0 0 0 7px rgba(201, 132, 58, 0.42); }
}

.tool-price {
    margin: 12px 0 16px;
}

.tool-price-amount {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--saffron-deep);
    line-height: 1.2;
}

.tool-price--yearpass .tool-price-amount {
    display: inline;
}

.tool-price-note {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.bundle-includes {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0 0 12px;
    line-height: 1.4;
    flex: 1 1 auto;
}

.bundle-buy-btn[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

.premium-tool-card p,
.bundle-card p:not(.bundle-includes) {
    flex: 1 1 auto;
}

.pricing-bundles-cta {
    text-align: center;
    margin: 32px 0 0;
}

.pricing-bundles-link {
    max-width: 400px;
    margin: 0 auto;
}

/* Phase A: home teasers */
.home-pricing-teaser {
    padding: 48px 0;
    background: linear-gradient(180deg, #FDFBF7 0%, #F7F3EE 100%);
}

.home-teaser-card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 28px rgba(139, 92, 246, 0.06);
}

.home-teaser-card .section-title {
    margin-bottom: 12px;
    font-size: 1.75rem;
}

.home-teaser-body {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.home-teaser-cta {
    display: inline-flex;
}

.home-social-proof {
    padding: 40px 0 48px;
    background: var(--surface-color);
}

.home-social-proof-inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.home-social-proof-title {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.home-social-proof-metrics {
    margin: 0 auto 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 560px;
}

.home-social-proof-metrics.is-live ~ .home-social-proof-fallback {
    display: none;
}

.home-social-proof-fallback {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.home-social-proof-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--saffron-deep, var(--primary-color));
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.home-social-proof-link:hover {
    border-bottom-color: currentColor;
}

.reviews-page-cta {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 640px) {
    .home-social-proof-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }

    .home-teaser-card {
        padding: 24px 18px;
    }
}

.nav-link--active {
    color: var(--saffron-deep) !important;
    font-weight: 600;
}

/* SEO: guides promo + FAQ */
.guides-promo {
    padding: 64px 0;
    background: linear-gradient(180deg, #FDFBF7 0%, #F7F3EE 100%);
}

.guides-promo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.guides-promo-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    height: 100%;
}

.guides-promo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.guides-promo-card h3 {
    font-family: var(--font-display);
    color: var(--maroon-deep);
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.guides-promo-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0 0 14px;
    flex: 1;
}

.guides-promo-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--saffron-deep);
}

.guides-promo-card--all {
    border-color: var(--saffron-light);
    background: linear-gradient(135deg, #fff 0%, #FEF3C7 100%);
}

.faq-section {
    padding: 64px 0 72px;
    background: #fff;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    padding: 0 18px;
    background: #FDFBF7;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--maroon-deep);
    padding: 16px 0;
    list-style: none;
    font-family: var(--font-display);
}

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

.faq-item summary::after {
    content: '+';
    float: right;
    color: var(--saffron-deep);
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin: 0 0 16px;
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 0.95rem;
}

.faq-item a {
    color: var(--saffron-deep);
    font-weight: 500;
}

@media (max-width: 900px) {
    .guides-promo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .guides-promo-grid {
        grid-template-columns: 1fr;
    }
}

#bundles,
#premium-tools,
#year-pass {
    scroll-margin-top: var(--navbar-height, 76px);
}

/* Report-for Myself / Child toggle */
.report-for-toggle{display:flex;gap:12px;flex-wrap:wrap;margin-top:6px}
.report-for-option{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #e5ddd3;border-radius:10px;background:#faf7f2;cursor:pointer;font-size:14px;color:#3d2c1e}
.report-for-option:has(input:checked){border-color:#9E7E62;background:#f3ebe3;font-weight:600}
.report-for-option input{accent-color:#9E7E62}
