/**
 * Dorira Tech - Exact DORECON Brand System
 * Colors extracted from official product slide:
 * - Crisp White Background: #ffffff
 * - Deep Corporate Navy: #002244 (Heading text & primary buttons)
 * - Electric Cyan/Azure Blue: #00a3e0 (The signature "R" color and ribbon accents)
 * - Elegant Guilloche Waves/Strings: Cyan-blue harmonic lines framing the canvas
 */

:root {
    /* Exact DORECON Brand Colors */
    --dorira-navy: #002244;
    --dorira-navy-dark: #001830;
    --dorira-cyan: #00a3e0;
    --dorira-cyan-light: #38bdf8;
    --dorira-cyan-soft: rgba(0, 163, 224, 0.12);

    /* Clean Whites & Neutrals */
    --bg-page: #ffffff;
    --bg-surface: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-subtle-2: #f1f5f9;

    /* Text */
    --text-navy: #002244;
    --text-navy-muted: #2d4564;
    --text-body: #475d7b;
    --text-cyan: #00a3e0;

    /* Borders */
    --border-light: #e2e8f0;
    --border-subtle: #cbd5e1;
    --border-cyan: rgba(0, 163, 224, 0.35);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 34, 68, 0.05);
    --shadow-card: 0 4px 20px -2px rgba(0, 34, 68, 0.07);
    --shadow-hover: 0 16px 36px -6px rgba(0, 34, 68, 0.12);

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Layout & Typography */
    --max-w: 1180px;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-page);
}

body.site-body {
    background-color: var(--bg-page);
    color: var(--text-body);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* -------------------------------------------------------------
   Interactive Flanking Guilloche Strings Background Canvas
------------------------------------------------------------- */
#strings-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.95;
}

.site-header,
.main-content,
.site-footer,
.back-to-top {
    position: relative;
    z-index: 10;
}

.skip-link {
    position: absolute;
    top: -50px;
    left: 1rem;
    background: var(--dorira-navy);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    z-index: 9999;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography matching the exact slide */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-navy);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.text-cyan {
    color: var(--dorira-cyan) !important;
}

.brand-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--dorira-navy);
    letter-spacing: -0.03em;
}
.brand-title span {
    color: var(--dorira-cyan);
}

p {
    color: var(--text-body);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}
p:last-child { margin-bottom: 0; }

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* SVG Icons */
.icon {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    vertical-align: middle;
    flex-shrink: 0;
    stroke: currentColor;
}
.icon-xs { width: 0.9rem; height: 0.9rem; }
.icon-sm { width: 1.15rem; height: 1.15rem; }
.icon-md { width: 1.5rem; height: 1.5rem; }
.icon-lg { width: 2rem; height: 2rem; }

/* Product Badge (Angled Pill like the slide footer) */
.product-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--dorira-navy);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 34, 68, 0.15);
    border-bottom: 3px solid var(--dorira-cyan);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--dorira-navy);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 34, 68, 0.2);
    border-bottom: 3px solid var(--dorira-cyan);
}
.btn-primary:hover {
    background: #001830;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 34, 68, 0.25);
}
.btn-cyan {
    background: var(--dorira-cyan);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 163, 224, 0.25);
}
.btn-cyan:hover {
    background: #008ec4;
    color: #ffffff;
    transform: translateY(-2px);
}
.btn-outline {
    background: #ffffff;
    color: var(--dorira-navy);
    border-color: var(--border-subtle);
    box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
    border-color: var(--dorira-navy);
    color: var(--dorira-navy);
    transform: translateY(-2px);
}
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* -------------------------------------------------------------
   Header
------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 84px;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
    display: flex;
    align-items: center;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.brand-logo-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.brand-name {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--dorira-navy);
    letter-spacing: -0.03em;
}
.brand-name span {
    color: var(--dorira-cyan);
    margin-left: 1px;
}

.desktop-nav { display: none; }
@media (min-width: 860px) {
    .desktop-nav { display: block; }
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 6px;
}
.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-navy);
}
.nav-link:hover {
    color: var(--dorira-cyan);
    background: var(--dorira-cyan-soft);
}
.nav-link.active {
    color: var(--dorira-navy);
    background: rgba(0, 34, 68, 0.06);
    border-bottom: 2px solid var(--dorira-cyan);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.header-cta { display: none; }
@media (min-width: 600px) {
    .header-cta { display: inline-flex; }
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0;
    cursor: pointer;
    touch-action: manipulation;
    transition: all 0.2s ease;
}
@media (min-width: 860px) {
    .mobile-menu-toggle { display: none; }
}
.mobile-menu-toggle:active,
.mobile-menu-toggle.is-active {
    background: var(--dorira-cyan-soft);
    border-color: var(--dorira-cyan);
}
.hamburger-bar {
    width: 20px;
    height: 2px;
    background-color: var(--dorira-navy);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.25s ease;
}
.mobile-menu-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--dorira-cyan);
}
.mobile-menu-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--dorira-cyan);
}

.mobile-drawer {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 3px solid var(--dorira-cyan);
    padding: 24px 20px 32px;
    box-shadow: 0 20px 48px -8px rgba(0, 34, 68, 0.25);
    z-index: 99999;
    animation: drawerSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-drawer[hidden] {
    display: none !important;
}
@keyframes drawerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--dorira-navy);
    font-size: 1.05rem;
    font-weight: 700;
    transition: all 0.2s ease;
}
.mobile-link.active, .mobile-link:hover {
    color: var(--dorira-cyan);
    background: var(--dorira-cyan-soft);
    padding-left: 20px;
}

/* -------------------------------------------------------------
   Hero Section
------------------------------------------------------------- */
.hero-section {
    padding: 84px 0 100px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
@media (min-width: 980px) {
    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 60px;
    }
}
.hero-content {
    max-width: 620px;
}
.hero-title {
    font-size: 2.85rem;
    line-height: 1.15;
    margin: 20px 0 16px;
    font-weight: 900;
    color: var(--dorira-navy);
}
@media (min-width: 768px) {
    .hero-title { font-size: 3.5rem; }
}
.hero-title span {
    color: var(--dorira-cyan);
}
.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 32px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 44px;
}
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 28px;
    border-top: 2px dashed #e2e8f0;
}
.metric-number {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--dorira-navy);
    line-height: 1;
    font-family: var(--font-mono);
}
.metric-label {
    font-size: 0.85rem;
    color: var(--text-navy-muted);
    margin-top: 6px;
    font-weight: 600;
}

/* Centered Stripe / Vercel Hero Layout */
.hero-centered-section {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-centered-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-centered-content {
    max-width: 820px;
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-pill-center {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 6px 18px;
    background: rgba(0, 163, 224, 0.08);
    border: 1px solid rgba(0, 163, 224, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--dorira-navy);
    letter-spacing: 0.02em;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dorira-cyan);
    box-shadow: 0 0 0 0 rgba(0, 163, 224, 0.7);
    animation: pulseCyan 2s infinite;
}

@keyframes pulseCyan {
    0% { box-shadow: 0 0 0 0 rgba(0, 163, 224, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(0, 163, 224, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 163, 224, 0); }
}

.hero-title-center {
    font-size: 3rem;
    line-height: 1.15;
    margin: 0 0 20px;
    font-weight: 900;
    color: var(--dorira-navy);
    letter-spacing: -0.03em;
}

@media (min-width: 768px) {
    .hero-title-center {
        font-size: 4rem;
        line-height: 1.12;
    }
}

.gradient-text {
    color: var(--dorira-cyan);
    background: linear-gradient(135deg, #002244 0%, #00a3e0 60%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle-center {
    font-size: 1.18rem;
    line-height: 1.7;
    color: var(--text-body);
    max-width: 660px;
    margin: 0 auto 34px;
}

.hero-actions-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 34px;
}

.shadow-glow {
    box-shadow: 0 10px 25px -5px rgba(0, 163, 224, 0.35);
}

/* Floating Minimalist Pill Metrics Strip */
.hero-metrics-pill-strip {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 8px 24px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 16px rgba(0, 34, 68, 0.04);
}

.metric-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.metric-pill-num {
    font-size: 1.15rem;
    font-weight: 900;
    font-family: var(--font-mono);
    color: var(--dorira-navy);
}

.metric-pill-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-navy-muted);
}

.metric-pill-divider {
    color: var(--dorira-cyan);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Interactive Protocol Terminal Mockup (Crisp White Glassmorphism) */
.hero-terminal-wrapper {
    width: 100%;
    max-width: 1060px;
}

.hero-terminal-card {
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 163, 224, 0.35);
    border-radius: 14px;
    box-shadow: 0 20px 48px -10px rgba(0, 34, 68, 0.12), 0 0 0 1px rgba(0, 163, 224, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-terminal-card:hover {
    box-shadow: 0 26px 56px -8px rgba(0, 34, 68, 0.18), 0 0 25px -4px rgba(0, 163, 224, 0.25);
}

.terminal-header {
    background: rgba(248, 250, 252, 0.92);
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.terminal-dots {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.terminal-dots .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-tabs-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
}

.terminal-tabs-nav .hero-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-navy-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.terminal-tabs-nav .hero-tab-btn:hover {
    color: var(--dorira-navy);
    background: rgba(0, 163, 224, 0.08);
}

.terminal-tabs-nav .hero-tab-btn.active {
    background: #ffffff;
    color: var(--dorira-navy);
    border-color: rgba(0, 163, 224, 0.35);
    box-shadow: 0 2px 8px rgba(0, 34, 68, 0.08);
}

.tab-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
}

.hero-tab-btn.active .tab-indicator {
    background: var(--dorira-cyan);
    box-shadow: 0 0 6px var(--dorira-cyan);
}

.terminal-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #059669;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.live-blink {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.terminal-body {
    padding: 26px;
    animation: fadeInTab 0.25s ease-in-out;
}

.hero-tab-pane {
    display: none;
}

.hero-tab-pane.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@media (min-width: 860px) {
    .terminal-grid {
        grid-template-columns: 1.35fr 1fr;
        gap: 36px;
    }
}

.terminal-code-col {
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid rgba(0, 163, 224, 0.22);
    border-radius: 8px;
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.84rem;
    line-height: 1.7;
    color: var(--dorira-navy);
    overflow-x: auto;
}

.code-line {
    white-space: pre-wrap;
    word-break: break-all;
}

.code-status-success {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 34, 68, 0.15);
    font-weight: 700;
}

.c-dim { color: #64748b; margin-right: 8px; user-select: none; }
.c-cyan { color: #0284c7; font-weight: 700; }
.c-keyword { color: #e11d48; font-weight: 700; }
.c-str { color: #059669; }
.c-val { color: #d97706; }
.c-comment { color: #64748b; font-style: italic; }
.c-bool { color: #7c3aed; font-weight: 700; }
.c-green { color: #059669; }

.terminal-summary-col {
    color: var(--text-body);
}

.summary-pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--dorira-navy);
    background: var(--dorira-cyan-soft);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.summary-pill span {
    color: var(--dorira-cyan);
}

.summary-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dorira-navy);
    line-height: 1.3;
    margin: 0 0 12px;
}

.summary-desc {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 18px;
}

.summary-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.tech-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dorira-navy);
    background: rgba(0, 163, 224, 0.08);
    border: 1px solid rgba(0, 163, 224, 0.22);
    padding: 4px 10px;
    border-radius: 4px;
}

.summary-action {
    display: flex;
    align-items: center;
}

/* -------------------------------------------------------------
   Section & Grids
------------------------------------------------------------- */
.section {
    padding: 84px 0;
    position: relative;
    background: transparent;
}
.section-subtle {
    background: rgba(248, 250, 252, 0.45);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}
.section-header {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 52px;
}
.section-header.text-start {
    text-align: left;
    margin-left: 0;
}
.section-kicker {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dorira-cyan);
    display: block;
    margin-bottom: 10px;
}
.section-title {
    font-size: 2.25rem;
    margin-bottom: 14px;
    color: var(--dorira-navy);
    font-weight: 900;
}
@media (min-width: 768px) {
    .section-title { font-size: 2.65rem; }
}
.section-title span {
    color: var(--dorira-cyan);
}
.section-sub {
    font-size: 1.1rem;
    color: var(--text-body);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 720px) {
    .cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}

/* Modern Card with DORECON style accents */
.modern-card {
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: var(--radius-md);
    padding: 34px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px -2px rgba(0, 34, 68, 0.05);
    transition: all 0.25s ease;
    border-top: 3px solid var(--dorira-navy);
}
.modern-card:hover {
    border-top-color: var(--dorira-cyan);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.card-icon-pill {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--dorira-cyan-soft);
    color: var(--dorira-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.card-title {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--dorira-navy);
    font-weight: 800;
}
.card-desc {
    font-size: 0.98rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-item {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: var(--bg-subtle-2);
    color: var(--dorira-navy);
}

/* Checklist items with SVG checks */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
}
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--dorira-navy);
    font-weight: 600;
}
.check-icon {
    color: var(--dorira-cyan);
    margin-top: 3px;
    flex-shrink: 0;
}

/* Audience Target Pills */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.audience-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--dorira-navy);
    transition: all 0.2s ease;
}
.audience-card:hover {
    border-top-color: var(--dorira-cyan);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}
.audience-icon {
    color: var(--dorira-cyan);
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
}
.audience-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dorira-navy);
    margin-bottom: 4px;
}
.audience-desc {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.4;
}

/* Detailed Module Sub-Box */
.module-box {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin: 16px 0;
}
.module-box-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dorira-navy);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* -------------------------------------------------------------
   The Dorira Story (Incense Heritage & Cultural Fire)
------------------------------------------------------------- */
.story-wrapper {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 40px 28px;
    box-shadow: var(--shadow-card);
    border-left: 5px solid var(--dorira-cyan);
}
@media (min-width: 768px) {
    .story-wrapper { padding: 48px; }
}

.story-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
}
@media (min-width: 900px) {
    .story-layout {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 48px;
    }
}

.story-lead {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dorira-navy);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* -------------------------------------------------------------
   The Dorira Story (Sleek Corporate Fintech Essence Card - White Glassmorphism)
------------------------------------------------------------- */
.story-essence-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 163, 224, 0.35);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px -10px rgba(0, 34, 68, 0.1);
    overflow: hidden;
    position: relative;
    border-top: 4px solid var(--dorira-cyan);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.essence-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.essence-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dorira-navy);
    background: var(--dorira-cyan-soft);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.essence-tag {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dorira-cyan);
}

.essence-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.essence-core-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 163, 224, 0.15) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 2px solid var(--dorira-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(0, 163, 224, 0.25);
}

.essence-center-icon {
    width: 36px;
    height: 36px;
    color: var(--dorira-cyan);
    filter: drop-shadow(0 0 4px rgba(0, 163, 224, 0.4));
}

.essence-pulse-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 163, 224, 0.45);
    animation: rotateRing 16s linear infinite;
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.essence-metrics-stack {
    width: 100%;
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid rgba(0, 163, 224, 0.2);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 16px;
}

.essence-metric-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.essence-metric-val {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--dorira-navy);
    letter-spacing: 0.02em;
}

.essence-metric-sub {
    font-size: 0.74rem;
    color: var(--text-navy-muted);
    margin-top: 3px;
}

.essence-metric-divider {
    width: 1px;
    height: 32px;
    background: var(--border-light);
}

.essence-card-footer {
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
}

.essence-caption-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dorira-navy);
    margin-bottom: 4px;
}

.essence-caption-text p {
    font-size: 0.84rem;
    color: var(--text-body);
    line-height: 1.5;
    margin: 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
}
@media (min-width: 650px) {
    .story-grid { grid-template-columns: repeat(2, 1fr); }
}
.story-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--bg-subtle);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}
.story-item-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--dorira-cyan-soft);
    color: var(--dorira-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.story-item-text strong {
    color: var(--dorira-navy);
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
    font-weight: 800;
}
.story-item-text p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.5;
    margin: 0;
}

/* -------------------------------------------------------------
   Values Grid
------------------------------------------------------------- */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 600px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
    .values-grid { grid-template-columns: repeat(5, 1fr); }
}
.value-box {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s;
    border-bottom: 3px solid var(--dorira-navy);
}
.value-box:hover {
    border-bottom-color: var(--dorira-cyan);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.value-num {
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--dorira-cyan);
    font-family: var(--font-mono);
    margin-bottom: 6px;
}
.value-title {
    font-size: 1.15rem;
    color: var(--dorira-navy);
    font-weight: 800;
    margin-bottom: 8px;
}
.value-desc {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* -------------------------------------------------------------
   Contact Page Elements
------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}
@media (min-width: 900px) {
    .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}
.info-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}
.info-card-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--dorira-cyan-soft);
    color: var(--dorira-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-card-content h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--dorira-navy);
    font-weight: 800;
}
.info-card-content p, .info-card-content a {
    color: var(--text-body);
    font-size: 0.95rem;
}
.info-card-content a:hover {
    color: var(--dorira-cyan);
}

.form-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-card);
    border-top: 4px solid var(--dorira-navy);
}
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dorira-navy);
    margin-bottom: 8px;
}
.form-control, .form-select {
    width: 100%;
    padding: 13px 16px;
    font-size: 0.98rem;
    font-family: inherit;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: #ffffff;
    color: var(--dorira-navy);
    outline: none;
    transition: all 0.2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--dorira-cyan);
    box-shadow: 0 0 0 3px var(--dorira-cyan-soft);
}
textarea.form-control { resize: vertical; min-height: 120px; }

.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 600;
}
.alert-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

/* -------------------------------------------------------------
   Footer - Enterprise Financial Grade Design
------------------------------------------------------------- */
.site-footer {
    margin-top: auto;
    position: relative;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 4px solid var(--dorira-navy);
    box-shadow: 0 -10px 40px rgba(0, 34, 68, 0.04);
}
.site-footer::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #002244 0%, #00a3e0 40%, #38bdf8 70%, #002244 100%);
    z-index: 2;
}

/* Footer Enterprise CTA Band */
.footer-cta-band {
    padding: 48px 0;
    position: relative;
    background: linear-gradient(180deg, rgba(240, 249, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 100%);
    border-bottom: 1px solid rgba(0, 163, 224, 0.15);
}
.footer-cta-card {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 163, 224, 0.28);
    border-radius: var(--radius-md);
    padding: 36px 40px;
    box-shadow: 0 16px 36px -8px rgba(0, 34, 68, 0.08), 0 0 0 1px rgba(0, 163, 224, 0.08);
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: space-between;
}
@media (min-width: 840px) {
    .footer-cta-card {
        flex-direction: row;
        align-items: center;
    }
}
.footer-cta-card .cta-heading {
    font-size: 1.85rem;
    color: var(--dorira-navy);
    font-weight: 800;
    line-height: 1.25;
    margin: 8px 0;
}
.footer-cta-card .cta-sub {
    color: var(--text-body);
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 620px;
}
.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Footer Main Directory Grid */
.footer-main-container {
    padding: 60px 24px 32px;
    position: relative;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
}
@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}
@media (min-width: 980px) {
    .footer-grid {
        grid-template-columns: 1.35fr 0.85fr 0.95fr 0.95fr;
        gap: 40px;
    }
}
.footer-col {
    display: flex;
    flex-direction: column;
}
@media (max-width: 599px) {
    .footer-col {
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
        padding: 20px;
        box-shadow: var(--shadow-sm);
    }
}

.footer-col-brand .brand-link {
    margin-bottom: 14px;
}
.footer-brand-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-body);
    margin-bottom: 18px;
}
.footer-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}
.trust-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--dorira-navy);
    background: var(--dorira-cyan-soft);
    border: 1px solid rgba(0, 163, 224, 0.22);
    padding: 4px 9px;
    border-radius: var(--radius-full);
}
.trust-badge-pill svg {
    color: var(--dorira-cyan);
}

.footer-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--dorira-navy);
    font-weight: 900;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-title::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--dorira-cyan);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    color: var(--text-body);
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}
.footer-links li a::before {
    content: '›';
    color: var(--dorira-cyan);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.2s ease;
}
.footer-links li a:hover {
    color: var(--dorira-cyan);
    transform: translateX(3px);
}
.footer-links li a:hover::before {
    transform: translateX(2px);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-chip-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-body);
}
.contact-chip-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: var(--dorira-cyan-soft);
    color: var(--dorira-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.contact-chip-icon svg {
    width: 15px;
    height: 15px;
}
.contact-chip-item a {
    color: var(--text-body);
    font-weight: 600;
    transition: color 0.2s ease;
}
.contact-chip-item a:hover {
    color: var(--dorira-cyan);
}

/* Polished Dark Navy Footer Bottom Bar */
.footer-bottom-bar {
    background: #00172e;
    color: #94a3b8;
    padding: 24px 0;
    margin-top: 24px;
    font-size: 0.85rem;
}
.footer-bottom-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}
@media (min-width: 768px) {
    .footer-bottom-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}
.footer-bottom-rail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 0.82rem;
}
.rail-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}
.footer-disclaimer-text {
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.5;
    max-width: 980px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    color: var(--dorira-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s;
    box-shadow: var(--shadow-card);
}
.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}
.back-to-top:hover {
    background: var(--dorira-navy);
    color: #ffffff;
}

/* -------------------------------------------------------------
   Interactive Circular Constellation / Orbit (Training Tracks)
------------------------------------------------------------- */
.orbit-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: transparent;
}

.orbit-controls-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.orbit-mode-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dorira-navy);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}
.orbit-mode-toggle:hover {
    border-color: var(--dorira-cyan);
    color: var(--dorira-cyan);
}
.orbit-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: statusPulse 2s infinite;
}
.orbit-pulse-dot.paused {
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
    animation: none;
}

.orbit-stage-wrapper {
    position: relative;
    width: 100%;
    max-width: 980px;
    height: 680px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Outer & Inner Ring Guides */
.orbit-track-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 163, 224, 0.3);
    pointer-events: none;
}
.orbit-ring-outer {
    width: 590px;
    height: 590px;
    animation: ringSpin 90s linear infinite;
}
.orbit-ring-inner {
    width: 400px;
    height: 400px;
    border-style: dotted;
    border-color: rgba(0, 34, 68, 0.15);
}

/* Central Active Hub Card (Crisp White Glassmorphism) */
.orbit-center-hub {
    position: relative;
    z-index: 10;
    width: 320px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 163, 224, 0.35);
    border-radius: 20px;
    padding: 26px 24px;
    text-align: center;
    box-shadow: 0 20px 48px -12px rgba(0, 34, 68, 0.15), 0 0 0 1px rgba(0, 163, 224, 0.1);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.hub-pulse {
    animation: hubPulse 0.4s ease-out;
}
@keyframes hubPulse {
    0% { transform: scale(0.97); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.orbit-hub-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dorira-cyan);
    margin-bottom: 8px;
}
.orbit-hub-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dorira-navy);
    line-height: 1.3;
    margin-bottom: 8px;
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.orbit-hub-desc {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: 14px;
    min-height: 2.7rem;
}
.orbit-hub-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 18px;
}
.orbit-hub-tags .tag-item {
    font-size: 0.74rem;
    padding: 3px 8px;
    background: var(--dorira-cyan-soft);
    color: var(--dorira-navy);
}
.orbit-hub-cta {
    width: 100%;
}

/* Circulating Satellite Nodes */
.orbit-satellites-plane {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    animation: orbitRotate 55s linear infinite;
    transform-origin: center center;
}
.orbit-satellites-plane.is-paused {
    animation-play-state: paused;
}

.orbit-node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 106px;
    height: 106px;
    margin-top: -53px;
    margin-left: -53px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(0, 163, 224, 0.28);
    box-shadow: 0 8px 24px rgba(0, 34, 68, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-align: center;
    padding: 8px 6px;
    user-select: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

/* Position 8 stakeholder nodes around a circle (radius = 295px, step = 45 deg) */
/* Node 1: 0 deg (Top - Commercial Banks) */
.orbit-node:nth-child(1) { transform: rotate(0deg) translateY(-295px) rotate(0deg); }
.orbit-node:nth-child(1):hover, .orbit-node:nth-child(1).is-active { transform: rotate(0deg) translateY(-295px) rotate(0deg) scale(1.15); }

/* Node 2: 45 deg (Payment Service Providers) */
.orbit-node:nth-child(2) { transform: rotate(45deg) translateY(-295px) rotate(-45deg); }
.orbit-node:nth-child(2):hover, .orbit-node:nth-child(2).is-active { transform: rotate(45deg) translateY(-295px) rotate(-45deg) scale(1.15); }

/* Node 3: 90 deg (Payment Gateways) */
.orbit-node:nth-child(3) { transform: rotate(90deg) translateY(-295px) rotate(-90deg); }
.orbit-node:nth-child(3):hover, .orbit-node:nth-child(3).is-active { transform: rotate(90deg) translateY(-295px) rotate(-90deg) scale(1.15); }

/* Node 4: 135 deg (MFIs & SACCOs) */
.orbit-node:nth-child(4) { transform: rotate(135deg) translateY(-295px) rotate(-135deg); }
.orbit-node:nth-child(4):hover, .orbit-node:nth-child(4).is-active { transform: rotate(135deg) translateY(-295px) rotate(-135deg) scale(1.15); }

/* Node 5: 180 deg (Bottom - Central Switch & Clearing) */
.orbit-node:nth-child(5) { transform: rotate(180deg) translateY(-295px) rotate(-180deg); }
.orbit-node:nth-child(5):hover, .orbit-node:nth-child(5).is-active { transform: rotate(180deg) translateY(-295px) rotate(-180deg) scale(1.15); }

/* Node 6: 225 deg (Government & Utilities) */
.orbit-node:nth-child(6) { transform: rotate(225deg) translateY(-295px) rotate(-225deg); }
.orbit-node:nth-child(6):hover, .orbit-node:nth-child(6).is-active { transform: rotate(225deg) translateY(-295px) rotate(-225deg) scale(1.15); }

/* Node 7: 270 deg (Digital Lenders & FinTechs) */
.orbit-node:nth-child(7) { transform: rotate(270deg) translateY(-295px) rotate(-270deg); }
.orbit-node:nth-child(7):hover, .orbit-node:nth-child(7).is-active { transform: rotate(270deg) translateY(-295px) rotate(-270deg) scale(1.15); }

/* Node 8: 315 deg (Engineers & Individuals) */
.orbit-node:nth-child(8) { transform: rotate(315deg) translateY(-295px) rotate(-315deg); }
.orbit-node:nth-child(8):hover, .orbit-node:nth-child(8).is-active { transform: rotate(315deg) translateY(-295px) rotate(-315deg) scale(1.15); }

/* Counter-rotate internal text & icon so they remain upright as orbit turns */
.orbit-node-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 100%;
    animation: counterRotate 55s linear infinite;
    transform-origin: center center;
    pointer-events: none;
}
.orbit-satellites-plane.is-paused .orbit-node-inner {
    animation-play-state: paused;
}

.orbit-node-icon {
    width: 24px;
    height: 24px;
    color: var(--dorira-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
}
.orbit-node-icon svg {
    width: 19px;
    height: 19px;
}
.orbit-node-label {
    font-size: 0.69rem;
    font-weight: 800;
    color: var(--dorira-navy);
    line-height: 1.15;
    max-width: 82px;
    white-space: normal;
}

/* Active Node Highlight */
.orbit-node.is-active,
.orbit-node:hover {
    border-color: var(--dorira-cyan);
    box-shadow: 0 10px 30px rgba(0, 163, 224, 0.45);
    background: #f0faff;
    z-index: 50;
}
.orbit-node.is-active .orbit-node-label,
.orbit-node:hover .orbit-node-label {
    color: var(--dorira-cyan);
}

/* Animations */
@keyframes orbitRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes counterRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes ringSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* Mobile & Tablet Fallback with Visual Swipe Indicators */
.mobile-scroll-hint {
    display: none;
}

@media (max-width: 820px) {
    .orbit-stage-wrapper {
        height: auto;
        flex-direction: column;
        gap: 28px;
    }
    .orbit-track-ring,
    .orbit-satellites-plane {
        display: none;
    }

    /* Visual Scroll Hint Badge */
    .mobile-scroll-hint {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.9);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(0, 163, 224, 0.3);
        border-radius: var(--radius-full);
        padding: 6px 14px;
        margin: 0 auto 14px;
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--dorira-navy);
        max-width: 440px;
        box-shadow: 0 4px 12px rgba(0, 34, 68, 0.05);
    }
    .hint-swipe-icon {
        color: var(--dorira-cyan);
        font-size: 1.1rem;
        line-height: 1;
        animation: swipeHintPulse 1.8s infinite ease-in-out;
    }
    @keyframes swipeHintPulse {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(4px); }
    }
    .hint-badge {
        font-size: 0.7rem;
        background: var(--dorira-cyan);
        color: #ffffff;
        padding: 2px 7px;
        border-radius: var(--radius-full);
    }

    /* Wrap container with fade indicator */
    .orbit-mobile-scroll-wrap {
        position: relative;
        width: 100%;
        max-width: 540px;
        margin: 0 auto;
    }
    .orbit-mobile-scroll-wrap::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 12px;
        width: 48px;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95));
        pointer-events: none;
        z-index: 5;
    }

    .orbit-mobile-scroll {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 6px 44px 14px 4px;
        width: 100%;
        scrollbar-width: thin;
        scrollbar-color: var(--dorira-cyan) rgba(0, 34, 68, 0.08);
    }
    .orbit-mobile-scroll::-webkit-scrollbar {
        height: 4px;
    }
    .orbit-mobile-scroll::-webkit-scrollbar-track {
        background: rgba(0, 34, 68, 0.06);
        border-radius: 99px;
    }
    .orbit-mobile-scroll::-webkit-scrollbar-thumb {
        background: var(--dorira-cyan);
        border-radius: 99px;
    }

    .orbit-mobile-pill {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 6px;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid var(--border-subtle);
        padding: 9px 16px;
        border-radius: var(--radius-full);
        font-size: 0.82rem;
        font-weight: 700;
        color: var(--dorira-navy);
        cursor: pointer;
        white-space: nowrap;
        touch-action: manipulation;
        transition: all 0.2s ease;
        box-shadow: 0 2px 8px rgba(0, 34, 68, 0.04);
    }
    .orbit-mobile-pill.is-active {
        background: var(--dorira-navy);
        color: #ffffff;
        border-color: var(--dorira-navy);
        box-shadow: 0 4px 14px rgba(0, 34, 68, 0.25);
    }

    .orbit-center-hub {
        width: 100%;
        max-width: 440px;
        padding: 24px 20px;
    }
}

@media (min-width: 821px) {
    .mobile-scroll-hint,
    .orbit-mobile-scroll-wrap,
    .orbit-mobile-scroll {
        display: none;
    }
}
