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

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

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --purple: #8b5cf6;
  --bg-dark: #0f0f23;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-bg-light: rgba(255, 255, 255, 0.95);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── GLASS ── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.glass-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
}

.glass-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
}
.glass-input::placeholder { color: rgba(255,255,255,0.4); }
.glass-input:focus {
  border-color: rgba(99, 102, 241, 0.7);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* ── DARK GRADIENT BG ── */
.bg-dark-gradient {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1040 40%, #0f1a40 100%);
  min-height: 100vh;
}

/* ── GLOW ORBS ── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
}
.orb-1 { width: 500px; height: 500px; background: #6366f1; top: -150px; right: -100px; }
.orb-2 { width: 400px; height: 400px; background: #8b5cf6; bottom: -100px; left: -100px; }
.orb-3 { width: 300px; height: 300px; background: #3b82f6; top: 40%; left: 40%; }

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.4);
  display: inline-block;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
}

.btn-glass {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-glass:hover { background: rgba(255,255,255,0.18); }

/* ── APP NAV (white pages) ── */
.app-nav {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  height: 60px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

/* ── LOGO ── */
.logo-text {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-decoration: none;
}

/* ── BADGES ── */
.badge-free {
  font-size: 11px;
  background: #f1f5f9;
  color: #64748b;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.badge-pro {
  font-size: 11px;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
}

/* ── ALERTS ── */
.alert-success {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}
.alert-error {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}

/* ── APP CARD ── */
.app-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.app-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 20px rgba(99,102,241,0.08);
}

/* ── APP INPUT ── */
.app-input {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  width: 100%;
  color: #1e293b;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.app-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.app-input::placeholder { color: #94a3b8; }

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c7d2fe; border-radius: 3px; }
