/* ═══════════════════════════════════════════════════════════════
   alternatives.css — LLM Resayil Alternatives Page
   Design System: Dark Luxury (#0f1115 bg, #d4af37 gold, #13161d card)
   WCAG AA compliant — all text ≥4.5:1 contrast
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
main { padding: 0; max-width: 100%; }

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(212,175,55,0.12) 0%, transparent 70%),
        linear-gradient(180deg, #0a0d14 0%, #0f1115 100%);
    padding: 7rem 2rem 6rem;
    text-align: center;
    min-height: 52vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Decorative grid lines */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-headline {
    font-size: clamp(2.5rem, 8vw, 6.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    max-width: 900px;
    position: relative;
}

.hero-headline .highlight {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 60%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    /* #c0c8d4 on #0f1115 = 6.2:1 — exceeds WCAG AA */
    color: #c0c8d4;
    max-width: 580px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
    line-height: 1.65;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ── CTA Buttons ── */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    min-height: 48px;
    min-width: 44px;
    text-decoration: none;
    letter-spacing: 0.01em;
    font-family: inherit;
}

.cta-btn.primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #0a0d14;
    border-color: transparent;
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212,175,55,0.35);
}

.cta-btn.primary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.cta-btn.secondary {
    border: 2px solid rgba(212,175,55,0.5);
    /* #d4af37 on #0a0d14 = 8.3:1 — exceeds WCAG AA */
    color: var(--gold);
    background: transparent;
}

.cta-btn.secondary:hover {
    background: rgba(212,175,55,0.08);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.cta-btn.secondary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ── Hero stat bar ── */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    width: 100%;
    max-width: 700px;
    position: relative;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: -0.03em;
    line-height: 1;
}

.hero-stat-label {
    display: block;
    font-size: 0.8rem;
    /* #9ba3b0 on #0f1115 = 4.6:1 — passes WCAG AA */
    color: #9ba3b0;
    margin-top: 0.3rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION SHARED
   ═══════════════════════════════════════════════════════════════ */
.section-spacer { height: 5rem; }

.section-title {
    font-size: clamp(1.75rem, 5vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-align: center;
    line-height: 1.1;
}

.section-description {
    text-align: center;
    /* #b8c0cc on #0f1115 = 5.1:1 — passes WCAG AA */
    color: #b8c0cc;
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 auto 3rem;
    max-width: 680px;
}

/* ── Fade-in animation for scroll-reveal ── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay helpers */
.fade-up.delay-1 { transition-delay: 0.08s; }
.fade-up.delay-2 { transition-delay: 0.16s; }
.fade-up.delay-3 { transition-delay: 0.24s; }
.fade-up.delay-4 { transition-delay: 0.32s; }
.fade-up.delay-5 { transition-delay: 0.40s; }

/* ═══════════════════════════════════════════════════════════════
   COMPARISON MATRIX
   ═══════════════════════════════════════════════════════════════ */
.matrix-section {
    padding: 5rem 2rem;
    background: var(--bg-primary);
}

/* Desktop Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    max-width: 1200px;
    margin: 0 auto;
    display: table;
}

.comparison-table thead th {
    background: var(--bg-card);
    border-bottom: 2px solid var(--border);
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    /* #e0e5ec on #13161d = 10.1:1 — exceeds WCAG AA */
    color: var(--text-primary);
    word-break: break-word;
    letter-spacing: 0.01em;
}

.comparison-table thead th.resayil {
    background: linear-gradient(180deg, rgba(212,175,55,0.12) 0%, rgba(212,175,55,0.06) 100%);
    color: var(--gold);
    border-left: 3px solid var(--gold);
    position: relative;
}

.comparison-table thead th.resayil::after {
    content: "★";
    position: absolute;
    top: 0.4rem;
    right: 0.6rem;
    font-size: 0.7rem;
    color: var(--gold);
    opacity: 0.6;
}

.comparison-table tbody td {
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    /* #b8c0cc on #13161d = 5.1:1 — passes WCAG AA */
    color: #b8c0cc;
    font-size: 0.95rem;
    line-height: 1.4;
    vertical-align: middle;
}

.comparison-table tbody tr:last-child td { border-bottom: none; }

.comparison-table tbody tr:hover td {
    background: rgba(255,255,255,0.02);
}

.comparison-table tbody td.resayil {
    background: rgba(212,175,55,0.06);
    color: var(--gold);
    font-weight: 600;
    border-left: 3px solid rgba(212,175,55,0.3);
}

.comparison-table tbody td.header-cell {
    font-weight: 700;
    /* #e0e5ec on #13161d = 10.1:1 — exceeds WCAG AA */
    color: var(--text-primary);
    background: transparent;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

/* SVG-based check / cross icons */
.icon-check,
.icon-cross,
.icon-partial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
}

.icon-check {
    /* #059669 on #13161d = 3.2:1 — use brighter green for text context */
    background: rgba(16,185,129,0.15);
}

.icon-check svg { color: #34d399; }

.icon-cross {
    background: rgba(239,68,68,0.15);
}

.icon-cross svg { color: #f87171; }

.icon-partial {
    background: rgba(245,158,11,0.15);
}

.icon-partial svg { color: #fbbf24; }

/* ── Mobile Accordion (comparison) ── */
.comparison-accordion {
    display: none;
    max-width: 700px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    /* #e0e5ec on #13161d = 10.1:1 */
    color: var(--text-primary);
    transition: background 0.2s ease, color 0.2s ease;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    text-align: left;
    width: 100%;
    user-select: none;
    min-height: 48px;
}

.accordion-header:hover {
    background: rgba(212,175,55,0.06);
    color: var(--gold);
}

.accordion-header:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
}

.accordion-header.resayil {
    background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.06));
    color: var(--gold);
    border-left: 3px solid var(--gold);
}

/* SVG chevron for accordion */
.accordion-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: var(--gold);
}

.accordion-item.open .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0,0,0,0.2);
}

.accordion-item.open .accordion-content {
    max-height: 600px;
}

.accordion-inner {
    padding: 1.25rem 1.5rem;
}

.accordion-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}

.accordion-row:last-child { border-bottom: none; }

.accordion-label {
    font-weight: 600;
    /* #e0e5ec on rgba(0,0,0,0.2) + #13161d = ~9:1 */
    color: var(--text-primary);
    font-size: 0.9rem;
}

.accordion-value {
    /* #b8c0cc on dark bg = 5.1:1 */
    color: #b8c0cc;
    font-size: 0.9rem;
    text-align: right;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   DEEP DIVE CARDS
   ═══════════════════════════════════════════════════════════════ */
.deep-dive-section {
    padding: 5rem 2rem;
    background: #0a0d14;
}

.deep-dive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1280px;
    margin: 0 auto;
}

/* Featured card spans full width of first row */
.deep-dive-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.deep-dive-card:hover {
    border-color: rgba(212,175,55,0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,175,55,0.1);
}

.deep-dive-card.featured {
    border: 2px solid rgba(212,175,55,0.5);
    background: linear-gradient(160deg, rgba(212,175,55,0.07) 0%, var(--bg-card) 50%);
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.deep-dive-card.featured:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(212,175,55,0.15);
}

/* Card header band */
.card-header-band {
    padding: 1.5rem 1.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.featured .card-header-band {
    border-bottom: none;
    border-right: 1px solid var(--border);
    padding: 2rem 2rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

/* Letter avatar */
.card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}

.avatar-resayil {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #0a0d14;
}
.avatar-openrouter  { background: rgba(99,102,241,0.2);  color: #a5b4fc; border: 1px solid rgba(99,102,241,0.3); }
.avatar-claude      { background: rgba(245,158,11,0.2);  color: #fcd34d; border: 1px solid rgba(245,158,11,0.3); }
.avatar-ollama      { background: rgba(16,185,129,0.2);  color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
.avatar-together    { background: rgba(59,130,246,0.2);  color: #93c5fd; border: 1px solid rgba(59,130,246,0.3); }

.card-title-group { flex: 1; }

.deep-dive-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.2rem;
    line-height: 1.2;
}

.featured h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.deep-dive-tagline {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* "vs LLM Resayil" badge */
.vs-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 100px;
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    white-space: nowrap;
}

.featured .vs-badge { display: none; }

/* Card body */
.card-body {
    padding: 1.5rem 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.deep-dive-content {
    /* #b8c0cc on #13161d = 5.1:1 — passes WCAG AA */
    color: #b8c0cc;
    line-height: 1.75;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.deep-dive-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.deep-dive-list li {
    padding: 0.6rem 0;
    /* #b8c0cc on #13161d = 5.1:1 */
    color: #b8c0cc;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.deep-dive-list li:last-child { border-bottom: none; }

.list-bullet {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.list-bullet-gold { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   WHY CHOOSE US (Feature Highlights)
   ═══════════════════════════════════════════════════════════════ */
.highlights-section {
    padding: 5rem 2rem;
    background: var(--bg-primary);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.highlight-item {
    padding: 2rem 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid transparent;
    border-radius: 14px;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.highlight-item:hover {
    border-top-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.highlight-icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--gold);
    flex-shrink: 0;
}

.highlight-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.highlight-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.highlight-item p {
    /* #b8c0cc on #13161d = 5.1:1 */
    color: #b8c0cc;
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
}

/* ═══════════════════════════════════════════════════════════════
   COST CALCULATOR CTA
   ═══════════════════════════════════════════════════════════════ */
.calculator-section {
    padding: 5rem 2rem;
    background: #0a0d14;
}

.calculator-container {
    background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(212,175,55,0.04));
    border: 2px solid rgba(212,175,55,0.35);
    border-radius: 20px;
    padding: 3.5rem;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.calculator-container::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 200px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.calculator-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.calculator-description {
    color: #b8c0cc;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.calculator-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #0a0d14;
    font-weight: 700;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-decoration: none;
    min-height: 48px;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.calculator-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212,175,55,0.3);
}

.calculator-cta:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.calculator-cta svg {
    width: 18px;
    height: 18px;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════════ */
.faq-section {
    padding: 5rem 2rem;
    background: var(--bg-primary);
}

.faq-container {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item.open {
    border-color: rgba(212,175,55,0.3);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s ease;
    user-select: none;
    border: none;
    font-size: 1rem;
    text-align: left;
    width: 100%;
    font-family: inherit;
    min-height: 48px;
    line-height: 1.4;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-question:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
    border-radius: 11px;
}

/* SVG chevron for FAQ */
.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--gold);
    transition: transform 0.25s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

/* Smooth max-height animation (no display:none flicker) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 600px;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    /* #b8c0cc on #13161d = 5.1:1 — passes WCAG AA */
    color: #b8c0cc;
    line-height: 1.8;
    border-top: 1px solid var(--border);
    font-size: 1rem;
    padding-top: 1.25rem;
}

.faq-answer-inner strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER CTA BANNER — full gold background, dark text
   ═══════════════════════════════════════════════════════════════ */
.footer-cta-section {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, #c9a227 100%);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle texture on gold bg */
.footer-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.footer-cta-headline {
    font-size: clamp(1.75rem, 5vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    /* #0a0d14 on #d4af37 = 9.4:1 — exceeds WCAG AAA */
    color: #0a0d14;
    margin-bottom: 1rem;
    line-height: 1.1;
    position: relative;
}

.footer-cta-headline .cta-brand {
    /* Slightly lighter dark shade for emphasis within dark-on-gold */
    color: #1a1000;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(0,0,0,0.25);
}

.footer-cta-tagline {
    /* #1a2235 on #d4af37 = 7.8:1 — passes WCAG AA */
    color: #1a2235;
    font-size: 1.1rem;
    margin: 0 auto 2.5rem;
    max-width: 540px;
    line-height: 1.6;
    position: relative;
}

.footer-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* Dark buttons on gold background */
.cta-btn.primary-dark {
    background: #0a0d14;
    color: var(--gold);
    border-color: transparent;
    min-height: 48px;
}

.cta-btn.primary-dark:hover {
    background: #141820;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.cta-btn.primary-dark:focus-visible {
    outline: 2px solid #0a0d14;
    outline-offset: 3px;
}

.cta-btn.secondary-dark {
    background: transparent;
    color: #0a0d14;
    border: 2px solid rgba(0,0,0,0.3);
    min-height: 48px;
}

.cta-btn.secondary-dark:hover {
    background: rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.5);
    transform: translateY(-2px);
}

.cta-btn.secondary-dark:focus-visible {
    outline: 2px solid #0a0d14;
    outline-offset: 3px;
}

/* ═══════════════════════════════════════════════════════════════
   INTERNAL LINK BOX
   ═══════════════════════════════════════════════════════════════ */
.internal-links-box {
    background: rgba(212,175,55,0.05);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 3rem auto 0;
    max-width: 860px;
    text-align: center;
}

.internal-links-box p {
    color: #b8c0cc;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

.internal-links-box a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
    text-underline-offset: 3px;
}

.internal-links-box a:hover {
    text-decoration: underline;
    color: var(--gold-light);
}

.internal-links-box a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 3px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════ */

/* 1280px — tighten 3-col grids */
@media (max-width: 1280px) {
    .deep-dive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .deep-dive-card.featured {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }
}

/* 1024px — tablet landscape */
@media (max-width: 1024px) {
    .comparison-table { display: none; }
    .comparison-accordion { display: block; }

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

/* 900px — tablet portrait */
@media (max-width: 900px) {
    .deep-dive-card.featured {
        grid-template-columns: 1fr;
    }
    .featured .card-header-band {
        border-right: none;
        border-bottom: 1px solid var(--border);
        flex-direction: row;
        align-items: center;
        padding: 1.5rem 1.75rem 1.25rem;
    }
    .featured h3 {
        font-size: 1.5rem;
    }
    .calculator-container {
        padding: 2.5rem 2rem;
    }
}

/* 768px — mobile landscape / small tablet */
@media (max-width: 768px) {
    .hero-section {
        padding: 5rem 1.5rem 4rem;
        min-height: 56vh;
    }
    .hero-stats {
        gap: 1.5rem;
    }
    .hero-stat-number { font-size: 1.4rem; }

    .section-spacer { height: 3.5rem; }

    .matrix-section,
    .deep-dive-section,
    .highlights-section,
    .calculator-section,
    .faq-section,
    .footer-cta-section {
        padding: 3.5rem 1.5rem;
    }

    .deep-dive-grid {
        grid-template-columns: 1fr;
    }

    .deep-dive-card.featured {
        grid-column: auto;
        display: flex;
        flex-direction: column;
    }

    .featured .card-header-band {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 1.25rem 1.5rem;
    }

    .featured h3 { font-size: 1.35rem; }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 340px;
    }

    .cta-btn {
        width: 100%;
    }

    .footer-cta-buttons {
        flex-direction: column;
        align-items: center;
        max-width: 320px;
        margin: 0 auto;
    }

    .faq-question {
        font-size: 0.95rem;
    }

    .faq-answer-inner {
        font-size: 0.95rem;
    }

    .deep-dive-content {
        font-size: 0.95rem;
    }

    .deep-dive-list li {
        font-size: 0.9rem;
    }

    .calculator-container {
        padding: 2rem 1.5rem;
    }
}

/* 480px — mobile portrait */
@media (max-width: 480px) {
    .hero-headline {
        font-size: clamp(2rem, 9vw, 3.5rem);
    }
    .hero-subheadline {
        font-size: 1rem;
    }
    .hero-stats {
        gap: 1.25rem;
        flex-wrap: wrap;
    }
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.25rem);
    }
    .section-description {
        font-size: 1rem;
    }
    .accordion-header {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }
    .accordion-inner {
        padding: 1rem 1.25rem;
    }
    .card-body {
        padding: 1.25rem;
    }
    .card-header-band {
        padding: 1.25rem 1.25rem 1rem;
    }
    .highlight-item {
        padding: 1.5rem 1.25rem;
    }
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    .faq-answer-inner {
        padding: 0 1.25rem 1.25rem;
        padding-top: 1rem;
        font-size: 0.95rem;
    }
    .calculator-container {
        padding: 1.75rem 1.25rem;
    }
    .footer-cta-section {
        padding: 3rem 1.25rem;
    }
}

/* 375px — smallest common viewport */
@media (max-width: 375px) {
    .hero-eyebrow { font-size: 0.7rem; }
    .cta-btn { padding: 0.875rem 1.5rem; }
    .hero-stat-number { font-size: 1.25rem; }
}
