/* ==========================================================================
   QuantFill — Quantum-Grade Institutional Design System & Theme
   ========================================================================== */

:root {
    --bg-base: #04060a;
    --bg-surface: #080c14;
    --bg-card: rgba(11, 17, 28, 0.75);
    --bg-card-hover: rgba(16, 24, 40, 0.92);
    --bg-glass: rgba(8, 12, 20, 0.65);
    
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-card: rgba(255, 255, 255, 0.1);
    --border-quantum: rgba(0, 242, 254, 0.35);
    --border-emerald: rgba(16, 185, 129, 0.35);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --cyan-core: #00f2fe;
    --cyan-secondary: #38bdf8;
    --cyan-glow: rgba(0, 242, 254, 0.28);
    
    --emerald-core: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.28);
    
    --purple-core: #818cf8;
    --purple-glow: rgba(129, 140, 248, 0.28);
    
    --amber-core: #f59e0b;
    --rose-core: #f43f5e;

    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-display: 'Space Grotesk', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;

    --shadow-quantum: 0 0 35px rgba(0, 242, 254, 0.18);
    --shadow-emerald: 0 0 35px rgba(16, 185, 129, 0.18);
    --shadow-card: 0 16px 40px -12px rgba(0, 0, 0, 0.7);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Quantum Canvas (Full Background) */
#quantumCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

/* Interactive Cursor Reactive Glow */
#cursorGlow {
    position: fixed;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.14) 0%, rgba(99, 102, 241, 0.06) 45%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, opacity 0.3s;
    filter: blur(25px);
    opacity: 0.9;
}

#cursorDot {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan-core);
    box-shadow: 0 0 12px var(--cyan-core), 0 0 20px var(--cyan-core);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s;
}

/* Ambient Radial Glows */
.ambient-glow {
    position: fixed;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.glow-1 {
    top: -120px;
    left: 25%;
    background: radial-gradient(circle, var(--cyan-core) 0%, transparent 70%);
}

.glow-2 {
    top: 45%;
    right: -100px;
    background: radial-gradient(circle, var(--purple-core) 0%, transparent 70%);
}

.glow-3 {
    bottom: -100px;
    left: 10%;
    background: radial-gradient(circle, var(--emerald-core) 0%, transparent 70%);
}

.quantum-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(circle at 50% 40%, rgba(0, 242, 254, 0.04) 0%, transparent 80%),
        linear-gradient(to right, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
    pointer-events: none;
    z-index: 0;
}

/* Typography Utilities */
.gradient-text {
    background: linear-gradient(135deg, var(--cyan-core) 0%, var(--cyan-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quantum-gradient-text {
    background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 45%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 45px rgba(0, 242, 254, 0.35);
}

.mono-num {
    font-family: var(--font-mono);
}

.text-cyan { color: var(--cyan-core); }
.text-emerald { color: var(--emerald-core); }
.text-purple { color: var(--purple-core); }
.text-amber { color: var(--amber-core); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ==========================================================================
   Navigation Bar & Institutional Brand Logo
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(24px);
    background: rgba(4, 6, 10, 0.85);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-primary);
}

/* ==========================================================================
   Institutional Quantum Brand Logo & Typography
   ========================================================================== */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover {
    transform: scale(1.03);
}

.brand-quantum-q {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: filter 0.3s ease;
}

.brand-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.45)) drop-shadow(0 0 18px rgba(16, 185, 129, 0.35));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 0 16px rgba(0, 242, 254, 0.85)) drop-shadow(0 0 24px rgba(16, 185, 129, 0.75));
}

.brand-logo-img.small {
    width: 28px;
    height: 28px;
}

.brand-logo:hover .brand-quantum-q {
    filter: drop-shadow(0 0 16px rgba(0, 242, 254, 0.8));
}

.brand-quantum-q.small {
    width: 32px;
    height: 32px;
}

.quantum-q-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Outer Main Quantum Loop Ring */
.q-main-ring {
    transform-origin: 20px 20px;
    filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.45));
    animation: quantumRingPulse 3.5s ease-in-out infinite alternate;
}

/* Inner Concentric Quantum Ring */
.q-inner-ring {
    transform-origin: 20px 20px;
    animation: quantumInnerRotate 8s linear infinite;
}

/* Center Singularity Core */
.q-center-dot {
    transform-origin: 20px 20px;
    animation: quantumCoreBreathe 2s ease-in-out infinite alternate;
}

/* Razor-Sharp 45-deg Laser Tail */
.q-laser-tail {
    animation: quantumTailGlow 2.5s ease-in-out infinite alternate;
}

@keyframes quantumRingPulse {
    0% { filter: drop-shadow(0 0 4px rgba(0, 242, 254, 0.3)); stroke-width: 3.3; }
    100% { filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.75)); stroke-width: 3.7; }
}

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

@keyframes quantumCoreBreathe {
    0% { transform: scale(0.85); opacity: 0.8; filter: drop-shadow(0 0 2px #00f2fe); }
    100% { transform: scale(1.2); opacity: 1; filter: drop-shadow(0 0 8px #ffffff); }
}

@keyframes quantumTailGlow {
    0% { opacity: 0.85; filter: drop-shadow(0 0 4px #00f2fe); }
    100% { opacity: 1; filter: drop-shadow(0 0 14px #00f2fe), drop-shadow(0 0 20px #38bdf8); }
}

.brand-text-wrapper {
    display: flex;
    align-items: baseline;
}

.brand-title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2.2px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    color: #ffffff;
    text-transform: uppercase;
    display: inline-flex;
    align-items: baseline;
    transition: all 0.3s ease;
}

/* Shared Core Spark Keyframe */
@keyframes qSvgPulse {
    0% { transform: scale(0.85); opacity: 0.85; filter: drop-shadow(0 0 4px #00f2fe); }
    100% { transform: scale(1.35); opacity: 1; filter: drop-shadow(0 0 14px #00f2fe); }
}

@keyframes qSvgSparkPulse {
    0% { transform: scale(0.8); opacity: 0.7; }
    100% { transform: scale(1.4); opacity: 1; filter: drop-shadow(0 0 8px #ffffff); }
}

.brand-text-wrapper {
    display: flex;
    align-items: baseline;
}

.brand-title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2.2px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    color: #ffffff;
    text-transform: uppercase;
    display: inline-flex;
    align-items: baseline;
    transition: all 0.3s ease;
}

.brand-dot {
    color: var(--cyan-core);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 12px var(--cyan-core), 0 0 20px rgba(0, 242, 254, 0.7);
    margin-left: 2px;
    animation: dotPulse 2s ease-in-out infinite alternate;
}

@keyframes dotPulse {
    0% { opacity: 0.8; text-shadow: 0 0 8px var(--cyan-core); }
    100% { opacity: 1; text-shadow: 0 0 16px var(--cyan-core), 0 0 24px rgba(0, 242, 254, 0.9); }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
}

.nav-indicator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--cyan-core);
    background: rgba(0, 242, 254, 0.04);
}

.nav-link:hover .nav-indicator {
    background: var(--cyan-core);
    box-shadow: 0 0 8px var(--cyan-core);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.system-ping {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 5px 10px;
    border-radius: var(--radius-full);
}

.ping-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald-core);
    box-shadow: 0 0 8px var(--emerald-core);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
    100% { transform: scale(0.9); opacity: 1; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-quantum-sm {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--cyan-core) 0%, var(--cyan-secondary) 100%);
    color: #040810;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 0 18px rgba(0, 242, 254, 0.35);
}

.btn-quantum-sm:hover {
    box-shadow: 0 0 28px rgba(0, 242, 254, 0.65);
    transform: translateY(-1px);
}

.btn-quantum-lg {
    background: linear-gradient(135deg, var(--cyan-core) 0%, var(--cyan-secondary) 50%, var(--purple-core) 100%);
    color: #040810;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 4px 28px rgba(0, 242, 254, 0.4);
}

.btn-quantum-lg:hover {
    box-shadow: 0 8px 40px rgba(0, 242, 254, 0.7);
    transform: translateY(-2px);
}

.btn-glass-lg {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-card);
    backdrop-filter: blur(12px);
    font-size: 15px;
}

.btn-glass-lg:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-quantum-full {
    width: 100%;
    padding: 13px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--cyan-core) 0%, var(--cyan-secondary) 100%);
    color: #040810;
    font-weight: 800;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
}

.btn-quantum-full:hover {
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
}

.btn-emerald-full {
    width: 100%;
    padding: 13px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #040810;
    font-weight: 800;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-emerald-full:hover {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
    color: #040810;
}

.btn-glass-full {
    width: 100%;
    padding: 13px;
    border-radius: var(--radius-sm);
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald-core);
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-weight: 700;
}

.btn-glass-full:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--emerald-core);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
}

/* ==========================================================================
   Hero Section (Authoritative Centered Layout)
   ========================================================================== */
.hero-section {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 170px 28px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quantum-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid var(--border-quantum);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.14);
    margin-bottom: 28px;
    backdrop-filter: blur(12px);
}

.badge-emitter {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan-core);
    box-shadow: 0 0 10px var(--cyan-core);
    animation: pulse 1.5s infinite;
}

.badge-code {
    font-size: 11px;
    font-weight: 800;
    color: var(--cyan-core);
    letter-spacing: 0.8px;
}

.badge-divider {
    width: 1px;
    height: 12px;
    background: var(--border-quantum);
}

.badge-text {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.hero-title {
    font-size: 58px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2.2px;
    margin-bottom: 24px;
    font-family: var(--font-display);
    max-width: 960px;
}

.hero-subtitle {
    font-size: 17.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 720px;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

/* Stats Ribbon */
.hero-stats-ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 22px 36px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    backdrop-filter: blur(20px);
    width: fit-content;
    box-shadow: var(--shadow-card);
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease;
}

.hero-stats-ribbon:hover {
    border-color: var(--border-quantum);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 242, 254, 0.15);
}

.stat-card {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* ==========================================================================
   Pillars Section (Core Products)
   ========================================================================== */
.pillars-section {
    position: relative;
    z-index: 2;
    padding: 110px 28px;
    background: linear-gradient(180deg, transparent 0%, rgba(8, 12, 20, 0.85) 100%);
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--cyan-core);
    margin-bottom: 14px;
    font-family: var(--font-mono);
}

.section-title {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -1.2px;
    margin-bottom: 16px;
    font-family: var(--font-display);
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.pillar-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 42px;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pillar-card:hover {
    border-color: var(--border-quantum);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 242, 254, 0.2);
}

.pillar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

.pillar-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.crypto-icon {
    background: rgba(0, 242, 254, 0.1);
    color: var(--cyan-core);
    border: 1px solid rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.nse-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald-core);
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.live-pill, .alpha-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.live-pill {
    color: var(--cyan-core);
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid rgba(0, 242, 254, 0.35);
}

.alpha-pill {
    color: var(--emerald-core);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.live-dot, .alpha-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.live-dot { background: var(--cyan-core); box-shadow: 0 0 6px var(--cyan-core); }
.alpha-dot { background: var(--emerald-core); box-shadow: 0 0 6px var(--emerald-core); }

.pillar-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 14px;
    font-family: var(--font-display);
}

.pillar-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 30px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 12px;
    font-size: 13.5px;
    line-height: 1.55;
}

.feature-item strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 2px;
}

.feature-item span {
    color: var(--text-muted);
}

.feature-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan-core);
    margin-top: 6px;
    flex-shrink: 0;
    box-shadow: 0 0 6px var(--cyan-core);
}

.feature-bullet.emerald {
    background: var(--emerald-core);
    box-shadow: 0 0 6px var(--emerald-core);
}

/* ==========================================================================
   Architecture & Infrastructure Grid Section
   ========================================================================== */
.arch-section {
    position: relative;
    z-index: 2;
    padding: 110px 28px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-box {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 28px;
    backdrop-filter: blur(16px);
    transition: transform 0.15s ease-out, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tech-box:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.tech-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}

.tech-box h4 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 10px;
}

.tech-box p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Ecosystem Portal Section
   ========================================================================== */
.ecosystem-section {
    position: relative;
    z-index: 2;
    padding: 90px 28px 140px;
}

.ecosystem-card {
    background: linear-gradient(135deg, rgba(14, 20, 31, 0.95) 0%, rgba(7, 10, 16, 0.98) 100%);
    border: 1px solid var(--border-quantum);
    border-radius: var(--radius-lg);
    padding: 56px;
    box-shadow: 0 0 60px rgba(0, 242, 254, 0.1);
}

.ecosystem-header {
    margin-bottom: 40px;
}

.ecosystem-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 14px;
    font-family: var(--font-display);
}

.ecosystem-desc {
    font-size: 16px;
    color: var(--text-secondary);
}

.app-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.app-link-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 28px;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.app-link-card.active-app:hover {
    border-color: var(--cyan-core);
    background: rgba(0, 242, 254, 0.06);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.2);
}

.app-link-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.app-link-badge {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 3px 8px;
    border-radius: 4px;
}

.app-link-badge.live {
    color: var(--emerald-core);
    background: var(--emerald-glow);
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.app-link-badge.build {
    color: var(--amber-core);
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.app-link-badge.alpha {
    color: var(--purple-core);
    background: var(--purple-glow);
    border: 1px solid rgba(129, 140, 248, 0.4);
}

.app-port {
    font-size: 10px;
    color: var(--text-muted);
}

.app-link-card h4 {
    font-size: 17px;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.app-link-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
}

.app-action-text {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--cyan-core);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    position: relative;
    z-index: 2;
    background: #020306;
    border-top: 1px solid var(--border-subtle);
    padding: 70px 28px 36px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 56px;
    margin-bottom: 56px;
}

.footer-tagline {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-top: 16px;
    max-width: 380px;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.footer-col h5 {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
    font-family: var(--font-mono);
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 13.5px;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--cyan-core);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--emerald-core);
    margin-bottom: 6px;
}

.status-dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald-core);
    box-shadow: 0 0 10px var(--emerald-core);
}

.status-subtext {
    font-size: 10px;
    color: var(--text-muted);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 800px;
}

.copyright {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Animations */
.fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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

/* ==========================================================================
   Pillar Partner Boxes & Action Stacks
   ========================================================================== */
.pillar-action-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.pillar-partner-box {
    background: rgba(0, 242, 254, 0.04);
    border: 1px solid rgba(0, 242, 254, 0.22);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s ease;
}

.pillar-partner-box:hover {
    background: rgba(0, 242, 254, 0.07);
    border-color: rgba(0, 242, 254, 0.45);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.12);
}

.pillar-partner-box.emerald-border {
    background: rgba(16, 185, 129, 0.04);
    border-color: rgba(16, 185, 129, 0.22);
}

.pillar-partner-box.emerald-border:hover {
    background: rgba(16, 185, 129, 0.07);
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.12);
}

.partner-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.partner-role {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    font-family: var(--font-mono);
}

.partner-code-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid rgba(0, 242, 254, 0.35);
    color: var(--cyan-core);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.partner-code-badge:hover {
    background: rgba(0, 242, 254, 0.25);
    transform: scale(1.03);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}

.partner-code-badge.emerald {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: var(--emerald-core);
}

.partner-code-badge.emerald:hover {
    background: rgba(16, 185, 129, 0.25);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.btn-partner-delta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    background: rgba(0, 242, 254, 0.08);
    color: var(--cyan-core);
    border: 1px solid rgba(0, 242, 254, 0.3);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-partner-delta:hover {
    background: var(--cyan-core);
    color: #04060a;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.btn-partner-firstock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    background: rgba(16, 185, 129, 0.08);
    color: var(--emerald-core);
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-partner-firstock:hover {
    background: var(--emerald-core);
    color: #04060a;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   Brokers & Partner Onboarding Section
   ========================================================================== */
.brokers-section {
    position: relative;
    z-index: 2;
    padding: 100px 28px;
    background: linear-gradient(180deg, rgba(8, 12, 20, 0.85) 0%, rgba(4, 6, 10, 0.95) 100%);
}

.brokers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.broker-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 42px;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
}

.broker-card:hover {
    border-color: var(--border-quantum);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 242, 254, 0.15);
}

.broker-glow-cyan {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.broker-glow-emerald {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.broker-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 16px;
}

.broker-brand-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.broker-logo-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.broker-name {
    font-size: 22px;
    font-weight: 800;
    font-family: var(--font-display);
    margin-bottom: 4px;
}

.broker-market-tag {
    font-size: 12px;
    font-weight: 600;
}

.broker-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    font-family: var(--font-mono);
}

.cyan-badge {
    color: var(--cyan-core);
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.emerald-badge {
    color: var(--emerald-core);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-dot-cyan {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan-core);
    box-shadow: 0 0 6px var(--cyan-core);
}

.broker-summary {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
}

.broker-perks-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.broker-perk {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.broker-perk svg {
    margin-top: 3px;
    flex-shrink: 0;
}

.broker-perk strong {
    color: var(--text-primary);
}

.broker-referral-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
}

.referral-code-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.referral-label {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-family: var(--font-mono);
}

.code-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px dashed rgba(0, 242, 254, 0.4);
    border-radius: var(--radius-sm);
    color: var(--cyan-core);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.code-box:hover {
    background: rgba(0, 242, 254, 0.2);
    border-style: solid;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.code-box.emerald-code {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.4);
    color: var(--emerald-core);
}

.code-box.emerald-code:hover {
    background: rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.btn-broker-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-broker-cta.delta-cta {
    background: var(--cyan-core);
    color: #04060a;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
}

.btn-broker-cta.delta-cta:hover {
    background: #ffffff;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.6);
    transform: translateY(-2px);
}

.btn-broker-cta.firstock-cta {
    background: var(--emerald-core);
    color: #04060a;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
}

.btn-broker-cta.firstock-cta:hover {
    background: #ffffff;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
    transform: translateY(-2px);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.copy-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    background: rgba(8, 12, 20, 0.95);
    border: 1px solid var(--border-quantum);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 242, 254, 0.25);
    backdrop-filter: blur(16px);
    color: var(--text-primary);
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.copy-toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--cyan-core);
    color: #04060a;
    font-size: 12px;
    font-weight: 900;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brokers-grid {
        grid-template-columns: 1fr;
    }

    .app-links-grid {
        grid-template-columns: 1fr;
    }
}

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

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-stats-ribbon {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .broker-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .broker-referral-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-broker-cta {
        justify-content: center;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}


