/* ==========================================================================
   Ruthberry Studio Ventures - Premium CSS Stylesheet
   Theme: Galactic Noir & Glassmorphism (High-End Dark Mode)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset & Variables
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --color-bg: #030303;
    --color-bg-alt: #09090b;
    --color-card: rgba(15, 23, 42, 0.45);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-active: rgba(139, 92, 246, 0.4);
    
    --color-text: #a1a1aa;
    --color-text-light: #f4f4f5;
    --color-text-white: #ffffff;
    
    /* Neons & Accents */
    --color-primary: #8b5cf6; /* Purple */
    --color-primary-rgb: 139, 92, 246;
    --color-secondary: #3b82f6; /* Blue */
    --color-cyan: #06b6d4;
    --color-magenta: #d946ef;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    --grad-purple-pink: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --grad-cyan-blue: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --grad-dark: linear-gradient(180deg, rgba(9, 9, 11, 0.8) 0%, rgba(3, 3, 3, 0.95) 100%);
    
    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-glow-purple: 0 0 30px rgba(139, 92, 246, 0.25);
    --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.25);
    --shadow-glow-magenta: 0 0 30px rgba(217, 70, 239, 0.25);
    --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    position: relative;
}

/* Background Particle Canvas Setup */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: all;
    background-color: var(--color-bg);
}

/* --------------------------------------------------------------------------
   2. Typography & Core Layout Elements
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-white);
    font-weight: 600;
    line-height: 1.25;
}

p {
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
    position: relative;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: var(--grad-purple-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
    background: var(--grad-cyan-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-purple { color: var(--color-primary); }
.text-cyan { color: var(--color-cyan); }
.text-magenta { color: var(--color-magenta); }

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* --------------------------------------------------------------------------
   3. Buttons & UI Elements
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--color-text-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-border);
    color: var(--color-text-light);
}

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

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(10px);
    transition: var(--transition-smooth);
}

.btn-glow:hover::after {
    opacity: 0.6;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--color-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   4. Header & Navigation Menu
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 3, 3, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background: rgba(3, 3, 3, 0.9);
    padding: 0.5rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-text-white);
    letter-spacing: 1px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--grad-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: var(--transition-smooth);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-white);
    cursor: pointer;
    font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 120px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.05) 50%, rgba(0,0,0,0) 100%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan);
    animation: pulseGlow 2s infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 2.5rem;
    color: var(--color-text);
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-text);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-text-white);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --------------------------------------------------------------------------
   6. About Section
   -------------------------------------------------------------------------- */
.section-header {
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    text-align: left;
}

.about-card:hover {
    transform: translateY(-5px);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-text-white);
    margin-bottom: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.purple-glow {
    background: rgba(139, 92, 246, 0.1);
    box-shadow: inset 0 0 15px rgba(139, 92, 246, 0.15);
    color: var(--color-primary);
}

.cyan-glow {
    background: rgba(6, 182, 212, 0.1);
    box-shadow: inset 0 0 15px rgba(6, 182, 212, 0.15);
    color: var(--color-cyan);
}

.blue-glow {
    background: rgba(59, 130, 246, 0.1);
    box-shadow: inset 0 0 15px rgba(59, 130, 246, 0.15);
    color: var(--color-secondary);
}

.about-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   7. Divisions Tabs & Simulated Panel Displays
   -------------------------------------------------------------------------- */
.division-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.div-tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 1rem 1.75rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-smooth);
}

.div-tab-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--color-text-white);
    border-color: rgba(255,255,255,0.2);
}

.div-tab-btn.active {
    background: var(--color-text-white);
    color: var(--color-bg);
    border-color: var(--color-text-white);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.div-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.div-panel.active {
    display: block;
    opacity: 1;
}

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

.panel-info {
    text-align: left;
}

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

.div-badge.purple { background: rgba(139, 92, 246, 0.1); color: var(--color-primary); border: 1px solid var(--color-border-active); }
.div-badge.magenta { background: rgba(217, 70, 239, 0.1); color: var(--color-magenta); border: 1px solid rgba(217, 70, 239, 0.2); }
.div-badge.cyan { background: rgba(6, 182, 212, 0.1); color: var(--color-cyan); border: 1px solid rgba(6, 182, 212, 0.2); }
.div-badge.blue { background: rgba(59, 130, 246, 0.1); color: var(--color-secondary); border: 1px solid rgba(59, 130, 246, 0.2); }

.panel-info h3 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.panel-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--color-text-light);
}

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

.panel-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

/* Simulated Visual Panels (Flowchart, Dashboard etc.) */
.panel-visual {
    background: rgba(3, 3, 3, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Visual Panel 1: Flowchart Simulation */
.flowchart-simulation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 80%;
    position: relative;
}

.sim-node {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.08);
}

.node-start { background: rgba(255,255,255,0.05); color: #fff; }
.node-ai { background: rgba(139, 92, 246, 0.15); border-color: var(--color-primary); color: #c084fc; box-shadow: 0 0 15px rgba(139, 92, 246, 0.2); }
.node-crm { background: rgba(59, 130, 246, 0.1); border-color: var(--color-secondary); color: #93c5fd; }
.node-wa { background: rgba(6, 182, 212, 0.1); border-color: var(--color-cyan); color: #67e8f9; }

.sim-line {
    width: 2px;
    height: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
}

.sim-line-split {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.split-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%;
}

.sim-line-vert {
    width: 2px;
    height: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
}

.sim-pulse {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-primary);
    top: 5px;
    box-shadow: 0 0 10px var(--color-primary);
    animation: flowPulse 4s infinite linear;
}

/* Visual Panel 2: Marketing Dashboard Simulation */
.marketing-dashboard-sim {
    width: 85%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dash-stat {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-stat span { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.dash-stat strong { font-size: 1.5rem; font-family: var(--font-heading); }

.dash-chart {
    height: 100px;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dash-chart .bar {
    flex: 1;
    background: rgba(217, 70, 239, 0.2);
    border: 1px solid rgba(217, 70, 239, 0.4);
    border-radius: 4px 4px 0 0;
    animation: growBar 1.5s ease-out forwards;
}

.dash-chart .bar:nth-child(4) {
    background: var(--grad-purple-pink);
    border: none;
    box-shadow: 0 0 15px rgba(217, 70, 239, 0.4);
}

.dash-tags {
    display: flex;
    gap: 0.75rem;
}

.dash-tags span {
    padding: 0.35rem 0.75rem;
    background: rgba(255,255,255,0.05);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Visual Panel 3: Talent Match Simulation */
.talent-match-sim {
    display: flex;
    align-items: center;
    width: 85%;
    justify-content: space-between;
    position: relative;
}

.candidate-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 45%;
}

.cand-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--grad-cyan-blue);
}

.cand-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.cand-details span { font-size: 0.85rem; font-weight: 500; color: #fff; }
.cand-details small { font-size: 0.75rem; color: var(--color-cyan); }

.connection-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--color-cyan) 0%, rgba(255,255,255,0.1) 100%);
    position: relative;
}

.pulse-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--color-cyan);
    border-radius: 50%;
    top: -2px;
    box-shadow: 0 0 8px var(--color-cyan);
    animation: linePulse 2.5s infinite linear;
}

.company-target-box {
    border: 1px solid var(--color-border);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #fff;
    background: rgba(255,255,255,0.02);
}

/* Visual Panel 4: Course Platform Simulation */
.course-platform-sim {
    width: 85%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.platform-window {
    background: #09090b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.window-bar {
    background: #18181b;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: #d4d4d8;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.window-content {
    padding: 1rem;
    font-family: monospace;
    font-size: 0.8rem;
    color: #a78bfa;
    text-align: left;
}

.progress-indicator {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.progress-indicator span {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.progress-bar-outer {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-inner {
    height: 100%;
    background: var(--grad-primary);
    border-radius: 3px;
}

/* --------------------------------------------------------------------------
   8. ROI Calculator Section
   -------------------------------------------------------------------------- */
.calculator-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.label-wrapper label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-light);
}

.input-val {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-primary);
    background: rgba(139, 92, 246, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

/* Slider Custom Styling */
.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
    outline: none;
    transition: background 0.3s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-text-white);
    border: 2px solid var(--color-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    transition: var(--transition-fast);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--color-primary);
    border-color: var(--color-text-white);
}

.slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-text-white);
    border: 2px solid var(--color-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    transition: var(--transition-fast);
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    background: var(--color-primary);
    border-color: var(--color-text-white);
}

.calc-results {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.results-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(0,0,0,0) 70%);
    filter: blur(30px);
    z-index: -1;
    pointer-events: none;
}

.calc-results h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.primary-result {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.primary-result .currency {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-white);
    font-family: var(--font-heading);
}

.primary-result .result-number {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--color-text-white);
    font-family: var(--font-heading);
    line-height: 1;
}

.secondary-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sec-result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
}

.sec-lbl {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}

.sec-result-card strong {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-text-light);
}

.calc-note {
    font-size: 0.75rem;
    color: var(--color-text);
    margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   9. Education Explorer (Course Search)
   -------------------------------------------------------------------------- */
.search-filter-wrapper {
    margin-bottom: 3.5rem;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text);
    pointer-events: none;
}

#course-search {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
    outline: none;
}

#course-search:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
    background: rgba(255,255,255,0.05);
}

.filter-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.filter-pill:hover {
    background: rgba(255,255,255,0.07);
    color: var(--color-text-white);
}

.filter-pill.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.course-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    transition: var(--transition-smooth);
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.course-header {
    margin-bottom: 1.5rem;
}

.course-cat {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.course-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.course-card p {
    font-size: 0.85rem;
    color: var(--color-text);
}

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

.course-tag-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    color: var(--color-text-light);
}

.course-learn-btn {
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* --------------------------------------------------------------------------
   10. Global Reach Map Section
   -------------------------------------------------------------------------- */
.global-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    padding: 0;
    overflow: hidden;
}

.map-illustration {
    position: relative;
    background: rgba(3, 3, 3, 0.4);
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--color-border);
}

.map-glow-bg {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(0,0,0,0) 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.world-svg-placeholder {
    width: 90%;
    height: 90%;
    z-index: 1;
}

/* Pulse animation on dots */
.map-pulse-circle {
    fill: none;
    stroke-width: 1.5px;
    transform-origin: center;
}

.text-blue-pulse { stroke: var(--color-secondary); animation: ringPulse 2.5s infinite; }
.text-cyan-pulse { stroke: var(--color-cyan); animation: ringPulse 2.5s infinite; }
.text-purple-pulse { stroke: var(--color-primary); animation: ringPulse 2.5s infinite; }

.map-dot-active {
    fill: #fff;
    cursor: pointer;
    transition: var(--transition-fast);
}

.map-dot-active:hover {
    fill: var(--color-cyan);
    transform: scale(1.5);
}

/* Map Tooltip */
.map-tooltip {
    position: absolute;
    background: rgba(9, 9, 11, 0.9);
    border: 1px solid var(--color-primary);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-glow-purple);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    max-width: 200px;
    transform: translate(-50%, -100%) scale(0.9);
}

.map-tooltip.active {
    opacity: 1;
    transform: translate(-50%, -120%) scale(1);
}

.map-tooltip h5 {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    color: #fff;
}

.map-tooltip p {
    font-size: 0.75rem;
    color: var(--color-text);
    margin: 0;
}

.global-details {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.region-info-card {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.region-info-card.active {
    display: block;
    opacity: 1;
}

.region-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-cyan);
    margin-bottom: 1rem;
}

.region-info-card h4 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.region-info-card p {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.region-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.region-stats div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.region-stats strong {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-white);
}

.region-stats span {
    font-size: 0.8rem;
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   11. Consultation Multi-Step Form
   -------------------------------------------------------------------------- */
.contact-card {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.form-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 3.5rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    position: relative;
}

.progress-step span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    transition: var(--transition-smooth);
}

.progress-step.active span {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

.progress-step.completed span {
    background: var(--color-cyan);
    border-color: var(--color-cyan);
    color: #fff;
}

.progress-step small {
    font-size: 0.75rem;
    color: var(--color-text);
    font-family: var(--font-heading);
}

.progress-step.active small {
    color: var(--color-text-white);
}

.progress-bar-container {
    position: absolute;
    top: 16px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-border);
    z-index: 1;
}

.form-progress-indicator {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-cyan) 100%);
    width: 0%;
    transition: var(--transition-smooth);
}

.form-step-content {
    display: none;
}

.form-step-content.active {
    display: block;
    animation: stepFade 0.4s ease-out;
}

.form-step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

/* Step 1: Interest Grid */
.interest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.interest-checkbox-label {
    cursor: pointer;
}

.interest-checkbox {
    display: none;
}

.interest-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    text-align: left;
    transition: var(--transition-smooth);
}

.interest-box i {
    font-size: 1.5rem;
    color: var(--color-text);
    transition: var(--transition-fast);
}

.interest-box strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text-white);
}

.interest-box span {
    font-size: 0.75rem;
    color: var(--color-text);
}

.interest-checkbox:checked + .interest-box {
    background: rgba(139, 92, 246, 0.08);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow-purple);
}

.interest-checkbox:checked + .interest-box i {
    color: var(--color-primary);
    transform: scale(1.1);
}

/* Step 2 & 3: Standard Form Inputs */
.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-light);
}

.form-group input, .form-group select, .form-group textarea {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.15);
    background: rgba(255,255,255,0.05);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
}

.form-actions.text-right {
    justify-content: flex-end;
}

/* Success View */
.form-success-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.success-icon-wrapper {
    width: 72px;
    height: 72px;
    background: rgba(6, 182, 212, 0.1);
    border: 2px solid var(--color-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: var(--color-cyan);
    box-shadow: var(--shadow-glow-cyan);
    margin-bottom: 2rem;
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success-container h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-success-container p {
    font-size: 1rem;
    max-width: 500px;
    color: var(--color-text);
}

/* Submission Spec Card Styling */
.submission-spec-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed var(--color-primary);
    border-radius: 12px;
    padding: 1.75rem;
    width: 100%;
    max-width: 600px;
    margin: 1.5rem auto;
    text-align: left;
    font-size: 0.9rem;
}

.spec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.spec-id {
    color: var(--color-text);
}

.spec-id strong {
    color: #fff;
}

.spec-status {
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-cyan);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.spec-item.wide {
    grid-column: 1 / -1;
}

.spec-item strong {
    font-size: 0.8rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-item span {
    color: var(--color-text-light);
    font-weight: 500;
}

.spec-item p {
    color: var(--color-text-light);
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0.25rem;
    white-space: pre-wrap;
}

@media (max-width: 560px) {
    .spec-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: #020202;
    border-top: 1px solid var(--color-border);
    padding: 5rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 0.9fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--color-text);
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
}

.social-links a:hover {
    color: var(--color-text-white);
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.footer-links-col h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-white);
    margin-bottom: 1.5rem;
}

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

.footer-links-col a {
    font-size: 0.85rem;
    color: var(--color-text);
}

.footer-links-col a:hover {
    color: var(--color-text-white);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   13. Animations & Reveal Classes
   -------------------------------------------------------------------------- */
@keyframes scrollWheel {
    0% { opacity: 0; transform: translate(-50%, 0); }
    30% { opacity: 1; }
    60% { opacity: 0; transform: translate(-50%, 15px); }
    100% { opacity: 0; }
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.6; box-shadow: 0 0 5px var(--color-cyan); }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 15px var(--color-cyan); }
    100% { transform: scale(1); opacity: 0.6; box-shadow: 0 0 5px var(--color-cyan); }
}

@keyframes ringPulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

@keyframes flowPulse {
    0% { transform: translateY(0); opacity: 0; }
    5% { opacity: 1; }
    30% { transform: translateY(50px); opacity: 1; }
    35% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes growBar {
    0% { height: 0; }
    100% { height: var(--height); }
}

@keyframes linePulse {
    0% { left: 0%; }
    100% { left: 100%; }
}

@keyframes stepFade {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* Scroll-based reveals */
[data-reveal] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="fade-up"] {
    transform: translateY(30px);
}

[data-reveal="fade-right"] {
    transform: translateX(-30px);
}

[data-reveal="fade-left"] {
    transform: translateX(30px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* --------------------------------------------------------------------------
   14. Responsive Layout Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.25rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .panel-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .panel-visual {
        height: 280px;
    }
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .global-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .map-illustration {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        height: 350px;
    }
    .footer-grid {
        grid-template-columns: 1fr repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.5rem 0;
    }
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(3, 3, 3, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        overflow: hidden;
        transition: var(--transition-smooth);
        border-bottom: 0px solid var(--color-border);
        z-index: 999;
    }
    .main-nav.mobile-active {
        height: calc(100vh - 80px);
        border-bottom: 1px solid var(--color-border);
    }
    .nav-links {
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 2rem;
        align-items: flex-start;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 0.75rem;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .interest-grid {
        grid-template-columns: 1fr;
    }
    .form-group-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    .section-padding {
        padding: 5rem 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .primary-result .result-number {
        font-size: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Admin Portal & Dashboard Styling
   ========================================================================== */
.admin-overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 2, 2, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-overlay-container.active {
    opacity: 1;
    pointer-events: all;
}

.admin-modal-card {
    position: relative;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transition: max-width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(10, 10, 12, 0.7);
    border: 1px solid rgba(255,255,255,0.08);
}

.admin-overlay-container.active .admin-modal-card {
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-modal-card.login-mode {
    max-width: 460px;
}

.admin-modal-card.dashboard-mode {
    max-width: 1100px;
}

.admin-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
}

.admin-modal-close:hover {
    color: var(--color-text-white);
    transform: rotate(90deg);
}

.admin-view {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.admin-view.active {
    display: block;
    opacity: 1;
}

/* Login Header and Elements */
.admin-icon-glow {
    width: 64px;
    height: 64px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-primary);
    margin: 0 auto 1.5rem auto;
    box-shadow: var(--shadow-glow-purple);
    border: 1px solid rgba(139,92,246,0.3);
}

.admin-error-msg {
    color: #f87171;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Dashboard Layout */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.dashboard-header h3 {
    font-size: 1.75rem;
    color: #fff;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
}

/* Metrics stats card */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.stat-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
}

.stat-card strong {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: #fff;
    line-height: 1;
}

.stat-sub {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Leads Table Grid */
.leads-table-container {
    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    background: rgba(3,3,3,0.3);
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.85rem;
}

.leads-table th {
    background: rgba(255,255,255,0.03);
    padding: 1rem;
    font-family: var(--font-heading);
    font-weight: 500;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.leads-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    vertical-align: middle;
}

.leads-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

.leads-table tr.lead-row {
    cursor: pointer;
}

.lead-id-col {
    font-family: monospace;
    font-weight: 600;
    color: var(--color-cyan);
}

.lead-client-col {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.lead-client-col strong {
    color: #fff;
}

.lead-client-col small {
    color: var(--color-text);
}

.lead-date-col {
    color: var(--color-text);
}

/* Badges */
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.new {
    background: rgba(249, 115, 22, 0.1);
    color: #fdba74;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.status-badge.contacted {
    background: rgba(34, 197, 94, 0.1);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Expandable details row styling */
.detail-row {
    background: rgba(0, 0, 0, 0.2) !important;
}

.detail-row td {
    padding: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.detail-row-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-row.open .detail-row-content {
    max-height: 350px;
    padding: 1.5rem;
}

.detail-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    font-size: 0.85rem;
}

.detail-card-item {
    display: flex;
    flex-direction: column;
}

.detail-card-item strong {
    font-size: 0.75rem;
    color: var(--color-text);
    text-transform: uppercase;
}

.detail-card-item span {
    color: var(--color-text-light);
}

.detail-card-item.full-width {
    grid-column: 1 / -1;
}

.detail-card-item p {
    color: var(--color-text-light);
    background: rgba(255,255,255,0.03);
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-top: 0.25rem;
    white-space: pre-wrap;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.table-action-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text);
    transition: var(--transition-fast);
}

.table-action-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.table-action-btn.delete-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
}

.table-action-btn.check-btn:hover {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.3);
}

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