.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-4) 0;
    background: rgba(224, 229, 236, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: var(--space-2) 0;
    box-shadow: 0 4px 30px rgba(163, 177, 198, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--neu-shadow-sm);
}

.nav-brand-icon svg {
    color: white;
    width: 24px;
    height: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.nav-link {
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.nav-link:hover {
    color: var(--accent-primary);
    background: rgba(108, 92, 231, 0.08);
}

.nav-link.active {
    color: var(--accent-primary);
    background: var(--bg-primary);
    box-shadow: var(--neu-shadow-xs);
}

.nav-cta {
    padding: var(--space-2) var(--space-6);
    border-radius: var(--radius-lg);
    background: var(--accent-gradient);
    color: white !important;
    font-weight: 600;
    font-size: var(--text-sm);
    box-shadow: var(--neu-shadow-accent);
}

.nav-cta:hover {
    box-shadow: var(--neu-shadow-md);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--space-2);
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    box-shadow: var(--neu-shadow-xs);
    border: none;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: var(--space-4);
        right: var(--space-4);
        flex-direction: column;
        background: var(--bg-primary);
        border-radius: var(--radius-xl);
        box-shadow: var(--neu-shadow-lg);
        padding: var(--space-6);
        gap: var(--space-3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all var(--transition-base);
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(var(--space-2));
    }

    .nav-link, .nav-cta {
        width: 100%;
        justify-content: center;
    }
}


.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: var(--space-16) 0 var(--space-8);
    margin-top: var(--space-20);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    line-height: 1.8;
    max-width: 320px;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-6);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--text-sm);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-base);
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: var(--radius-full);
    background: var(--accent-gradient);
    opacity: 0.06;
    filter: blur(60px);
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: var(--accent-gradient-vivid);
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #00cec9, #74b9ff);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: var(--bg-primary);
    border-radius: var(--radius-full);
    box-shadow: var(--neu-shadow-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: var(--space-8);
}

.hero-tag .dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: var(--text-6xl);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: var(--space-10);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-10);
    margin-top: var(--space-12);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-1);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card-stack {
    position: relative;
    width: 380px;
    height: 460px;
}

.hero-card-stack .tutor-card-preview {
    position: absolute;
    width: 340px;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--neu-shadow-lg);
}

.hero-card-stack .tutor-card-preview:nth-child(1) {
    top: 0;
    left: 0;
    z-index: 3;
    transform: rotate(-3deg);
}

.hero-card-stack .tutor-card-preview:nth-child(2) {
    top: 30px;
    left: 30px;
    z-index: 2;
    transform: rotate(2deg);
    opacity: 0.7;
}

.hero-card-stack .tutor-card-preview:nth-child(3) {
    top: 60px;
    left: 60px;
    z-index: 1;
    transform: rotate(5deg);
    opacity: 0.4;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text { max-width: 100%; }
    .hero-subtitle { margin: 0 auto var(--space-10); }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .hero h1 { font-size: var(--text-4xl); }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--neu-shadow);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    box-shadow: var(--neu-shadow-xl);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    box-shadow: var(--neu-shadow-accent);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.feature-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.feature-card p {
    font-size: var(--text-sm);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.tutor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-8);
}

.tutor-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--neu-shadow);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.tutor-card:hover {
    box-shadow: var(--neu-shadow-xl);
    transform: translateY(-4px);
}

.tutor-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.tutor-card-avatar {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--text-2xl);
    font-weight: 800;
    font-family: var(--font-display);
    box-shadow: var(--neu-shadow-sm);
    flex-shrink: 0;
    overflow: hidden;
}

.tutor-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tutor-card-info h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-1);
}

.tutor-card-method {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-xs);
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tutor-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.tutor-card-tag {
    padding: var(--space-1) var(--space-3);
    background: var(--bg-primary);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: var(--neu-shadow-xs);
}

.tutor-card-bio {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tutor-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(163, 177, 198, 0.2);
}

.tutor-card-price {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tutor-card-price small {
    font-size: var(--text-sm);
    font-weight: 500;
    -webkit-text-fill-color: var(--text-muted);
}

.directory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}

.directory-header h1 {
    font-size: var(--text-3xl);
}

.directory-search {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.directory-search input {
    width: 100%;
    padding: var(--space-3) var(--space-6) var(--space-3) var(--space-12);
    border: none;
    border-radius: var(--radius-full);
    background: var(--bg-primary);
    box-shadow: var(--neu-inset-sm);
    font-size: var(--text-sm);
    outline: none;
    transition: all var(--transition-base);
}

.directory-search input:focus {
    box-shadow: var(--neu-inset), 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.directory-search .search-icon {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.filter-bar {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--neu-shadow-sm);
    margin-bottom: var(--space-8);
}

.filter-row {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: none;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    box-shadow: var(--neu-inset-xs);
    font-size: var(--text-sm);
    outline: none;
    color: var(--text-primary);
}

.filter-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23636e72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-3) center;
    padding-right: var(--space-10);
}

.results-count {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

.results-count strong {
    color: var(--accent-primary);
    font-weight: 700;
}

/* ════════════════════════════════════════════
   AUTH PAGES (Login/Register/OTP)
   ════════════════════════════════════════════ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px var(--space-6) var(--space-10);
}

.auth-container {
    width: 100%;
    max-width: 480px;
}

.auth-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    box-shadow: var(--neu-shadow-lg);
}

.auth-logo {
    text-align: center;
    margin-bottom: var(--space-10);
}

.auth-logo-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    background: var(--accent-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--neu-shadow-accent);
    margin-bottom: var(--space-4);
}

.auth-logo-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.auth-logo h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.auth-logo p {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin: var(--space-8) 0;
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--shadow-dark);
    opacity: 0.3;
}

.auth-footer {
    text-align: center;
    margin-top: var(--space-8);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.auth-footer a {
    font-weight: 600;
}

/* Google Auth Button */
.google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-4);
    border: none;
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    box-shadow: var(--neu-shadow-sm);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.google-btn:hover {
    box-shadow: var(--neu-shadow);
    transform: translateY(-1px);
}

.google-btn img {
    width: 24px;
    height: 24px;
}

/* OTP Input Styles */
.otp-inputs {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    margin: var(--space-8) 0;
}

.otp-input {
    width: 56px;
    height: 64px;
    text-align: center;
    font-size: var(--text-2xl);
    font-weight: 700;
    font-family: var(--font-display);
    border: none;
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    box-shadow: var(--neu-inset-sm);
    outline: none;
    color: var(--accent-primary);
    transition: all var(--transition-base);
}

.otp-input:focus {
    box-shadow: var(--neu-inset), 0 0 0 3px rgba(108, 92, 231, 0.2);
}

/* Role Selection Cards */
.role-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin: var(--space-6) 0;
}

.role-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--neu-shadow-sm);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 3px solid transparent;
}

.role-card:hover {
    box-shadow: var(--neu-shadow);
    transform: translateY(-2px);
}

.role-card.selected {
    border-color: var(--accent-primary);
    box-shadow: var(--neu-shadow-accent);
}

.role-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--accent-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.role-card-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.role-card h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.role-card p {
    font-size: var(--text-xs);
    margin: 0;
}

/* ════════════════════════════════════════════
   ONBOARDING STEPS
   ════════════════════════════════════════════ */
.onboarding-page {
    min-height: 100vh;
    padding: 100px var(--space-6) var(--space-10);
}

.onboarding-container {
    max-width: 640px;
    margin: 0 auto;
}

.onboarding-progress {
    margin-bottom: var(--space-10);
}

.steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-4);
    position: relative;
}

.steps-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bg-primary);
    box-shadow: var(--neu-inset-xs);
    transform: translateY(-50%);
    z-index: 0;
}

.step-dot {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-primary);
    box-shadow: var(--neu-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-muted);
    z-index: 1;
    transition: all var(--transition-base);
}

.step-dot.active {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--neu-shadow-accent);
}

.step-dot.completed {
    background: var(--success);
    color: white;
    box-shadow: 4px 4px 8px rgba(0, 184, 148, 0.3), -4px -4px 8px var(--shadow-light);
}

.onboarding-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    box-shadow: var(--neu-shadow-lg);
}

.onboarding-card h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.onboarding-card .step-subtitle {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-8);
}

.onboarding-actions {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-10);
    gap: var(--space-4);
}

/* ════════════════════════════════════════════
   DASHBOARD / ANALYTICS
   ════════════════════════════════════════════ */
.dashboard-page {
    padding: 100px var(--space-6) var(--space-10);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-10);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--neu-shadow);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: var(--radius-full);
}

.stat-card:nth-child(1)::before { background: var(--accent-primary); }
.stat-card:nth-child(2)::before { background: var(--success); }
.stat-card:nth-child(3)::before { background: var(--info-dark); }
.stat-card:nth-child(4)::before { background: var(--warning-dark); }

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    box-shadow: var(--neu-shadow-sm);
}

.stat-card:nth-child(1) .stat-card-icon { background: rgba(108, 92, 231, 0.12); color: var(--accent-primary); }
.stat-card:nth-child(2) .stat-card-icon { background: rgba(0, 184, 148, 0.12); color: var(--success); }
.stat-card:nth-child(3) .stat-card-icon { background: rgba(9, 132, 227, 0.12); color: var(--info-dark); }
.stat-card:nth-child(4) .stat-card-icon { background: rgba(225, 112, 85, 0.12); color: var(--warning-dark); }

.stat-card h3 {
    font-size: var(--text-3xl);
    font-weight: 800;
    margin-bottom: var(--space-1);
}

.stat-card p {
    font-size: var(--text-sm);
    margin: 0;
}

.chart-container {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--neu-shadow);
    margin-bottom: var(--space-8);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
}

.chart-header h3 {
    font-size: var(--text-lg);
}

.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-8);
}

@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .charts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   PAYMENT/CHECKOUT
   ════════════════════════════════════════════ */
.checkout-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px var(--space-6) var(--space-10);
}

.checkout-card {
    max-width: 520px;
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    box-shadow: var(--neu-shadow-xl);
    text-align: center;
}

.checkout-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: var(--accent-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    box-shadow: var(--neu-shadow-accent);
}

.checkout-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.checkout-amount {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: var(--space-6) 0;
}

.checkout-details {
    text-align: left;
    margin: var(--space-8) 0;
}

.checkout-detail-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(163, 177, 198, 0.2);
    font-size: var(--text-sm);
}

.checkout-detail-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: var(--text-base);
    color: var(--text-primary);
}

/* Success Page */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-10);
}

.success-card {
    max-width: 520px;
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    box-shadow: var(--neu-shadow-xl);
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    background: var(--success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-8);
    box-shadow: var(--neu-shadow-success);
    animation: successPop 0.6s var(--transition-spring);
}

@keyframes successPop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.success-icon svg {
    width: 48px;
    height: 48px;
    color: white;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-main);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--transition-smooth), visibility 0.6s;
}

.preloader-spinner {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--bg-main);
    box-shadow: var(--neu-shadow-inset);
    position: relative;
    animation: pulseLoader 1.5s infinite ease-in-out;
}

.preloader-spinner::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--accent-gradient);
    box-shadow: var(--neu-shadow-sm);
}

@keyframes pulseLoader {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.1); box-shadow: var(--neu-shadow-md); }
    100% { transform: scale(0.8); }
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
/ * 
 
 P r e l o a d e r 
 
 * / 
 
 / * 
 
 T h e m e 
 
 T o g g l e 
 
 * / 
 
 / * 
 
 F l o a t i n g 
 
 B a c k 
 
 B u t t o n 
 
 * / 
 
 
