/* =================================
   YOGA CALCULATOR PAGE STYLES
   Page-scoped additions on top of nakshatra-calculator.css, which provides
   the shared landing classes (.trust-strip, .hero-cta, .edu-card, .faq-*,
   .cta-section, .premium-upsell, .result-card, .content-grid).
   Follow-up: extract those shared classes to calc-landing-shared.css.
   ================================= */

.yoga-landing {
    --yoga-light: #EEF2FF;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Hero (same pattern as .nakshatra-hero, own bg var) --- */
.yoga-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--surface-dark) 0%, #312E81 50%, var(--surface-dark) 100%);
    color: white;
    border-radius: var(--radius-xl);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.yoga-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--yoga-hero-bg, none) center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.yoga-hero > * {
    position: relative;
    z-index: 1;
}

.yoga-hero h1 {
    /* Explicit white: a global heading color otherwise wins specificity and
       renders the non-.highlight words dark-on-dark (mobile QA 2026-06-12). */
    color: #fff;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 1px 8px rgba(15, 12, 64, 0.6);
}

.yoga-hero h1 .highlight {
    color: var(--color-amber);
}

.yoga-hero .subtitle {
    color: #E0E7FF;
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 1.5rem;
    text-shadow: 0 1px 6px rgba(15, 12, 64, 0.7);
}

/* --- Definition --- */
.yoga-definition-section {
    background: var(--yoga-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

.yoga-definition {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--gray-700);
    max-width: 800px;
    margin: 0 auto;
}

.yoga-definition strong {
    color: var(--color-indigo-600);
}

/* --- Yoga families reference table --- */
.yoga-table-section {
    margin-bottom: 40px;
}

.yoga-table-section h2 {
    font-size: 1.5rem;
    color: var(--surface-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.yoga-table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.yoga-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    font-size: 0.9rem;
}

.yoga-table th {
    background: var(--surface-dark);
    color: white;
    padding: 14px 12px;
    text-align: left;
    font-weight: 600;
}

.yoga-table td {
    padding: 12px;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: top;
}

.yoga-table tr:hover {
    background: var(--yoga-light);
}

.yoga-table .planet-cell {
    font-weight: 500;
    color: var(--color-indigo-600);
    white-space: nowrap;
}

/* --- Results (State B) --- */
.yoga-results {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
}

.yoga-results-header {
    text-align: center;
    margin-bottom: 30px;
}

.yoga-count {
    font-size: 2.25rem;
    color: var(--color-indigo-600);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.yoga-count-sub {
    font-size: 1.1rem;
    color: var(--gray-600);
}

.yoga-family {
    margin-bottom: 28px;
}

.yoga-family h3 {
    font-size: 1.15rem;
    color: var(--surface-dark);
    margin-bottom: 12px;
    border-bottom: 2px solid var(--yoga-light);
    padding-bottom: 6px;
}

.yoga-card {
    background: var(--yoga-light);
    border-left: 4px solid var(--color-indigo-600);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    margin-bottom: 12px;
}

.yoga-card .yoga-name {
    font-weight: 700;
    color: var(--surface-dark);
    margin-bottom: 4px;
}

.yoga-card .yoga-formed-by {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.6;
}

.yoga-card .yoga-strength {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-indigo-600);
    background: white;
    border-radius: 999px;
    padding: 3px 10px;
}

.yoga-none-note {
    color: var(--gray-600);
    font-size: 0.95rem;
    font-style: italic;
}

/* Locked interpretation teaser inside a yoga card */
.yoga-locked {
    margin-top: 10px;
    padding: 10px 12px;
    background: white;
    border-radius: var(--radius-sm, 6px);
    color: var(--gray-600);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Payment-confidence microcopy under paid CTAs (PR #98 pattern) */
.yoga-payment-confidence {
    font-size: 11px;
    color: var(--gray-600);
    margin: 6px 0 0;
    text-align: center;
}

.premium-upsell .yoga-payment-confidence {
    color: var(--gray-700);
}
