.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--nav-border);
    padding: 16px 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.navbar[data-scrolled] {
    --nav-bg: rgba(255,255,255,0.6);
    border-bottom-color: rgba(203,213,225,0.2);
}
[data-theme="dark"] .navbar[data-scrolled] {
    --nav-bg: rgba(15,23,38,0.75);
    border-bottom-color: rgba(42,58,92,0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.nav-utils {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dark-mode-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gray-mid);
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.dark-mode-toggle:hover { border-color: var(--primary); color: var(--primary); }
.dark-mode-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 8px;
}
.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(
        130deg,
        var(--apex-sage-purple-dark, #5b21b6),
        var(--apex-janet-purple, #a78bfa),
        var(--apex-janet-cyan, #5eead4)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo span { color: var(--primary); background: none; }

.nav-primary {
    display: none;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem 1.15rem;
    flex: 1;
    font-weight: 500;
}

.nav-primary-link {
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.2s ease, border-color 0.2s ease;
    font-size: 1rem;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    white-space: nowrap;
}
.nav-primary-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.nav-primary-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

.nav-cta-ecosystem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 1rem;
    border-radius: var(--apex-radius-pill, 999px);
    border: 2px solid var(--apex-sage-purple, var(--primary));
    color: var(--apex-sage-purple, var(--primary));
    background: rgba(124, 58, 237, 0.06);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}
[data-theme="dark"] .nav-cta-ecosystem {
    background: rgba(10, 132, 255, 0.12);
    border-color: var(--apex-sage-blue-dark, var(--primary));
    color: var(--primary-light);
}
.nav-cta-ecosystem:hover {
    background: rgba(124, 58, 237, 0.14);
    box-shadow: 0 4px 14px -4px rgba(124, 58, 237, 0.35);
}
[data-theme="dark"] .nav-cta-ecosystem:hover {
    background: rgba(10, 132, 255, 0.2);
    box-shadow: 0 4px 14px -4px rgba(10, 132, 255, 0.25);
}
.nav-cta-ecosystem:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.nav-dropdown {
    position: relative;
}
.nav-dropdown-trigger {
    font: inherit;
    font-weight: 500;
    font-size: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    padding: 0 0 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-dropdown-trigger::after {
    content: "";
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    margin-bottom: 2px;
    opacity: 0.75;
}
.nav-dropdown.is-open .nav-dropdown-trigger::after {
    transform: rotate(-135deg);
    margin-bottom: -2px;
}
.nav-dropdown-trigger:hover,
.nav-dropdown.is-open .nav-dropdown-trigger {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.nav-dropdown-trigger:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}
.nav-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    min-width: 14rem;
    padding: 0.4rem 0;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--apex-radius-card, 16px);
    box-shadow: var(--shadow-sm);
    z-index: 60;
}
.nav-dropdown-panel[hidden] {
    display: none !important;
}
.nav-dropdown-panel:not([hidden]) {
    display: block;
}
.nav-dropdown-link {
    display: block;
    padding: 0.65rem 1.15rem;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.98rem;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown-link:hover {
    background: var(--accent);
    color: var(--primary);
}
.nav-dropdown-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.nav-hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gray-mid);
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.nav-hamburger:hover { border-color: var(--primary); color: var(--primary); }
.nav-hamburger:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.nav-hamburger i { font-size: 1.2rem; }
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}
.nav-mobile-menu[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}
.nav-mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(20rem, 88vw);
    min-height: 100vh;
    height: 100vh;
    background: var(--bg-card);
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    padding: 80px 24px 24px;
    transform: translateX(100%);
    transition: transform 0.2s;
    z-index: 41;
    overflow-y: auto;
}
.nav-mobile-menu[aria-hidden="false"] .nav-mobile-panel {
    transform: translateX(0);
}
.nav-mobile-group-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin: 1.1rem 0 0.4rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border-card);
}
.nav-mobile-panel > .nav-mobile-group-label:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.nav-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.nav-mobile-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-card);
    font-size: 1.05rem;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s ease;
}
.nav-mobile-links a:hover {
    color: var(--primary);
}
.nav-cta-ecosystem--mobile {
    margin-top: 4px;
    margin-bottom: 4px;
    text-align: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-card);
    border-radius: var(--apex-radius-pill, 999px);
    padding: 12px 1rem !important;
}
.nav-mobile-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-card);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-mobile-close:hover { background: var(--gray-light); }
@media (min-width: 769px) {
    .nav-primary {
        display: flex !important;
    }
}
/* Mobile: hamburger + drawer always — never tie visibility to scroll (was buggy: links at top, menu only after scroll). */
@media (max-width: 768px) {
    .nav-container > .nav-primary { display: none !important; }
    .nav-hamburger { display: flex !important; }
    .navbar[data-scrolled] { padding: 8px 0; }
    .navbar[data-scrolled] .nav-container { flex-direction: row; gap: 8px; }
    .navbar[data-scrolled] .logo { font-size: 1.35rem; }
    .navbar[data-scrolled] .nav-hamburger { width: 38px; height: 38px; }
    .navbar[data-scrolled] .dark-mode-toggle { width: 38px; height: 38px; }
    .navbar[data-scrolled] .lang-dropdown-trigger { padding: 6px 10px; font-size: 0.85rem; }
}
@media (min-width: 769px) {
    .nav-mobile-menu { display: none !important; }
}
@media (max-width: 768px) {
    .nav-mobile-menu { display: block; }
}
@media (max-width: 640px) {
    /* Keep header row usable on small phones: logo + hamburger + utils in one row when possible */
    .nav-container { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
}

/* In-page anchors: sticky nav no longer covers section titles */
main section[id] {
    scroll-margin-top: 6rem;
}

.hero {
    padding: 90px 0 110px;
    border-bottom: 1px solid var(--hero-border);
    /* Soft “digital plaza” haze — Prism tokens, stays readable in light/dark */
    background-image:
        radial-gradient(ellipse 120% 85% at 50% -15%, rgba(124, 58, 237, 0.11), transparent 52%),
        radial-gradient(ellipse 90% 55% at 100% 45%, rgba(94, 234, 212, 0.07), transparent 48%),
        radial-gradient(ellipse 70% 50% at 0% 55%, rgba(167, 139, 250, 0.08), transparent 45%),
        var(--prism-gradient-subtle),
        var(--gradient-bg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-content h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text);
    background: var(--prism-gradient-text-light, linear-gradient(145deg, #1e1b2e, #7c3aed));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.hero-content .highlight { color: var(--primary); background: none; display: inline-block; }

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 500px;
    margin-bottom: 32px;
}

.btn {
    display: inline-block;
    background-color: transparent;
    background-image: var(--prism-gradient-cta, linear-gradient(135deg, var(--apex-sage-purple), #6366f1));
    color: white;
    font-weight: 600;
    padding: 16px 44px;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1.15rem;
    box-shadow: 0 10px 24px -8px rgba(124, 58, 237, 0.45), var(--prism-glow-soft, none);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn:hover {
    filter: brightness(1.06) saturate(1.05);
    transform: translateY(-4px);
    box-shadow: 0 20px 28px -8px rgba(124, 58, 237, 0.5), var(--prism-glow-soft, none);
}

[data-theme="dark"] .btn {
    background-image: var(--prism-gradient-cta-dark, linear-gradient(135deg, #2563eb, #0a84ff));
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .btn {
        background-image: var(--prism-gradient-cta-dark, linear-gradient(135deg, #2563eb, #0a84ff));
    }
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1.05rem;
    border: 2px solid var(--primary);
    box-shadow: none;
    transition: all 0.25s ease;
}
.btn-secondary:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.hero-trust-strip {
    list-style: none;
    margin: 1.35rem 0 0;
    padding: 0.85rem 0 0;
    max-width: 520px;
    border-top: 1px solid var(--hero-border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.15rem;
}

.hero-trust-strip li {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-trust-strip li::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--prism-gradient-cta, var(--primary));
    flex-shrink: 0;
}

[data-theme="dark"] .hero-trust-strip {
    border-top-color: var(--border-card);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .hero-trust-strip {
        border-top-color: var(--border-card);
    }
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-janet-stage {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

/* Frame matches janet-hero-loop.mp4 (1604×2110) so still + video share the same crop/scale */
.hero-janet-stage .hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1604 / 2110;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(255,255,255,0.8);
    animation: gentle-float 9s infinite alternate ease-in-out;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-janet-stage .hero-image-wrap:hover {
    box-shadow: var(--shadow-hover);
}

.hero-janet-stage .hero-image-wrap:focus {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
}

.hero-janet-stage .hero-image-wrap img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    display: block;
}

.hero-janet-video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    cursor: pointer;
    transition: opacity 0.35s ease;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(255,255,255,0.8);
}

.hero-janet-stage.is-playing .hero-janet-video {
    opacity: 1;
    pointer-events: auto;
}

.hero-janet-stage.is-playing .hero-image-wrap {
    opacity: 0;
    pointer-events: none;
    animation: none;
}

.hero-janet-hint {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 12px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.hero-you-play-trigger {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
}

.hero-you-play-trigger:focus {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .hero-janet-stage .hero-image-wrap { animation: none; }
    .hero-janet-video { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-janet-hint { display: none; }
}

@keyframes gentle-float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-18px); }
}

@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-content h1 { font-size: 3rem; }
    .hero-cta-row { justify-content: center; }
    .hero-trust-strip {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
}

.section { padding: 100px 0; }

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    background: var(--prism-gradient-text-light, linear-gradient(135deg, #1e1b2e, #5b21b6));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}
[data-theme="dark"] .hero-content h1 {
    background: var(--prism-gradient-text-dark, linear-gradient(145deg, #ffffff, #60a5fa));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-theme="dark"] .hero-content .highlight {
    color: var(--apex-janet-cyan, #5eead4);
}
[data-theme="dark"] .hero-content p {
    color: #e2e8f0;
}
[data-theme="dark"] .section-header h2 {
    background: var(--prism-gradient-text-dark, linear-gradient(135deg, #e2e8f0, #60a5fa));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .hero-content h1 {
        background: var(--prism-gradient-text-dark, linear-gradient(145deg, #ffffff, #60a5fa));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    :root:not([data-theme="light"]) .section-header h2 {
        background: var(--prism-gradient-text-dark, linear-gradient(135deg, #e2e8f0, #60a5fa));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}
[data-theme="dark"] .section-header p { color: #e2e8f0; }
[data-theme="dark"] .about-content p { color: #e2e8f0; }
[data-theme="dark"] .trait h3 { color: #f1f5f9; }
[data-theme="dark"] .trait p { color: #cbd5e1; }
[data-theme="dark"] .companion-card h3 { color: #f1f5f9; }
[data-theme="dark"] .companion-card p { color: #e2e8f0; }
[data-theme="dark"] .support-side h3 { color: #f1f5f9; }
[data-theme="dark"] .support-side p { color: #e2e8f0; }
[data-theme="dark"] .faq-item .faq-question { color: #f1f5f9; }
[data-theme="dark"] .faq-item .faq-answer { color: #e2e8f0; }
[data-theme="dark"] .business-card-company { color: #f1f5f9; }
[data-theme="dark"] .business-card-tagline,
[data-theme="dark"] .business-card-contact { color: #e2e8f0; }
[data-theme="dark"] .understand-cta p { color: #e2e8f0; }

.section-header p {
    color: var(--text-light);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 28px;
}

.sage-traits {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.trait {
    background: var(--bg-card);
    padding: 20px 16px;
    border-radius: 30px;
    flex: 1;
    min-width: 140px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-card);
    transition: all 0.2s;
}

.trait:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.trait i {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.trait h3 { font-size: 1.3rem; margin-bottom: 6px; color: var(--text); }
.trait p { font-size: 0.9rem; margin: 0; color: var(--text-light); }

.about-image {
    border-radius: 60px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid white;
    background: linear-gradient(145deg, #ddd2ff, #ffffff);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.companions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.companion-card {
    background: var(--bg-card);
    border-radius: 40px;
    padding: 32px 24px 36px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-card);
    text-align: center;
    backdrop-filter: blur(4px);
}

.companion-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.card-icon {
    background: var(--accent);
    width: 80px;
    height: 80px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary);
    font-size: 2.8rem;
}

.companion-card h3 { font-size: 2rem; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.companion-card p { color: var(--text-light); font-size: 1rem; }
.companion-card a { color: var(--primary); font-weight: 600; text-decoration: none; }
.companion-card a:hover { text-decoration: underline; }

.vision-wrapper {
    background: linear-gradient(135deg, #201c3a 0%, #312b5a 100%);
    border-radius: 70px;
    padding: 80px 64px;
    color: white;
    box-shadow: 0 30px 40px -20px #312b5a;
}
[data-theme="dark"] .vision-wrapper {
    background: linear-gradient(135deg, #152033 0%, #1e2d4a 100%);
    box-shadow: 0 30px 40px -20px #1e2d4a;
}

.vision-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.vision-text h2 { font-size: 2.8rem; font-weight: 700; margin-bottom: 24px; color: white; }
.vision-text p { font-size: 1.25rem; opacity: 0.85; margin-bottom: 30px; max-width: 500px; }
.vision-text p.vision-sanctum {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-top: -12px;
    margin-bottom: 24px;
    max-width: 520px;
    line-height: 1.55;
}

.vision-tagline {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.vision-tagline span {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    padding: 10px 24px;
    border-radius: 60px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
}

.vision-stats { display: flex; gap: 30px; justify-content: flex-end; }
.stat-item { text-align: center; }
.stat-link { text-decoration: none; color: inherit; display: block; transition: opacity 0.2s; }
.stat-link:hover { opacity: 0.85; }
.stat-number { font-size: 3.2rem; font-weight: 800; color: #c7b0ff; }
[data-theme="dark"] .stat-number { color: #7eb8ff; }
.stat-label { text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; opacity: 0.7; }
.stat-def { font-size: 0.8rem; color: var(--text-light); margin-top: 8px; max-width: 220px; margin-left: auto; margin-right: auto; line-height: 1.4; }

@media (max-width: 800px) {
    .vision-grid { grid-template-columns: 1fr; }
    .vision-stats { justify-content: flex-start; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
}

.support-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: stretch;
    margin-top: 48px;
}

.support-embed {
    min-height: 320px;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--border-card);
    background: var(--bg-card);
}

.support-side {
    background: var(--bg-card);
    border-radius: 40px;
    padding: 36px 32px;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.support-side h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--text);
}

.support-side p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 1rem;
    flex: 1;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .support-grid { grid-template-columns: 1fr 1fr; }
    .support-embed { grid-column: 1 / -1; }
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}
.contact-card-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-card-inline {
    transform: scale(1);
}
.contact-card-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
.contact-card-actions .btn {
    min-width: 160px;
}
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-links h4 {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 4px;
}
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
.contact-link i {
    font-size: 1rem;
    opacity: 0.8;
}
.contact-social {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}
.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--primary);
    border: 1px solid var(--border-card);
    transition: all 0.2s;
}
.contact-social a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
[data-theme="dark"] .contact-links h4 { color: #f1f5f9; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.business-card-full {
    width: 340px;
    min-height: 220px;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-card);
    position: relative;
    overflow: hidden;
}
.business-card-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark), var(--primary));
}
.business-card-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr auto;
    gap: 12px 16px;
}
.business-card-icon {
    grid-row: 1 / 3;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}
.business-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.business-card-icon-fallback {
    font-size: 2rem;
    color: white;
}
.business-card-text {
    grid-column: 1;
}
.business-card-company {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin: 0 0 4px 0;
}
.business-card-tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    line-height: 1.3;
    margin: 0;
}
.business-card-qr {
    grid-row: 1 / 4;
    align-self: center;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg);
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.business-card-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.business-card-contact {
    grid-column: 1 / -1;
    font-size: 0.75rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.business-card-contact a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.business-card-contact a:hover {
    text-decoration: underline;
}
.business-card-actions,
.contact-card-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.business-card-download-png-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media print {
    .contact-card-actions { display: none !important; }
    #contact .business-card-full {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

.footer {
    background: #1e1b2e;
    color: #b7b0d4;
    padding: 56px 0 28px;
    border-radius: 60px 60px 0 0;
    margin-top: 40px;
}
[data-theme="dark"] .footer {
    background: #0f1726;
    color: #94a3b8;
}
[data-theme="dark"] .footer h4 { color: #e2e8f0; }
[data-theme="dark"] .footer-links a { color: #94a3b8; }
[data-theme="dark"] .footer-links a:hover { color: white; }
[data-theme="dark"] .social-icons a { background: #1e293b; }
[data-theme="dark"] .copyright { border-top-color: #1e293b; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col p { margin: 20px 0 0; line-height: 1.6; }
.footer-col h4 { color: white; font-size: 1.2rem; margin-bottom: 20px; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #b7b0d4; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: white; }

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.social-icons a {
    color: white;
    background: #2d2b4e;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.donate-links {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.donate-links a {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s;
}

.donate-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.copyright {
    text-align: center;
    border-top: 1px solid #3f3a60;
    padding-top: 24px;
    font-size: 0.9rem;
}

.footer-legal {
    text-align: center;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #8b85a8;
}

@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.goto-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    color: var(--primary);
    width: 52px;
    height: 52px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-card);
    transition: 0.2s;
    opacity: 0.85;
    text-decoration: none;
    font-size: 1.5rem;
    backdrop-filter: blur(4px);
}

.goto-top:hover {
    opacity: 1;
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

/* Q&A / FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    background: var(--bg-card);
    border-radius: 24px;
    margin-bottom: 16px;
    border: 1px solid var(--border-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--primary);
    transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary:focus { outline: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.faq-item .faq-answer {
    padding: 0 24px 24px;
    color: var(--text-light);
    line-height: 1.65;
}
.faq-item .faq-answer p { margin-bottom: 12px; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }
.faq-item .faq-answer a { color: var(--primary); font-weight: 500; }

.understand-cta-wrap { text-align: center; margin-top: 28px; }
.understand-btn { font-size: 1.15rem; padding: 16px 32px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.hero-promise-block {
    margin: 0.75rem 0 1rem;
    max-width: 520px;
}
.hero-promise-equation {
    font-size: clamp(1rem, 2.4vw, 1.2rem);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}
.hero-promise-w {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.4rem;
    border-radius: var(--apex-radius-pill, 999px);
    background: var(--apex-tagline-w-bg, linear-gradient(135deg, #5eead4, #38bdf8));
    color: var(--apex-tagline-w-fg, #0f1726);
    font-weight: 800;
    margin-left: 0.15rem;
    vertical-align: middle;
    box-shadow: var(--apex-mascot-glow, 0 0 24px rgba(94, 234, 212, 0.25));
}
.hero-promise-gloss {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}
.hero-promise-nocap {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.03em;
}
@media (prefers-reduced-motion: reduce) {
    .hero-janet-video { display: none !important; }
}
