:root { --primary-color: #00D9FF; --primary-color-dark-theme: #00D9FF; --primary-color-light-theme: #0396B0; --primary-gold: #00D9FF; }
[data-theme="light"] {
    --primary-color: var(--primary-color-light-theme);
    --primary-gold: var(--primary-color-light-theme);
}

.faith-explainer-page .faith-domain { color: var(--primary-color); font-weight: 700; }
.faith-explainer-page .gradient-text { background: var(--primary-color); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* Explainer card styling - matching calculator pages */
.explainer-card {
    border-radius: 50px;
    border-radius: 0;
    border: 1px solid var(--glass-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
/* Links use primary color */
.explainer-card a:not(.cta-button) {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Domain examples responsive sizing */
/* Domain examples responsive sizing - keep on one line */
.explainer-card .domain-example {
    font-size: clamp(0.7rem, 2.5vw, 1.8rem) !important;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    max-width: 100%;
    line-height: 1.2;
}

/* 4-2-1 Grid Layout for Explainer Cards */
.explainer-grid-4-2-1 {
    display: grid;
    gap: 1rem;
    margin-top: 3rem;
    grid-template-columns: 1fr;
    align-items: stretch;
}
@media (min-width: 576px) {
    .explainer-grid-4-2-1 {
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
}
}
@media (min-width: 992px) {
    .explainer-grid-4-2-1 {
        grid-template-columns: repeat(4, 1fr);
        align-items: stretch;
}
}

/* CTA Buttons - Outlined Style */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    background: transparent !important;
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

.cta-button svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
    transition: stroke 0.3s ease;
}

/* Dark theme hover (default) */
.cta-button:hover {
    background: transparent;
    color: #ffffff !important;
    border-color: #ffffff;
}

.cta-button:hover svg {
    stroke: #ffffff;
}

/* Light theme hover */
[data-theme="light"] .cta-button:hover,
body.light .cta-button:hover {
    color: #000000 !important;
    border-color: #000000;
}

[data-theme="light"] .cta-button:hover svg,
body.light .cta-button:hover svg {
    stroke: #000000;
}

/* Card value elements - responsive sizing */
.explainer-card p[style*="font-size: 2.5rem"] {
    font-size: clamp(1.2rem, 3vw, 1.8rem) !important;
    word-break: keep-all;
}

/* Hero Section Styles */
.calculator-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #000000;
}

[data-theme="dark"] .hero-subtitle {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .calculator-hero {
        padding: 3rem 1rem;
    }
}

/* Word Cloud Container */
#brand-word-cloud-container,
#cryptos-word-cloud-container,
#custom-word-cloud-container,
#faith-word-cloud-container,
#geo-word-cloud-container,
#generic-word-cloud-container,
#institution-word-cloud-container,
#language-word-cloud-container,
#niche-word-cloud-container,
#partner-word-cloud-container,
#people-word-cloud-container,
#teams-word-cloud-container {
    position: relative;
}

/* Drop shadows for hero elements */
[data-theme="light"] .hero-title {
    text-shadow: 2px 2px 6px rgba(255, 255, 255, 0.8);
    filter: drop-shadow(0px 2px 6px rgba(255, 255, 255, 0.8));
}

[data-theme="light"] .hero-badge {
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .hero-subtitle {
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    filter: drop-shadow(0px 2px 4px rgba(255, 255, 255, 0.8));
}

/* Section styling */
.section-header h3 {
    font-weight: 700;
}

.section-description, 
.section-header p {
    font-weight: 500;
    color: #000000;
}

[data-theme="dark"] .section-description,
[data-theme="dark"] .section-header p {
    color: #ffffff;
}

.explainer-card {
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .explainer-card {
    box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.6);
}

/* Hero Section with Word Cloud */
.explainer-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    overflow: hidden;
    z-index: 1;
}

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

.explainer-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.explainer-hero .hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.explainer-hero .hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--on-surface-variant);
    max-width: 600px;
    margin: 0 auto;
}
