/* ========================================
   FUZENTEQ - Premium Recharge Platform
   Design System & Global Styles
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ---- CSS Variables ---- */
:root {
    --primary: #4338ca;
    --primary-dark: #3730a3;
    --primary-light: #6366f1;
    --primary-50: #f5f3ff;
    --secondary: #0ea5e9;
    --secondary-dark: #0284c7;
    --accent: #f97316;
    --accent-light: #fb923c;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #facc15;
    --info: #0ea5e9;
    --dark: #0f172a;
    --dark-700: #1e293b;
    --dark-600: #334155;
    --dark-500: #475569;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #4338ca 0%, #7c3aed 50%, #0ea5e9 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(135deg, rgba(67,56,202,0.95) 0%, rgba(124,58,237,0.9) 40%, rgba(14,165,233,0.85) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(67,56,202,0.2);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.1s ease;
    --font-primary: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); outline: none; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-primary); font-weight: 700; line-height: 1.2; }
h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

.section-badge {
    display: inline-block;
    background: var(--primary-50);
    color: var(--primary);
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.top-bar {
    background: var(--dark);
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--gray-light);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a { color: var(--gray-light); }
.top-bar a:hover { color: var(--white); }
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-left svg { width: 14px; height: 14px; margin-right: 5px; vertical-align: middle; }

.navbar {
    background: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

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

.nav-links a {
    padding: 8px 16px;
    font-weight: 500;
    color: var(--dark-600);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
    background: var(--primary-50);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(79,70,229,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(79,70,229,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--dark);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-warning {
    background: var(--warning);
    color: white;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 5px;
}

.nav-toggle span {
    width: 24px; height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: var(--gradient-hero);
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-content h1 span {
    color: var(--accent-light);
}

.hero-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-buttons .btn {
    padding: 14px 32px;
}

.hero-buttons .btn-white {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
}

.hero-buttons .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.hero-buttons .btn-ghost {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
}

.hero-buttons .btn-ghost:hover {
    background: rgba(255,255,255,0.25);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.hero-stat h3 {
    color: var(--white);
    font-size: 2rem;
}

.hero-stat p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin: 0;
}

.hero-image {
    flex: 0.8;
    position: relative;
}

.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-xl);
    padding: 32px;
    color: var(--white);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.hero-card-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.hero-card-balance {
    text-align: center;
    margin-bottom: 28px;
}

.hero-card-balance p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.hero-card-balance h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-top: 4px;
}

.hero-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.hero-quick-action {
    text-align: center;
    padding: 16px 8px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.hero-quick-action:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}

.hero-quick-action .icon {
    width: 44px; height: 44px;
    margin: 0 auto 8px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}

.hero-quick-action span {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

/* ========================================
   SERVICE BAR (Quick Services)
   ======================================== */
.service-bar {
    background: var(--white);
    padding: 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.service-bar-inner {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    overflow-x: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.service-bar-inner::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.service-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 80px;
    padding: 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.service-bar-item:hover {
    background: var(--primary-50);
    transform: translateY(-3px);
}

.service-bar-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.service-bar-icon.mobile { background: #ede9fe; color: #7c3aed; }
.service-bar-icon.dth { background: #dbeafe; color: #3b82f6; }
.service-bar-icon.electric { background: #fef3c7; color: #d97706; }
.service-bar-icon.gas { background: #fce7f3; color: #db2777; }
.service-bar-icon.tv { background: #e0e7ff; color: #4f46e5; }
.service-bar-icon.internet { background: #ccfbf1; color: #0d9488; }
.service-bar-icon.water { background: #dbeafe; color: #2563eb; }
.service-bar-icon.shopping { background: #fef3c7; color: #ea580c; }
.service-bar-icon.airtime { background: #dcfce7; color: #16a34a; }
.service-bar-icon.loan { background: #fae8ff; color: #a855f7; }
.service-bar-icon.salary { background: #e0f2fe; color: #0284c7; }
.service-bar-icon.more { background: var(--gray-100); color: var(--gray); }

.service-bar-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-600);
    white-space: nowrap;
}

/* ========================================
   SECTIONS (Services, Features, Stats)
   ======================================== */
.section {
    padding: 80px 0;
}

.section-light { background: var(--white); }
.section-gray { background: var(--gray-100); }
.section-dark {
    background: var(--gradient-dark);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

/* What We Do - Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card-icon {
    width: 68px; height: 68px;
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-card-icon {
    transform: scale(1.1);
}

.service-card h4 {
    margin-bottom: 10px;
    color: var(--dark);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

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

.feature-icon {
    width: 60px; height: 60px;
    min-width: 60px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}

.feature-card h4 { margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--gray); }

/* Stats */
.stats-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
}

.stat-item .stat-icon {
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 16px;
    color: white;
    backdrop-filter: blur(8px);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-item p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* Partners */
.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.partner-logo {
    width: 120px; height: 60px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    padding: 12px;
    transition: var(--transition);
    font-weight: 700;
    color: var(--gray);
    font-size: 0.85rem;
    border: 1px solid var(--gray-200);
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-dark);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(79,70,229,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.cta-section p {
    color: var(--gray-light);
    font-size: 1.1rem;
    margin-bottom: 32px;
    position: relative;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    background: var(--dark-700);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-light);
    transition: var(--transition);
}

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

.footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul a {
    color: var(--gray-light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer ul a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--dark-700);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ========================================
   AUTH PAGES (Login/Register)
   ======================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
}

.auth-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--white);
}

.auth-form-wrapper {
    width: 100%;
    max-width: 440px;
}

.auth-form-wrapper .logo {
    margin-bottom: 32px;
}

.auth-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.auth-form-wrapper .subtitle {
    color: var(--gray);
    margin-bottom: 32px;
}

.auth-right {
    flex: 1;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.auth-right::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: -100px; right: -100px;
    border-radius: 50%;
}

.auth-right-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.auth-right-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.auth-right-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 400px;
}

.auth-illustration {
    margin-top: 32px;
}

.auth-illustration .wallet-preview {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-xl);
    padding: 28px;
    max-width: 320px;
    margin: 0 auto;
    text-align: left;
}

.auth-illustration .wallet-preview .balance-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.auth-illustration .wallet-preview .balance-amount {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 4px 0 16px;
}

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

.wallet-mini-services div {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 10px 6px;
    text-align: center;
    font-size: 0.7rem;
}

.wallet-mini-services div span {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79,70,229,0.1);
}

.form-control::placeholder {
    color: var(--gray-light);
}

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

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.form-footer a {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-footer a:hover {
    text-decoration: underline;
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--gray-light);
    font-size: 0.85rem;
}

.form-divider::before, .form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.alert-warning {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.alert-info {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

/* ========================================
   DASHBOARD
   ======================================== */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background: var(--gray-100);
}

.dashboard-sidebar {
    width: 260px;
    background: var(--dark);
    color: var(--white);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    overflow-y: auto;
    transition: var(--transition);
}

.sidebar-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--dark-700);
}

.sidebar-user {
    padding: 20px 24px;
    border-bottom: 1px solid var(--dark-700);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-avatar {
    width: 42px; height: 42px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

.sidebar-user-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.sidebar-user-info p {
    font-size: 0.75rem;
    color: var(--gray-light);
}

.sidebar-nav {
    padding: 16px 0;
}

.sidebar-nav-label {
    padding: 8px 24px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray);
    font-weight: 600;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--gray-light);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background: var(--dark-700);
    color: var(--white);
    border-left-color: var(--primary-light);
}

.sidebar-nav a .nav-icon {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.dashboard-main {
    flex: 1;
    margin-left: 260px;
    padding: 0;
}

.dashboard-topbar {
    background: var(--white);
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
}

.dashboard-topbar h3 {
    font-size: 1.2rem;
    color: var(--dark);
}

.dashboard-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dashboard-content {
    padding: 32px;
}

/* Wallet Card */
.wallet-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 32px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
}

.wallet-card::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.wallet-card::after {
    content: '';
    position: absolute;
    bottom: -30px; left: 30%;
    width: 150px; height: 150px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.wallet-card-content {
    position: relative;
    z-index: 2;
}

.wallet-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wallet-card-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.wallet-card-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
}

.wallet-balance {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.wallet-balance-sub {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.wallet-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.wallet-actions .btn {
    background: rgba(255,255,255,0.2);
    color: white;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
}

.wallet-actions .btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Dashboard Cards Grid */
.dash-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.dash-stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.dash-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.dash-stat-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}

.dash-stat-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

.dash-stat-info p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Quick Services Grid */
.services-dash-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.service-dash-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    display: block;
}

.service-dash-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.service-dash-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 12px;
}

.service-dash-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.service-dash-card p {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 4px;
}

/* Table Styles */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 1.1rem;
}

.card-body {
    padding: 24px;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray);
    font-weight: 600;
    border-bottom: 2px solid var(--gray-200);
}

table td {
    padding: 14px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}

table tr:hover td {
    background: var(--gray-100);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success { background: #dcfce7; color: #15803d; }
.badge-danger { background: #fef2f2; color: #b91c1c; }
.badge-warning { background: #fffbeb; color: #92400e; }
.badge-info { background: #dbeafe; color: #1e40af; }
.badge-primary { background: var(--primary-50); color: var(--primary); }

/* ========================================
   RECHARGE FORM
   ======================================== */
.recharge-wrapper {
    max-width: 600px;
}

.recharge-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-200);
}

.recharge-form-card h3 {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.trouble-message {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border: 2px solid #fde68a;
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    margin-top: 24px;
    animation: fadeInUp 0.5s ease;
}

.trouble-message .trouble-icon {
    width: 64px; height: 64px;
    background: #fde68a;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
}

.trouble-message h3 {
    color: #92400e;
    margin-bottom: 8px;
    justify-content: center;
}

.trouble-message p {
    color: #b45309;
    font-size: 0.95rem;
}

.trouble-message .trouble-details {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(180,83,9,0.2);
    font-size: 0.85rem;
    color: #92400e;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    margin-bottom: 16px;
}

.contact-info-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-50);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    min-width: 48px;
}

/* ========================================
   404 PAGE
   ======================================== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gray-100);
}

.error-page h1 {
    font-size: 8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.error-page p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeIn { animation: fadeIn 0.5s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero-content p { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image { max-width: 420px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .auth-right { display: none; }
    .dashboard-sidebar { transform: translateX(-100%); }
    .dashboard-sidebar.open { transform: translateX(0); }
    .dashboard-main { margin-left: 0; }
    .services-dash-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .section { padding: 48px 0; }
    .top-bar { display: none; }
    .nav-links { 
        display: none;
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .nav-auth { display: none; }
    .service-bar-inner { padding: 20px; gap: 12px; }
    .services-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .dash-grid { grid-template-columns: 1fr; }
    .services-dash-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero-content h1 { font-size: 2rem; }
    .dashboard-content { padding: 16px; }
    .wallet-balance { font-size: 2.2rem; }
}

/* ========================================
   MISC / UTILITY
   ======================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-2 { gap: 16px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* Checkbox */
.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--primary);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 48px 16px;
    color: var(--gray);
}

.empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.empty-state h4 {
    margin-bottom: 8px;
    color: var(--dark-600);
}

/* Sidebar toggle for mobile */
.sidebar-toggle {
    display: none;
    background: none;
    font-size: 1.3rem;
    color: var(--dark);
    padding: 4px;
}

@media (max-width: 1024px) {
    .sidebar-toggle { display: block; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-light); }

/* Selection */
::selection {
    background: var(--primary);
    color: var(--white);
}
