/* ==========================================================================
   EduPrimeX — Modern Smart School Intelligence Platform Stylesheet
   Design System: Plus Jakarta Sans / Outfit | Electric Blue & Cyan | Glassmorphism
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- Theme Variables --- */
:root {
    /* Brand & Accent Colors */
    --primary: #0066ff;
    --primary-light: #388bfd;
    --primary-dark: #004ecc;
    --cyan: #00f2fe;
    --cyan-glow: rgba(0, 242, 254, 0.4);
    --blue-glow: rgba(0, 102, 255, 0.35);
    --teal: #06b6d4;
    --emerald: #10b981;
    --amber: #f59e0b;
    --coral: #f43f5e;
    --purple: #8b5cf6;

    /* Base Colors (Light Mode) */
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #ffffff;
    --bg-soft: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-subtle: rgba(15, 23, 42, 0.08);
    --border-medium: rgba(15, 23, 42, 0.14);
    --border-accent: rgba(0, 102, 255, 0.25);

    /* Shadows & Elevation */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 12px 32px -4px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 60px -12px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.15);

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Glass Effect */
    --glass-blur: blur(18px);
    --glass-border: 1px solid var(--border-subtle);

    /* Legacy compatibility mappings */
    --ink: var(--text-primary);
    --ink-2: #1e293b;
    --navy: #0f172a;
    --blue: var(--primary);
    --blue-2: #0284c7;
    --paper: var(--bg-page);
    --white: #ffffff;
    --mist: #e2e8f0;
    --muted: var(--text-muted);
    --line: var(--border-subtle);
    --line-light: rgba(255, 255, 255, 0.12);
    --shadow: var(--shadow-lg);
    --soft-shadow: var(--shadow-md);
    --radius: var(--radius-md);
}

/* --- Dark Theme Variables --- */
html[data-theme="dark"] {
    --bg-page: #060911;
    --bg-surface: #0b1120;
    --bg-surface-elevated: #10192e;
    --bg-soft: #0e172a;
    --bg-card: rgba(16, 25, 46, 0.7);
    --bg-card-hover: rgba(22, 35, 64, 0.85);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.15);
    --border-accent: rgba(0, 242, 254, 0.3);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 12px 32px -4px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 50px rgba(0, 102, 255, 0.25);

    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --line: var(--border-subtle);
    --paper: var(--bg-page);
    --ink: var(--text-primary);
}

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

html {
    scroll-behavior: smooth;
    color-scheme: light dark;
}

body {
    min-width: 320px;
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-page);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.35s ease, color 0.35s ease;
}

img, svg, video {
    display: block;
    max-width: 100%;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* --- Typography & Headings --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.text-gradient {
    background: linear-gradient(135deg, #0066ff 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

html[data-theme="dark"] .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #70c4ff 50%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.lead {
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Skip Link (Accessibility) --- */
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 99999;
    padding: 10px 18px;
    color: #ffffff;
    background: var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transform: translateY(-200%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow-md);
}

.skip-link:focus {
    transform: translateY(0);
}

/* --- Layout & Container --- */
.site-shell {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section.compact {
    padding: 70px 0;
}

.section.light {
    background-color: var(--bg-surface);
}

.section.soft {
    background-color: var(--bg-soft);
    background-image: radial-gradient(circle at 50% 0%, rgba(0, 102, 255, 0.04) 0%, transparent 60%);
}

.section.dark {
    background: #080d19;
    color: #ffffff;
}

html[data-theme="dark"] .section.light {
    background-color: #0b1120;
}

html[data-theme="dark"] .section.soft {
    background-color: #070b14;
    background-image: radial-gradient(circle at 50% 0%, rgba(0, 102, 255, 0.09) 0%, transparent 70%);
}

.section-header {
    max-width: 780px;
    margin-bottom: 50px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-top: 14px;
    margin-bottom: 16px;
}

/* --- Eyebrow Pill Badge --- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.18);
    backdrop-filter: blur(8px);
}

html[data-theme="dark"] .eyebrow {
    color: var(--cyan);
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.2);
}

.eyebrow i {
    font-size: 0.9em;
}

/* --- Buttons --- */
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn.primary {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.5), 0 0 20px rgba(0, 242, 254, 0.3);
    color: #ffffff;
}

/* --- DaisyUI-Style Animated Rainbow Aura & Black Glassy Button --- */
@property --aura-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.aura {
    --aura-padding: 2.5px;
    --aura-radius: var(--radius-full, 9999px);
    display: inline-flex;
    position: relative;
    padding: var(--aura-padding);
    border-radius: var(--aura-radius);
    align-items: center;
    justify-content: center;
    z-index: 1;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.aura:hover {
    transform: translateY(-3px);
}

.aura-rainbow {
    background: conic-gradient(
        from var(--aura-angle, 0deg),
        #ff0055 0%,
        #ff5000 14%,
        #ffcc00 28%,
        #00f2fe 45%,
        #4facfe 60%,
        #7928ca 75%,
        #b800e6 88%,
        #ff0055 100%
    );
    animation: auraRotate 4s linear infinite;
}

.aura:before,
.aura:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: inherit;
    animation: inherit;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

/* Vivid inner glow rim */
.aura:before {
    opacity: 0.9;
    filter: blur(6px);
}

/* Soft atmospheric wide bloom */
.aura:after {
    opacity: 0.6;
    filter: blur(18px);
}

.aura:hover:before {
    opacity: 1;
    filter: blur(8px);
}

.aura:hover:after {
    opacity: 0.85;
    filter: blur(24px);
}

@keyframes auraRotate {
    0% {
        --aura-angle: 0deg;
    }
    100% {
        --aura-angle: 360deg;
    }
}

/* Black Glossy / Glassy Button */
.btn-black-glass,
.aura .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: var(--radius-full, 9999px);
    font-weight: 700;
    font-size: 0.96rem;
    letter-spacing: 0.015em;
    color: #ffffff !important;
    text-decoration: none;
    position: relative;
    z-index: 2;
    overflow: hidden;
    white-space: nowrap;
    
    /* Obsidian Black Glass background */
    background: linear-gradient(180deg, rgba(22, 28, 40, 0.92) 0%, rgba(6, 9, 16, 0.97) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.24);
    
    /* Glossy specular highlight reflections */
    box-shadow: 
        inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.45),
        inset 0 -2px 4px 0 rgba(0, 0, 0, 0.8),
        0 4px 20px 0 rgba(0, 0, 0, 0.55);
        
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glassy sheen lens curve */
.btn-black-glass::before,
.aura .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 9999px 9999px 60% 60%;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.btn-black-glass:hover,
.aura:hover .btn {
    background: linear-gradient(180deg, rgba(34, 44, 64, 0.95) 0%, rgba(10, 14, 24, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 
        inset 0 1px 2px 0 rgba(255, 255, 255, 0.65),
        inset 0 -2px 4px 0 rgba(0, 0, 0, 0.85),
        0 8px 25px 0 rgba(0, 0, 0, 0.7);
    color: #ffffff !important;
}

.btn-black-glass:active,
.aura:active .btn {
    transform: scale(0.97);
    box-shadow: 
        inset 0 2px 5px 0 rgba(0, 0, 0, 0.9),
        0 2px 10px 0 rgba(0, 0, 0, 0.5);
}

.btn-black-glass i,
.aura .btn i {
    font-size: 0.92rem;
    color: #00f2fe;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.28s ease;
    z-index: 2;
}

.btn-black-glass:hover i,
.aura:hover .btn i {
    transform: translateX(4px);
    color: #ffffff;
}

.btn.secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    backdrop-filter: var(--glass-blur);
}

.btn.secondary:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

html[data-theme="dark"] .btn.secondary:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

/* --- Floating Glass Navbar --- */
.navbar {
    position: fixed;
    top: 16px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0 16px;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-full);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

html[data-theme="dark"] .nav-inner {
    background: rgba(11, 17, 32, 0.8);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled .nav-inner {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 102, 255, 0.2);
}

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

.brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 102, 255, 0.3));
    transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
    transform: scale(1.08) rotate(3deg);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-copy strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.brand-copy span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

html[data-theme="dark"] .brand-copy span {
    color: var(--cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

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

.control-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

html[data-theme="dark"] .control-button {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

.control-button:hover {
    background: rgba(0, 102, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

html[data-theme="dark"] .control-button:hover {
    color: var(--cyan);
    border-color: var(--cyan);
}

.control-button i {
    font-size: 0.95em;
    transition: transform 0.3s ease;
}

.control-button:hover i {
    transform: rotate(18deg);
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border-subtle);
    font-size: 1.1rem;
    color: var(--text-primary);
}

html[data-theme="dark"] .menu-toggle {
    background: rgba(255, 255, 255, 0.06);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 94vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 80% 60%, rgba(0, 242, 254, 0.08) 0%, transparent 40%),
        var(--bg-page);
}

html[data-theme="dark"] .hero {
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(0, 242, 254, 0.12) 0%, transparent 45%),
        #060911;
}

#networkCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.22);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease;
}

html[data-theme="dark"] .hero-badge {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.25);
    color: var(--cyan);
}

.hero-badge .badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
    animation: livePulse 2s infinite;
}

.hero h1 {
    font-size: clamp(2.4rem, 4.4vw, 3.75rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero .lead {
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-actions {
    margin-bottom: 36px;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.trust-badge i {
    color: var(--primary);
    font-size: 1rem;
}

html[data-theme="dark"] .trust-badge i {
    color: var(--cyan);
}

/* --- Hero Visual (Simple Logo Stage) --- */
.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-stage {
    position: relative;
    width: min(460px, 92%);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 3.8vw, 24px);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3), 0 0 35px rgba(0, 102, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

html[data-theme="dark"] .logo-stage {
    background: rgba(14, 24, 38, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 102, 255, 0.12);
}

.logo-stage:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 242, 254, 0.35);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4), 0 0 50px rgba(0, 242, 254, 0.2);
}

.logo-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-stage:hover img {
    transform: scale(1.02);
}

/* --- Challenge Section (Bento Pain Points) --- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.challenge-card {
    position: relative;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

html[data-theme="dark"] .challenge-card {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}

.challenge-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent, var(--primary));
    opacity: 0.85;
    transition: height 0.25s ease;
}

.challenge-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-medium);
}

.challenge-card:hover::before {
    height: 5px;
}

.challenge-card i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(0, 102, 255, 0.08);
    color: var(--accent, var(--primary));
    font-size: 1.3rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.challenge-card:hover i {
    transform: scale(1.12);
}

.challenge-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.challenge-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* --- Introducing EduPrimeX Section --- */
.intro-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.intro-panel {
    padding: 40px;
    border-radius: var(--radius-xl);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
}

html[data-theme="dark"] .intro-panel {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}

.intro-panel h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.3rem);
    margin-top: 14px;
    margin-bottom: 16px;
}

.intro-panel p {
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.outcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.outcome-chip {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: all 0.28s ease;
}

html[data-theme="dark"] .outcome-chip {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}

.outcome-chip:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.outcome-chip strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 6px;
}

.outcome-chip span {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Core Capabilities (Bento Grid) --- */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.capability-card {
    position: relative;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

html[data-theme="dark"] .capability-card {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}

.capability-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 102, 255, 0.35);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 102, 255, 0.12);
}

.capability-card i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(0, 102, 255, 0.08);
    color: var(--accent, var(--primary));
    font-size: 1.3rem;
    margin-bottom: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.capability-card:hover i {
    transform: scale(1.1) rotate(4deg);
    background: var(--accent, var(--primary));
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

.capability-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.capability-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
    flex-grow: 1;
}

/* --- Interactive Campus Digital Twin Section --- */
.campus-scroll-section {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
}

.campus-sticky-stage {
    width: 100%;
}

.campus-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid var(--border-accent);
    margin-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

html[data-theme="dark"] .campus-header-badge {
    background: rgba(0, 242, 254, 0.08);
    color: var(--cyan);
    border-color: rgba(0, 242, 254, 0.25);
}

.badge-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    animation: campusBadgePulse 2s infinite ease-in-out;
}

html[data-theme="dark"] .badge-pulse-dot {
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
}

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

.campus-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
}

/* Left Column: Interactive Map Card */
.campus-map-card {
    position: relative;
    border-radius: var(--radius-xl);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

html[data-theme="dark"] .campus-map-card {
    background: #080f1d;
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.campus-hud-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(0, 102, 255, 0.03);
    border-bottom: 1px solid var(--border-subtle);
    font-family: monospace;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

html[data-theme="dark"] .campus-hud-header {
    background: rgba(0, 242, 254, 0.02);
    border-color: rgba(255, 255, 255, 0.07);
}

.hud-status {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-primary);
}

.hud-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.hud-coords {
    color: var(--primary);
    font-weight: 700;
}

html[data-theme="dark"] .hud-coords {
    color: var(--cyan);
}

.campus-svg-viewport {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.025) 0%, transparent 70%);
}

.campus-svg-viewport svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.06));
}

html[data-theme="dark"] .campus-ground-base {
    fill: #0c1629;
    stroke: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .campus-road-under {
    stroke: #162544;
}

html[data-theme="dark"] .campus-road-main {
    stroke: #223c6d;
}

.campus-zone {
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
    outline: none;
}

.campus-zone:hover {
    filter: drop-shadow(0 6px 18px rgba(0, 102, 255, 0.45));
    transform: translateY(-2px);
}

.campus-zone .zone-surface {
    transition: fill 0.25s ease, stroke 0.25s ease, stroke-width 0.25s ease;
}

.campus-zone.active rect,
.campus-zone.active circle,
.campus-zone.active path {
    stroke: #0066ff !important;
    stroke-width: 3.5 !important;
    filter: drop-shadow(0 0 12px rgba(0, 102, 255, 0.6));
}

.campus-label {
    pointer-events: none;
    fill: #08233f;
    font-size: 12px;
    font-weight: 800;
    transition: fill 0.2s ease;
}

.zone-label-contrast {
    fill: #ffffff !important;
}

/* Dark Mode Map Contrast & Blueprint Aesthetics */
html[data-theme="dark"] .campus-ground-base {
    fill: #060d1d !important;
    stroke: #172a4d !important;
}

html[data-theme="dark"] .campus-road-under {
    stroke: #0e1d37 !important;
}

html[data-theme="dark"] .campus-road-main {
    stroke: #182c50 !important;
}

html[data-theme="dark"] .zone-surface {
    fill: #0c182e !important;
    stroke: #223c6a !important;
}

html[data-theme="dark"] .campus-zone:hover .zone-surface {
    fill: #132444 !important;
    stroke: #3b82f6 !important;
}

html[data-theme="dark"] .campus-zone.active .zone-surface {
    fill: #0d284f !important;
    stroke: #00f2fe !important;
    stroke-width: 3.5px !important;
    filter: drop-shadow(0 0 16px rgba(0, 242, 254, 0.85));
}

html[data-theme="dark"] .campus-zone[data-campus="gate"] .zone-surface {
    fill: #08284d !important;
    stroke: #1d5ca3 !important;
}

html[data-theme="dark"] .campus-zone[data-campus="bus"] .zone-surface {
    fill: #442605 !important;
    stroke: #b45309 !important;
}

html[data-theme="dark"] .campus-zone[data-campus="playground"] .zone-surface {
    fill: #09261a !important;
    stroke: #059669 !important;
}

html[data-theme="dark"] .campus-zone[data-campus="playground"] circle,
html[data-theme="dark"] .campus-zone[data-campus="playground"] line {
    stroke: #10b981 !important;
    opacity: 0.5;
}

html[data-theme="dark"] .campus-zone[data-campus="classrooms"] line {
    stroke: #1b3052 !important;
}

html[data-theme="dark"] .campus-zone[data-campus="parking"] line {
    stroke: #334d75 !important;
}

html[data-theme="dark"] .campus-label {
    fill: #94a3b8;
}

html[data-theme="dark"] .campus-zone:hover .campus-label {
    fill: #e2e8f0;
}

html[data-theme="dark"] .campus-zone.active .campus-label {
    fill: #ffffff !important;
    font-weight: 800;
}

/* Pulsing Radar Beacon on Active Map Zone */
.campus-radar-beacon {
    pointer-events: none;
}

.beacon-pulse-outer {
    animation: radarPulseOuter 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    transform-origin: center;
}

.beacon-pulse-inner {
    animation: radarPulseInner 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite 0.35s;
    transform-origin: center;
}

@keyframes radarPulseOuter {
    0% { r: 14px; opacity: 0.85; stroke-width: 2.5px; }
    100% { r: 36px; opacity: 0; stroke-width: 0.5px; }
}

@keyframes radarPulseInner {
    0% { r: 8px; opacity: 0.95; stroke-width: 2.5px; }
    100% { r: 22px; opacity: 0; stroke-width: 1px; }
}

.campus-telemetry-trail {
    animation: telemetryTrailDash 4s linear infinite;
}

@keyframes telemetryTrailDash {
    to { stroke-dashoffset: -24; }
}

.campus-hud-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(0, 102, 255, 0.03);
    border-top: 1px solid var(--border-subtle);
}

html[data-theme="dark"] .campus-hud-footer {
    background: rgba(0, 242, 254, 0.02);
    border-color: rgba(255, 255, 255, 0.07);
}

.hud-hint {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 600;
}

.hud-progress-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hud-progress-label {
    font-family: monospace;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--primary);
    min-width: 32px;
    text-align: right;
}

html[data-theme="dark"] .hud-progress-label {
    color: var(--cyan);
}

.hud-progress-track {
    width: 110px;
    height: 6px;
    border-radius: 99px;
    background: var(--bg-soft);
    overflow: hidden;
}

.hud-progress-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Right Column: Story Console */
.campus-story-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
    border-radius: var(--radius-xl);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

html[data-theme="dark"] .campus-story-card {
    background: var(--bg-card);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.story-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.story-zone-chip {
    font-family: monospace;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
}

html[data-theme="dark"] .story-zone-chip {
    background: rgba(0, 242, 254, 0.12);
    color: var(--cyan);
}

.story-category-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.story-content-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.story-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 0;
}

.story-lead {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--primary);
    margin: 2px 0 0;
    line-height: 1.4;
}

html[data-theme="dark"] .story-lead {
    color: var(--cyan);
}

.story-body {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 4px 0 0;
}

.story-tags-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.story-sub-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.story-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 6px;
    background: var(--bg-soft);
    border: 1px solid var(--border-subtle);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-primary);
}

.story-tag i {
    color: var(--primary);
    font-size: 0.7rem;
}

html[data-theme="dark"] .story-tag i {
    color: var(--cyan);
}

.story-telemetry-box {
    background: rgba(0, 102, 255, 0.04);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

html[data-theme="dark"] .story-telemetry-box {
    background: rgba(0, 242, 254, 0.03);
    border-color: rgba(0, 242, 254, 0.2);
}

.telemetry-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
}

.telemetry-box-title {
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.telemetry-box-status {
    font-weight: 800;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    padding: 2px 7px;
    border-radius: 4px;
}

.telemetry-box-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.tel-card {
    display: flex;
    flex-direction: column;
}

.tel-label {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.tel-val {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 1px;
}

.campus-matrix-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.campus-matrix-count {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

.campus-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    max-height: 160px;
    overflow-y: auto;
    padding-right: 4px;
}

.campus-matrix::-webkit-scrollbar {
    width: 4px;
}

.campus-matrix::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 4px;
}

.campus-matrix-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.campus-matrix-btn:hover {
    background: rgba(0, 102, 255, 0.08);
    border-color: var(--primary);
    color: var(--primary);
}

.campus-matrix-btn.active {
    background: linear-gradient(135deg, var(--primary), #0052cc);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

html[data-theme="dark"] .campus-matrix-btn.active {
    background: linear-gradient(135deg, #0052cc, var(--primary));
}

.matrix-num {
    font-family: monospace;
    font-size: 0.68rem;
    font-weight: 800;
    opacity: 0.65;
    margin-right: 5px;
}

.matrix-name {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.campus-matrix-btn i {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
    opacity: 0.4;
}

.campus-matrix-btn:hover i,
.campus-matrix-btn.active i {
    transform: translateX(3px);
    opacity: 1;
}

.campus-nav-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
    margin-top: 2px;
}

.campus-stepper-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.campus-stepper-btn:hover:not(:disabled) {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.campus-stepper-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.campus-step-indicator {
    font-family: monospace;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary);
}

html[data-theme="dark"] .campus-step-indicator {
    color: var(--cyan);
}

@media (prefers-reduced-motion: reduce) {
    .beacon-pulse-outer,
    .beacon-pulse-inner,
    .campus-telemetry-trail,
    .badge-pulse-dot {
        animation: none !important;
    }
    .campus-zone,
    .campus-matrix-btn,
    .hud-progress-fill {
        transition: none !important;
    }
}

/* --- Stakeholder Benefits Section --- */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.audience-card {
    padding: 32px 26px;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

html[data-theme="dark"] .audience-card {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-medium);
}

.audience-card .role-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--accent, var(--primary));
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 20px;
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.25);
}

.audience-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.mini-label {
    display: block;
    margin: 16px 0 6px;
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

html[data-theme="dark"] .mini-label {
    color: var(--cyan);
}

.audience-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* --- Principal Command Center / Dashboard Showcase --- */
.dashboard-wrap {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 40px;
    align-items: center;
}

.dashboard-copy {
    max-width: 480px;
}

.dashboard-board {
    padding: 22px;
    border-radius: var(--radius-xl);
    background: rgba(14, 22, 40, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 102, 255, 0.2);
    backdrop-filter: blur(24px);
    color: #ffffff;
}

.dashboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-window-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.dashboard-top strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 0.78rem;
    font-weight: 700;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
    animation: livePulse 1.8s infinite;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 14px;
    margin-top: 16px;
}

.dash-tile {
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}

.dash-tile:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 242, 254, 0.3);
}

.dash-tile.large {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.dash-tile h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chart-bars {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: 10px;
    height: 170px;
    margin-top: auto;
    padding-bottom: 4px;
}

.chart-bars span {
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--cyan), var(--primary));
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.35);
    animation: barRise 3s ease-in-out infinite alternate;
}

.chart-bars span:nth-child(1) { height: 65%; }
.chart-bars span:nth-child(2) { height: 80%; animation-delay: 0.2s; }
.chart-bars span:nth-child(3) { height: 95%; animation-delay: 0.4s; }
.chart-bars span:nth-child(4) { height: 70%; animation-delay: 0.1s; }
.chart-bars span:nth-child(5) { height: 88%; animation-delay: 0.5s; }
.chart-bars span:nth-child(6) { height: 92%; animation-delay: 0.3s; }
.chart-bars span:nth-child(7) { height: 98%; animation-delay: 0.6s; }

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #cbd5e1;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-list span i {
    color: var(--cyan);
    font-size: 0.9rem;
}

.heatmap {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}

.heatmap span {
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    background: rgba(0, 102, 255, 0.2);
    transition: all 0.3s ease;
}

.heatmap span:nth-child(3n) { background: rgba(0, 242, 254, 0.4); }
.heatmap span:nth-child(4n) { background: rgba(16, 185, 129, 0.5); }
.heatmap span:nth-child(5n) { background: rgba(0, 102, 255, 0.7); }
.heatmap span:hover { transform: scale(1.15); filter: brightness(1.3); }

.report-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.report-list span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #cbd5e1;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.report-list span strong {
    color: var(--cyan);
    font-weight: 700;
}

/* --- Implementation Timeline Section --- */
.transformation {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 40px;
    counter-reset: journey;
}

.journey-step {
    position: relative;
    padding: 28px 22px;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
}

html[data-theme="dark"] .journey-step {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}

.journey-step::before {
    counter-increment: journey;
    content: "0" counter(journey);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent, var(--primary)), var(--cyan));
    color: #ffffff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.28);
}

.journey-step h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.journey-step p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.journey-step:hover {
    transform: translateY(-6px);
    border-color: var(--accent, var(--primary));
    box-shadow: var(--shadow-md);
}

/* --- Why EduPrimeX & Industries Bento --- */
.why-grid, .industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.why-card, .industry-card {
    padding: 30px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

html[data-theme="dark"] .why-card,
html[data-theme="dark"] .industry-card {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}

.why-card:hover, .industry-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.why-card i, .industry-card i {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: inline-block;
}

html[data-theme="dark"] .why-card i,
html[data-theme="dark"] .industry-card i {
    color: var(--cyan);
}

.why-card h3, .industry-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.why-card p, .industry-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* --- Statistics Section --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.stat-card {
    padding: 34px 26px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 24px 60px rgba(0, 102, 255, 0.3);
}

.stat-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 3.8vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card span {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.stat-card p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.45;
}

/* --- Testimonials Section (Movable Infinite Carousel) --- */
.testimonial-grid {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 30px 0 45px 0;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}

.testimonial-grid:active {
    cursor: grabbing;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
    animation: testimonialMarquee 42s linear infinite;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes testimonialMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(calc(-50% - 12px), 0, 0);
    }
}

.testimonial-card {
    flex: 0 0 380px;
    width: 380px;
    min-height: 250px;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-top: 3px solid var(--accent, var(--blue));
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

html[data-theme="dark"] .testimonial-card {
    background: rgba(13, 22, 38, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-color: rgba(255, 255, 255, 0.08);
    border-top-color: var(--accent, #00f2fe);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22), 0 0 24px rgba(0, 242, 254, 0.12);
    border-color: var(--accent, var(--border-medium));
}

.testimonial-card .quote-mark {
    font-size: 3rem;
    line-height: 0.8;
    font-family: Georgia, serif;
    color: var(--accent, #00f2fe);
    opacity: 0.8;
    margin-bottom: 12px;
    display: block;
    user-select: none;
}

.testimonial-card p {
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

html[data-theme="dark"] .testimonial-card p {
    color: #cbd5e1;
}

.testimonial-card footer {
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

html[data-theme="dark"] .testimonial-card footer {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.testimonial-card footer strong {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

html[data-theme="dark"] .testimonial-card footer strong {
    color: #ffffff;
}

.testimonial-card footer span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

html[data-theme="dark"] .testimonial-card footer span {
    color: #94a3b8;
}

.testimonial-nav-group {
    display: inline-flex;
    gap: 12px;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
}

.testimonial-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-nav-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.4);
}

html[data-theme="dark"] .testimonial-nav-btn {
    background: rgba(13, 22, 38, 0.8);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

html[data-theme="dark"] .testimonial-nav-btn:hover {
    background: #00f2fe;
    color: #070d18;
    border-color: #00f2fe;
}

/* --- FAQ Accordion --- */
.faq-grid {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.25s ease;
}

html[data-theme="dark"] .faq-item {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}

.faq-item.open {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

html[data-theme="dark"] .faq-item.open {
    border-color: var(--cyan);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    gap: 16px;
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

html[data-theme="dark"] .faq-question i {
    color: var(--cyan);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-answer > div {
    overflow: hidden;
}

.faq-answer p {
    padding: 0 24px 20px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

/* --- Vision & Mission Section --- */
.mission-grid, .vision-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.vision-statement, .mission-panel {
    padding: 38px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(18px);
}

.vision-statement p {
    color: #d5e7f8;
    font-size: 1.08rem;
    line-height: 1.7;
}

.mission-panel h2 {
    font-size: 2rem;
    margin-top: 12px;
    margin-bottom: 16px;
    color: #ffffff;
}

.mission-panel p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 16px;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.value-card {
    padding: 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.value-card strong {
    font-size: 1.05rem;
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}

.value-card p {
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.45;
    margin: 0;
}

/* --- About Company & Team Section --- */
.about-layout {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 36px;
    align-items: start;
}

.about-layout .mission-panel {
    background: var(--bg-surface);
    border-color: var(--border-subtle);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

html[data-theme="dark"] .about-layout .mission-panel {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}

.about-layout .mission-panel h2 {
    color: var(--text-primary);
}

.about-layout .mission-panel p {
    color: var(--text-secondary);
}

.mission-highlights {
    display: grid;
    gap: 14px;
    margin: 24px 0;
}

.mission-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(0, 102, 255, 0.04);
    border: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
}

html[data-theme="dark"] .mission-highlight-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.mission-highlight-item:hover {
    background: rgba(0, 102, 255, 0.08);
    border-color: var(--primary);
}

.mission-highlight-item i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
}

html[data-theme="dark"] .mission-highlight-item i {
    color: var(--cyan);
}

.mission-highlight-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.mission-highlight-item p {
    font-size: 0.88rem !important;
    color: var(--text-secondary) !important;
    margin: 0 !important;
    line-height: 1.5;
}

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

.team-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

html[data-theme="dark"] .team-card {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.team-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    background: #eaf2fb;
    margin-bottom: 16px;
    transition: transform 0.4s ease;
}

.team-card:hover img {
    transform: scale(1.04);
}

.team-body h3 {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.role {
    display: block;
    margin: 4px 0 10px;
    color: var(--primary);
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

html[data-theme="dark"] .role {
    color: var(--cyan);
}

.team-body p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.team-links {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.team-links a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--bg-soft);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

html[data-theme="dark"] .team-links a {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.team-links a:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35);
}

/* --- Call to Action Banner --- */
.section.cta {
    padding: 90px 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.2) 0%, transparent 65%),
        url("bg.png") center top / cover no-repeat,
        #070d1a;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-inner h2 {
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    margin-top: 14px;
    margin-bottom: 18px;
    color: #ffffff;
}

.cta-inner p.lead {
    color: #cbd5e1;
    margin-bottom: 32px;
}

.cta-inner .btn-row {
    justify-content: center;
}

/* --- Contact & Book Demo Section --- */
.contact-section {
    padding: 100px 0;
    background: var(--bg-surface);
}

html[data-theme="dark"] .contact-section {
    background: #080d19;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

html[data-theme="dark"] .contact-card {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}

.contact-card i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
    font-size: 1.15rem;
    flex-shrink: 0;
}

html[data-theme="dark"] .contact-card i {
    color: var(--cyan);
}

.contact-card strong {
    font-size: 1.05rem;
    display: block;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.contact-form {
    padding: 38px;
    border-radius: var(--radius-xl);
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

html[data-theme="dark"] .contact-form {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 18px;
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group select,
html[data-theme="dark"] .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.15);
}

html[data-theme="dark"] .form-group input:focus,
html[data-theme="dark"] .form-group select:focus,
html[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(0, 242, 254, 0.15);
}

/* --- Footer --- */
.site-footer {
    background: #04070f;
    color: #ffffff;
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr 1.3fr;
    gap: 36px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-column h3,
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.footer-column p,
.footer-col p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #10b981;
    font-size: 0.78rem;
    font-weight: 700;
}

.footer-column ul,
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column ul a,
.footer-col ul a {
    color: #94a3b8;
    font-size: 0.88rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-column ul a:hover,
.footer-col ul a:hover {
    color: var(--cyan);
    transform: translateX(4px);
}

.socials,
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.socials a,
.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: all 0.25s ease;
}

.socials a:hover,
.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.4);
}

.newsletter {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.newsletter input {
    flex-grow: 1;
    padding: 11px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.newsletter input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15);
}

.newsletter button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.newsletter button:hover {
    background: var(--cyan);
    color: #04070f;
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.5);
}

.newsletter button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.newsletter button.success {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
}

/* Glassmorphic Toast Notification */
.toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: rgba(13, 20, 36, 0.95);
    border: 1px solid rgba(0, 242, 254, 0.3);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

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

.toast i {
    color: #00f2fe;
    font-size: 1.05rem;
}

.toast.toast-success i {
    color: #10b981;
}

.toast.toast-error i {
    color: #ef4444;
}

@media (max-width: 640px) {
    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        border-radius: 12px;
        justify-content: center;
    }
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    font-size: 0.85rem;
    color: #64748b;
}

/* --- Video Modal --- */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.video-dialog {
    width: min(880px, 95vw);
    background: #0b1120;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
    transform: scale(0.94);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.open .video-dialog {
    transform: scale(1);
}

.video-dialog header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.video-dialog header button {
    color: #94a3b8;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.video-dialog header button:hover {
    color: #ffffff;
}

.video-dialog video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

/* --- Balanced Premium Startup Splash Screen --- */
.intro-splash {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: #040711;
    background-image: radial-gradient(circle at 50% 45%, #0c1527 0%, #050813 65%, #020307 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.5s ease;
    cursor: pointer;
    overflow: hidden;
}

.intro-splash.dismissed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.05);
    filter: blur(8px);
}

/* Atmospheric Ambient Breathing Glow */
.splash-ambient-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.22) 0%, rgba(121, 40, 202, 0.16) 45%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: ambientPulse 4s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.15); opacity: 1; }
}

/* Main Content Wrapper */
.splash-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    animation: splashContentIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes splashContentIn {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Logo Wrapper & Luminous Halo */
.splash-logo-wrap {
    position: relative;
    width: 108px;
    height: 108px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-halo-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 242, 254, 0.35);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.25), inset 0 0 15px rgba(0, 242, 254, 0.15);
    animation: haloRotate 10s linear infinite;
    pointer-events: none;
}

.splash-halo-ring::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00f2fe;
    box-shadow: 0 0 10px #00f2fe, 0 0 18px #00f2fe;
    transform: translateX(-50%);
}

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

/* Single Outward Ripple Pulse */
.splash-pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid #00f2fe;
    opacity: 0;
    pointer-events: none;
    animation: ripplePulse 1.6s cubic-bezier(0.1, 0.8, 0.3, 1) 0.2s forwards;
}

@keyframes ripplePulse {
    0% { transform: scale(0.7); opacity: 0.85; }
    50% { opacity: 0.4; }
    100% { transform: scale(2.2); opacity: 0; filter: blur(4px); }
}

.splash-logo {
    width: 78px;
    height: 78px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.55)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
    animation: logoFloat 3s ease-in-out infinite alternate;
}

@keyframes logoFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

/* Sleek Intelligence Pill Badge */
.splash-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 242, 254, 0.25);
    backdrop-filter: blur(10px);
    margin-bottom: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #94a3b8;
    animation: badgeFadeIn 0.6s ease-out 0.15s both;
}

@keyframes badgeFadeIn {
    0% { opacity: 0; transform: translateY(-6px); }
    100% { opacity: 1; transform: translateY(0); }
}

.splash-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00f2fe;
    box-shadow: 0 0 8px #00f2fe;
    animation: dotPulse 1.6s infinite alternate;
}

@keyframes dotPulse {
    0% { transform: scale(0.85); opacity: 0.6; }
    100% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 12px #00f2fe; }
}

/* Title & Neon Accent */
.splash-title {
    font-size: clamp(2.4rem, 6vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.1;
    font-family: inherit;
}

.splash-title .splash-x {
    display: inline-block;
    color: #00f2fe;
    background: linear-gradient(135deg, #00f2fe 0%, #45fcdb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 16px rgba(0, 242, 254, 0.8), 0 0 32px rgba(0, 242, 254, 0.4);
    animation: xPop 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes xPop {
    0% {
        transform: scale(1.35);
        filter: drop-shadow(0 0 25px #00f2fe);
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.6));
    }
}

.splash-tagline {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 24px 0;
}

/* Glowing Loader HUD */
.splash-loader-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.splash-loader-bar {
    width: 200px;
    max-width: 75vw;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: visible;
    position: relative;
}

.splash-loader-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 15%;
    background: linear-gradient(90deg, #7928ca 0%, #0066ff 45%, #00f2fe 80%, #45fcdb 100%);
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.7);
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.splash-loader-fill::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -2.5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff, 0 0 16px #00f2fe;
}

.splash-loader-text {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 600;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, monospace;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.splash-loader-text.ready {
    color: #00f2fe;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
}

@keyframes float1 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float2 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes float3 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes barRise {
    0% { filter: brightness(0.95); }
    100% { filter: brightness(1.25); }
}

@keyframes barShimmer {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* --- Reveal Scroll Animation State --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1100px) {
    .capability-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .why-grid, .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .transformation {
        grid-template-columns: repeat(3, 1fr);
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-copy {
        align-items: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .trust-strip {
        justify-content: center;
    }
    .intro-wrap {
        grid-template-columns: 1fr;
    }
    .campus-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .campus-story-card {
        padding: 20px;
    }
    .campus-svg-viewport {
        padding: 12px 14px;
    }
    .dashboard-wrap {
        grid-template-columns: 1fr;
    }
    .mission-grid, .vision-wrap {
        grid-template-columns: 1fr;
    }
    .about-layout {
        grid-template-columns: 1fr;
    }
    .contact-wrap {
        grid-template-columns: 1fr;
    }
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 10px;
    }
    .nav-links {
        position: fixed;
        top: 74px;
        left: 16px;
        right: 16px;
        background: var(--bg-surface);
        border: 1px solid var(--border-medium);
        border-radius: var(--radius-xl);
        padding: 24px;
        flex-direction: column;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    html[data-theme="dark"] .nav-links {
        background: #0b1120;
    }
    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .menu-toggle {
        display: inline-flex;
    }
    .problem-grid,
    .capability-grid,
    .audience-grid,
    .outcome-grid,
    .transformation,
    .why-grid,
    .industry-grid,
    .stats-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .dash-tile.large {
        grid-row: auto;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .section {
        padding: 70px 0;
    }
    .hero {
        padding-top: 120px;
    }
}

/* --- Premium Precision Custom Dot Cursor --- */
*, *::before, *::after {
    cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBmaWxsPSJub25lIj4KICA8Y2lyY2xlIGN4PSI4IiBjeT0iOCIgcj0iNi41IiBzdHJva2U9IiMwMGYyZmUiIHN0cm9rZS13aWR0aD0iMS4yIiBzdHJva2Utb3BhY2l0eT0iMC40NSIvPgogIDxjaXJjbGUgY3g9IjgiIGN5PSI4IiByPSIzLjgiIGZpbGw9IiMwMGYyZmUiLz4KICA8Y2lyY2xlIGN4PSI4IiBjeT0iOCIgcj0iMS42IiBmaWxsPSIjZmZmZmZmIi8+Cjwvc3ZnPg==") 8 8, auto;
}

a, a *,
button, button *,
[role="button"], [role="button"] *,
select,
.btn, .btn *,
.campus-zone, .campus-zone *,
.stat-card, .stat-card *,
.team-card, .team-card *,
.testimonial-card, .testimonial-card *,
.faq-question, .faq-question *,
.control-button, .control-button *,
.card, .card *,
[data-tilt], [data-tilt] *,
[data-get-started], [data-get-started] *,
.aura, .aura *,
label, label * {
    cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBmaWxsPSJub25lIj4KICA8Y2lyY2xlIGN4PSI4IiBjeT0iOCIgcj0iNyIgZmlsbD0iIzAwZjJmZSIgZmlsbC1vcGFjaXR5PSIwLjMiLz4KICA8Y2lyY2xlIGN4PSI4IiBjeT0iOCIgcj0iNSIgZmlsbD0iIzAwZjJmZSIvPgogIDxjaXJjbGUgY3g9IjgiIGN5PSI4IiByPSIyLjIiIGZpbGw9IiNmZmZmZmYiLz4KPC9zdmc+") 8 8, pointer !important;
}

input, textarea, [contenteditable="true"] {
    cursor: text !important;
}

/* Light Theme Precision Dot Cursor */
html[data-theme="light"] *,
html[data-theme="light"] *::before,
html[data-theme="light"] *::after {
    cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBmaWxsPSJub25lIj4KICA8Y2lyY2xlIGN4PSI4IiBjeT0iOCIgcj0iNi41IiBzdHJva2U9IiMwNDc2ZDkiIHN0cm9rZS13aWR0aD0iMS4yIiBzdHJva2Utb3BhY2l0eT0iMC40NSIvPgogIDxjaXJjbGUgY3g9IjgiIGN5PSI4IiByPSIzLjgiIGZpbGw9IiMwNDc2ZDkiLz4KICA8Y2lyY2xlIGN4PSI4IiBjeT0iOCIgcj0iMS42IiBmaWxsPSIjZmZmZmZmIi8+Cjwvc3ZnPg==") 8 8, auto;
}

html[data-theme="light"] a, html[data-theme="light"] a *,
html[data-theme="light"] button, html[data-theme="light"] button *,
html[data-theme="light"] [role="button"], html[data-theme="light"] [role="button"] *,
html[data-theme="light"] select,
html[data-theme="light"] .btn, html[data-theme="light"] .btn *,
html[data-theme="light"] .campus-zone, html[data-theme="light"] .campus-zone *,
html[data-theme="light"] .stat-card, html[data-theme="light"] .stat-card *,
html[data-theme="light"] .team-card, html[data-theme="light"] .team-card *,
html[data-theme="light"] .testimonial-card, html[data-theme="light"] .testimonial-card *,
html[data-theme="light"] .faq-question, html[data-theme="light"] .faq-question *,
html[data-theme="light"] .control-button, html[data-theme="light"] .control-button *,
html[data-theme="light"] .card, html[data-theme="light"] .card *,
html[data-theme="light"] [data-tilt], html[data-theme="light"] [data-tilt] *,
html[data-theme="light"] [data-get-started], html[data-theme="light"] [data-get-started] *,
html[data-theme="light"] .aura, html[data-theme="light"] .aura *,
html[data-theme="light"] label, html[data-theme="light"] label * {
    cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBmaWxsPSJub25lIj4KICA8Y2lyY2xlIGN4PSI4IiBjeT0iOCIgcj0iNyIgZmlsbD0iIzA0NzZkOSIgZmlsbC1vcGFjaXR5PSIwLjI1Ii8+CiAgPGNpcmNsZSBjeD0iOCIgY3k9IjgiIHI9IjUiIGZpbGw9IiMwNDc2ZDkiLz4KICA8Y2lyY2xlIGN4PSI4IiBjeT0iOCIgcj0iMi4yIiBmaWxsPSIjZmZmZmZmIi8+Cjwvc3ZnPg==") 8 8, pointer !important;
}

html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] [contenteditable="true"] {
    cursor: text !important;
}

/* Fluid Glowing Follower Halo */
@media (hover: hover) and (pointer: fine) {
    .cursor-ring {
        position: fixed;
        top: 0;
        left: 0;
        width: 38px;
        height: 38px;
        margin-top: -19px;
        margin-left: -19px;
        border-radius: 50%;
        border: 1.5px solid rgba(0, 242, 254, 0.55);
        background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, transparent 70%);
        pointer-events: none;
        z-index: 10000000;
        opacity: 0;
        box-shadow: 0 0 16px rgba(0, 242, 254, 0.25);
        transition: opacity 0.3s ease, width 0.26s cubic-bezier(0.16, 1, 0.3, 1), height 0.26s cubic-bezier(0.16, 1, 0.3, 1), margin 0.26s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
        will-change: transform, opacity;
    }

    html[data-theme="light"] .cursor-ring {
        border-color: rgba(4, 118, 217, 0.5);
        background: radial-gradient(circle, rgba(4, 118, 217, 0.08) 0%, transparent 70%);
        box-shadow: 0 0 15px rgba(4, 118, 217, 0.15);
    }

    .cursor-ring.cursor-hover {
        width: 54px;
        height: 54px;
        margin-top: -27px;
        margin-left: -27px;
        border-color: rgba(0, 242, 254, 0.95);
        background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, rgba(0, 102, 255, 0.1) 70%);
        box-shadow: 0 0 25px rgba(0, 242, 254, 0.45), inset 0 0 12px rgba(0, 242, 254, 0.25);
    }

    html[data-theme="light"] .cursor-ring.cursor-hover {
        border-color: rgba(4, 118, 217, 0.9);
        background: radial-gradient(circle, rgba(4, 118, 217, 0.18) 0%, transparent 70%);
        box-shadow: 0 0 24px rgba(4, 118, 217, 0.3);
    }

    .cursor-ring.cursor-active {
        width: 26px;
        height: 26px;
        margin-top: -13px;
        margin-left: -13px;
        border-color: #00f2fe;
        background: rgba(0, 242, 254, 0.35);
    }

    html[data-theme="light"] .cursor-ring.cursor-active {
        border-color: #0476d9;
        background: rgba(4, 118, 217, 0.3);
    }
}

@media (hover: none) or (pointer: coarse) {
    .cursor-ring {
        display: none !important;
    }
}

/* --- Desktop Mode Enforcer Gate (Mobile Blocker) --- */
.desktop-only-gate {
    display: none;
}

@media (max-width: 820px) {
    .desktop-only-gate {
        display: flex !important;
        position: fixed;
        inset: 0;
        z-index: 99999999;
        background: #03060f;
        background-image: radial-gradient(circle at 50% 25%, #0f1c3f 0%, #060913 55%, #020306 100%);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 24px 16px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        text-align: center;
        box-sizing: border-box;
    }

    /* Prevent mobile background scrolling and disable intro splash on small screens */
    body:has(.desktop-only-gate) {
        overflow: hidden !important;
    }

    .intro-splash {
        display: none !important;
    }

    .gate-bg-glow {
        position: absolute;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(0, 242, 254, 0.25) 0%, rgba(121, 40, 202, 0.18) 50%, transparent 70%);
        filter: blur(70px);
        pointer-events: none;
        top: 20%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: gateGlowPulse 4s ease-in-out infinite alternate;
    }

    @keyframes gateGlowPulse {
        0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
        100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
    }

    .gate-card {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 440px;
        background: rgba(13, 18, 32, 0.88);
        border: 1px solid rgba(0, 242, 254, 0.28);
        border-radius: 24px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 28px 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85),
                    0 0 35px rgba(0, 242, 254, 0.12),
                    inset 0 1px 1px rgba(255, 255, 255, 0.18);
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
    }

    .gate-icon-assembly {
        position: relative;
        width: 120px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
    }

    .gate-icon-halo {
        position: absolute;
        inset: -8px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(0, 242, 254, 0.4) 0%, transparent 70%);
        filter: blur(16px);
        animation: gateHalo 3s infinite alternate ease-in-out;
    }

    @keyframes gateHalo {
        0% { transform: scale(0.9); opacity: 0.5; }
        100% { transform: scale(1.2); opacity: 0.9; }
    }

    .gate-devices {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .gate-devices .mobile-icon {
        font-size: 2rem;
        color: #94a3b8;
        animation: mobileAlert 2.2s infinite ease-in-out;
    }

    @keyframes mobileAlert {
        0%, 100% { transform: translateY(0); color: #94a3b8; }
        50% { transform: translateY(-3px); color: #ff5252; }
    }

    .gate-devices .gate-switch-icon {
        font-size: 1.15rem;
        color: #00f2fe;
        animation: switchPulse 1.8s infinite;
    }

    @keyframes switchPulse {
        0%, 100% { transform: scale(0.9); opacity: 0.6; }
        50% { transform: scale(1.15); opacity: 1; text-shadow: 0 0 10px #00f2fe; }
    }

    .gate-devices .desktop-icon {
        font-size: 2.6rem;
        color: #00f2fe;
        filter: drop-shadow(0 0 14px rgba(0, 242, 254, 0.75));
        animation: desktopGlow 2.5s infinite alternate ease-in-out;
    }

    @keyframes desktopGlow {
        0% { filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.5)); transform: scale(1); }
        100% { filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.95)); transform: scale(1.05); }
    }

    .gate-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 4px 14px;
        border-radius: 999px;
        background: rgba(255, 171, 0, 0.12);
        border: 1px solid rgba(255, 171, 0, 0.45);
        color: #ffc107;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        margin-bottom: 12px;
    }

    .gate-badge-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #ffc107;
        box-shadow: 0 0 8px #ffc107;
        animation: gateBadgeDot 1.4s infinite alternate;
    }

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

    .gate-title {
        font-size: 1.55rem;
        font-weight: 800;
        color: #ffffff;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
        line-height: 1.25;
    }

    .gate-desc {
        font-size: 0.82rem;
        color: #94a3b8;
        line-height: 1.55;
        margin-bottom: 18px;
    }

    .gate-steps {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
        text-align: left;
    }

    .gate-step-card {
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 12px;
        padding: 10px 14px;
        transition: border-color 0.2s ease;
    }

    .gate-step-card:hover {
        border-color: rgba(0, 242, 254, 0.35);
    }

    .gate-step-card .step-header {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.82rem;
        color: #ffffff;
        margin-bottom: 6px;
    }

    .gate-step-card .step-header i {
        color: #00f2fe;
        font-size: 0.95rem;
    }

    .gate-step-card ol {
        margin: 0;
        padding-left: 20px;
        font-size: 0.76rem;
        color: #cbd5e1;
        line-height: 1.45;
    }

    .gate-step-card li {
        margin-bottom: 3px;
    }

    .gate-step-card li:last-child {
        margin-bottom: 0;
    }

    .gate-step-card li strong {
        color: #00f2fe;
    }

    .gate-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .gate-check-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.88rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(22, 28, 40, 0.95) 0%, rgba(6, 9, 16, 0.98) 100%);
        border: 1px solid rgba(0, 242, 254, 0.4);
        color: #ffffff;
        box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25), inset 0 1px 1.5px rgba(255, 255, 255, 0.45);
        transition: all 0.25s ease;
    }

    .gate-check-btn:hover {
        border-color: #00f2fe;
        box-shadow: 0 6px 25px rgba(0, 242, 254, 0.45);
        transform: translateY(-1px);
    }

    .gate-check-btn i {
        color: #00f2fe;
    }

    .gate-subtext {
        font-size: 0.74rem;
        color: #64748b;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .gate-subtext strong {
        color: #94a3b8;
    }
}
