/**
 * BroPro Ecosystem Portal — Ultra-Premium Stylesheet
 * Brand Theme: Emerald Green (#059669) & Golden Amber (#F59E0B)
 * Dark Luxury Obsidian Canvas (#06090C / #0A1115)
 * Inspired by industrial-grade B2B & consumer platforms
 */

:root,
[data-theme="dark"] {
    /* Brand Color Architecture */
    --emerald-primary: #059669;
    --emerald-bright: #10b981;
    --emerald-light: #34d399;
    --emerald-deep: #064e3b;
    --emerald-glow: rgba(16, 185, 129, 0.35);
    --emerald-subtle: rgba(16, 185, 129, 0.12);
    --emerald-border: rgba(16, 185, 129, 0.22);

    --amber-primary: #f59e0b;
    --amber-bright: #fbbf24;
    --amber-deep: #b45309;
    --amber-glow: rgba(245, 158, 11, 0.35);
    --amber-subtle: rgba(245, 158, 11, 0.12);
    --amber-border: rgba(245, 158, 11, 0.25);

    --gradient-brand: linear-gradient(135deg, #059669 0%, #10b981 40%, #f59e0b 100%);
    --gradient-brand-warm: linear-gradient(135deg, #0d8a68 0%, #d97706 100%);
    --gradient-emerald: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-amber: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);

    /* Backgrounds & Canvas (Dark by Default) */
    --bg-canvas: #06090c;
    --bg-surface: #0a1114;
    --bg-surface-elevated: #0f191e;
    --bg-glass: rgba(11, 20, 24, 0.76);
    --bg-glass-strong: rgba(14, 25, 30, 0.92);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(16, 185, 129, 0.4);

    /* Typography & Contrast */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
    --shadow-glow-emerald: 0 10px 40px rgba(16, 185, 129, 0.25);
    --shadow-glow-amber: 0 10px 40px rgba(245, 158, 11, 0.22);

    /* Layout */
    --max-w: 1280px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* ========================================================
   LIGHT MODE PALETTE (Ultra-Crisp Premium SaaS Pearl Canvas)
   Activated explicitly via [data-theme="light"]
   ======================================================== */
[data-theme="light"] {
    /* Backgrounds & Surfaces */
    --bg-canvas: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.88);
    --bg-glass-strong: rgba(255, 255, 255, 0.98);
    --border-glass: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(5, 150, 105, 0.45);

    /* Typography & Contrast */
    --text-primary: #090d16;
    --text-secondary: #1e293b;
    --text-muted: #475569;
    --text-dim: #64748b;

    /* Brand Accents Tuned for Light Contrast */
    --emerald-primary: #047857;
    --emerald-bright: #059669;
    --emerald-light: #065f46;
    --emerald-deep: #064e3b;
    --emerald-glow: rgba(5, 150, 105, 0.22);
    --emerald-subtle: rgba(5, 150, 105, 0.08);
    --emerald-border: rgba(5, 150, 105, 0.28);

    --amber-primary: #d97706;
    --amber-bright: #b45309;
    --amber-deep: #78350f;
    --amber-glow: rgba(217, 119, 6, 0.22);
    --amber-subtle: rgba(217, 119, 6, 0.08);
    --amber-border: rgba(217, 119, 6, 0.28);

    /* Elevation Shadows for Light Canvas */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 48px -10px rgba(15, 23, 42, 0.12);
    --shadow-glow-emerald: 0 8px 30px rgba(5, 150, 105, 0.16);
    --shadow-glow-amber: 0 8px 30px rgba(217, 119, 6, 0.14);
}

/* ========================================================
   10. NATIVE APP SHELL & DEVICE ADAPTATION
   Safe areas, touch ergonomics, tablet navigation and PWA chrome
   ======================================================== */
html {
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overscroll-behavior-y: none;
    scrollbar-gutter: stable;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
}

a,
button,
input,
select,
textarea {
    touch-action: manipulation;
}

button,
input,
select,
textarea {
    font: inherit;
}

.ecosystem-nav,
.mobile-tab-bar,
.mobile-drawer,
.eco-dropdown-panel {
    -webkit-backdrop-filter: blur(24px) saturate(145%);
    backdrop-filter: blur(24px) saturate(145%);
}

.is-standalone .top-announcement-bar {
    display: none;
}

.is-standalone .ecosystem-nav {
    padding-top: env(safe-area-inset-top, 0px);
}

body.drawer-open {
    overflow: hidden;
    touch-action: none;
}

.mobile-tab-bar {
    display: none;
}

.mobile-drawer-overlay {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 240ms ease, visibility 240ms ease;
}

.mobile-drawer-overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-drawer {
    right: 0;
    width: min(88vw, 360px);
    height: 100vh;
    height: 100dvh;
    padding:
        max(1.25rem, env(safe-area-inset-top, 0px))
        max(1.25rem, env(safe-area-inset-right, 0px))
        max(1.25rem, env(safe-area-inset-bottom, 0px))
        1.25rem;
    justify-content: flex-start;
    gap: 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translate3d(102%, 0, 0);
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -28px 0 70px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.active {
    right: 0;
    transform: translate3d(0, 0, 0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-brand {
    font-size: 1.35rem;
}

.mobile-drawer-close {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 1.2rem;
}

.drawer-links {
    gap: 0.35rem;
    margin-top: 1rem;
}

.drawer-link-item {
    min-height: 50px;
    padding: 0.72rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 13px;
}

.drawer-link-item:hover,
.drawer-link-item:focus-visible {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.drawer-theme-row {
    min-height: 56px;
    flex: 0 0 auto;
}

.drawer-theme-switch {
    min-width: 46px;
    min-height: 44px;
    display: grid;
    place-items: center;
}

@media (max-width: 1024px) {
    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    }

    .nav-menu-desktop {
        display: none;
    }

    .hamburger-btn {
        display: flex;
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .nav-actions {
        gap: 0.6rem;
    }

    .hero-section {
        padding-top: clamp(3rem, 7vw, 4.25rem);
    }

    .verticals-grid {
        gap: 0.9rem;
    }

    .footer-top-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mobile-tab-bar {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 180;
        padding: 0.35rem max(0.75rem, env(safe-area-inset-left, 0px)) env(safe-area-inset-bottom, 0px) max(0.75rem, env(safe-area-inset-right, 0px));
        border-top: 1px solid rgba(255, 255, 255, 0.09);
        background: rgba(7, 12, 15, 0.88);
        box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.3);
    }

    .mobile-tab-bar-inner {
        max-width: 720px;
        min-height: 60px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: stretch;
        gap: 0.2rem;
    }

    .mobile-tab-link {
        min-width: 0;
        min-height: 56px;
        padding: 0.35rem 0.15rem;
        border-radius: 14px;
        color: var(--text-dim);
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.18rem;
        font-size: 0.75rem;
        line-height: 1;
        font-weight: 620;
        user-select: none;
        transition: color 180ms ease, background-color 180ms ease, transform 120ms ease;
    }

    .mobile-tab-link svg {
        width: 21px;
        height: 21px;
        transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-tab-link.active,
    .mobile-tab-link[aria-current="page"] {
        color: var(--emerald-light);
        background: linear-gradient(180deg, rgba(16, 185, 129, 0.13), rgba(16, 185, 129, 0.035));
    }

    .mobile-tab-link.active svg,
    .mobile-tab-link[aria-current="page"] svg {
        transform: translateY(-1px);
        filter: drop-shadow(0 4px 7px rgba(16, 185, 129, 0.35));
    }

    .mobile-tab-link:active {
        transform: scale(0.93);
    }

    [data-theme="light"] .mobile-tab-bar {
        background: rgba(255, 255, 255, 0.9);
        border-top-color: rgba(15, 23, 42, 0.09);
        box-shadow: 0 -14px 34px rgba(15, 23, 42, 0.09);
    }

    [data-theme="light"] .mobile-tab-link {
        color: #64748b;
    }

    [data-theme="light"] .mobile-tab-link.active,
    [data-theme="light"] .mobile-tab-link[aria-current="page"] {
        color: #047857;
        background: linear-gradient(180deg, rgba(5, 150, 105, 0.12), rgba(5, 150, 105, 0.035));
    }
}

@media (max-width: 640px) {
    .top-announcement-bar {
        display: none;
    }

    .ecosystem-container {
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }

    .ecosystem-nav {
        padding-top: env(safe-area-inset-top, 0px);
    }

    .nav-wrapper {
        height: 68px;
    }

    .brand-logo-link {
        gap: 0.7rem;
    }

    .brand-logo-symbol {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    .brand-logo-text {
        font-size: 1.65rem;
    }

    .brand-hub-pill {
        font-size: 0.7rem;
        padding: 0.18rem 0.52rem;
        margin-left: 0.5rem;
    }

    .avatar-chevron {
        display: none;
    }

    .btn-theme-toggle,
    .btn-launcher,
    .avatar-circle-wrapper,
    .hamburger-btn {
        width: 40px;
        height: 40px;
    }

    .nav-actions {
        gap: 0.4rem;
    }

    .app-launcher-dropdown,
    .user-account-dropdown {
        position: fixed;
        top: calc(70px + env(safe-area-inset-top, 0px));
        left: max(0.75rem, env(safe-area-inset-left, 0px));
        right: max(0.75rem, env(safe-area-inset-right, 0px));
        width: auto;
        max-height: calc(100dvh - 92px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        overscroll-behavior: contain;
        border-radius: 22px;
    }

    .hero-section {
        padding: 2.35rem 0 1.75rem;
    }

    .hero-pill-badge {
        max-width: 100%;
        margin-bottom: 1.25rem;
        padding: 0.42rem 1.05rem;
        font-size: 0.78rem;
        gap: 0.45rem;
    }

    .hero-title {
        max-width: 420px;
        font-size: clamp(2.15rem, 10vw, 2.8rem);
        line-height: 1.08;
        margin-bottom: 1rem;
    }

    .hero-title br {
        display: none;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .hero-cta-group {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.7rem;
        margin-bottom: 1.75rem;
    }

    .btn-primary-lg,
    .btn-secondary-lg {
        width: 100%;
        min-height: 50px;
        justify-content: space-between;
        padding: 0.78rem 1.15rem;
        border-radius: 16px;
    }

    .metrics-strip {
        width: calc(100% + 1rem);
        margin-right: -1rem;
        padding: 0.7rem 1rem 0.75rem 0.75rem;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(142px, 43vw);
        gap: 0.55rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        border-radius: 18px 0 0 18px;
    }

    .metrics-strip::-webkit-scrollbar {
        display: none;
    }

    .metric-item {
        min-height: 76px;
        padding: 0.55rem;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 13px;
        background: rgba(255, 255, 255, 0.035);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        scroll-snap-align: start;
    }

    .metric-item::after {
        display: none !important;
    }

    [data-theme="light"] .metric-item {
        background: #f8fafc;
        border-color: rgba(15, 23, 42, 0.07);
    }

    .metric-number {
        font-size: 1.35rem;
    }

    .metric-label {
        font-size: 0.75rem;
    }

    .personalized-resume-bar {
        padding: 1rem;
        margin-top: 1.25rem;
        align-items: stretch;
        flex-direction: column;
    }

    .personalized-left {
        min-width: 0;
    }

    .personalized-meta {
        flex-wrap: wrap;
    }

    .btn-resume-learning {
        min-height: 46px;
        justify-content: center;
    }

    .section-verticals {
        padding: 2.75rem 0 2rem;
    }

    .section-header-centered {
        margin-bottom: 1.4rem;
    }

    .section-title {
        font-size: clamp(1.75rem, 8vw, 2.15rem);
        line-height: 1.12;
        margin-bottom: 0.65rem;
    }

    .section-lead {
        font-size: 1rem;
        line-height: 1.5;
    }

    .vertical-card {
        min-height: 292px;
        border-radius: 19px;
    }

    .card-description {
        -webkit-line-clamp: 2;
    }

    .ecosystem-footer {
        margin-top: 2rem;
        padding: 3rem 0 1.5rem;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .footer-brand-col {
        grid-column: auto;
        padding-right: 0;
    }

    .footer-operator-card,
    .operator-left,
    .operator-contact-chips {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-chip {
        min-height: 44px;
        justify-content: center;
    }

    .trust-badges-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .mobile-tab-bar-inner {
        min-height: 58px;
    }

    .mobile-tab-link {
        min-height: 54px;
        font-size: 0.7rem;
    }
}

@media (max-width: 520px) {
    .btn-theme-toggle {
        display: none;
    }

    .card-tags-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.15rem;
        scrollbar-width: none;
    }

    .card-tags-list::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 370px) {
    .brand-logo-symbol {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    .brand-logo-text {
        font-size: 1.35rem;
    }

    .brand-hub-pill {
        display: none;
    }

    .nav-actions {
        gap: 0.28rem;
    }

    .btn-launcher,
    .avatar-circle-wrapper,
    .hamburger-btn {
        width: 38px;
        height: 38px;
    }

    .mobile-tab-link {
        font-size: 0.65rem;
    }

    .mobile-tab-link svg {
        width: 19px;
        height: 19px;
    }
}

/* ========================================================
   11. PREMIUM CLICK AFFORDANCE
   The complete card remains the semantic link; these layers make that
   behavior unmistakable without introducing nested controls.
   ======================================================== */
.vertical-card {
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.card-interaction-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(var(--card-accent-rgb), 0);
    transition: box-shadow 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.card-interaction-layer::before {
    content: '';
    position: absolute;
    top: -55%;
    bottom: -55%;
    left: -45%;
    width: 34%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.025) 18%,
        rgba(255, 255, 255, 0.19) 50%,
        rgba(var(--card-accent-rgb), 0.08) 72%,
        transparent
    );
    filter: blur(1px);
    transform: skewX(-18deg) translate3d(-180%, 0, 0);
    opacity: 0;
}

.card-interaction-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(var(--card-accent-rgb), 0.055), transparent 35%, transparent 68%, rgba(var(--card-accent-rgb), 0.045));
    opacity: 0;
    transition: opacity 300ms ease;
}

.vertical-card::before {
    transition: left 420ms cubic-bezier(0.16, 1, 0.3, 1), right 420ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease, filter 220ms ease;
}

.card-footer-action {
    min-height: 44px;
    margin-top: auto;
    padding: 0.48rem 0.48rem 0.48rem 0.78rem;
    border: 1px solid rgba(var(--card-accent-rgb), 0.24);
    border-radius: 13px;
    overflow: hidden;
    background:
        linear-gradient(110deg, rgba(var(--card-accent-rgb), 0.12), rgba(var(--card-accent-rgb), 0.035) 62%),
        rgba(255, 255, 255, 0.018);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.055),
        0 8px 20px -18px rgba(var(--card-accent-rgb), 0.8);
    transition:
        border-color 240ms ease,
        box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
        color 220ms ease;
}

.card-footer-action::before {
    top: 0;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    background: linear-gradient(105deg, rgba(var(--card-accent-rgb), 0.9), rgba(var(--card-accent-rgb), 0.62));
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0.17;
    transition: transform 480ms cubic-bezier(0.16, 1, 0.3, 1), opacity 240ms ease;
}

.card-footer-action::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.16) 48%, transparent 66%);
    transform: translate3d(-120%, 0, 0);
    opacity: 0;
    pointer-events: none;
}

.card-footer-action > span {
    position: relative;
    z-index: 1;
}

.card-footer-action > span:first-child {
    transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), letter-spacing 280ms ease;
}

.card-action-arrow {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-color: rgba(var(--card-accent-rgb), 0.42);
    background: rgba(var(--card-accent-rgb), 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 14px -10px rgba(var(--card-accent-rgb), 0.9);
}

@media (hover: hover) and (pointer: fine) {
    .vertical-card:hover,
    .vertical-card:focus-visible {
        border-color: rgba(var(--card-accent-rgb), 0.62);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.13),
            0 34px 72px -42px rgba(var(--card-accent-rgb), 0.95),
            0 24px 48px -34px rgba(0, 0, 0, 0.98);
    }

    .vertical-card:hover::before,
    .vertical-card:focus-visible::before {
        left: 5%;
        right: 5%;
        opacity: 1;
        filter: drop-shadow(0 0 6px rgba(var(--card-accent-rgb), 0.55));
    }

    .vertical-card:hover .card-interaction-layer,
    .vertical-card:focus-visible .card-interaction-layer {
        box-shadow: inset 0 0 0 1px rgba(var(--card-accent-rgb), 0.18);
    }

    .vertical-card:hover .card-interaction-layer::before,
    .vertical-card:focus-visible .card-interaction-layer::before {
        opacity: 1;
        animation: premiumCardSheen 920ms cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .vertical-card:hover .card-interaction-layer::after,
    .vertical-card:focus-visible .card-interaction-layer::after {
        opacity: 1;
    }

    .vertical-card:hover .card-footer-action,
    .vertical-card:focus-visible .card-footer-action {
        color: #ffffff;
        border-color: rgba(var(--card-accent-rgb), 0.58);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 13px 26px -18px rgba(var(--card-accent-rgb), 0.95);
        transform: translate3d(0, -2px, 20px);
    }

    .vertical-card:hover .card-footer-action::before,
    .vertical-card:focus-visible .card-footer-action::before {
        transform: scaleX(1);
        opacity: 0.24;
    }

    .vertical-card:hover .card-footer-action::after,
    .vertical-card:focus-visible .card-footer-action::after {
        opacity: 1;
        animation: premiumActionSheen 780ms 90ms cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .vertical-card:hover .card-footer-action > span:first-child,
    .vertical-card:focus-visible .card-footer-action > span:first-child {
        transform: translateX(3px);
        letter-spacing: 0.012em;
    }

    .vertical-card:hover .card-action-arrow,
    .vertical-card:focus-visible .card-action-arrow {
        transform: translate3d(2px, -2px, 24px) rotate(5deg) scale(1.05);
        box-shadow: 0 9px 18px -10px rgba(var(--card-accent-rgb), 0.95);
    }
}

.vertical-card:active .card-footer-action {
    transform: translate3d(0, 1px, 8px) scale(0.985);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.18);
}

@keyframes premiumCardSheen {
    from { transform: skewX(-18deg) translate3d(-180%, 0, 0); }
    to { transform: skewX(-18deg) translate3d(620%, 0, 0); }
}

@keyframes premiumActionSheen {
    from { transform: translate3d(-120%, 0, 0); }
    to { transform: translate3d(120%, 0, 0); }
}

[data-theme="light"] .card-footer-action {
    color: #0f172a;
    background:
        linear-gradient(110deg, rgba(var(--card-accent-rgb), 0.105), rgba(var(--card-accent-rgb), 0.025) 62%),
        rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 #ffffff, 0 9px 20px -18px rgba(var(--card-accent-rgb), 0.75);
}

@media (hover: none), (pointer: coarse) {
    .card-footer-action {
        border-color: rgba(var(--card-accent-rgb), 0.36);
        background: linear-gradient(110deg, rgba(var(--card-accent-rgb), 0.17), rgba(var(--card-accent-rgb), 0.055));
    }

    .card-action-arrow {
        color: #07110e;
        background: var(--card-accent);
        border-color: transparent;
    }

    [data-theme="light"] .card-action-arrow {
        color: #ffffff;
    }
}

@media (prefers-reduced-motion: reduce) {
    .card-interaction-layer,
    .card-interaction-layer::before,
    .card-interaction-layer::after,
    .card-footer-action,
    .card-footer-action::before,
    .card-footer-action::after,
    .card-footer-action > span,
    .card-action-arrow {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-height: 520px) and (orientation: landscape) {
    .top-announcement-bar {
        display: none;
    }

    .ecosystem-nav {
        padding-top: env(safe-area-inset-top, 0px);
    }

    .nav-wrapper {
        height: 54px;
    }

    .hero-section {
        padding-top: 1.5rem;
    }

    .mobile-drawer {
        padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
    }
}

@media (pointer: coarse) {
    .vertical-card,
    .launcher-app-card,
    .nav-item-link,
    .drawer-link-item,
    .footer-link,
    .contact-chip,
    .btn-primary-lg,
    .btn-secondary-lg {
        -webkit-tap-highlight-color: transparent;
    }

    .vertical-card:active,
    .launcher-app-card:active,
    .btn-primary-lg:active,
    .btn-secondary-lg:active {
        transform: scale(0.985);
    }
}

@media (prefers-contrast: more) {
    .vertical-card,
    .metrics-strip,
    .eco-dropdown-panel,
    .mobile-tab-bar {
        border-color: currentColor;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    font-size: 16px;
    background-color: var(--bg-canvas);
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="light"] html {
    color-scheme: light;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-canvas);
    color: var(--text-secondary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Atmospheric Background Aura (Zookadesk-inspired) */
.ambient-scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-light-emerald {
    position: absolute;
    top: -15%;
    left: 20%;
    width: 65vw;
    height: 65vh;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.18) 0%, rgba(16, 185, 129, 0.05) 50%, transparent 75%);
    filter: blur(100px);
    animation: pulseAura 18s ease-in-out infinite alternate;
}

.ambient-light-amber {
    position: absolute;
    top: 25%;
    right: -10%;
    width: 55vw;
    height: 60vh;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.03) 50%, transparent 75%);
    filter: blur(120px);
    animation: pulseAura 22s ease-in-out infinite alternate-reverse;
}

.ambient-light-rays {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16, 185, 129, 0.15), transparent);
    opacity: 0.8;
}

@keyframes pulseAura {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(-20px, 30px); }
    100% { transform: scale(0.95) translate(30px, -20px); }
}

/* Containers */
.ecosystem-container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* ========================================================
   1. TOP ANNOUNCEMENT TICKER (BroPro Store / Official Style)
   ======================================================== */
.top-announcement-bar {
    background: linear-gradient(90deg, #034b36 0%, #065f46 50%, #0d5f49 100%);
    border-bottom: 1px solid rgba(52, 211, 153, 0.25);
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100;
    letter-spacing: 0.01em;
}

.top-announcement-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
}

.announcement-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.announcement-link {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.25rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.announcement-link:hover {
    color: #ffffff;
    text-decoration: underline;
    transform: translateX(2px);
}

/* ========================================================
   2. NAVBAR
   ======================================================== */
.ecosystem-nav {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(6, 9, 12, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.3s ease;
}

.ecosystem-nav.scrolled {
    background: rgba(6, 9, 12, 0.94);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}

/* Logo: Two-Tone Golden Amber "Bro" & Emerald Green "Pro" */
.brand-logo-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    user-select: none;
}

.brand-logo-symbol {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(16, 185, 129, 0.2));
    border: 1.5px solid rgba(16, 185, 129, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    position: relative;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25), 0 0 12px rgba(245, 158, 11, 0.18);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo-link:hover .brand-logo-symbol {
    transform: translateY(-2px) scale(1.05);
    border-color: var(--amber-bright);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 11px;
}

.brand-logo-text {
    display: flex;
    align-items: baseline;
    font-size: 1.95rem;
    font-weight: 850;
    letter-spacing: -0.025em;
    line-height: 1;
}

.brand-part-bro {
    color: var(--amber-bright);
    font-weight: 900;
    text-shadow: 0 2px 14px rgba(245, 158, 11, 0.35);
}

.brand-part-pro {
    color: var(--emerald-bright);
    font-weight: 900;
    text-shadow: 0 2px 14px rgba(16, 185, 129, 0.35);
}

.brand-hub-pill {
    background: rgba(16, 185, 129, 0.18);
    border: 1.5px solid rgba(16, 185, 129, 0.45);
    color: #34d399;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.24rem 0.65rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-left: 0.65rem;
    align-self: center;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.22);
}

/* Nav Menu Links */
.nav-menu-desktop {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-item-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.925rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    padding: 0.4rem 0;
}

.nav-item-link:hover {
    color: #ffffff;
}

.nav-item-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-item-link:hover::after {
    width: 100%;
}

.nav-item-icon {
    font-size: 1.05rem;
}

/* ========================================================
   2B. TOP-RIGHT CONTROLS: 9-DOT LAUNCHER & USER AVATAR HUB
   ======================================================== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    position: relative;
}

.nav-dropdown-wrapper {
    position: relative;
}


/* Luxury Tactile Theme Toggle Button (Dark / Light Mode) */
.btn-theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: #cbd5e1;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-theme-toggle:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.22);
}

.theme-icon-container {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-icon-moon,
.theme-icon-sun {
    position: absolute;
    inset: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

/* Default / Dark Mode: Moon visible */
[data-theme="dark"] .theme-icon-moon,
:root:not([data-theme="light"]) .theme-icon-moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

[data-theme="dark"] .theme-icon-sun,
:root:not([data-theme="light"]) .theme-icon-sun {
    opacity: 0;
    transform: scale(0.3) rotate(90deg);
    pointer-events: none;
}

/* Light Mode: Sun visible */
[data-theme="light"] .theme-icon-sun {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    color: #d97706;
}

[data-theme="light"] .theme-icon-moon {
    opacity: 0;
    transform: scale(0.3) rotate(-90deg);
    pointer-events: none;
}

/* 9-Dot Waffle Launcher Button */
.btn-launcher {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: #cbd5e1;
    outline: none;
}

.btn-launcher:hover,
.btn-launcher.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25);
}

.waffle-dots-grid {
    width: 18px;
    height: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    align-items: center;
    justify-items: center;
}

.waffle-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: currentColor;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-launcher:hover .waffle-dot {
    background-color: var(--emerald-bright);
}

/* User Profile & Avatar Hub Button (Image 1788596534168 Inspired) */
.btn-avatar-hub {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    position: relative;
    outline: none;
    user-select: none;
}

.avatar-circle-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
}

.avatar-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border: 2px solid #10b981;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a202c;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-silhouette-svg {
    width: 22px;
    height: 22px;
    color: #1a202c;
}

.btn-avatar-hub:hover .avatar-circle,
.btn-avatar-hub.active .avatar-circle {
    transform: scale(1.06);
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.7);
    border-color: #34d399;
}

/* Floating Ribbon Medal Badge (Top-Right of Avatar) */
.avatar-ribbon-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #090d10;
    border: 1.5px solid #fbbf24;
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    transition: transform 0.2s ease;
}

.btn-avatar-hub:hover .avatar-ribbon-badge {
    transform: scale(1.15) rotate(5deg);
}

.avatar-chevron {
    color: #94a3b8;
    display: flex;
    align-items: center;
    transition: transform 0.25s ease, color 0.2s ease;
}

.btn-avatar-hub.active .avatar-chevron {
    transform: rotate(180deg);
    color: var(--amber-bright);
}

/* ========================================================
   2C. ECOSYSTEM DROPDOWN PANELS
   ======================================================== */
.eco-dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    background: rgba(10, 17, 21, 0.95);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.75), 0 0 30px rgba(16, 185, 129, 0.12);
    display: none;
    z-index: 200;
    transform-origin: top right;
    animation: dropdownPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.eco-dropdown-panel.active {
    display: block;
}

@keyframes dropdownPop {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(-8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Dropdown Header */
.dropdown-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-header-title {
    font-size: 0.925rem;
    font-weight: 700;
    color: #ffffff;
}

.dropdown-header-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--emerald-light);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 9-Dot App Launcher Dropdown */
.app-launcher-dropdown {
    width: 350px;
}

.launcher-grid-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
}

.launcher-app-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 0.9rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.launcher-app-card:hover {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.35);
    transform: translateY(-2px);
}

.launcher-app-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.45rem;
    background: rgba(255, 255, 255, 0.06);
}

.icon-bg-learning { background: rgba(245, 158, 11, 0.2); }
.icon-bg-times { background: rgba(16, 185, 129, 0.2); }
.icon-bg-compassion { background: rgba(244, 63, 94, 0.2); }
.icon-bg-store { background: rgba(20, 184, 166, 0.2); }
.icon-bg-science { background: rgba(59, 130, 246, 0.2); }
.icon-bg-math { background: rgba(168, 85, 247, 0.2); }
.icon-bg-periodic { background: rgba(236, 72, 153, 0.2); }
.icon-bg-rank { background: rgba(234, 179, 8, 0.2); }
.icon-bg-bhai { background: rgba(99, 102, 241, 0.22); }

.launcher-app-title {
    font-size: 0.775rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.launcher-app-desc {
    font-size: 0.65rem;
    color: var(--text-dim);
    line-height: 1.15;
}

/* User Account Dropdown */
.user-account-dropdown {
    width: 320px;
}

.account-user-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-avatar-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border: 2px solid #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a202c;
    font-size: 1.4rem;
    overflow: hidden;
    flex-shrink: 0;
}

.account-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-name-block {
    overflow: hidden;
}

.account-name-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-email-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

.account-role-badge {
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(245, 158, 11, 0.18);
    color: var(--amber-bright);
    padding: 0.1rem 0.45rem;
    border-radius: var(--radius-full);
    display: inline-block;
}

/* Account Wallet & XP Strip */
.account-stats-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    margin: 1rem 0;
}

.account-stat-box {
    text-align: center;
}

.account-stat-val {
    display: block;
    font-size: 0.925rem;
    font-weight: 800;
    color: #ffffff;
}

.account-stat-val.gold { color: var(--amber-bright); }
.account-stat-val.emerald { color: var(--emerald-bright); }

.account-stat-lbl {
    font-size: 0.65rem;
    color: var(--text-dim);
    text-transform: uppercase;
}

/* Account Quick Links */
.account-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.account-link-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: all 0.2s ease;
}

.account-link-item:hover {
    background: rgba(16, 185, 129, 0.12);
    color: #ffffff;
    transform: translateX(2px);
}

.account-link-icon {
    font-size: 1rem;
}

.btn-signout-action {
    width: 100%;
    background: rgba(244, 63, 94, 0.12);
    border: 1px solid rgba(244, 63, 94, 0.25);
    color: #fb7185;
    font-family: inherit;
    font-size: 0.825rem;
    font-weight: 600;
    padding: 0.65rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
}

.btn-signout-action:hover {
    background: rgba(244, 63, 94, 0.22);
    border-color: #f43f5e;
    color: #ffffff;
}

.btn-account-login {
    width: 100%;
    background: var(--gradient-brand-warm);
    border: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
}

.btn-account-login:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.account-dropdown-note {
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
}

.hamburger-btn {
    display: none;
    background: none;
    border: 1px solid var(--border-glass);
    color: #ffffff;
    font-size: 1.35rem;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ========================================================
   3. HERO SECTION
   ======================================================== */
.hero-section {
    padding: 5rem 0 3.5rem;
    text-align: center;
    position: relative;
}

/* ============================================
   PREMIUM GLOWING HERO BADGE
   Fluid Rotating Aurora Border + Breathing Ambient Aura
   ============================================ */
.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.52rem 1.45rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #34d399;
    position: relative;
    z-index: 1;
    cursor: default;
    user-select: none;
    background: transparent;
    border: none;
    margin-bottom: 1.75rem;
    animation: ecoBadgeGlowPulse 4s ease-in-out infinite;
    text-shadow: 0 0 12px rgba(16, 185, 129, 0.55);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

/* Fluid Multi-Color Aurora Border Glow */
.hero-pill-badge::before {
    content: '';
    position: absolute;
    top: -2.5px;
    left: -2.5px;
    right: -2.5px;
    bottom: -2.5px;
    background: linear-gradient(
        90deg,
        #10b981 0%,
        #34d399 20%,
        #fbbf24 40%,
        #06b6d4 60%,
        #8b5cf6 80%,
        #10b981 100%
    );
    background-size: 300% 100%;
    border-radius: var(--radius-full);
    z-index: -2;
    animation: ecoBadgeGlowRotate 4s linear infinite;
    filter: blur(5px);
    opacity: 0.92;
    will-change: background-position;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

/* Inner Core Surface (Deep obsidian emerald glass for ultra-clean readability) */
.hero-pill-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(6, 15, 20, 0.94);
    border: 1px solid rgba(52, 211, 153, 0.4);
    border-radius: var(--radius-full);
    z-index: -1;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.hero-pill-badge:hover {
    transform: translateY(-2px) scale(1.02);
}

.hero-pill-badge:hover::before {
    opacity: 1;
    filter: blur(8px);
}

.hero-pill-icon {
    display: inline-block;
    font-size: 1rem;
    line-height: 1;
    animation: ecoSparklePulse 2.5s ease-in-out infinite;
}

/* Keyframes for Rotating Gradient Border */
@keyframes ecoBadgeGlowRotate {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}

/* Keyframes for Multi-Stage Breathing Ambient Aura */
@keyframes ecoBadgeGlowPulse {
    0%, 100% {
        box-shadow:
            0 0 18px rgba(16, 185, 129, 0.45),
            0 0 34px rgba(16, 185, 129, 0.22),
            0 0 54px rgba(16, 185, 129, 0.08);
    }
    25% {
        box-shadow:
            0 0 18px rgba(52, 211, 153, 0.45),
            0 0 34px rgba(52, 211, 153, 0.22),
            0 0 54px rgba(52, 211, 153, 0.08);
    }
    50% {
        box-shadow:
            0 0 18px rgba(251, 191, 36, 0.45),
            0 0 34px rgba(251, 191, 36, 0.22),
            0 0 54px rgba(251, 191, 36, 0.08);
    }
    75% {
        box-shadow:
            0 0 18px rgba(6, 182, 212, 0.45),
            0 0 34px rgba(6, 182, 212, 0.22),
            0 0 54px rgba(139, 92, 246, 0.08);
    }
}

/* Keyframes for Light Mode Breathing Ambient Aura */
@keyframes ecoBadgeGlowPulseLight {
    0%, 100% {
        box-shadow:
            0 0 14px rgba(16, 185, 129, 0.32),
            0 0 28px rgba(16, 185, 129, 0.16),
            0 4px 12px rgba(0, 0, 0, 0.04);
    }
    25% {
        box-shadow:
            0 0 14px rgba(52, 211, 153, 0.32),
            0 0 28px rgba(52, 211, 153, 0.16),
            0 4px 12px rgba(0, 0, 0, 0.04);
    }
    50% {
        box-shadow:
            0 0 14px rgba(245, 158, 11, 0.32),
            0 0 28px rgba(245, 158, 11, 0.16),
            0 4px 12px rgba(0, 0, 0, 0.04);
    }
    75% {
        box-shadow:
            0 0 14px rgba(6, 182, 212, 0.32),
            0 0 28px rgba(6, 182, 212, 0.16),
            0 4px 12px rgba(0, 0, 0, 0.04);
    }
}

@keyframes ecoSparklePulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.92;
    }
    50% {
        transform: scale(1.18) rotate(10deg);
        opacity: 1;
        filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.85));
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-pill-badge,
    .hero-pill-badge::before,
    .hero-pill-icon {
        animation: none !important;
    }
    .hero-pill-badge::before {
        background-position: 50% 50%;
    }
}

.hero-title {
    font-size: clamp(2.35rem, 5.5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.12;
    color: #ffffff;
    letter-spacing: -0.03em;
    max-width: 960px;
    margin: 0 auto 1.5rem;
}

.gradient-emerald-gold {
    background: linear-gradient(135deg, #10b981 0%, #34d399 40%, #fbbf24 85%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.btn-primary-lg {
    background: var(--gradient-brand-warm);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 30px rgba(13, 138, 104, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(217, 119, 6, 0.45);
    filter: brightness(1.1);
}

.btn-secondary-lg {
    background: rgba(14, 25, 30, 0.8);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary-lg:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--emerald-bright);
    transform: translateY(-2px);
}

/* Metrics & Trust Bar */
.metrics-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    max-width: 1040px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.metric-item {
    text-align: center;
    padding: 0 1rem;
    position: relative;
}

.metric-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.metric-number {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 0.15rem;
}

.metric-number.emerald-text { color: var(--emerald-bright); }
.metric-number.amber-text { color: var(--amber-bright); }

.metric-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========================================================
   4. PERSONALIZED DASHBOARD BANNER (Logged-in state)
   ======================================================== */
.personalized-resume-bar {
    display: none; /* Shown dynamically via JS when logged in */
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(245, 158, 11, 0.12) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.75rem;
    margin: 2.5rem auto 0;
    max-width: 1040px;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.personalized-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.personalized-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient-brand-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.personalized-greeting {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.personalized-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.2rem;
}

.meta-pill {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    color: var(--amber-bright);
    font-weight: 600;
}

.btn-resume-learning {
    background: var(--emerald-primary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-resume-learning:hover {
    background: var(--emerald-bright);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

/* ========================================================
   5. VERTICALS SHOWCASE GRID (The 4 Grand Cards)
   ======================================================== */
.section-verticals {
    padding: 4.25rem 0;
}

.section-header-centered {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.section-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    background: var(--amber-subtle);
    border: 1px solid var(--amber-border);
    color: var(--amber-bright);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.section-verticals .ecosystem-container {
    max-width: 1500px;
}

.verticals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    perspective: 1200px;
}

/* Compact, tactile navigation cards. Motion variables are spring-driven in JS. */
.vertical-card {
    --card-accent: #f59e0b;
    --card-accent-rgb: 245, 158, 11;
    --pointer-x: 50%;
    --pointer-y: 50%;
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --card-lift: 0px;
    --card-scale: 1;
    min-width: 0;
    min-height: 330px;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(var(--card-accent-rgb), 0.105) 0%, rgba(var(--card-accent-rgb), 0.018) 38%, transparent 62%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018) 52%, rgba(255, 255, 255, 0.035)),
        rgba(10, 18, 22, 0.88);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.075),
        inset 0 -1px 0 rgba(0, 0, 0, 0.16),
        0 14px 32px -24px rgba(0, 0, 0, 0.9);
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(900px) translate3d(0, var(--card-lift), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(var(--card-scale));
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transition:
        border-color 220ms ease,
        background-color 220ms ease,
        box-shadow 380ms cubic-bezier(0.16, 1, 0.3, 1);
    animation: verticalCardReveal 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.vertical-card:nth-child(2) { animation-delay: 70ms; }
.vertical-card:nth-child(3) { animation-delay: 140ms; }
.vertical-card:nth-child(4) { animation-delay: 210ms; }

@keyframes verticalCardReveal {
    from { opacity: 0; filter: blur(5px); }
    to { opacity: 1; filter: blur(0); }
}

.vertical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16%;
    right: 16%;
    height: 1px;
    z-index: 2;
    background: linear-gradient(90deg, transparent, rgba(var(--card-accent-rgb), 0.9), transparent);
    opacity: 0.72;
    pointer-events: none;
}

.vertical-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: radial-gradient(310px circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.15), transparent 43%);
    opacity: 0;
    mix-blend-mode: soft-light;
    transition: opacity 260ms ease;
    pointer-events: none;
}

.vertical-card:hover,
.vertical-card:focus-visible {
    --card-lift: -7px;
    --card-scale: 1.01;
    border-color: rgba(var(--card-accent-rgb), 0.46);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.11),
        0 30px 62px -38px rgba(var(--card-accent-rgb), 0.82),
        0 22px 44px -32px rgba(0, 0, 0, 0.95);
}

.vertical-card:hover::after,
.vertical-card:focus-visible::after {
    opacity: 0.78;
}

.vertical-card:focus-visible {
    outline: 3px solid rgba(var(--card-accent-rgb), 0.28);
    outline-offset: 4px;
}

.vertical-card.is-physics-active {
    will-change: transform;
}

.card-theme-learning {
    --card-accent: #f59e0b;
    --card-accent-rgb: 245, 158, 11;
}

.card-theme-times {
    --card-accent: #10b981;
    --card-accent-rgb: 16, 185, 129;
}

.card-theme-compassion {
    --card-accent: #fb7185;
    --card-accent-rgb: 251, 113, 133;
}

.card-theme-store {
    --card-accent: #2dd4bf;
    --card-accent-rgb: 45, 212, 191;
}

.card-radial-glow {
    position: absolute;
    top: -72px;
    right: -64px;
    width: 220px;
    height: 220px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--card-accent-rgb), 0.19), rgba(var(--card-accent-rgb), 0.035) 45%, transparent 70%);
    filter: blur(2px);
    pointer-events: none;
    transform: translateZ(1px);
    transition: opacity 300ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.vertical-card:hover .card-radial-glow,
.vertical-card:focus-visible .card-radial-glow {
    opacity: 1;
    transform: translate3d(-7px, 7px, 1px) scale(1.08);
}

.card-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    position: relative;
    z-index: 2;
}

.card-badge-pill {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.62rem;
    border: 1px solid rgba(var(--card-accent-rgb), 0.25);
    border-radius: var(--radius-full);
    background: rgba(var(--card-accent-rgb), 0.075);
    color: var(--card-accent);
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    white-space: nowrap;
}

.card-badge-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(var(--card-accent-rgb), 0.105);
}

.card-icon-bubble {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid rgba(var(--card-accent-rgb), 0.24);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(var(--card-accent-rgb), 0.16), rgba(var(--card-accent-rgb), 0.045));
    color: var(--card-accent);
    display: grid;
    place-items: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
    transform: translateZ(18px);
    transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms ease;
}

.card-icon-bubble svg {
    width: 21px;
    height: 21px;
}

.vertical-card:hover .card-icon-bubble,
.vertical-card:focus-visible .card-icon-bubble {
    transform: translate3d(0, -2px, 24px) rotate(-2deg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 12px 24px -14px rgba(var(--card-accent-rgb), 0.8);
}

.card-copy {
    position: relative;
    z-index: 2;
}

.card-title {
    color: var(--text-primary);
    font-size: 1.35rem;
    line-height: 1.18;
    font-weight: 760;
    letter-spacing: -0.025em;
    margin-bottom: 0.6rem;
}

.card-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.48;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tags-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0.4rem;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0.25rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.25;
    font-weight: 550;
    white-space: nowrap;
    transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.tag-pill::before {
    content: '';
    width: 4px;
    height: 4px;
    margin-right: 0.42rem;
    border-radius: 50%;
    background: var(--card-accent);
    opacity: 0.8;
}

.vertical-card:hover .tag-pill,
.vertical-card:focus-visible .tag-pill {
    border-color: rgba(var(--card-accent-rgb), 0.2);
    background: rgba(var(--card-accent-rgb), 0.075);
}

.card-footer-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    line-height: 1.2;
    font-weight: 680;
    position: relative;
    z-index: 2;
}

.card-footer-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--card-accent-rgb), 0.36), rgba(255, 255, 255, 0.055) 55%, transparent);
}

.card-action-arrow {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border: 1px solid rgba(var(--card-accent-rgb), 0.22);
    border-radius: 50%;
    background: rgba(var(--card-accent-rgb), 0.08);
    color: var(--card-accent);
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease, color 220ms ease;
}

.vertical-card:hover .card-action-arrow,
.vertical-card:focus-visible .card-action-arrow {
    color: #07110e;
    background: var(--card-accent);
    transform: translate3d(2px, -2px, 18px) rotate(4deg);
}

@media (min-width: 720px) {
    .verticals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .verticals-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1440px) {
    .verticals-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .vertical-card,
    .card-radial-glow,
    .card-icon-bubble,
    .card-action-arrow {
        animation: none;
        transition-duration: 0.01ms;
    }

    .vertical-card {
        transform: none;
    }
}

/* ========================================================
   6. PRODUCTION COMPLIANCE & LEGAL FOOTER
   ======================================================== */
.ecosystem-footer {
    background: #040608;
    border-top: 1px solid var(--border-glass);
    padding: 4.5rem 0 2rem;
    position: relative;
    z-index: 10;
    margin-top: 4rem;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand-col {
    padding-right: 1.5rem;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    text-decoration: none;
}

.footer-brand-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.footer-tm-notice {
    font-size: 0.775rem;
    color: var(--text-dim);
    line-height: 1.5;
    border-left: 2px solid var(--amber-primary);
    padding-left: 0.75rem;
}

.footer-heading {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-link:hover {
    color: var(--emerald-bright);
    transform: translateX(3px);
}

/* Operator & Registered Info Box */
.footer-operator-card {
    background: rgba(14, 25, 30, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.operator-left {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.operator-icon {
    font-size: 2rem;
    color: var(--emerald-bright);
}

.operator-title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.operator-address {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.operator-contact-chips {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.775rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.contact-chip:hover {
    border-color: var(--emerald-bright);
    color: #ffffff;
}

/* Bottom Bar & Trust Badges */
.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright-text {
    font-size: 0.8125rem;
    color: var(--text-dim);
}

.trust-badges-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.trust-badge-item {
    font-size: 0.75rem;
    color: var(--text-dim);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.trust-badge-item span.icon {
    color: var(--emerald-bright);
}

/* ========================================================
   7. MODAL STYLES (Sign In / Register - Image 3 Inspired)
   ======================================================== */
.eco-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.2s ease;
}

.eco-modal-overlay.active {
    display: flex;
}

.eco-modal-card {
    background: #0d161a;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 440px;
    padding: 2.25rem;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
    position: relative;
    animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-muted);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.modal-header-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.75rem;
}

.btn-google-sign {
    width: 100%;
    background: #ffffff;
    color: #1f2937;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    margin-bottom: 1.25rem;
}

.btn-google-sign:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.google-icon-svg {
    width: 20px;
    height: 20px;
}

.modal-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.775rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 1.25rem 0;
}

.modal-divider::before, .modal-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-glass);
}

.modal-divider span {
    padding: 0 0.75rem;
}

.modal-input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.modal-input-field:focus {
    border-color: var(--emerald-bright);
    background: rgba(255, 255, 255, 0.08);
}

.btn-modal-submit {
    width: 100%;
    background: var(--gradient-brand-warm);
    color: #ffffff;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.35);
    transition: all 0.2s ease;
}

.btn-modal-submit:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Auth Modal Tabs & Elements */
.auth-tab-nav {
    display: flex;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 0.25rem;
    margin-bottom: 1.25rem;
}

.auth-tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab-btn.active {
    background: var(--gradient-brand);
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.35);
}

.auth-tab-btn:hover:not(.active) {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

.auth-status-alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.auth-status-alert.error {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #fda4af;
}

.auth-status-alert.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.auth-field-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.auth-bottom-switch {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1.25rem;
}

.auth-bottom-switch a {
    color: var(--emerald-bright);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.auth-bottom-switch a:hover {
    text-decoration: underline;
    color: var(--amber-bright);
}

.btn-google-sign-quick {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 0.65rem;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-google-sign-quick:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ========================================================
   8. MOBILE RESPONSIVENESS
   ======================================================== */
@media (max-width: 1024px) {
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-menu-desktop {
        display: none;
    }
    .hamburger-btn {
        display: flex;
    }
    .app-launcher-dropdown {
        width: 300px;
        right: -60px;
    }
    .user-account-dropdown {
        width: 290px;
        right: 0;
    }
    .verticals-grid {
        gap: 0.85rem;
    }
    .metrics-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .metric-item:nth-child(2)::after {
        display: none;
    }
    .hero-section {
        padding: 3.5rem 0 2.5rem;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .vertical-card {
        min-height: 310px;
        padding: 1.15rem;
    }
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-brand-col {
        grid-column: span 1;
    }
    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Mobile Drawer */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 200;
    display: none;
}

.mobile-drawer-overlay.active {
    display: block;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #0a1114;
    border-left: 1px solid var(--border-glass);
    z-index: 201;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active {
    right: 0;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.drawer-link-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-link-item:hover {
    color: var(--emerald-bright);
}

/* Drawer Theme Switch Row */
.drawer-theme-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    margin: 1.25rem 0 0.5rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-theme-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.drawer-theme-icon {
    font-size: 1.2rem;
}

.drawer-theme-switch {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}

.drawer-switch-track {
    display: block;
    width: 46px;
    height: 26px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.16);
    position: relative;
    transition: background 0.3s ease;
}

.drawer-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================================
   9. COMPREHENSIVE LIGHT MODE COMPONENT OVERRIDES
   ======================================================== */
[data-theme="light"] {
    /* Ambient Illumination in Light Mode */
    .ambient-scene {
        opacity: 0.55;
    }
    .ambient-light-emerald {
        background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    }
    .ambient-light-amber {
        background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    }
    .ambient-light-rays {
        background: radial-gradient(ellipse at 50% 0%, rgba(5, 150, 105, 0.06) 0%, transparent 65%);
    }

    /* Announcement Bar - Retain Signature Emerald Green Strip with Flawless Visibility */
    .top-announcement-bar {
        background: linear-gradient(90deg, #034b36 0%, #065f46 50%, #0d5f49 100%);
        border-bottom: 1px solid rgba(4, 120, 87, 0.4);
        color: #ffffff;
    }
    .announcement-badge {
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.35);
        color: #ffffff;
    }
    .announcement-link {
        color: #fbbf24;
    }
    .announcement-link:hover {
        color: #ffffff;
        text-decoration: underline;
    }

    /* Navbar & Brand */
    .ecosystem-nav {
        background: rgba(255, 255, 255, 0.88);
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    }
    .brand-logo-symbol {
        background: #ffffff;
        border: 1.5px solid rgba(5, 150, 105, 0.38);
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07), 0 2px 8px rgba(5, 150, 105, 0.12);
    }
    .brand-logo-link:hover .brand-logo-symbol {
        border-color: #d97706;
        box-shadow: 0 8px 24px rgba(217, 119, 6, 0.2);
    }
    .brand-part-bro {
        color: #d97706;
        text-shadow: none;
    }
    .brand-part-pro {
        color: #059669;
        text-shadow: none;
    }
    .brand-hub-pill {
        background: rgba(5, 150, 105, 0.12);
        border: 1.5px solid rgba(5, 150, 105, 0.38);
        color: #047857;
        font-weight: 800;
        box-shadow: 0 2px 8px rgba(5, 150, 105, 0.12);
    }
    .nav-item-link {
        color: #475569;
    }
    .nav-item-link:hover {
        color: #090d16;
    }

    /* Luxury Theme Toggle & Launcher Squircle */
    .btn-theme-toggle {
        background: rgba(15, 23, 42, 0.04);
        border: 1px solid rgba(15, 23, 42, 0.1);
        color: #d97706;
    }
    .btn-theme-toggle:hover {
        background: rgba(217, 119, 6, 0.12);
        border-color: rgba(217, 119, 6, 0.35);
        color: #b45309;
        box-shadow: 0 4px 16px rgba(217, 119, 6, 0.18);
    }
    .btn-launcher {
        background: rgba(15, 23, 42, 0.04);
        border: 1px solid rgba(15, 23, 42, 0.1);
        color: #334155;
    }
    .btn-launcher:hover,
    .btn-launcher.active {
        background: rgba(5, 150, 105, 0.1);
        border-color: rgba(5, 150, 105, 0.4);
        color: #059669;
        box-shadow: 0 4px 16px rgba(5, 150, 105, 0.18);
    }
    .waffle-dot {
        background-color: currentColor;
    }
    .avatar-ribbon-badge {
        background: #ffffff;
        border-color: #d97706;
        color: #d97706;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
    .avatar-chevron {
        color: #64748b;
    }

    /* Dropdowns in Light Mode */
    .eco-dropdown-panel {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(15, 23, 42, 0.1);
        box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12), 0 4px 14px rgba(15, 23, 42, 0.05);
    }
    .dropdown-header-bar {
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }
    .dropdown-header-title {
        color: #090d16;
    }
    .dropdown-header-badge {
        background: rgba(5, 150, 105, 0.1);
        border-color: rgba(5, 150, 105, 0.25);
        color: #047857;
    }
    .launcher-app-card {
        background: #f8fafc;
        border: 1px solid rgba(15, 23, 42, 0.06);
    }
    .launcher-app-card:hover {
        background: #ffffff;
        border-color: #10b981;
        box-shadow: 0 6px 18px rgba(16, 185, 129, 0.15);
    }
    .launcher-app-title {
        color: #090d16;
    }
    .launcher-app-desc {
        color: #64748b;
    }

    /* User Account Dropdown */
    .account-user-card {
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }
    .account-name-text {
        color: #090d16;
    }
    .account-email-text {
        color: #64748b;
    }
    .account-stats-strip {
        background: #f1f5f9;
        border: 1px solid rgba(15, 23, 42, 0.06);
    }
    .account-stat-lbl {
        color: #64748b;
    }
    .account-stat-val.emerald {
        color: #047857;
    }
    .account-stat-val.gold {
        color: #b45309;
    }
    .account-link-item {
        color: #334155;
    }
    .account-link-item:hover {
        background: #f1f5f9;
        color: #090d16;
    }
    .account-links-list {
        border-top-color: rgba(15, 23, 42, 0.08);
    }
    .btn-signout-action {
        background: #fef2f2;
        border-color: #fecaca;
        color: #dc2626;
    }
    .btn-signout-action:hover {
        background: #fee2e2;
    }
    .account-dropdown-note {
        border-top-color: rgba(15, 23, 42, 0.08);
        color: #64748b;
    }

    /* Hero Section - Light Mode Glowing Badge */
    .hero-pill-badge {
        background: transparent;
        border: none;
        color: #047857;
        text-shadow: none;
        animation: ecoBadgeGlowPulseLight 4s ease-in-out infinite;
    }

    .hero-pill-badge::before {
        opacity: 0.72;
        filter: blur(4px);
    }

    .hero-pill-badge::after {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(16, 185, 129, 0.35);
    }
    .hero-title {
        color: #090d16;
    }
    .hero-subtitle {
        color: #475569;
    }
    .btn-secondary-lg {
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.15);
        color: #090d16;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }
    .btn-secondary-lg:hover {
        background: #f1f5f9;
        border-color: #059669;
        color: #059669;
    }
    .metrics-strip {
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    }
    .metric-number {
        color: #090d16;
    }
    .metric-number.emerald-text { color: #059669; }
    .metric-number.amber-text { color: #d97706; }
    .metric-label {
        color: #64748b;
    }
    .metric-item:not(:last-child)::after {
        background: rgba(15, 23, 42, 0.08);
    }

    /* Personalized Resume Bar */
    .personalized-resume-bar {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
        border: 1px solid rgba(16, 185, 129, 0.3);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }
    .personalized-greeting {
        color: #090d16;
    }
    .personalized-meta {
        color: #475569;
    }
    .meta-pill {
        background: rgba(217, 119, 6, 0.15);
        color: #b45309;
    }

    /* Verticals Section */
    .section-title {
        color: #090d16;
    }
    .section-lead {
        color: #475569;
    }
    .section-pill-tag {
        background: rgba(217, 119, 6, 0.1);
        border-color: rgba(217, 119, 6, 0.3);
        color: #b45309;
    }
    .card-theme-learning {
        --card-accent: #b45309;
        --card-accent-rgb: 217, 119, 6;
    }
    .card-theme-times {
        --card-accent: #047857;
        --card-accent-rgb: 5, 150, 105;
    }
    .card-theme-compassion {
        --card-accent: #be123c;
        --card-accent-rgb: 190, 18, 60;
    }
    .card-theme-store {
        --card-accent: #0f766e;
        --card-accent-rgb: 15, 118, 110;
    }
    .vertical-card {
        background:
            linear-gradient(145deg, rgba(var(--card-accent-rgb), 0.09) 0%, rgba(var(--card-accent-rgb), 0.018) 38%, transparent 62%),
            linear-gradient(155deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.96));
        border: 1px solid rgba(15, 23, 42, 0.09);
        box-shadow:
            inset 0 1px 0 #ffffff,
            inset 0 -1px 0 rgba(15, 23, 42, 0.035),
            0 18px 38px -28px rgba(15, 23, 42, 0.3);
    }
    .vertical-card::before {
        background: linear-gradient(90deg, transparent, rgba(var(--card-accent-rgb), 0.82), transparent);
    }
    .vertical-card:hover,
    .vertical-card:focus-visible {
        background:
            linear-gradient(145deg, rgba(var(--card-accent-rgb), 0.12) 0%, rgba(var(--card-accent-rgb), 0.022) 40%, transparent 64%),
            #ffffff;
        box-shadow:
            inset 0 1px 0 #ffffff,
            0 30px 60px -38px rgba(var(--card-accent-rgb), 0.65),
            0 22px 44px -32px rgba(15, 23, 42, 0.48);
    }
    .card-icon-bubble {
        background: linear-gradient(145deg, rgba(var(--card-accent-rgb), 0.15), rgba(var(--card-accent-rgb), 0.045));
        border-color: rgba(var(--card-accent-rgb), 0.22);
    }
    .card-title {
        color: #090d16;
    }
    .card-description {
        color: #475569;
    }
    .tag-pill {
        background: rgba(248, 250, 252, 0.92);
        border-color: rgba(15, 23, 42, 0.08);
        color: #334155;
    }
    .vertical-card:hover .tag-pill,
    .vertical-card:focus-visible .tag-pill {
        background: rgba(var(--card-accent-rgb), 0.075);
        border-color: rgba(var(--card-accent-rgb), 0.18);
        color: #090d16;
    }
    .card-footer-action::before {
        background: linear-gradient(90deg, rgba(var(--card-accent-rgb), 0.34), rgba(15, 23, 42, 0.075) 55%, transparent);
    }
    .vertical-card:hover .card-action-arrow,
    .vertical-card:focus-visible .card-action-arrow {
        color: #ffffff;
    }

    /* Footer in Light Mode */
    .ecosystem-footer {
        background: #f1f5f9;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
    }
    .footer-heading {
        color: #090d16;
    }
    .footer-brand-desc {
        color: #475569;
    }
    .footer-tm-notice {
        color: #64748b;
        border-left-color: #d97706;
    }
    .footer-link {
        color: #475569;
    }
    .footer-link:hover {
        color: #059669;
    }
    .footer-operator-card {
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    }
    .operator-title {
        color: #090d16;
    }
    .operator-address {
        color: #475569;
    }
    .contact-chip {
        background: #f8fafc;
        border: 1px solid rgba(15, 23, 42, 0.08);
        color: #334155;
    }
    .contact-chip:hover {
        border-color: #059669;
        color: #059669;
    }
    .footer-bottom-row {
        border-top-color: rgba(15, 23, 42, 0.08);
    }
    .copyright-text {
        color: #64748b;
    }
    .trust-badge-item {
        color: #64748b;
    }

    /* Mobile Drawer in Light Mode */
    .mobile-drawer {
        background: #ffffff;
        border-left: 1px solid rgba(15, 23, 42, 0.08);
    }
    .drawer-link-item {
        color: #334155;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }
    .drawer-link-item:hover {
        color: #059669;
    }
    .hamburger-btn {
        border-color: rgba(15, 23, 42, 0.12);
        color: #090d16;
    }

    /* Drawer Theme Row in Light Mode */
    .drawer-theme-row {
        background: #f8fafc;
        border-color: rgba(15, 23, 42, 0.08);
    }
    .drawer-switch-track {
        background: #d97706;
    }
    .drawer-switch-thumb {
        transform: translateX(20px);
    }
}

/* Late cascade guards: keep the native shell authoritative over legacy rules. */
.section-verticals {
    scroll-margin-top: calc(88px + env(safe-area-inset-top, 0px));
}

body {
    min-height: 100dvh;
}

.mobile-drawer-overlay {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mobile-drawer-overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-drawer {
    right: 0;
    width: min(88vw, 360px);
    height: 100dvh;
    padding:
        max(1.25rem, env(safe-area-inset-top, 0px))
        max(1.25rem, env(safe-area-inset-right, 0px))
        max(1.25rem, env(safe-area-inset-bottom, 0px))
        1.25rem;
    justify-content: flex-start;
    gap: 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translate3d(102%, 0, 0);
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-drawer.active {
    right: 0;
    transform: translate3d(0, 0, 0);
}

.drawer-links {
    gap: 0.35rem;
    margin-top: 1rem;
}

.drawer-link-item {
    min-height: 50px;
    padding: 0.72rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 13px;
}

[data-theme="light"] .mobile-drawer-header {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .mobile-drawer-close {
    background: rgba(15, 23, 42, 0.045);
    border-color: rgba(15, 23, 42, 0.1);
    color: #475569;
}

@media (max-width: 1024px) {
    .nav-menu-desktop {
        display: none;
    }

    .hamburger-btn {
        display: flex;
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .nav-actions {
        gap: 0.6rem;
    }

    .hero-section {
        padding-top: clamp(3rem, 7vw, 4.25rem);
    }
}

@media (max-width: 640px) {
    .top-announcement-bar {
        display: none;
    }

    .ecosystem-container {
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }

    .ecosystem-nav {
        padding-top: env(safe-area-inset-top, 0px);
    }

    .nav-wrapper {
        height: 68px;
    }

    .brand-logo-link {
        gap: 0.7rem;
    }

    .brand-logo-symbol {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    .brand-logo-text {
        font-size: 1.65rem;
    }

    .brand-hub-pill {
        font-size: 0.7rem;
        padding: 0.18rem 0.52rem;
        margin-left: 0.5rem;
    }

    .avatar-chevron {
        display: none;
    }

    .btn-theme-toggle,
    .btn-launcher,
    .avatar-circle-wrapper,
    .hamburger-btn {
        width: 40px;
        height: 40px;
    }

    .nav-actions {
        gap: 0.4rem;
    }

    .app-launcher-dropdown,
    .user-account-dropdown {
        position: fixed;
        top: calc(70px + env(safe-area-inset-top, 0px));
        left: max(0.75rem, env(safe-area-inset-left, 0px));
        right: max(0.75rem, env(safe-area-inset-right, 0px));
        width: auto;
        max-height: calc(100dvh - 92px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        overscroll-behavior: contain;
        border-radius: 22px;
    }

    .hero-section {
        padding: 2.35rem 0 1.75rem;
    }

    .hero-title {
        max-width: 420px;
        font-size: clamp(2.15rem, 10vw, 2.8rem);
        line-height: 1.08;
        margin-bottom: 1rem;
    }

    .hero-title br {
        display: none;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .hero-cta-group {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.7rem;
        margin-bottom: 1.75rem;
    }

    .btn-primary-lg,
    .btn-secondary-lg {
        width: 100%;
        min-height: 50px;
        justify-content: space-between;
        padding: 0.78rem 1.15rem;
        border-radius: 16px;
    }

    .metrics-strip {
        width: calc(100% + 1rem);
        margin-right: -1rem;
        padding: 0.7rem 1rem 0.75rem 0.75rem;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(142px, 43vw);
        gap: 0.55rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        border-radius: 18px 0 0 18px;
    }

    .metric-item {
        min-height: 76px;
        padding: 0.55rem;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 13px;
        background: rgba(255, 255, 255, 0.035);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        scroll-snap-align: start;
    }

    .metric-item::after {
        display: none !important;
    }

    .section-verticals {
        padding: 2.75rem 0 2rem;
    }

    .section-header-centered {
        margin-bottom: 1.4rem;
    }

    .vertical-card {
        min-height: 292px;
        border-radius: 19px;
    }

    .card-description {
        -webkit-line-clamp: 2;
    }

    .ecosystem-footer {
        margin-top: 2rem;
        padding: 3rem 0 1.5rem;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .btn-theme-toggle {
        display: none;
    }
}

@media (max-width: 370px) {
    .brand-logo-symbol {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    .brand-logo-text {
        font-size: 1.35rem;
    }

    .brand-hub-pill {
        display: none;
    }

    .nav-actions {
        gap: 0.28rem;
    }

    .btn-launcher,
    .avatar-circle-wrapper,
    .hamburger-btn {
        width: 38px;
        height: 38px;
    }
}

/* Final interaction cascade: keep the premium action language above legacy theme rules. */
.vertical-card .card-footer-action {
    min-height: 44px;
    padding: 0.48rem 0.48rem 0.48rem 0.78rem;
    border: 1px solid rgba(var(--card-accent-rgb), 0.24);
    border-radius: 13px;
    overflow: hidden;
    background:
        linear-gradient(110deg, rgba(var(--card-accent-rgb), 0.12), rgba(var(--card-accent-rgb), 0.035) 62%),
        rgba(255, 255, 255, 0.018);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 8px 20px -18px rgba(var(--card-accent-rgb), 0.8);
}

.vertical-card .card-footer-action::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(105deg, rgba(var(--card-accent-rgb), 0.9), rgba(var(--card-accent-rgb), 0.62));
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0.17;
}

.vertical-card .card-action-arrow {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-color: rgba(var(--card-accent-rgb), 0.42);
    background: rgba(var(--card-accent-rgb), 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 14px -10px rgba(var(--card-accent-rgb), 0.9);
}

[data-theme="light"] .vertical-card .card-footer-action {
    color: #0f172a;
    background:
        linear-gradient(110deg, rgba(var(--card-accent-rgb), 0.105), rgba(var(--card-accent-rgb), 0.025) 62%),
        rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 #ffffff, 0 9px 20px -18px rgba(var(--card-accent-rgb), 0.75);
}

@media (hover: hover) and (pointer: fine) {
    .vertical-card:hover,
    .vertical-card:focus-visible {
        border-color: rgba(var(--card-accent-rgb), 0.62);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.13),
            0 34px 72px -42px rgba(var(--card-accent-rgb), 0.95),
            0 24px 48px -34px rgba(0, 0, 0, 0.98);
    }

    .vertical-card:hover::before,
    .vertical-card:focus-visible::before {
        left: 5%;
        right: 5%;
        opacity: 1;
        filter: drop-shadow(0 0 6px rgba(var(--card-accent-rgb), 0.55));
    }

    .vertical-card:hover .card-footer-action,
    .vertical-card:focus-visible .card-footer-action {
        color: #ffffff;
        border-color: rgba(var(--card-accent-rgb), 0.58);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 13px 26px -18px rgba(var(--card-accent-rgb), 0.95);
        transform: translate3d(0, -2px, 20px);
    }

    .vertical-card:hover .card-footer-action::before,
    .vertical-card:focus-visible .card-footer-action::before {
        transform: scaleX(1);
        opacity: 0.24;
    }

    .vertical-card:hover .card-action-arrow,
    .vertical-card:focus-visible .card-action-arrow {
        color: #07110e;
        background: var(--card-accent);
        transform: translate3d(2px, -2px, 24px) rotate(5deg) scale(1.05);
        box-shadow: 0 9px 18px -10px rgba(var(--card-accent-rgb), 0.95);
    }

    [data-theme="light"] .vertical-card:hover .card-action-arrow,
    [data-theme="light"] .vertical-card:focus-visible .card-action-arrow {
        color: #ffffff;
    }
}

@media (hover: none), (pointer: coarse) {
    .vertical-card .card-footer-action {
        border-color: rgba(var(--card-accent-rgb), 0.36);
        background: linear-gradient(110deg, rgba(var(--card-accent-rgb), 0.17), rgba(var(--card-accent-rgb), 0.055));
    }

    .vertical-card .card-action-arrow {
        color: #07110e;
        background: var(--card-accent);
        border-color: transparent;
    }

    [data-theme="light"] .vertical-card .card-action-arrow {
        color: #ffffff;
    }
}

/* Auth hydration states: never label an unresolved persisted session as Guest. */
.avatar-ribbon-badge[hidden] {
    display: none;
}

.avatar-circle.has-initial {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 720;
    line-height: 1;
    text-transform: uppercase;
}

.account-session-loading {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.account-session-spinner {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid rgba(148, 163, 184, 0.22);
    border-top-color: var(--emerald-bright);
    border-radius: 50%;
    animation: accountSessionSpin 760ms linear infinite;
}

@keyframes accountSessionSpin {
    to { transform: rotate(360deg); }
}

[data-theme="light"] .account-session-loading {
    color: #475569;
}

@media (prefers-reduced-motion: reduce) {
    .account-session-spinner {
        animation: none;
        border-color: var(--emerald-primary);
    }
}

/* ========================================================
   FOUNDER & VISIONARY SPOTLIGHT SECTION (E-E-A-T & KNOWLEDGE GRAPH)
   ======================================================== */
.section-founder-spotlight {
    padding: 3.5rem 0;
    position: relative;
}

.founder-spotlight-card {
    background: radial-gradient(120% 120% at 0% 0%, rgba(5, 150, 105, 0.08) 0%, rgba(10, 17, 20, 0.95) 100%);
    border: 1px solid rgba(5, 150, 105, 0.25);
    border-radius: 24px;
    padding: 2.75rem 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.5), 0 0 35px -5px rgba(5, 150, 105, 0.12);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.founder-spotlight-card:hover {
    border-color: rgba(5, 150, 105, 0.45);
    box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.6), 0 0 45px -5px rgba(5, 150, 105, 0.2);
}

[data-theme="light"] .founder-spotlight-card {
    background: radial-gradient(120% 120% at 0% 0%, rgba(209, 250, 229, 0.55) 0%, #ffffff 100%);
    border: 1px solid rgba(5, 150, 105, 0.25);
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.08), 0 0 25px -4px rgba(5, 150, 105, 0.1);
}

.founder-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(5, 150, 105, 0.12);
    color: var(--emerald-bright);
    border: 1px solid rgba(5, 150, 105, 0.28);
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2rem;
}

[data-theme="light"] .founder-badge-pill {
    background: rgba(4, 120, 87, 0.1);
    color: #047857;
    border-color: rgba(4, 120, 87, 0.22);
}

.founder-content-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: center;
}

.founder-avatar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .founder-avatar-col {
    border-right-color: rgba(15, 23, 42, 0.1);
}

.founder-avatar-frame {
    position: relative;
    width: 110px;
    height: 110px;
    margin-bottom: 1.25rem;
}

.founder-avatar-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: radial-gradient(circle, #0a1114 65%, #06090c 100%);
    border: 2px solid rgba(245, 158, 11, 0.45);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.35), 0 0 25px rgba(245, 158, 11, 0.22);
    display: block;
    padding: 0;
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.founder-avatar-frame:hover .founder-avatar-logo {
    transform: scale(1.04);
    border-color: var(--amber-bright);
    box-shadow: 0 12px 30px rgba(5, 150, 105, 0.45), 0 0 35px rgba(245, 158, 11, 0.35);
}

[data-theme="light"] .founder-avatar-logo {
    background: radial-gradient(circle, #ffffff 65%, #f1f5f9 100%);
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.16), 0 0 20px rgba(245, 158, 11, 0.15);
}

.founder-avatar-seal {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #059669 0%, #0d5f49 50%, #f59e0b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.18);
}

.founder-status-ring {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    background: #10b981;
    border: 3px solid #06090c;
    border-radius: 50%;
}

[data-theme="light"] .founder-status-ring {
    border-color: #ffffff;
}

.founder-titles {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.founder-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin: 0;
}

[data-theme="light"] .founder-name {
    color: #0f172a;
}

.founder-role {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--amber-bright);
    margin: 0;
}

[data-theme="light"] .founder-role {
    color: #b45309;
}

.founder-org {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
    display: inline-block;
    margin-top: 0.25rem;
}

[data-theme="light"] .founder-org {
    color: #475569;
    background: rgba(15, 23, 42, 0.05);
}

.founder-bio-col {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.founder-quote-headline {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--emerald-bright);
    margin: 0;
    font-style: italic;
}

[data-theme="light"] .founder-quote-headline {
    color: #047857;
}

.founder-bio-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

[data-theme="light"] .founder-bio-text {
    color: #334155;
}

.founder-bio-subtext {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

[data-theme="light"] .founder-bio-subtext {
    color: #475569;
}

.founder-action-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.6rem;
    flex-wrap: wrap;
}

.btn-founder-learn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--emerald-primary);
    color: #ffffff;
    padding: 0.75rem 1.45rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn-founder-learn:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
    color: #ffffff;
}

.btn-founder-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.75rem 1.35rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

[data-theme="light"] .btn-founder-contact {
    background: rgba(15, 23, 42, 0.05);
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.12);
}

.btn-founder-contact:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

[data-theme="light"] .btn-founder-contact:hover {
    background: rgba(15, 23, 42, 0.08);
}

@media (max-width: 900px) {
    .founder-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .founder-avatar-col {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 1.75rem;
    }

    [data-theme="light"] .founder-avatar-col {
        border-bottom-color: rgba(15, 23, 42, 0.1);
    }

    .founder-spotlight-card {
        padding: 2rem 1.5rem;
    }
}
