
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

:root {
  --accent:   #6366f1;
  --accent2:  #8b5cf6;
  --success:  #10b981;
  --danger:   #ef4444;
  --warn:     #f59e0b;
  --dark:     #0f172a;
  --card:     #1e293b;
  --border:   #e2e8f0;
  --text:     #1e293b;
  --muted:    #64748b;
  --light-bg: #f8fafc;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #fff;
  min-height: 100vh;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

.navbar {
  position: sticky; top: 0; z-index: 999;
  background: rgba(15,23,42,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
}

.navbar-brand {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px; font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.navbar-brand span { color: #e2e8f0; }

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

.nav-link {
  font-size: 13px; font-weight: 500;
  color: #94a3b8;
  padding: 6px 14px; border-radius: 8px;
  transition: all 0.2s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }

.btn-nav {
  font-size: 12px; font-weight: 700;
  color: #fff; background: var(--accent);
  padding: 7px 18px; border-radius: 8px;
  transition: all 0.2s; border: none; cursor: pointer;
}
.btn-nav:hover { background: var(--accent2); transform: translateY(-1px); }

.nav-user-badge {
  font-size: 12px; font-weight: 600;
  color: #86efac; background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  padding: 5px 12px; border-radius: 20px;
}

.navbar-toggle {
  display: none; background: none; border: none;
  color: #94a3b8; font-size: 22px; cursor: pointer;
}

.hero {
  background: linear-gradient(135deg, #0f172a 0%, #312e81 50%, #0f172a 100%);
  padding: 80px 40px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.3) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.35);
  border-radius: 20px; padding: 5px 16px;
  font-size: 12px; color: #a5b4fc;
  margin-bottom: 20px; position: relative;
}

.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800; color: #fff;
  letter-spacing: -1.5px; line-height: 1.1;
  margin-bottom: 16px; position: relative;
}
.hero-title span { color: #818cf8; }

.hero-sub {
  color: #94a3b8; font-size: 16px;
  max-width: 520px; margin: 0 auto 36px;
  position: relative;
}

.hero-btns {
  display: flex; gap: 14px; justify-content: center;
  flex-wrap: wrap; position: relative;
}

.btn-primary {
  background: var(--accent); color: #fff;
  padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 700;
  border: none; cursor: pointer;
  transition: all 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px);
                     box-shadow: 0 8px 24px rgba(99,102,241,0.4); }

.btn-secondary {
  background: transparent; color: #94a3b8;
  padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  border: 1.5px solid #475569; cursor: pointer;
  transition: all 0.2s; display: inline-block;
}
.btn-secondary:hover { color: #fff; border-color: #94a3b8; transform: translateY(-1px); }

.features {
  background: #fff; padding: 64px 40px;
}

.features-grid {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  border: 1.5px solid var(--border); border-radius: 16px;
  padding: 28px; text-align: center;
  transition: all 0.2s;
}
.feature-card:hover { border-color: var(--accent);
                       box-shadow: 0 8px 32px rgba(99,102,241,0.12); transform: translateY(-2px); }

.feature-icon { font-size: 40px; margin-bottom: 14px; }
.feature-title { font-weight: 700; color: var(--text); font-size: 15px; margin-bottom: 8px; }
.feature-sub { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── ALERT MESSAGES ──────────────────────────────────────── */
.alert {
  padding: 10px 14px; border-radius: 8px;
  font-size: 13px; margin-bottom: 16px;
  display: flex; align-items: flex-start; gap: 8px;
}
.alert-danger  { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.alert-info    { background: #eff6ff; border: 1px solid #93c5fd; color: #1e40af; }
.alert-warn    { background: #fffbeb; border: 1px solid #fde68a; color: #854d0e; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 32px 40px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer p { font-size: 13px; color: #475569; }
.footer span { color: var(--accent); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar { padding: 0 16px; }
  .navbar-links { display: none; flex-direction: column; gap: 4px;
                  position: absolute; top: 60px; left: 0; right: 0;
                  background: rgba(15,23,42,0.98);
                  padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .navbar-links.open { display: flex; }
  .navbar-toggle { display: block; }

  .hero { padding: 48px 20px; }
  .hero-title { font-size: 32px; }
  .features { padding: 40px 20px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 320px; text-align: center; }
}

@media (max-width: 480px) {
  .navbar-brand { font-size: 17px; }
  .hero-title { font-size: 26px; }
}
