/* ==========================================================================
   Datasnap / v9 Full Design System & Responsive Framework
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Main Brand Palette (#0A00A8 & #FFFFFF) */
    --primary-blue: #0A00A8;
    --secondary-blue: #1c0ec4;
    --cyan: #0A00A8;
    --cyan-hover: #070075;
    --dark-blue: #080c18;
    --sidebar-bg: #070817;
    --sidebar-hover: #0e122b;
    --light-gray: #f8fafc;
    --border-color: #e2e8f0;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --text-muted: #94a3b8;

    /* Status Colors */
    --success: #10b981;
    --success-hover: #059669;
    --success-bg: rgba(16, 185, 129, 0.12);
    --warning: #f59e0b;
    --warning-hover: #d97706;
    --warning-bg: rgba(245, 158, 11, 0.12);
    --danger: #ef4444;
    --danger-hover: #dc2626;
    --danger-bg: rgba(239, 68, 68, 0.12);
    --info: #0A00A8;
    --info-bg: rgba(10, 0, 168, 0.12);
    --purple: #8b5cf6;
    --purple-bg: rgba(139, 92, 246, 0.12);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0A00A8 0%, #2918e6 100%);
    --gradient-cyan: linear-gradient(135deg, #0A00A8 0%, #1c0ec4 100%);
    --gradient-card: linear-gradient(145deg, rgba(10, 0, 168, 0.06) 0%, rgba(41, 24, 230, 0.04) 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

    /* Theme: Dark Mode (Default) */
    --bg-primary: #05060f;
    --bg-secondary: #0a0c1a;
    --bg-card: #101429;
    --bg-card-hover: #171d3b;
    --bg-input: #080a18;
    --border: #1e2448;
    --border-focus: #0A00A8;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-accent: #6366f1;
    --accent: #0A00A8;
    --accent-hover: #1c0ec4;
    --accent-light: rgba(10, 0, 168, 0.16);
    --accent-glow: rgba(10, 0, 168, 0.45);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(10, 0, 168, 0.35);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --sidebar-width: 260px;
    --mobile-header-height: 60px;
    --bottom-nav-height: 64px;
}

/* Light Mode */
[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-input: #f8fafc;
    --border: #e2e8f0;
    --border-focus: #0A00A8;
    --text-primary: #0A00A8;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-accent: #0A00A8;
    --accent: #0A00A8;
    --accent-hover: #070075;
    --accent-light: rgba(10, 0, 168, 0.08);
    --accent-glow: rgba(10, 0, 168, 0.2);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 30px rgba(10, 0, 168, 0.08);
    --shadow-glow: 0 0 20px rgba(10, 0, 168, 0.15);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: #e2e8f0;
}
[data-theme="light"] .table td {
    border-bottom-color: #f1f5f9;
}

/* Theme Toggle Button */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    flex-shrink: 0;
}
.theme-toggle:hover {
    background: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    padding: 90px 0;
    position: relative;
}

/* Background Mesh & Floating Particles */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at 15% 40%, rgba(6, 182, 212, 0.08) 0%, transparent 55%),
                radial-gradient(ellipse at 85% 15%, rgba(30, 58, 138, 0.12) 0%, transparent 55%);
    pointer-events: none;
}
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--cyan);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 8s infinite;
}
.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 7s; }
.particle:nth-child(2) { left: 25%; animation-delay: 1s; animation-duration: 9s; }
.particle:nth-child(3) { left: 40%; animation-delay: 2s; animation-duration: 6s; }
.particle:nth-child(4) { left: 55%; animation-delay: 3s; animation-duration: 8s; }
.particle:nth-child(5) { left: 70%; animation-delay: 4s; animation-duration: 10s; }
.particle:nth-child(6) { left: 85%; animation-delay: 5s; animation-duration: 7s; }
@keyframes floatParticle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 10px 0;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    flex-shrink: 0;
}
.navbar-brand .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.35);
    object-fit: cover;
}
img.logo-icon {
    object-fit: cover;
    display: inline-block;
}
.auth-card .logo-header img.logo-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.sidebar-header img.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}
.mobile-header-brand img.logo-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
}

/* Network Selector & Logos */
.network-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.network-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 6px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-card);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    user-select: none;
    text-align: center;
}
.network-option:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}
.network-option.active {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
.network-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.2s ease;
    display: inline-block;
}
.network-option:hover .network-logo-img {
    transform: scale(1.1);
}
@media (max-width: 480px) {
    .network-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}
.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 4px 0;
}
.nav-links a:hover {
    color: var(--text-primary);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width 0.3s;
    border-radius: 2px;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 130px 24px 70px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(30, 58, 138, 0.08) 50%, transparent 75%);
    border-radius: 50%;
    animation: pulseGlow 5s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    background: var(--accent-light);
    border: 1px solid rgba(6, 182, 212, 0.35);
    border-radius: var(--radius-full);
    color: var(--cyan);
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
    animation: fadeInDown 0.8s ease;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}
.hero-title {
    font-size: clamp(2.3rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 45%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1.02rem, 2.2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 740px;
    margin: 0 auto 28px;
    line-height: 1.75;
    animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease 0.5s both;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.hero-pill:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
}
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease 0.8s both;
}
.hero-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 16px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}
.hero-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-cyan);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hero-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: var(--shadow-glow);
}
.hero-stat-card:hover::before {
    opacity: 1;
}
.hero-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.15rem;
}
.hero-stat-value {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 4px;
}
.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   SECTION HEADERS & FEATURES GRID
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 52px;
}
.section-header .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--accent-light);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: var(--radius-full);
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
}
.feature-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(6, 182, 212, 0.35);
}
.feature-card:hover::before {
    transform: scaleX(1);
}
.feature-card-tag {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-muted);
}
.feature-card-tag.highlight {
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan);
    border-color: rgba(6, 182, 212, 0.35);
}
.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}
.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cyan);
    margin-top: auto;
    transition: var(--transition);
}
.feature-link i {
    transition: transform 0.25s ease;
}
.feature-link:hover {
    color: var(--cyan-hover);
}
.feature-link:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.why-us-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}
.why-us-card:hover {
    transform: translateY(-4px);
    border-color: var(--cyan);
    box-shadow: var(--shadow-sm);
}
.why-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.35);
}
.why-us-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.why-us-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================================================
   DEVELOPER API SPOTLIGHT
   ========================================================================== */
.api-spotlight-section {
    padding: 80px 0;
}
.api-spotlight-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(32px, 5vw, 56px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.api-spotlight-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.api-spotlight-info h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    margin: 12px 0 14px;
    line-height: 1.2;
}
.api-spotlight-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}
.api-features-list {
    list-style: none;
    margin-bottom: 28px;
}
.api-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-primary);
    padding: 6px 0;
}
.api-spotlight-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.api-code-preview {
    background: #090e17;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.code-preview-header {
    background: #0f172a;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.code-dots {
    display: flex;
    gap: 6px;
}
.code-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}
.code-dots span:nth-child(1) { background: #ef4444; }
.code-dots span:nth-child(2) { background: #f59e0b; }
.code-dots span:nth-child(3) { background: #10b981; }
.code-title {
    font-family: monospace;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.code-snippet {
    padding: 20px;
    font-family: 'Fira Code', Consolas, Monaco, monospace;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #e2e8f0;
    overflow-x: auto;
    margin: 0;
}
.code-comment { color: #64748b; font-style: italic; }
.code-str { color: #34d399; }
.code-key { color: #38bdf8; }
.code-num { color: #f59e0b; }

/* ==========================================================================
   STEPS CONTAINER (HOW IT WORKS)
   ========================================================================== */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}
.step-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
}
.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan);
    box-shadow: var(--shadow-glow);
}
.step-number {
    width: 58px;
    height: 58px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 6px 18px rgba(30, 58, 138, 0.45);
    border: 3px solid rgba(6, 182, 212, 0.3);
}
.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1050px;
    margin: 0 auto;
}
.pricing-card {
    padding: 40px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}
.pricing-card.featured {
    border-color: var(--cyan);
    background: linear-gradient(145deg, rgba(6, 182, 212, 0.08), var(--bg-card));
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}
.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--gradient-cyan);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}
.pricing-card:hover {
    transform: translateY(-5px);
}
.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-5px);
}
.pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.pricing-card .price {
    font-size: 2.3rem;
    font-weight: 900;
    margin: 16px 0;
    color: var(--text-primary);
}
.pricing-card .price span {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}
.pricing-card ul {
    list-style: none;
    margin: 20px 0 28px;
    text-align: left;
    flex: 1;
}
.pricing-card ul li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.pricing-card ul li i {
    color: var(--success);
    font-size: 0.95rem;
}

/* ==========================================================================
   CTA SECTION & DOWNLOAD
   ========================================================================== */
.cta-section {
    text-align: center;
    padding: 90px 0;
}
.cta-card {
    padding: clamp(40px, 6vw, 70px);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.25) 0%, rgba(6, 182, 212, 0.15) 100%), var(--bg-card);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.cta-card h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}
.cta-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 70px 0 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand p {
    color: var(--text-secondary);
    margin-top: 14px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 0.95rem;
}
.footer-social a:hover {
    background: var(--cyan);
    border-color: var(--cyan);
    color: white;
    transform: translateY(-2px);
}
.footer-col h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 700;
}
.footer-col a {
    display: block;
    color: var(--text-secondary);
    padding: 6px 0;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-col a:hover {
    color: var(--cyan);
    transform: translateX(3px);
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   BUTTONS (Aligned with v9 Theme)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    letter-spacing: 0.01em;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn-cyan {
    background-color: var(--cyan);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.25);
}
.btn-cyan:hover {
    background-color: var(--cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35);
    color: #ffffff;
}
.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: #ffffff;
}
.btn-success {
    background-color: var(--success);
    color: #ffffff;
}
.btn-success:hover {
    background-color: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    color: #ffffff;
}
.btn-danger {
    background-color: var(--danger);
    color: #ffffff;
}
.btn-danger:hover {
    background-color: var(--danger-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
    color: #ffffff;
}
.btn-warning {
    background-color: var(--warning);
    color: #ffffff;
}
.btn-warning:hover {
    background-color: var(--warning-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
    color: #ffffff;
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--cyan);
    background: var(--accent-light);
    color: var(--cyan);
}
.btn-ghost {
    background: transparent;
    color: var(--cyan);
    padding: 8px 14px;
}
.btn-ghost:hover {
    background: var(--accent-light);
    color: var(--cyan);
}
.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}
.btn-sm {
    padding: 7px 16px;
    font-size: 0.82rem;
    border-radius: 6px;
}
.btn-xs {
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
}
.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-sm);
}
.btn:disabled, .btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ==========================================================================
   ALERTS (v9 Style)
   ========================================================================== */
.alert {
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
}
.alert-success {
    background-color: rgba(16, 185, 129, 0.12);
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.25);
}
.alert-danger {
    background-color: rgba(239, 68, 68, 0.12);
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.25);
}
.alert-info {
    background-color: rgba(6, 182, 212, 0.12);
    color: #0c4a6e;
    border-color: rgba(6, 182, 212, 0.25);
}
.alert-warning {
    background-color: rgba(245, 158, 11, 0.12);
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.25);
}
[data-theme="dark"] .alert-success { color: #34d399; }
[data-theme="dark"] .alert-danger { color: #f87171; }
[data-theme="dark"] .alert-info { color: #38bdf8; }
[data-theme="dark"] .alert-warning { color: #fbbf24; }

/* Badges */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}
.badge-success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.badge-warning {
    background: var(--warning-bg);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.25);
}
.badge-danger {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.25);
}
.badge-info {
    background: var(--info-bg);
    color: var(--cyan);
    border: 1px solid rgba(6, 182, 212, 0.25);
}
.badge-purple {
    background: var(--purple-bg);
    color: var(--purple);
    border: 1px solid rgba(139, 92, 246, 0.25);
}

/* Form Controls */
.form-group {
    margin-bottom: 18px;
    position: relative;
}
.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
    background: var(--bg-card);
}
.form-control::placeholder {
    color: var(--text-muted);
}
.form-control:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
select.form-control {
    appearance: none;
    cursor: pointer;
    padding-right: 36px;
}
textarea.form-control {
    resize: vertical;
    min-height: 100px;
}
.input-wrapper {
    position: relative;
}
.input-wrapper .form-control {
    padding-right: 46px;
}
.input-toggle-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 4px;
}
.input-toggle-btn:hover {
    color: var(--cyan);
}
.form-error {
    font-size: 0.78rem;
    color: var(--danger);
    margin-top: 5px;
}
.form-help {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Card */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}
.card:hover {
    box-shadow: var(--shadow-sm);
}
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

/* Stats Grid (Wallet Cards) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(6, 182, 212, 0.3);
}
.stat-card:hover::after {
    transform: scaleX(1);
}
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.stat-icon.blue {
    background: rgba(30, 58, 138, 0.15);
    color: var(--secondary-blue);
}
.stat-icon.green {
    background: var(--success-bg);
    color: var(--success);
}
.stat-icon.yellow {
    background: var(--warning-bg);
    color: var(--warning);
}
.stat-icon.red {
    background: var(--danger-bg);
    color: var(--danger);
}
.stat-icon.purple {
    background: var(--purple-bg);
    color: var(--purple);
}
.stat-icon.cyan {
    background: var(--info-bg);
    color: var(--cyan);
}
.stat-info {
    min-width: 0;
    flex: 1;
}
.stat-info h4 {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    font-weight: 600;
}
.stat-info .stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}

/* Service Grid (Dashboard Grid) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-card);
}
.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--cyan);
    color: var(--text-primary);
}
.service-item .service-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}
.service-item:hover .service-icon {
    transform: scale(1.1);
}
.service-item span {
    font-weight: 600;
    font-size: 0.82rem;
    line-height: 1.2;
}

/* Table Responsive */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}
.table th {
    padding: 12px 14px;
    text-align: left;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    white-space: nowrap;
}
.table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-secondary);
    white-space: nowrap;
}
.table tr:last-child td {
    border-bottom: none;
}
.table tr:hover td {
    background: rgba(6, 182, 212, 0.03);
}

/* ==========================================================================
   DASHBOARD LAYOUT (Sidebar & Responsive Framework)
   ========================================================================== */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--sidebar-bg) 0%, #1e293b 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    scrollbar-width: thin;
}
.sidebar::-webkit-scrollbar {
    width: 4px;
}
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}
.sidebar-header {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    background: var(--sidebar-bg);
    z-index: 2;
}
.sidebar-nav {
    padding: 12px 10px;
    flex: 1;
}
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.78);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 2px;
    position: relative;
    text-decoration: none;
}
.sidebar-nav a i {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}
.sidebar-nav a:hover {
    background-color: var(--sidebar-hover);
    color: #ffffff;
    transform: translateX(4px);
}
.sidebar-nav a.active {
    background-color: var(--cyan);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}
.sidebar-nav .nav-section {
    padding: 16px 14px 6px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
}
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 28px;
    min-height: 100vh;
    background-color: var(--bg-primary);
    transition: margin-left 0.3s ease;
}
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.page-header h1 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.page-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 3px;
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 990;
    padding: 0 16px;
    height: var(--mobile-header-height);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}
.mobile-header-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text-primary);
}
.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Bottom Mobile Navigation */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    height: var(--bottom-nav-height);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 0 6px 4px;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 6px;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.65rem;
    font-weight: 600;
    flex: 1;
    text-align: center;
    min-width: 0;
}
.bottom-nav-item i {
    font-size: 1.15rem;
}
.bottom-nav-item.active {
    color: var(--cyan);
}
.bottom-nav-item:hover {
    color: var(--cyan);
}
.bottom-nav-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
}

/* Network Selector */
.network-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.network-option {
    padding: 12px 8px;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    user-select: none;
    position: relative;
}
.network-logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto 6px auto;
    display: block;
    transition: transform 0.25s ease;
}
.network-option:hover {
    transform: translateY(-2px);
    border-color: var(--cyan);
}
.network-option:hover .network-logo-img {
    transform: scale(1.08);
}
.network-option.active {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-md);
}
.network-option.active .network-logo-img {
    transform: scale(1.12);
}

/* Network Specific Active Highlight Styling */
.network-option.active[data-network="MTN"],
.network-option.active[data-network="mtn"],
.network-option.active-mtn {
    border-color: #facc15 !important;
    background: rgba(250, 204, 21, 0.14) !important;
    color: #facc15 !important;
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.4), 0 0 0 2px rgba(250, 204, 21, 0.6) !important;
}
.network-option.active[data-network="GLO"],
.network-option.active[data-network="glo"],
.network-option.active-glo {
    border-color: #22c55e !important;
    background: rgba(34, 197, 94, 0.14) !important;
    color: #22c55e !important;
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.4), 0 0 0 2px rgba(34, 197, 94, 0.6) !important;
}
.network-option.active[data-network="AIRTEL"],
.network-option.active[data-network="airtel"],
.network-option.active-airtel {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.14) !important;
    color: #ef4444 !important;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.4), 0 0 0 2px rgba(239, 68, 68, 0.6) !important;
}
.network-option.active[data-network="9MOBILE"],
.network-option.active[data-network="9mobile"],
.network-option.active[data-network="T2"],
.network-option.active[data-network="t2"],
.network-option.active-9mobile,
.network-option.active-t2 {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.14) !important;
    color: #10b981 !important;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.4), 0 0 0 2px rgba(16, 185, 129, 0.6) !important;
}

.network-option .network-icon {
    font-size: 1.3rem;
    margin-bottom: 4px;
    display: block;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    padding: 20px;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.modal {
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 5vw, 36px);
    transform: scale(0.92) translateY(10px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}
.modal h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg-input);
    border: none;
    border-radius: var(--radius-sm);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}
.modal-close:hover {
    background: var(--danger-bg);
    color: var(--danger);
}

/* Auth Cards */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--bg-primary);
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 6vw, 44px) clamp(20px, 6vw, 36px);
    box-shadow: var(--shadow-lg);
}
.auth-card .logo-header {
    text-align: center;
    margin-bottom: 28px;
}
.auth-card .logo-header h1 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-top: 12px;
}
.auth-card .logo-header p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 4px;
}

/* Toast */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100001;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: min(500px, calc(100vw - 32px));
    pointer-events: none;
}
.toast {
    pointer-events: auto;
    position: relative;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    box-shadow: var(--shadow-lg);
    min-width: 280px;
    max-width: 100%;
}
.toast.show {
    transform: translateY(0);
    opacity: 1;
}
.toast-success { background: #10b981; color: #ffffff; }
.toast-error { background: #ef4444; color: #ffffff; }
.toast-warning { background: #f59e0b; color: #111827; }
.toast-info { background: #06b6d4; color: #ffffff; }

/* WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    z-index: 9990;
    transition: var(--transition);
    text-decoration: none;
}
.whatsapp-fab:hover {
    transform: translateY(-4px) scale(1.08);
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
.nav-mobile-cta {
    display: none;
}
.mobile-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

@media (max-width: 1024px) {
    :root {
        --sidebar-width: 240px;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .api-spotlight-card {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 280px;
    }
    .nav-links {
        display: none;
    }
    .nav-cta {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        padding: 20px;
        gap: 12px;
        box-shadow: var(--shadow-lg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    .nav-links.active li {
        width: 100%;
    }
    .nav-links.active a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
        border-radius: var(--radius-sm);
        color: var(--text-primary);
        font-size: 0.95rem;
    }
    .nav-links.active a:hover {
        background: var(--accent-light);
        color: var(--cyan);
    }
    .nav-mobile-cta {
        display: block;
        margin-top: 8px;
        padding-top: 14px;
        border-top: 1px solid var(--border);
    }
    .hero {
        padding: 105px 20px 50px;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 40px;
    }
    .hero-stat-card {
        padding: 16px 12px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }
    .section {
        padding: 60px 0;
    }
    .section-header {
        margin-bottom: 36px;
    }
    .container {
        padding: 0 16px;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .steps-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .api-spotlight-card {
        padding: 28px 20px;
        gap: 24px;
    }
    .api-spotlight-info h2 {
        font-size: 1.5rem;
    }
    .api-code-preview {
        font-size: 0.75rem;
    }
    .sidebar {
        transform: translateX(-100%);
        box-shadow: var(--shadow-lg);
    }
    .sidebar.active, .sidebar.show {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
        padding: calc(var(--mobile-header-height) + 16px) 16px calc(var(--bottom-nav-height) + 20px);
        width: 100%;
    }
    .mobile-header {
        display: flex;
    }
    .bottom-nav {
        display: flex;
    }
    .page-header {
        margin-bottom: 16px;
    }
    .page-header h1 {
        font-size: 1.25rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .stat-card {
        padding: 14px;
        gap: 10px;
    }
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }
    .stat-info .stat-value {
        font-size: 1.15rem;
    }
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .service-item {
        padding: 14px 8px;
        gap: 6px;
    }
    .service-item .service-icon {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }
    .service-item span {
        font-size: 0.75rem;
    }
    .network-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    .card {
        padding: 18px 14px;
    }
    .card-header h3 {
        font-size: 0.98rem;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .whatsapp-fab {
        bottom: 25px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    .container {
        padding: 0 14px;
    }
    .hero {
        padding: 95px 14px 45px;
    }
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
        gap: 6px;
    }
    .hero-pills {
        gap: 8px;
        margin-bottom: 24px;
    }
    .hero-pill {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .hero-stat-value {
        font-size: 1.35rem;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .stat-card {
        padding: 12px 10px;
    }
    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    .stat-info .stat-value {
        font-size: 1.05rem;
    }
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .service-item {
        padding: 12px 6px;
    }
    .service-item .service-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .service-item span {
        font-size: 0.72rem;
    }
    .bottom-nav-item span {
        font-size: 0.6rem;
    }
    .bottom-nav-item i {
        font-size: 1.1rem;
    }
    .toast {
        min-width: 0;
        width: 100%;
        padding: 10px 14px;
        font-size: 0.82rem;
    }
    .toast-container {
        top: 12px;
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
    }
    .modal-overlay {
        padding: 12px;
    }
    .modal {
        padding: 20px 16px;
    }
    .section-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 360px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ TRANSACTION PIN & SETUP PIN MODALS ============ */
.pin-modal-card {
    max-width: 420px;
    width: 100%;
    padding: 28px 24px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(6, 182, 212, 0.15);
    position: relative;
    animation: pinModalIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pinModalIn {
    from { opacity: 0; transform: scale(0.92) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes pinModalShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

.pin-modal-card.shake {
    animation: pinModalShake 0.4s ease-in-out;
}

.pin-icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid var(--border-focus);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 16px;
    box-shadow: 0 0 20px var(--accent-glow);
}

.pin-icon-badge.shield {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.15));
    border-color: var(--success);
    color: var(--success);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.pin-summary-box {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pin-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.pin-summary-row .label {
    color: var(--text-secondary);
}

.pin-summary-row .value {
    font-weight: 600;
    color: var(--text-primary);
}

.pin-summary-row .value.highlight {
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
}

.pin-input-wrap {
    position: relative;
    margin-bottom: 18px;
}

.pin-input-field {
    width: 100%;
    height: 56px;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    letter-spacing: 14px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    transition: var(--transition);
    padding: 0 45px 0 20px;
}

.pin-input-field:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.pin-toggle-visibility {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.pin-toggle-visibility:hover {
    color: var(--text-primary);
}

.pin-error-alert {
    background: var(--danger-bg);
    border: 1px solid var(--danger);
    color: var(--danger);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 16px;
    display: none;
    align-items: center;
    gap: 8px;
}

.pin-action-btn {
    width: 100%;
    height: 50px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pin-footer-links {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.pin-footer-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.pin-footer-links a:hover {
    text-decoration: underline;
    color: var(--text-accent);
}

/* ==========================================================================
   ANIMATED LOGO LOADER & TRANSACTION OVERLAY SYSTEM
   ========================================================================== */
.logo-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 5, 13, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-loader-overlay.active,
.logo-loader-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.logo-loader-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 40px;
    background: rgba(12, 16, 38, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(10, 0, 168, 0.35);
    max-width: 90vw;
    text-align: center;
    animation: logoCardPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.logo-loader-stage {
    position: relative;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-loader-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(59, 40, 246, 0.6);
    animation: logoPulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    pointer-events: none;
}

.logo-loader-orbit-ring {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3b28f6;
    border-right-color: #10b981;
    border-bottom-color: rgba(59, 40, 246, 0.2);
    animation: logoOrbitSpin 1.1s linear infinite;
}

.logo-loader-core-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: #04050d;
    padding: 3px;
    box-shadow: 0 0 20px rgba(59, 40, 246, 0.7);
    z-index: 2;
    animation: logoCoreBreathe 2s ease-in-out infinite;
}

.logo-loader-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.logo-loader-desc {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.logo-loader-dot-pulse {
    display: inline-flex;
    gap: 4px;
}
.logo-loader-dot-pulse span {
    width: 4px;
    height: 4px;
    background: #10b981;
    border-radius: 50%;
    animation: logoDotBlink 1.4s infinite both;
}
.logo-loader-dot-pulse span:nth-child(2) { animation-delay: 0.2s; }
.logo-loader-dot-pulse span:nth-child(3) { animation-delay: 0.4s; }

@keyframes logoCoreBreathe {
    0%, 100% {
        transform: scale(0.94);
        filter: drop-shadow(0 0 10px rgba(59, 40, 246, 0.6));
    }
    50% {
        transform: scale(1.06);
        filter: drop-shadow(0 0 22px rgba(16, 185, 129, 0.8));
    }
}

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

@keyframes logoPulseRing {
    0% { transform: scale(0.7); opacity: 0.9; }
    50% { transform: scale(1.18); opacity: 0.3; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes logoDotBlink {
    0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1.2); }
}

.btn-logo-spinner {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    animation: logoOrbitSpin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}


