:root {
    --bg-deep: #010913;
    --card-glass: rgba(13, 17, 23, 0.7);
    --border-glass: rgba(255, 255, 255, 0.08);
    --accent-blue: #3b82f6;
    --accent-cyan: #00f2ff;
    --accent-purple: #a855f7;
    --text-white: #f8fafc;
    --text-dim: #94a3b8;
    --bg-dark: #02040a;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --text-muted: #94a3b8;
    --accent-cyan: #22d3ee;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    overflow-x: hidden;
}
.hero-banner img {
    width: 100%;
}
/* Background Visuals */
.background-wrapper {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.mesh-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 242, 255, 0.05) 0%, transparent 50%);
    filter: blur(80px);
}

/* --- Desktop Styles (Existing + Improvements) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 6%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    gap: 8px;
    z-index: 1001;
}

.f-logo img { width: 130px; height: auto; }

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    margin-left: 3rem;
}

.nav-links { display: flex; list-style: none; gap: 2.5rem; margin: 0 auto; }
.nav-links a { color: #94a3b8; text-decoration: none; font-size: 0.95rem; transition: 0.3s; }
.nav-links a:hover { color: #fff; }

.nav-btns { display: flex; align-items: center; gap: 1.5rem; }
.btn-login { color: #fff; text-decoration: none; font-size: 0.9rem; }

/* --- Mobile Menu Logic --- */
.nav-toggle { display: none; }
div#home {
    margin-right: 10px;
}
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.hamburger span, .hamburger span::before, .hamburger span::after {
    display: block;
    background: #fff;
    height: 2px;
    width: 25px;
    position: relative;
    transition: 0.3s;
}

.hamburger span::before, .hamburger span::after { content: ""; position: absolute; }
.hamburger span::before { bottom: 8px; }
.hamburger span::after { top: 8px; }

/* --- Media Query for Mobile (Tablets and Phones) --- */
@media (max-width: 992px) {
    .hamburger { display: block; }

    .nav-content {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        background: rgba(2, 4, 10, 0.98); /* Solid glass dark background */
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        gap: 3rem;
        transform: translateY(-100%); /* Hide off-screen */
        transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 1000;
    }

    .nav-links { flex-direction: column; text-align: center; gap: 2rem; }
    .nav-links a { font-size: 1.5rem; }

    .nav-btns { flex-direction: column; width: 80%; }
    .btn-primary-glow {text-align: center; }

    /* Open Menu State */
    .nav-toggle:checked ~ .nav-content {
        transform: translateY(0);
    }

    /* Animate Hamburger to 'X' */
    .nav-toggle:checked ~ .hamburger span { background: transparent; }
    .nav-toggle:checked ~ .hamburger span::before { transform: rotate(45deg); bottom: 0; }
    .nav-toggle:checked ~ .hamburger span::after { transform: rotate(-45deg); top: 0; }
}
/* Hero Typography */
.hero {
    text-align: center;
    padding: 8rem 10% 4rem;
}

.badge-outline {
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(59, 130, 246, 0.1);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 1.5rem 0;
    letter-spacing: -2px;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
p.hero-subtext {
    font-size: 25px;
    font-weight: 100;
    font-family: system-ui;
    margin-bottom: 30px;
    color: #6d9da4;
}
h2.section-label {
    font-size: 25px;
    font-weight: 100;
    font-family: system-ui;
    margin-bottom: 10px;
    text-align: center;
    color: #6d9da4;
}
h3.section-title {
    font-size: 75px;
    text-align: center;
    font-weight: 400;
}
/* Glassmorphism Cards */
.glass-card {
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(16px);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

/* Grid Layouts */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 1.5rem;
    padding: 4rem 6%;
}

.stack-column { display: flex; flex-direction: column; gap: 1.5rem; }

/* Buttons */
.btn-primary-glow {
    background: linear-gradient(135deg, var(--accent-blue), #6366f1);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    cursor: pointer;
    text-decoration: unset;
}

.btn-solid-blue {
    background: linear-gradient(106deg,rgba(48, 141, 191, 1) 13%, rgba(129, 104, 227, 1) 89%);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
        margin-bottom: 10px;
}
button.btn-glass {
    background: #f0f8ff00;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid;
}

/* Radar & Charts simulation */
.radar-container {
    width: 100%;
    height: 180px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><polygon points="50,5 95,38 78,92 22,92 5,38" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-grid { grid-template-columns: 1fr; }
}
/* Container Layout */
.comparison {
    position: relative; /* This is crucial so the element stays inside this section */
    padding: 100px 5%;
    text-align: center;
    overflow: hidden; /* Prevents the glow from creating horizontal scrollbars */
    z-index: 1;
}

.section-label {
    font-size: 0.8rem;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    color: #ffffff;
}

/* The Grid and Interlocking Effect */
.comparison-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Sits above the element */
}
.element {
    position: absolute;
    top: 62%;
    left: 50%;         /* Horizontal center */
    transform: translate(-50%, -50%);      /* Allows it to scale */
    z-index: -1;        /* Pushes it behind the cards and text */
    pointer-events: none; /* Makes sure you can still click buttons through the glow */
    display: flex;
    justify-content: center;
}
.element img {
    width: 1098px;
    height: auto;
}

/* Base Glass Card Style */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 3px solid rgba(255, 255, 255, 0.1);
    padding: 60px 80px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s ease;
}

/* Angled Shape for Left Side */
.broken-side {
    flex: 1;
    border-radius: 20px 0 0 20px;
    text-align: left;
    clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 0% 100%);
    border-right: none;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);
}

/* Angled Shape for Right Side */
.future-side {
    flex: 1;
    border-radius: 0 20px 20px 0;
    text-align: left;
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
    border-left: none;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(6, 182, 212, 0.05) 100%);
}

/* Central VS Badge */
.vs-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    font-weight: 900;
    font-style: italic;
    color: #acd7e7;
    z-index: 10;
    pointer-events: none;
    text-shadow:0px 0px 20px rgb(79 172 255 / 72%);
}
/* Content Styling */
.glass-card h4 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 400;
}

.broken-side ul {
    list-style: none;
    padding: 0;
}

.broken-side li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #94a3b8;
    font-size: 0.95rem;
}

.broken-side li i {
    color: #fff; /* Red for X icons */
    width: 18px;
    font-size: small;
}
.broken-side li span {
    padding: 5px 3px;
    border-radius: 25px;
    display: flex;
    background: #f0f8ff33;
}
/* Nested containers for the "Future" side */
.future-side p {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.feature-tag {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border: 3px solid rgba(6, 182, 212, 0.2);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-tag i {
    color: #22d3ee;
}

.feature-tag span {
    color: #fff;
    font-weight: 600;
}
/* The fundamental glass effect used across the platform */
.glass-panel {
    background: rgba(255, 255, 255, 0.03); /* Ultra-transparent white */
    backdrop-filter: blur(20px) saturate(180%); /* The frosted blur effect */
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    
    border: 1px solid rgba(255, 255, 255, 0.08); /* The "sharp" glass edge */
    border-radius: 24px;
    
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); /* Deep shadow for lift */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Optional: Slight glow when hovering over a glass card */
.glass-panel:hover {
    border-color: rgba(34, 211, 238, 0.2); /* Cyan edge glow */
}

/* Helper: The gradient text seen in "Starts Here" or "Future Academy" */
.text-gradient-1 {
    background: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-size: 65px;
}

/* Helper: The small badges like "Secure Access" or "Onboarding" */
.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(34, 211, 238, 0.1);
    color: #22d3ee;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    margin-top: 15px;
}
.limited-access {
    font-size: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}
.form-group.full-width.justify-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Mobile Responsiveness */
@media (max-width: 992px) {
    .comparison-grid {
        flex-direction: column;
        gap: 40px;
    }
    .broken-side, .future-side {
        clip-path: none; /* Remove angles on mobile for better readability */
        border-radius: 20px;
        width: 100%;
        height: auto;
        padding: 40px 20px;
    }
    .vs-circle {
        position: relative;
        transform: none;
        left: 0;
        top: 0;
        font-size: 4rem;
        margin: 10px 0;
    }
    .hero {
        padding: 3rem 10% 4rem;
    }
    h3.section-title {
        font-size: 35px;
    }
    h2.section-label {
        font-size: 15px;
    }
    
     .header h2 {
        font-size: 1.7rem !important;
     }
     .header p{
        font-size: 1rem ;
     }
     .banner-2 img{
        margin: -18px !important;
     }
     .achievement-system{
        padding-top: 0px !important;
     }
     h1{
        font-size: clamp(2rem, 6vw, 4.5rem);
     }
     p.hero-subtext {
        font-size: 20px;
     }
     .badge-outline{
        width: 100%;
        display: block;
     }
}

/* Container and Typography */
.ecosystem {
    padding: 100px 8%;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.element-1 {
    position: absolute;
    top: 62%;
    left: 50%;         /* Horizontal center */
    transform: translate(-50%, -50%);      /* Allows it to scale */
    z-index: -1;        /* Pushes it behind the cards and text */
    pointer-events: none; /* Makes sure you can still click buttons through the glow */
    display: flex;
    justify-content: center;
}
.element-1 img {
    width: 1098px;
    height: auto;
}
.badge-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    color: #94a3b8;
    letter-spacing: 1px;
}

.main-title {
    font-size: 3rem;
    font-weight: 800;
    margin-top: 20px;
    letter-spacing: -1px;
}

.sub-title {
    color: #94a3b8;
    font-size: 1.2rem;
    margin-bottom: 60px;
}

/* Grid Layout */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Styling */
.eco-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.eco-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Featured Card Glow (The purple/blue one in your image) */
.eco-card.featured {
    border: 1px solid rgba(168, 85, 247, 0.3); /* Purple tint border */
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.05);
}

.eco-card.featured::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    padding: 1px; /* Border thickness */
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.5), transparent, rgba(59, 130, 246, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Content inside cards */
.icon-wrapper {
    background: rgba(255, 255, 255, 0.05);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-wrapper i {
    width: 20px;
    color: #fff;
    opacity: 0.8;
}

.eco-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.eco-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.learn-more {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #3b82f6; /* Cyan/Blue link */
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s;
}

.learn-more i {
    width: 16px;
}

.learn-more:hover {
    color: #60a5fa;
    gap: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .ecosystem-grid { grid-template-columns: 1fr; }
    .main-title { 
        font-size: 1.7rem;
        margin-bottom: 10px;
     }
}

.achievement-system {
    padding: 100px 5%;
    color: white;
    font-family: 'Inter', sans-serif;
}
.banner-2 {
    margin-bottom: 100px;
}
.banner-2 img{
    width: 111%;
    margin: -75px;
}
/* Ensure block display to prevent extra spacing below images */
.banner-2 img {
  display: block; 
  
  /* Applying a linear gradient mask from top to bottom */
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  
  /* Ensures the mask covers the entire image element */
  -webkit-mask-size: cover;
  mask-size: cover;
  
  /* Prevents mask repeating */
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.header {
    text-align: center;
    margin-bottom: 100px;
}

.badge {
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
    color: var(--accent-cyan);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
}

.header h2 {
    font-size: 2.8rem;
    margin: 20px 0 10px;
    font-weight: 800;
}

.header p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Grid Layout */
.scoring-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Base */
.score-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #f8fafc;
}

.tag {
    background: rgba(255,255,255,0.05);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Radar Chart Styling */
.radar-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.radar-bg { fill: rgba(255,255,255,0.02); stroke: rgba(255,255,255,0.1); stroke-width: 0.5; }
.radar-area { fill: rgba(34, 211, 238, 0.2); stroke: var(--accent-cyan); stroke-width: 1.5; }

.label { position: absolute; font-size: 0.65rem; color: var(--text-muted); }
.label.top { top: -15px; left: 50%; transform: translateX(-50%); }
.label.right { right: -30px; top: 40%; }
.label.left { left: -30px; top: 40%; }
.label.bottom-right { bottom: -10px; right: 0; }
.label.bottom-left { bottom: -10px; left: 0; }

/* Bar Chart */
.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.bar { flex: 1; border-radius: 4px 4px 0 0; }
.bar-labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: 0.7rem; color: var(--text-muted); }

/* Progress Bars */
.progress-item { margin-bottom: 18px; }
.progress-item label { display: block; font-size: 0.75rem; margin-bottom: 8px; color: var(--text-muted); }
.progress-bg { height: 6px; background: rgba(255,255,255,0.05); border-radius: 10px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 10px; }

/* Stats Card */
.stats-row { display: flex; gap: 30px; margin-bottom: 20px; }
.stat-value { display: block; font-size: 1.8rem; font-weight: 700; color: var(--accent-cyan); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); }
.stat-footer { font-size: 0.7rem; color: var(--text-muted); display: flex; justify-content: space-between; border-top: 1px solid var(--border); pt: 15px;}

/* Achievement List */
.achievement-list { list-style: none; padding: 0; }
.achievement-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.list-icon { width: 35px; height: 35px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.list-icon.purple { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.list-icon.cyan { background: rgba(34, 211, 238, 0.1); color: var(--accent-cyan); }
.list-text { flex: 1; font-size: 0.85rem; }
.list-text span { display: block; font-size: 0.7rem; color: var(--text-muted); }
.chevron { width: 14px; color: var(--text-muted); }

/* Leaderboard */
.leaderboard { list-style: none; padding: 0; }
.leaderboard li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.leaderboard li img { border-radius: 50%; width: 24px; }
.leaderboard li span { margin-left: auto; font-weight: 600; color: var(--accent-cyan); }

/* Responsive */
@media (max-width: 1024px) { .scoring-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .scoring-grid { grid-template-columns: 1fr; } }

/* Container Setup */
.cta-section {
    position: relative;
    padding: 100px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 400px;
}

/* Background Decorative Swirls */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 400px;
    filter: blur(80px);
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

.glow-purple {
    background: radial-gradient(circle, #8b5cf6, transparent 70%);
    top: 118px;
    left: -100px;
}

.glow-cyan {
    background: radial-gradient(circle, #22d3ee, transparent 70%);
    bottom: -100px;
    right: -100px;
}

/* Glass Card Styling */
.cta-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.03); /* Very transparent white */
    backdrop-filter: blur(15px); /* The frosted effect */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08); /* Subtle thin border */
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Typography */
.cta-label {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8; /* Muted gray/blue */
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-description {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Gradient Button */
.btn-cta {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(59, 130, 246, 0.4);
    filter: brightness(1.1);
}


/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cta-title { font-size: 2.2rem; }
    .cta-box { padding: 40px 20px; }
    .cta-description br { display: none; } /* Remove line breaks on mobile */
}

/* Footer Base */
.main-footer {
    background-color: #060b15; /* Matching your deep dark theme */
    color: #ffffff;
    padding: 80px 0 0 0;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Subtle background glow to match CTA section */
.main-footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05), transparent 70%);
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding: 0 5%;
    margin-bottom: 60px;
}

/* Brand Section */
.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.logo-f {
    background: linear-gradient(135deg, #22d3ee, #8b5cf6);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.1rem;
}

.brand-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 320px;
}

/* Social Icons (Glass Style) */
.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #22d3ee;
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.3);
}

.social-icon i { width: 15px; }

/* Link Columns */
.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #f8fafc;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.2);
}

.bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

.location {
    display: flex;
    align-items: center;
    gap: 6px;
}

.location i { width: 14px; color: #22d3ee; }

/* Responsive */
@media (max-width: 1024px) {
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .footer-container { grid-template-columns: 1fr; }
    .bottom-container { flex-direction: column; gap: 15px; text-align: center; }
}
/* --- Login Page Specific Styles --- */

.login-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

/* Flex container to center the card */
.login-flex {
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

/* The Glassmorphic Card */
.login-card {
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Header Text */
.login-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 15px 0 10px;
    line-height: 1.1;
    color: #fff;
}

.login-header p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 40px;
}

/* The Google Button */
.btn-google-login {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    color: #020408;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-google-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    background: #f8fafc;
}

.btn-google-login img {
    width: 20px;
    height: 20px;
}

/* Footer & Links */
.login-footer {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

.login-footer p {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 20px;
}

.login-footer a {
    color: #22d3ee;
    text-decoration: none;
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: #94a3b8 !important;
    transition: 0.3s;
}

.back-link:hover {
    color: #fff !important;
}

/* Message styling */
.form-message {
    font-size: 0.85rem;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 8px;
    display: none; /* Shown via JS */
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: block;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .login-card {
        padding: 40px 25px;
        margin: 10px;
    }
    .login-header h2 { font-size: 1.8rem; }
}
/* --- Enrollment Page Styles --- */

.enroll-section {
    position: relative;
    padding: 60px 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.enroll-container {
    width: 100%;
    max-width: 700px;
    z-index: 10;
}

.enroll-card {
    padding: 50px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 15px 0;
}
.form-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.highlight-item {
    position: relative;
    overflow: hidden;

    font-size: 0.85rem;
    padding: 8px 10px;
    border-radius: 10px;

    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.15);
    color: #cbd5f5;

    backdrop-filter: blur(10px);

    animation: glowPulse 3s infinite ease-in-out;
    font-weight: 700;
}
.highlight-item {
    display: flex;
    align-items: center;

    font-size: 0.85rem;
    padding: 8px 10px;
    border-radius: 10px;

    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);

    transition: 0.3s ease;
    gap: 15px;
}

/* ICON SIZE */
.highlight-item i {
    width: 16px;
    height: 16px;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 0 rgba(0,229,255,0);
        border-color: rgba(0,229,255,0.15);
    }
    50% {
        box-shadow: 0 0 12px rgba(0,229,255,0.4);
        border-color: rgba(0,229,255,0.5);
    }
    100% {
        box-shadow: 0 0 0 rgba(0,229,255,0);
        border-color: rgba(0,229,255,0.15);
    }
}

/* 🔥 hover glow */
.highlight-item:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.4);
    transform: translateY(-2px);
}

/* Form Grid System */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.full-width {
    grid-column: span 2;
}

/* Form Elements */
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 10px;
    margin-left: 4px;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #22d3ee;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

.form-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    border-style: dashed;
}

/* Custom styling for Select boxes */
select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.age-hint {
    color: #2dd4bf;
    font-size: 0.75rem;
    margin-top: 5px;
    display: block;
}

/* Submit Area */
.form-footer {
    margin-top: 50px;
    text-align: center;
}
/* Fix for visible text in the dropdown options */
.form-input option {
    background-color: #0f172a; /* A deep dark blue/black to match your theme */
    color: #ffffff; /* White text for readability */
    padding: 10px;
}

/* Optional: Targets the dropdown when it is focused/open in some browsers */
.form-input:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}
.btn-submit-glow {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 18px 60px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-submit-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5);
    filter: brightness(1.1);
}

/* Success Card */
.success-card {
    text-align: center;
    padding: 60px;
    max-width: 500px;
    margin: 40px auto;
}

.check-icon {
    width: 80px;
    height: 80px;
    background: rgba(34, 211, 238, 0.1);
    color: #22d3ee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.check-icon i { width: 40px; height: 40px; }

.id-badge {
    background: rgba(255, 255, 255, 0.05);
    display: inline-block;
    padding: 12px 25px;
    border-radius: 100px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.id-badge span { color: #94a3b8; margin-right: 10px; }

.btn-back {
    display: block;
    margin-top: 30px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
}
.multi-checkbox {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.multi-checkbox label {
    background: rgba(255,255,255,0.05);
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}

.multi-checkbox input {
    margin-right: 6px;
}
/* Responsive */
@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: auto; }
    .enroll-card { padding: 30px 15px; }
    .multi-checkbox{gap: 3px;}
}
/* Target all inputs with type="number" */
input[type="number"] {
  /* For Firefox */
  -moz-appearance: textfield;
  appearance: textfield;
}

/* For Chrome, Safari, Edge, and Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.no-spinners::-webkit-inner-spin-button,
.no-spinners::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.no-spinners {
  -moz-appearance: textfield;
  appearance: textfield;
}
/* Container to center the card */
.payment-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Glass Card Customization */
.payment-card {
    max-width: 450px;
    width: 100%;
    padding: 40px;
    text-align: center;
    position: relative;
}

.payment-header .subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-top: 10px;
}

/* Info Box */
.payment-details-box {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.detail-item .label {
    position: relative;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.detail-item .value {
    color: #ffffff;
    font-weight: 500;
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}

.total .value {
    color: #22d3ee;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Premium Button */
.cta-button-primary {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 100%);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(34, 211, 238, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(34, 211, 238, 0.4);
}

.secure-text {
    margin-top: 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}
/* --- Success Page Styles --- */

.success-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.success-card {
    max-width: 550px;
    width: 100%;
    padding: 60px 40px;
    text-align: center;
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Success Icon Animation */
.success-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.icon-circle {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(34, 211, 238, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

/* Typography */
.success-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.success-content p {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 35px;
}

/* ID Box Display */
.member-id-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 40px;
}

.member-id-box .label {
    position: relative;
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.id-value {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.copy-btn {
    background: transparent;
    border: none;
    color: #22d3ee;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s;
}

.copy-btn:hover { transform: scale(1.2); color: #fff; }

/* Buttons */
.action-row {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.btn-secondary {
    background: #fff;
    color: #020408;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.05); border-color: #fff; }

.next-steps p {
    font-size: 0.85rem;
    color: #64748b;
}

/* Mobile Fix */
@media (max-width: 480px) {
    .action-row { flex-direction: column; }
    .success-card { padding: 40px 20px; }
}


/* Layout Core */
.dashboard-wrapper {
    display: flex;
    height: 100vh;
    padding: 15px;
    gap: 15px;
    background: radial-gradient(circle at top right, #0f172a, #020408);
    overflow: hidden;
}

/* Sidebar Refinements */
.sidebar {
    width: 280px;
    display: flex;
    flex-direction: column;
    padding: 25px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-header { margin-bottom: 35px; }

.brand-sub {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-cyan);
    font-weight: 800;
}

.sidebar h3 { font-size: 1.3rem; color: #fff; margin-top: 4px; }

/* Menu Interaction */
.sidebar-nav { flex-grow: 1; overflow-y: auto; }
.sidebar-nav ul { list-style: none; padding: 0; }

.sidebar-nav li {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 14px;
    color: var(--text-dim);
    font-weight: 500;
    transition: 0.2s ease;
    border: 1px solid transparent;
}

.sidebar-nav li i { width: 20px; font-size: 1.1rem; }

.sidebar-nav li:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: translateX(5px);
}

.sidebar-nav li.active {
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.15), transparent);
    color: var(--accent-cyan);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 4px 14px 14px 4px;
}

/* Main Content Area */
.main-viewport {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    overflow-y: auto;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

/* Loader Styles */
.loader-skeleton {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-dim);
}

.pulse-circle {
    width: 50px;
    height: 50px;
    border: 3px solid var(--accent-cyan);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}
/* --- CUSTOM GOLD SCROLLBAR --- */

/* 1. The width of the entire scrollbar */
::-webkit-scrollbar {
  width: 8px;               /* Vertical scrollbar width */
  height: 8px;              /* Horizontal scrollbar height */
}

/* 2. The track (background) of the scrollbar */
::-webkit-scrollbar-track {
  background: rgba(17, 23, 34, 0.6); /* Matches your dark theme background */
  border-radius: 10px;
}

/* 3. The draggable thumb (the moving part) */
::-webkit-scrollbar-thumb {
  background: linear-gradient(220deg,rgba(34, 211, 238, 1) 0%, rgba(139, 92, 246, 1) 15%);
  border-radius: 10px;
  border: 2px solid rgba(17, 23, 34, 0.8); /* Creates a 'padding' effect around the gold */
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* 4. Thumb hover effect */
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);      /* Lighter gold on hover */
  box-shadow: 0 0 15px var(--accent-cyan);
  cursor: pointer;
}

/* 5. Firefox Support (Limited styling compared to Webkit) */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-cyan) rgba(17, 23, 34, 0.6);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Mobile Adaptability */
@media (max-width: 992px) {
    .sidebar { width: 80px; padding: 80px 20px 10px; }
    .sidebar h3, .brand-sub, .user-info, .sidebar-nav span { display: none; }
    .sidebar-nav li { justify-content: center; padding: 15px; }
    .sidebar-nav li i { margin: 0 !important; }
}
/* Container for the avatar to create the "glow" effect */
.avatar-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 2px; /* Space for the gradient border */
    background: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
}

/* The actual image */
#userAvatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover; /* Prevents squeezing/stretching */
    background-color: #0f172a; /* Dark background while image loads */
    border: 2px solid #020408; /* Creates a gap between image and gradient */
}

/* Sidebar Footer alignment fix */
.user-mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.user-mini-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.user-info {
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevents long names from breaking layout */
}

#userNameDisplay {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.user-info small {
    color: #94a3b8;
    font-size: 0.75rem;
}
/* --- MOBILE NAVIGATION LOGIC --- */

/* Hide toggle on Desktop */
.menu-toggle, .mobile-close {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 992px) {
    .dashboard-wrapper {
        padding: 10px;
    }

    .menu-toggle { display: block; }

    /* Sidebar - Hidden Offscreen */
    .sidebar {
        position: fixed;
        left: -320px; /* Hidden state */
        top: 0;
        bottom: 0;
        z-index: 1000;
        width: 280px;
        height: 100vh;
        border-radius: 0 24px 24px 0;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Active Sidebar state */
    .sidebar.active {
        transform: translateX(320px);
    }

    .mobile-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    /* Overlay Shadow */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        z-index: 999;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .main-viewport {
        padding: 20px;
    }
}
:root {
    --gold: #e7be36;
    --gold-glow: rgba(231, 190, 54, 0.3);
    --bg-dark: #0a0f19;
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-muted: rgba(255, 255, 255, 0.6);
}

.page-wrapper {
    background-color: var(--bg-dark);
    color: #fff;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* --- HERO SECTION --- */
.hero-job {
    padding: 140px 0 100px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(231, 190, 54, 0.15) 0%, transparent 60%);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin: 20px 0;
    font-weight: 800;
}

.hero-subtext {
    max-width: 650px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- BUTTONS --- */
.btn-submit-glow {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 16px 35px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 0 20px var(--gold-glow);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.demo-text h3 {
    margin-top: 20px;
    margin-bottom: 20px;
}
.btn-submit-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--gold-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 16px 35px;
    border-radius: 12px;
    margin-left: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: var(--gold);
    background: rgba(231, 190, 54, 0.05);
}

/* --- TRUTH SECTION --- */
.truth-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.truth-grid {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
}

.vs-divider {
    display: flex;
    justify-content: center;
}

.vs-divider span {
    background: var(--bg-dark);
    border: 1px solid var(--gold);
    color: var(--gold);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 900;
    box-shadow: 0 0 20px var(--gold-glow);
}

.side-obsolete h3, .side-future h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.status-tag {
    font-size: 10px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.status-tag.red { background: rgba(255, 71, 71, 0.1); color: #ff4747; border: 1px solid #ff4747; }
.status-tag.gold { background: rgba(231, 190, 54, 0.1); color: var(--gold); border: 1px solid var(--gold); }

.truth-grid ul { list-style: none; padding: 0; }
.truth-grid ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.icon.gold { color: var(--gold); }

/* --- STEP CARDS --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}
.steps-grid-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}
.step-card {
    position: relative;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: 0.4s;
}
.step-card img {
    width: 66%;
    border-radius: 13px;
    margin-bottom: 10px;
}
.step-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(231, 190, 54, 0.1);
    position: absolute;
    top: 20px;
    right: 30px;
}

.featured-step {
    border: 1px solid rgba(231, 190, 54, 0.3);
    background: rgba(231, 190, 54, 0.02);
}

.card-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--gold);
    filter: blur(80px);
    bottom: -50px;
    right: -50px;
    opacity: 0;
    transition: 0.4s;
}

.step-card:hover .card-glow { opacity: 0.2; }
.step-card h4 {
    margin-bottom: 10px;
}
/* --- DEMO MOCKUP --- */
.demo-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    padding: 80px;
    align-items: center;
}
section.demo-preview,
section.truth-section,
section.viral-section,
.cta-card p {
    margin-bottom: 20px;
}

.mockup-frame {
    height: 350px;
    border: 1px solid var(--primary-cyan); /* Updated to the professional cyan we discussed */
    border-radius: 24px;
    position: relative;
    overflow: hidden; /* Clips the blurred edges of the pseudo-element */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.4); /* Dark overlay to keep text readable */
    flex-direction: column;
}

/* This handles the image, fitting, and blurring */
.mockup-frame::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 80%;
    height: 80%;
    background-image: url('../../assets/images/fav-logo1.png');
    
    /* FIX: Changed 'cover' to 'contain' to ensure the whole logo fits */
    background-size: contain; 
    
    /* FIX: Added a margin so the logo doesn't touch the borders */
    background-origin: content-box;
    padding: 40px; 
    
    background-position: center;
    background-repeat: no-repeat;
    
    /* Glass Effect */
    filter: blur(10px); /* Reduced blur slightly for better brand recognition */
    transform: scale(1.05); 
    z-index: 1;
    opacity: 0.3; /* Lowered opacity to keep the terminal text readable */
}

/* Ensure the terminal content is crisp on top */
.terminal-content {
    position: relative;
    z-index: 2;
    background: rgba(10, 15, 25, 0.6); /* Added a dark tint behind text for contrast */
    padding: 20px;
    border-radius: 15px;
}

/* Ensure your content stays on top of the blur */
.terminal-content, 
.scanning-line {
    position: relative;
    z-index: 2;
}

.scanning-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--gold);
    top: 0;
    box-shadow: 0 0 15px var(--gold);
    animation: scan 3s infinite linear;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.mockup-text {
    font-family: monospace;
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 12px;
}

/* --- FINAL CTA --- */
.cta-card {
    text-align: center;
    padding: 100px 40px;
    background: linear-gradient(to bottom, rgba(231, 190, 54, 0.05), transparent);
    border-top: 1px solid rgba(231, 190, 54, 0.2);
    border-radius: 40px;
}

.cta-card h2 { font-size: 2.5rem; margin-bottom: 20px; }
/* ADD TO CSS */

/* Terminal Font for Mockup */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

.terminal-content {
    font-family: 'JetBrains Mono', monospace;
    padding: 20px;
    text-align: left;
}

.cmd {
    font-size: 13px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.result-box {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: inset 0 0 10px var(--gold-glow);
}

/* CTA Subtitles */
.cta-subtitle {
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

.no-risk {
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.5;
}

/* Viral Leaderboard Row */
/* --- PREMIUM LEADERBOARD REFINEMENT --- */

.leaderboard-teaser.glass-panel {
    padding: 30px;
    margin: 0 auto;
    background: rgb(14 21 40 / 70%); /* Slightly darker for better text contrast */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 24px;
    position: relative;
    overflow: hidden; /* Keeps the fade effect contained */
    display: flex;
    flex-direction: column;
    bottom: 70px;
}

/* Scroll Container Control */
.leaderboard-scroll-area {
    height: 280px; /* Fixed height for the rows section */
    overflow-y: auto;
    padding-right: 8px;
    margin: 15px 0;
    
    /* Modern Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #00f2fe transparent;
    
    /* Creates a smooth fade out at top and bottom of the scroll list */
    mask-image: linear-gradient(to bottom, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(to bottom, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%
    );
}

/* Chrome/Safari Scrollbar styling */
.leaderboard-scroll-area::-webkit-scrollbar {
    width: 3px;
}
.leaderboard-scroll-area::-webkit-scrollbar-thumb {
    background: #00f2fe;
    border-radius: 10px;
}

/* The "Bottom Fade" to suggest more content */
.leaderboard-teaser::after {
    content: "";
    position: absolute;
    bottom: 0; /* Positioned above the share-prompt */
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, var(--bg-deep), transparent);
    pointer-events: none;
    z-index: 2;
}

.user-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.leaderboard-teaser h3 {
    text-align: center;
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: #fff;
}

.user-row:hover {
    background: rgba(0, 242, 254, 0.05);
    transform: translateX(5px);
}

.user-row span:first-child {
    font-weight: 500;
    font-size: 0.95rem;
    color: #fff;
}

.user-row .gold {
    color: var(--primary-cyan);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.9rem;
}

.share-prompt {
    text-align: center;
    margin-top: 10px;
    color: #94a3b8;
    font-size: 13px;
    z-index: 5;
}

.btn-sm {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 11px;
    cursor: pointer;
}

.share-prompt {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

/* Live Stats */
.live-stats {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.stat-item strong {
    display: block;
    color: var(--gold);
    font-size: 1.2rem;
}
.side-future {
    display: grid;
    justify-items: start;
    justify-content: end;
}
.side-obsolete {
    display: grid;
    justify-items: start;
    justify-content: start;
}
/* --- OFFER STRIP SECTION --- */
.offer-strip {
    padding: 80px 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.05) 0%, transparent 70%);
}

.offer-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 242, 254, 0.2); /* Matching your Roadmap Cyan */
    border-radius: 32px;
    padding: 60px;
    align-items: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

/* Sub-glow effect behind the card */
.offer-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: var(--primary-cyan, #00f2fe);
    filter: blur(120px);
    opacity: 0.1;
    z-index: -1;
}

/* --- LEFT SIDE: THE HOOK --- */
.offer-left h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
    margin: 15px 0;
    font-weight: 850;
    color: #fff;
}

.offer-badge {
    display: inline-block;
    background: rgba(0, 242, 254, 0.1);
    color: #00f2fe;
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.offer-left p {
    font-size: 1.1rem;
    color: var(--text-dim, #94a3b8);
    line-height: 1.6;
    max-width: 500px;
}

.offer-left strong {
    color: #fff;
    border-bottom: 2px solid #00f2fe;
}

/* --- RIGHT SIDE: THE ACTION --- */
.offer-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
    align-items: center;
}

.earning-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(0, 242, 254, 0.4);
    padding: 30px;
    border-radius: 20px;
    width: 100%;
}

.earning-box .label-1 {
    font-size: 13px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.earning-box h3 {
    font-size: 33px;
    color: #00f2fe;
    font-weight: 800;
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.earning-box span {
    font-size: 12px;
    color: #64748b;
}

/* CTA Styles */
.btn-submit-glow.large {
    padding: 20px 40px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    color: #000;
    border: none;
    border-radius: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.3);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-submit-glow.large:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 242, 254, 0.5);
}

.micro-note {
    font-size: 13px;
    color: #64748b;
    font-style: italic;
}
/* Layout Overrides */
.hero-split, .split-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
    width: 100%;
}
.hero-content,
.offer-left {
    width: 55%;
}
.hero-visual {
    width: 45%;
}

.hero-visual img {
    max-width: 100%;
    border-radius: 24px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.15);
}

/* AI Terminal Overlay on Image */
.mockup-frame {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.mockup-bg {
    width: 100%;
    filter: brightness(0.4) grayscale(0.2);
}

.terminal-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: left;
}

/* Comparison Images */
.comparison-img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.leaderboard-banner {
    position: relative;
    display: block;
    overflow: hidden;
    background-color: #050a18; /* Match your site's dark background color */
}

.leaderboard-banner img {
    width: 100%;
    display: block;
}

/* This creates the bottom shadow overlay */
.leaderboard-banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%; /* Adjust height to control how far up the shadow goes */
    background: linear-gradient(to bottom, rgba(5, 10, 24, 0) 0%, rgba(5, 10, 24, 1) 100%);
    pointer-events: none; /* Allows users to click through the shadow if needed */
}
/* Success Story Mini Box */
.success-story-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    margin-top: 25px;
}

.success-story-mini img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

/* Glass Panels */
.glass-panel.demo-container {
    position: relative;
    bottom: 70px;
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-split, .split-layout {
        flex-direction: column;
        text-align: center;
    }
}
/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .offer-card {
        grid-template-columns: 1fr;
        padding: 40px 25px;
        text-align: center;
    }
    
    .offer-left p {
        margin: 0 auto;
        font-size: 15px;
        text-align: justify;
    }
    
    .offer-left h2 {
        font-size: 20px;
    }
    .earning-box h3{
        font-size: 20px;
    }
    .btn-submit-glow.large{
        font-size: 12px;
    }
}
.login-popup {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    backdrop-filter: blur(12px);
    background: rgba(0,0,0,0.6);
    z-index:9999;
    display:flex;
    align-items:center;
    justify-content:center;
    pointer-events: all;
}

/* prevent scroll behind popup */
body.popup-open {
    overflow: hidden;
}
.india-map-bg {
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 700px; /* adjust */
    height: 700px;

    background: url('../images/bangal-map.png') no-repeat center;
    background-size: contain;

    opacity: 1; /* 🔥 subtle premium */
    z-index: 0;

    pointer-events: none;
}
.india-map-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0,255,255,0.1), transparent 70%);
}
/* RESPONSIVE */
@media (max-width: 992px) {
    .form-header h2{font-size: 1.5rem;}
    .truth-grid { grid-template-columns: 1fr; gap: 30px; }
    .vs-divider { margin: 10px 0; }
    .demo-container { grid-template-columns: 1fr; padding: 40px; }
    .btn-submit-glow{    font-size: 13px;}
    .text-gradient-1{font-size: 35px;}
    .result-box{font-size: 12px;}
    .mockup-frame::before{width: 90%;height: 90%;padding: 20px;}
    .side-obsolete h3, .side-future h3{font-size: 14px;}
    .truth-grid ul li{font-size: 13px;}
    .user-row{flex-direction: column;align-items: flex-start;gap: 10px;}
    .cta-card h2{font-size: 30px;}
    .side-future{display: block;}
    .hero-content, .offer-left,.hero-visual{width: 100%;}
    .success-story-mini p {margin: 0 auto;font-size: 15px;text-align: start;}
    .mockup-frame {height: 200px;}
    .leaderboard-teaser.glass-panel{    bottom: 20px;}
    .india-map-bg{width: 600px;height: 600px;}
}
