/* Beyond529 SEO Pages - Matching Golden Legacy Design System
   Warm, editorial aesthetic for SEO content pages
   Uses same design tokens as homepage
*/

/* ================================
   SEO Page Base Layout
   ================================ */

.seo-page {
    padding-top: 80px;
}

/* ================================
   SEO Hero - Warm Forest Green
   ================================ */

.seo-hero {
    background: var(--gradient-hero);
    color: white;
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative golden accent */
.seo-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(212, 168, 85, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.seo-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(0deg, rgba(253, 251, 247, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.seo-hero .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    margin-bottom: 24px;
    opacity: 0.85;
}

.breadcrumb a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--gold-primary);
    text-decoration: underline;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

.seo-hero h1 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 20px;
    color: white;
    line-height: 1.15;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.seo-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 36px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* ================================
   Primary Button - Golden Amber
   ================================ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-primary);
    color: var(--green-deep);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 168, 85, 0.35);
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 168, 85, 0.45);
}

/* ================================
   Section Styles
   ================================ */

.seo-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

.seo-section.alt-bg {
    background: var(--bg-secondary);
}

/* Decorative top accent for sections */
.seo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.seo-section h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 48px;
    text-align: center;
    line-height: 1.2;
}

/* ================================
   Section Badge
   ================================ */

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-pale);
    border: 1px solid var(--gold-light);
    color: var(--gold-deep);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

@media (prefers-color-scheme: dark) {
    .section-badge {
        background: rgba(212, 168, 85, 0.15);
        border-color: rgba(212, 168, 85, 0.3);
    }
}

/* ================================
   Cards - Editorial Style with Corner Accents
   ================================ */

.seo-card {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Decorative corner accent */
.seo-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 50%, var(--gold-pale) 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

@media (prefers-color-scheme: dark) {
    .seo-card {
        background: var(--bg-secondary);
    }

    .seo-card::before {
        background: linear-gradient(135deg, transparent 50%, rgba(212, 168, 85, 0.1) 50%);
    }
}

.seo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}

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

.seo-card h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.seo-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Card with top border accent */
.seo-card.accent-green { border-top: 3px solid var(--green-primary); }
.seo-card.accent-gold { border-top: 3px solid var(--gold-primary); }
.seo-card.accent-light { border-top: 3px solid var(--green-light); }

/* ================================
   Info Grid (for state 529 details, etc.)
   ================================ */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.info-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold-light);
}

.info-card h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-tertiary);
    margin-bottom: 10px;
    font-weight: 600;
}

.info-card .info-value {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.75rem;
    color: var(--green-deep);
    margin-bottom: 8px;
    font-weight: 600;
}

.info-card .info-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.info-card.highlight-card {
    border-left: 4px solid var(--gold-primary);
    background: var(--gold-pale);
}

.info-card.highlight-card h3 {
    color: var(--gold-deep);
}

@media (prefers-color-scheme: dark) {
    .info-card {
        background: var(--bg-secondary);
    }

    .info-card.highlight-card {
        background: rgba(212, 168, 85, 0.1);
    }
}

/* ================================
   Stat Callout
   ================================ */

.stat-callout {
    background: var(--green-deep);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 48px 0;
    position: relative;
    overflow: hidden;
}

.stat-callout::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(212, 168, 85, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.stat-callout .stat-number {
    display: block;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 4rem;
    color: var(--gold-primary);
    margin-bottom: 12px;
    font-weight: 500;
    line-height: 1;
}

.stat-callout .stat-text {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ================================
   Problem List
   ================================ */

.problem-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
}

.problem-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.problem-list li strong {
    display: block;
    color: var(--danger);
    margin-top: 6px;
    font-weight: 600;
}

/* ================================
   Benefits List
   ================================ */

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.benefits-list li strong {
    display: block;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.15rem;
    color: var(--green-deep);
    margin-bottom: 4px;
}

.benefits-list li span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ================================
   Comparison Table
   ================================ */

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

table.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    min-width: 500px;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    background: var(--green-deep);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.comparison-table th:last-child {
    background: var(--gold-primary);
    color: var(--green-deep);
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

.comparison-table td:nth-child(2) {
    color: var(--danger);
}

.comparison-table td:last-child {
    color: var(--success);
    font-weight: 500;
}

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

.comparison-table tr:hover td {
    background: var(--bg-warm);
}

/* ================================
   VS Comparison (Side by Side)
   ================================ */

.vs-comparison {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 950px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.vs-column {
    flex: 1;
    padding: 36px;
}

.vs-column h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.35rem;
    margin-bottom: 28px;
    text-align: center;
    font-weight: 600;
}

.vs-theirs {
    background: var(--bg-secondary);
}

.vs-theirs h3 {
    color: var(--text-tertiary);
}

.vs-ours {
    background: var(--gradient-hero);
}

.vs-ours h3 {
    color: var(--gold-primary);
}

.vs-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vs-column li {
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
}

.vs-theirs li {
    color: var(--text-secondary);
}

.vs-ours li {
    color: rgba(255, 255, 255, 0.9);
}

.vs-column li::before {
    content: '';
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    font-weight: 700;
}

.vs-column li.positive::before {
    content: '✓';
    background: var(--green-pale);
    color: var(--success);
}

.vs-column li.negative::before {
    content: '✕';
    background: rgba(155, 44, 44, 0.1);
    color: var(--danger);
}

.vs-column li.neutral::before {
    content: '~';
    background: var(--gold-pale);
    color: var(--gold-deep);
}

.vs-divider {
    width: 80px;
    background: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vs-divider span {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--green-deep);
}

@media (max-width: 768px) {
    .vs-comparison {
        flex-direction: column;
    }

    .vs-divider {
        width: 100%;
        height: 60px;
    }
}

/* ================================
   Verdict Box
   ================================ */

.verdict-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 44px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 2px solid var(--gold-primary);
    box-shadow: var(--shadow-gold);
    position: relative;
}

.verdict-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gold-primary);
}

.verdict-box p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0;
    text-align: center;
}

/* ================================
   CTA Section
   ================================ */

.seo-cta {
    background: var(--gradient-hero);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.seo-cta::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 168, 85, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.seo-cta .container {
    position: relative;
    z-index: 2;
}

.seo-cta h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 500;
    color: white;
    margin-bottom: 20px;
}

.seo-cta > .container > p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.cta-subtext {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ================================
   Related Content Grid
   ================================ */

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.related-section h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold-primary);
    font-weight: 600;
}

.related-links {
    list-style: none;
    padding: 0;
}

.related-links li {
    margin-bottom: 14px;
}

.related-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
    display: inline-block;
}

.related-links a:hover {
    color: var(--gold-deep);
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--green-deep);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.view-all:hover {
    color: var(--gold-deep);
}

/* ================================
   Steps Grid (How It Works)
   ================================ */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 36px 28px;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold-light);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--gold-primary);
    color: var(--green-deep);
    border-radius: 50%;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-card h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.step-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

@media (prefers-color-scheme: dark) {
    .step-card {
        background: var(--bg-secondary);
    }
}

/* ================================
   Testimonial Box
   ================================ */

.testimonial-box {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    padding: 52px;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
}

/* Elegant quote mark */
.testimonial-box::before {
    content: '"';
    position: absolute;
    top: 24px;
    left: 40px;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 100px;
    color: var(--gold-primary);
    line-height: 1;
    opacity: 0.15;
}

.testimonial-box blockquote {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0 0 28px;
    position: relative;
    z-index: 2;
}

.testimonial-box cite {
    font-size: 1rem;
    color: var(--gold-deep);
    font-style: normal;
    font-weight: 600;
}

@media (prefers-color-scheme: dark) {
    .testimonial-box {
        background: var(--bg-secondary);
    }
}

/* ================================
   Question Hero (FAQ pages)
   ================================ */

.question-hero {
    background: var(--gradient-hero);
    color: white;
    padding: 80px 0 110px;
    position: relative;
    overflow: hidden;
}

.question-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(212, 168, 85, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.question-hero .container {
    position: relative;
    z-index: 2;
}

.question-hero h1 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: white;
    max-width: 850px;
    line-height: 1.3;
    font-weight: 500;
}

/* Quick Answer Box */
.quick-answer {
    padding: 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.answer-box {
    max-width: 850px;
    margin: 0 auto;
    padding: 36px 44px;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--gold-primary);
}

.answer-box h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-deep);
    margin-bottom: 12px;
    text-align: left;
}

.answer-box p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-primary);
    margin: 0;
}

@media (prefers-color-scheme: dark) {
    .answer-box {
        background: var(--bg-secondary);
    }
}

/* Detailed Answer Content */
.detailed-answer {
    max-width: 850px;
    margin: 0 auto;
}

.detailed-answer h2 {
    text-align: left;
    margin-bottom: 28px;
}

.answer-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.answer-content p {
    margin-bottom: 24px;
}

.answer-content h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-top: 48px;
    margin-bottom: 20px;
    font-weight: 600;
}

.answer-content ul {
    margin: 24px 0;
    padding-left: 28px;
}

.answer-content li {
    margin-bottom: 14px;
    line-height: 1.7;
}

.answer-content blockquote {
    margin: 36px 0;
    padding: 28px 36px;
    background: var(--bg-secondary);
    border-left: 4px solid var(--gold-primary);
    font-style: italic;
    color: var(--text-primary);
    border-radius: 0 12px 12px 0;
}

.answer-content .table-wrapper {
    overflow-x: auto;
    margin: 36px 0;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.answer-content table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
}

.answer-content th,
.answer-content td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.answer-content th {
    background: var(--green-deep);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.answer-content td {
    font-size: 0.95rem;
}

.answer-content tr:last-child td {
    border-bottom: none;
}

.answer-content strong {
    color: var(--text-primary);
}

/* ================================
   Hub Page Styles
   ================================ */

.hub-page {
    padding-top: 80px;
}

.hub-hero {
    background: var(--gradient-hero);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hub-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(212, 168, 85, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hub-hero .container {
    position: relative;
    z-index: 2;
}

.hub-hero h1 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    color: white;
    font-weight: 500;
}

.hub-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.65;
}

.hub-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.hub-section.alt-bg {
    background: var(--bg-secondary);
}

.hub-section h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: 48px;
    text-align: center;
    font-weight: 500;
}

/* Featured Cards Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.featured-card {
    display: block;
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 32px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 50%, var(--gold-pale) 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.featured-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}

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

.featured-card h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.featured-card .plan-name {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.featured-card .card-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.featured-card .detail-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.featured-card .detail-item strong {
    color: var(--text-primary);
}

.featured-card .card-link {
    color: var(--gold-deep);
    font-weight: 600;
    font-size: 0.95rem;
}

.featured-card:hover .card-link {
    text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
    .featured-card {
        background: var(--bg-secondary);
    }

    .featured-card::before {
        background: linear-gradient(135deg, transparent 50%, rgba(212, 168, 85, 0.1) 50%);
    }
}

/* Regions Grid */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.region-block h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold-primary);
    font-weight: 600;
}

.state-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.state-list li {
    margin-bottom: 12px;
}

.state-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.state-list a:hover {
    color: var(--gold-deep);
}

/* Hub CTA */
.hub-cta {
    background: var(--gradient-hero);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hub-cta::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 168, 85, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hub-cta .container {
    position: relative;
    z-index: 2;
}

.hub-cta h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    color: white;
    margin-bottom: 20px;
    font-weight: 500;
}

.hub-cta p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

/* Comparison Hub Cards */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-card {
    display: block;
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 32px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.comparison-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}

.comparison-card .card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.comparison-card h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.35rem;
    color: var(--text-primary);
    font-weight: 600;
}

.comparison-card .vs-badge {
    background: var(--gold-primary);
    color: var(--green-deep);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.comparison-card .clp-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.comparison-card .card-description {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.comparison-card .verdict-preview {
    padding: 18px;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.comparison-card .verdict-preview strong {
    color: var(--gold-deep);
}

.comparison-card .card-link {
    color: var(--gold-deep);
    font-weight: 600;
    font-size: 0.95rem;
}

.comparison-card:hover .card-link {
    text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
    .comparison-card {
        background: var(--bg-secondary);
    }

    .comparison-card .verdict-preview {
        background: var(--bg-tertiary);
    }
}

/* Hub Comparison Table */
.table-wrapper {
    overflow-x: auto;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.hub-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    min-width: 700px;
}

.hub-comparison-table th,
.hub-comparison-table td {
    padding: 18px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.hub-comparison-table th {
    background: var(--green-deep);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

.hub-comparison-table th:first-child {
    text-align: left;
}

.hub-comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
}

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

.hub-comparison-table tr:hover td {
    background: var(--bg-warm);
}

.hub-comparison-table .highlight-row {
    background: var(--gold-pale);
}

.hub-comparison-table .highlight-row td:first-child {
    color: var(--green-deep);
    font-weight: 600;
}

.hub-comparison-table .yes {
    color: var(--success);
    font-weight: 600;
}

.hub-comparison-table .no {
    color: var(--danger);
}

.hub-comparison-table .partial {
    color: var(--warning);
}

.table-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: 20px;
}

/* Use Case Grid */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.usecase-card {
    display: block;
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 36px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.usecase-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}

.usecase-card h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-deep);
    margin-bottom: 14px;
    font-weight: 600;
}

.usecase-card .usecase-headline {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.3;
    font-weight: 600;
}

.usecase-card .usecase-description {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.usecase-card .usecase-stats {
    padding: 18px;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 24px;
}

.usecase-card .stat-mini {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.usecase-card .stat-value {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.75rem;
    color: var(--green-deep);
    font-weight: 600;
}

.usecase-card .stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.usecase-card .card-link {
    color: var(--gold-deep);
    font-weight: 600;
    font-size: 0.95rem;
}

.usecase-card:hover .card-link {
    text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
    .usecase-card {
        background: var(--bg-secondary);
    }

    .usecase-card .usecase-stats {
        background: var(--bg-tertiary);
    }
}

/* Flexibility Content */
.flexibility-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

@media (max-width: 800px) {
    .flexibility-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.flexibility-text p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.flexibility-list h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-weight: 600;
}

.flexibility-list ul {
    list-style: none;
    padding: 0;
}

.flexibility-list li {
    padding: 14px 0 14px 36px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.flexibility-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Questions Hub */
.category-header {
    text-align: center;
    margin-bottom: 52px;
}

.category-header h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: 14px;
    font-weight: 500;
}

.category-description {
    font-size: 1.1rem;
    color: var(--text-tertiary);
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.question-card {
    display: block;
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 32px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.question-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}

.question-card h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.4;
    font-weight: 600;
}

.question-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.question-card .card-link {
    color: var(--gold-deep);
    font-weight: 600;
    font-size: 0.95rem;
}

.question-card:hover .card-link {
    text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
    .question-card {
        background: var(--bg-secondary);
    }
}

/* ================================
   Stats Row
   ================================ */

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
}

.stat-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold-light);
}

.stat-card .stat-value {
    display: block;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 2.75rem;
    color: var(--green-deep);
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    line-height: 1.5;
}

@media (prefers-color-scheme: dark) {
    .stat-card {
        background: var(--bg-secondary);
    }
}

/* ================================
   Solution Grid (Two Column)
   ================================ */

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

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

.solution-content h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 18px;
    font-weight: 600;
}

.solution-content > p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

/* ================================
   Scenario Box
   ================================ */

.scenario-box {
    max-width: 850px;
    margin: 0 auto;
    padding: 44px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border-left: 4px solid var(--gold-primary);
}

.scenario-box p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text-primary);
    margin: 0;
    font-style: italic;
}

/* ================================
   Benefit Items Grid
   ================================ */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 26px;
    background: var(--bg-secondary);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: var(--gold-pale);
}

.benefit-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: var(--green-pale);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

/* ================================
   Limitation List
   ================================ */

.limitations-list {
    list-style: none;
    padding: 0;
    max-width: 750px;
    margin: 0 auto;
}

.limitations-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.limitation-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: rgba(155, 44, 44, 0.1);
    color: var(--danger);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

/* ================================
   Explainer Box
   ================================ */

.explainer-box {
    max-width: 850px;
    margin: 0 auto 52px;
    padding: 36px 44px;
    background: var(--bg-primary);
    border-radius: 12px;
    border-left: 4px solid var(--gold-primary);
    box-shadow: var(--shadow-sm);
}

.explainer-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

@media (prefers-color-scheme: dark) {
    .explainer-box {
        background: var(--bg-secondary);
    }
}

/* ================================
   Feature Grid
   ================================ */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold-light);
}

.feature-card h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

@media (prefers-color-scheme: dark) {
    .feature-card {
        background: var(--bg-secondary);
    }
}

/* ================================
   Problem Content
   ================================ */

.problem-content {
    max-width: 850px;
    margin: 0 auto;
}

.problem-content p,
.problem-text {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 28px;
    text-align: center;
}

/* ================================
   Solution Text
   ================================ */

.solution-text {
    margin-bottom: 52px;
}

.solution-text p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ================================
   Responsive Adjustments
   ================================ */

@media (max-width: 768px) {
    .seo-hero {
        padding: 60px 0 80px;
    }

    .seo-hero h1 {
        font-size: 2rem;
    }

    .seo-section {
        padding: 70px 0;
    }

    .hub-hero {
        padding: 70px 0;
    }

    .hub-section {
        padding: 70px 0;
    }

    .seo-cta,
    .hub-cta {
        padding: 70px 0;
    }

    .featured-grid,
    .comparison-grid,
    .usecase-grid,
    .questions-grid {
        grid-template-columns: 1fr;
    }

    .vs-comparison {
        flex-direction: column;
    }

    .vs-divider {
        width: 100%;
        height: 60px;
    }

    .solution-grid,
    .flexibility-content {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }
}
