:root {
    --primary: #3b82f6;
    --secondary: #8b5cf6;
    --bg-dark: #020617;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-glass: rgba(255, 255, 255, 0.08);
    --gradient-text: linear-gradient(to right, #60a5fa, #c084fc);
    --gradient-btn: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --success: #10b981;
    --warning: #f59e0b;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; font-family: 'Inter', sans-serif; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* UTILITIES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* COMPONENTS */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-2px); }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; background: var(--gradient-btn);
    color: white; border-radius: 12px; font-weight: 600;
    cursor: pointer; border: none; transition: 0.3s;
    box-shadow: 0 4px 20px -5px rgba(59, 130, 246, 0.5);
    font-family: 'Outfit', sans-serif;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px -5px rgba(139, 92, 246, 0.6); }
.btn-outline { background: transparent; border: 1px solid var(--border-glass); box-shadow: none; color: var(--text-main); }
.btn-outline:hover { background: var(--bg-card); border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; border-radius: 8px; }
.btn-app { background: rgba(16, 185, 129, 0.1); border: 1px solid var(--success); color: var(--success); }
.btn-app:hover { background: var(--success); color: white; }

/* HEADER */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 0; background: rgba(2, 6, 23, 0.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-glass); }
.logo { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: -1px; }
.nav-menu { display: flex; gap: 32px; align-items: center; }
.nav-link { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.nav-link:hover { color: white; }
.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; }

/* HERO */
.hero { padding: 180px 0 100px; text-align: center; }
.hero h1 { font-family: 'Outfit', sans-serif; font-size: 4rem; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1.5px; }
.hero p { font-size: 1.25rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px; }
.hero-actions { display: flex; justify-content: center; gap: 20px; }

/* FORMS */
.form-wrapper { max-width: 440px; margin: 140px auto; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-label { display: block; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px; }
.form-input { width: 100%; padding: 14px 16px; background: rgba(0,0,0,0.3); border: 1px solid var(--border-glass); border-radius: 12px; color: white; font-size: 1rem; transition: 0.3s; }
.form-input:focus { outline: none; border-color: var(--primary); }

/* DASHBOARD */
.dashboard-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; margin-top: 120px; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.stat-big { font-size: 3rem; font-weight: 800; font-family: 'Outfit'; line-height: 1; margin: 10px 0; }
.badge { padding: 6px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.badge-pending { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.badge-verified { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.progress-track { background: rgba(255,255,255,0.1); height: 6px; border-radius: 10px; overflow: hidden; margin-top: 15px; }
.progress-fill { height: 100%; background: var(--gradient-btn); width: 0%; transition: width 1s ease-out; }

/* TOAST */
#toast-container { position: fixed; bottom: 30px; right: 30px; z-index: 2000; }
.toast { background: var(--bg-card); backdrop-filter: blur(12px); border-left: 4px solid var(--primary); padding: 20px 30px; margin-top: 15px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); animation: slideIn 0.4s ease-out; color: white; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-dark); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border-glass); }
    .nav-menu.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero-actions { flex-direction: column; }
    .dashboard-layout { grid-template-columns: 1fr; }
}