/* ============================================
   SOUL NATION - Sub-Page Styles
   Extends style.css for multi-page site
   ============================================ */

/* === Sub-Page Navigation with Dropdowns === */
.nav-links {
    position: relative;
}

.nav-links li {
    position: relative;
}

.nav-dropdown-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-trigger::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-top: -2px;
    opacity: 0.6;
    transition: transform 0.2s;
}

.nav-links li:hover .nav-dropdown-trigger::after {
    transform: rotate(-135deg);
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.75rem 0;
    min-width: 220px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 1001;
    margin-top: 0.5rem;
}

.nav-links li:hover .nav-dropdown {
    display: block;
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8) !important;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.nav-dropdown a:hover {
    background: rgba(139, 92, 246, 0.15);
    color: #fff !important;
}

.nav-dropdown .dropdown-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.nav-dropdown .dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0.5rem 0;
}

/* Mobile dropdown behavior */
@media (max-width: 768px) {
    .nav-dropdown {
        position: static;
        transform: none;
        background: rgba(255,255,255,0.05);
        border: none;
        border-radius: 8px;
        margin: 0.5rem 0;
        box-shadow: none;
        display: none;
    }

    .nav-links li.dropdown-open .nav-dropdown {
        display: block;
    }

    .nav-dropdown a {
        justify-content: center;
    }
}

/* === Sub-Page Hero Variants === */
.page-hero {
    position: relative;
    padding: 10rem 2rem 5rem;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.page-hero .hero-bg {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>') center/cover;
    opacity: 0.5;
}

.page-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.page-hero .hero-subtitle {
    font-size: 1.35rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.page-hero .hero-tagline {
    font-size: 1.05rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Tradition-specific hero gradients */
.hero-default { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1e3a5f 100%); }
.hero-soulsearch { background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #7c3aed 100%); }
.hero-bible { background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 50%, #2563eb 100%); }
.hero-torah { background: linear-gradient(135deg, #78350f 0%, #92400e 50%, #b45309 100%); }
.hero-quran { background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #059669 100%); }
.hero-buddhism { background: linear-gradient(135deg, #78350f 0%, #92400e 50%, #d97706 100%); }
.hero-hinduism { background: linear-gradient(135deg, #7c2d12 0%, #9a3412 50%, #ea580c 100%); }
.hero-features { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%); }
.hero-compare { background: linear-gradient(135deg, #312e81 0%, #4338ca 50%, #6366f1 100%); }
.hero-scholars { background: linear-gradient(135deg, #1a1a2e 0%, #4a1942 50%, #6b21a8 100%); }
.hero-about { background: linear-gradient(135deg, #0a0a14 0%, #1a1a2e 50%, #16213e 100%); }

/* === Big Stats Display === */
.big-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 0;
}

.big-stats.dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 5rem 2rem;
}

.big-stat {
    text-align: center;
    min-width: 140px;
}

.big-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1.1;
}

.big-stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.big-stats.light .big-stat-number {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .big-stats {
        gap: 1.5rem;
    }
    .big-stat {
        min-width: 120px;
    }
    .big-stat-number {
        font-size: 2.25rem;
    }
}

/* === Content Sections === */
.page-section {
    padding: 5rem 2rem;
}

.page-section.alt {
    background: var(--color-light);
}

.page-section.dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
}

.page-section.dark .section-header p {
    color: rgba(255,255,255,0.7);
}

.page-section.dark h2 {
    color: #fff;
}

.page-section.gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #fff;
}

/* === Persona Spotlight Cards === */
.persona-spotlight {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.persona-spotlight .persona-visual {
    text-align: center;
}

.persona-spotlight .persona-avatar-lg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1rem;
}

.persona-spotlight .persona-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.persona-spotlight .persona-tradition {
    font-size: 0.85rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.persona-spotlight .persona-desc {
    margin-bottom: 1rem;
    opacity: 0.85;
    line-height: 1.7;
}

.persona-spotlight .persona-example {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1rem;
}

.persona-spotlight .example-exchange {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.persona-spotlight .example-exchange:last-child {
    border-bottom: none;
}

.persona-spotlight .example-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    margin-bottom: 0.25rem;
}

.persona-spotlight .example-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .persona-spotlight {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* === Feature Detail Sections === */
.feature-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.feature-detail.reverse {
    direction: rtl;
}

.feature-detail.reverse > * {
    direction: ltr;
}

.feature-detail-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.feature-detail-content p {
    line-height: 1.7;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.feature-detail-visual {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .feature-detail,
    .feature-detail.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

/* === Comparison Table === */
.comparison-table-wrap {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.comparison-table th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
}

.comparison-table th:first-child {
    text-align: left;
    border-radius: 12px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 12px 0 0;
}

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

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

.comparison-table tr:hover td {
    background: #f8f9fa;
}

.table-check {
    color: #16a34a;
    font-weight: 700;
}

.table-dash {
    color: #ccc;
}

/* Dark theme table */
.page-section.dark .comparison-table-wrap {
    background: rgba(255,255,255,0.05);
}

.page-section.dark .comparison-table th {
    background: rgba(0,0,0,0.3);
}

.page-section.dark .comparison-table td {
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
}

.page-section.dark .comparison-table td:first-child {
    color: var(--color-gold);
}

.page-section.dark .comparison-table tr:hover td {
    background: rgba(255,255,255,0.05);
}

/* === Topic Cards Grid === */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.topic-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.topic-card:hover {
    background: rgba(139, 92, 246, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.topic-card .topic-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.topic-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.topic-card p {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Light theme topic cards */
.page-section.alt .topic-card {
    background: #fff;
    border-color: #eee;
}

.page-section.alt .topic-card:hover {
    background: #f0ebff;
    border-color: #c4b5fd;
}

.page-section.alt .topic-card h4 {
    color: var(--color-primary);
}

/* === Scholar Grid === */
.scholar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
}

.scholar-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.scholar-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.08);
}

.scholar-card .scholar-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 0.75rem;
}

.scholar-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.scholar-card p {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* === Guide Cards === */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.guide-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.guide-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.guide-card .guide-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.guide-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.guide-card p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.guide-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.guide-meta span {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border-radius: 20px;
}

/* Light theme guide cards */
.page-section.alt .guide-card {
    background: #fff;
    border-color: #e5e7eb;
}

.page-section.alt .guide-card:hover {
    box-shadow: var(--shadow-md);
}

.page-section.alt .guide-meta span {
    background: #ede9fe;
    color: #7c3aed;
}

/* === Journey Timeline === */
.journey-timeline {
    max-width: 700px;
    margin: 2rem auto;
}

.journey-day {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.journey-day:last-child {
    border-bottom: none;
}

.journey-day-num {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #a78bfa;
}

.journey-day-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.journey-day-content p {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* === Explore Sections Preview === */
.explore-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.explore-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.9);
    transition: all 0.3s;
}

.explore-pill:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.explore-pill .pill-icon {
    font-size: 1rem;
}

/* Light theme pills */
.page-section.alt .explore-pill {
    background: #fff;
    border-color: #e5e7eb;
    color: var(--color-primary);
}

.page-section.alt .explore-pill:hover {
    background: #ede9fe;
    border-color: #c4b5fd;
}

/* === Roadmap Cards === */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.roadmap-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
}

.roadmap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.roadmap-card .roadmap-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.roadmap-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.roadmap-card p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.roadmap-card .roadmap-features {
    list-style: none;
}

.roadmap-card .roadmap-features li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

.roadmap-card .roadmap-features li::before {
    content: '→ ';
    color: var(--color-gold);
}

/* === Content Library Grid === */
.content-library {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.library-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

.library-card h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.library-card li {
    padding: 0.3rem 0;
    font-size: 0.85rem;
    opacity: 0.75;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.library-card li:last-child {
    border-bottom: none;
}

/* Light theme library */
.page-section.alt .library-card {
    background: #fff;
    border-color: #e5e7eb;
}

.page-section.alt .library-card li {
    border-color: #f3f4f6;
}

/* === Settings Preview === */
.settings-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    font-size: 0.9rem;
}

.setting-icon {
    font-size: 1.25rem;
}

/* === CTA Section === */
.page-cta {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, #c9304a 100%);
    color: #fff;
}

.page-cta h2 {
    margin-bottom: 1rem;
}

.page-cta p {
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.page-cta .btn {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
}

.page-cta .btn-primary {
    background: #fff;
    color: var(--color-accent);
}

.page-cta .btn-primary:hover {
    background: #f0f0f0;
}

/* === Inline Feature List (for app pages) === */
.inline-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.inline-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.inline-feature .if-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.inline-feature h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.inline-feature p {
    font-size: 0.8rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .inline-features {
        grid-template-columns: 1fr;
    }
}

/* === Breadcrumb === */
.breadcrumb {
    padding: 0.75rem 0;
    font-size: 0.85rem;
    opacity: 0.7;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* === Tradition Color Accents === */
.accent-bible { color: var(--color-bible); }
.accent-torah { color: var(--color-torah); }
.accent-quran { color: var(--color-quran); }
.accent-buddhism { color: #d97706; }
.accent-hinduism { color: var(--color-gita); }
.accent-soulsearch { color: #8b5cf6; }

.bg-bible { background: var(--color-bible); }
.bg-torah { background: var(--color-torah); }
.bg-quran { background: var(--color-quran); }
.bg-buddhism { background: #d97706; }
.bg-hinduism { background: var(--color-gita); }
.bg-soulsearch { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }

/* === Mobile Bottom CTA Bar === */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-cta-bar .btn {
    width: 100%;
    text-align: center;
    padding: 0.875rem;
}

@media (max-width: 768px) {
    .mobile-cta-bar {
        display: block;
    }

    /* Add bottom padding to body for mobile CTA bar */
    body.has-mobile-cta {
        padding-bottom: 70px;
    }
}

/* === Comparison Interactive Viewer === */
.compare-viewer {
    background: rgba(0,0,0,0.2);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.compare-viewer .viewer-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.compare-viewer .tradition-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.compare-viewer .tradition-tab {
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.2s;
}

.compare-viewer .tradition-tab:hover,
.compare-viewer .tradition-tab.active {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
    color: #fff;
}

.compare-viewer .viewer-content {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 200px;
}

/* === "How It Works" Steps === */
.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.step-item {
    text-align: center;
    padding: 2rem 1rem;
}

.step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.step-item h4 {
    margin-bottom: 0.5rem;
}

.step-item p {
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .steps-row {
        grid-template-columns: 1fr;
    }
}

/* === Values Grid === */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.value-card .value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.value-card h3 {
    margin-bottom: 0.75rem;
}

.value-card p {
    opacity: 0.8;
    line-height: 1.6;
}

/* === Link Card (for navigation between pages) === */
.link-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.link-card {
    display: block;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    transition: all 0.3s;
    color: inherit;
}

.link-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.link-card .link-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.link-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.link-card p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.link-card .link-arrow {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #a78bfa;
    font-weight: 600;
}

/* Light theme link cards */
.page-section.alt .link-card {
    background: #fff;
    border-color: #e5e7eb;
    color: var(--color-dark);
}

.page-section.alt .link-card:hover {
    box-shadow: var(--shadow-md);
}

/* === Differentiator Section === */
.differentiator {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.diff-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.diff-card .diff-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.diff-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.diff-card p {
    font-size: 0.9rem;
    opacity: 0.75;
    line-height: 1.6;
}

/* Light theme differentiator */
.page-section.alt .diff-card {
    background: #fff;
    border-color: #e5e7eb;
}

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

/* === Utility Classes === */
.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-accent { color: var(--color-accent); }
.text-purple { color: #8b5cf6; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 3rem; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.max-w-1000 { max-width: 1000px; margin-left: auto; margin-right: auto; }

/* Sub-page specific responsive */
@media (max-width: 480px) {
    .page-hero {
        padding: 8rem 1rem 3rem;
    }
    .page-hero h1 {
        font-size: 2rem;
    }
    .page-hero .hero-subtitle {
        font-size: 1.1rem;
    }
}
