/* =============================================
   NOM CREDITS — Global Styles
   Dark neon premium SaaS aesthetic
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* === TOKENS === */
:root {
  --bg-0: #050508;
  --bg-1: #0a0a12;
  --bg-2: #0f0f1a;
  --bg-3: #141428;

  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --glass-hover: rgba(255,255,255,0.07);

  --neon-pink: #f037a5;
  --neon-purple: #7c3aed;
  --neon-blue: #2563eb;
  --neon-cyan: #06b6d4;

  --grad-primary: linear-gradient(135deg, #f037a5 0%, #7c3aed 50%, #2563eb 100%);
  --grad-glow: linear-gradient(135deg, rgba(240,55,165,0.15), rgba(124,58,237,0.15), rgba(37,99,235,0.15));
  --grad-text: linear-gradient(90deg, #f037a5, #a855f7, #60a5fa);

  --text-0: #ffffff;
  --text-1: rgba(255,255,255,0.75);
  --text-2: rgba(255,255,255,0.45);
  --text-3: rgba(255,255,255,0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-glow: 0 0 40px rgba(124,58,237,0.3);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-btn: 0 4px 20px rgba(240,55,165,0.4);

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* === NOISE TEXTURE OVERLAY === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--neon-purple); border-radius: 3px; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; color: var(--text-0); line-height: 1.15; }

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

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}

.btn:hover::after { background: rgba(255,255,255,0.08); }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(240,55,165,0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--glass);
  color: var(--text-1);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--glass-hover);
  border-color: rgba(255,255,255,0.15);
  color: var(--text-0);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-0);
  border: 1px solid var(--glass-border);
}
.btn-outline:hover {
  border-color: var(--neon-purple);
  background: rgba(124,58,237,0.1);
  transform: translateY(-1px);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }
.btn-icon { padding: 12px; border-radius: 50%; width: 44px; height: 44px; justify-content: center; }

/* Loading state */
.btn.loading { pointer-events: none; opacity: 0.7; }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(20px);
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(124,58,237,0.35);
  background: var(--glass-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.card-glow {
  position: relative;
  overflow: hidden;
}

.card-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--grad-primary);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.card-glow:hover::before { opacity: 0.5; }

/* =============================================
   BADGES
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-purple { background: rgba(124,58,237,0.2); color: #a78bfa; border: 1px solid rgba(124,58,237,0.3); }
.badge-pink { background: rgba(240,55,165,0.15); color: #f472b6; border: 1px solid rgba(240,55,165,0.25); }
.badge-green { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.25); }
.badge-blue { background: rgba(37,99,235,0.15); color: #60a5fa; border: 1px solid rgba(37,99,235,0.25); }

/* =============================================
   HEADER
   ============================================= */
#header-container {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 68px;
  background: rgba(5,5,8,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(5,5,8,0.95);
  border-bottom-color: rgba(124,58,237,0.2);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-0);
}

.header-logo .logo-icon {
  width: 34px; height: 34px;
  background: var(--grad-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 16px rgba(240,55,165,0.4);
}

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

.header-nav { display: flex; align-items: center; gap: 4px; }

.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover { color: var(--text-0); background: var(--glass); }
.nav-link.active { color: var(--text-0); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-1); border-radius: 2px; transition: var(--transition); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 68px 0 0;
  background: rgba(5,5,8,0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
  border-top: 1px solid var(--glass-border);
}

.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { padding: 14px 20px; font-size: 1rem; border-radius: var(--radius-md); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 32px;
  background: var(--bg-1);
}

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

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-0);
  text-decoration: none;
  margin-bottom: 14px;
}

.footer-brand .footer-logo .logo-icon {
  width: 30px; height: 30px;
  background: var(--grad-primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}

.footer-tagline { font-size: 0.88rem; color: var(--text-2); line-height: 1.7; max-width: 260px; }

.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-2); margin-bottom: 16px; }

.footer-col a {
  display: block;
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--text-0); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.82rem;
  color: var(--text-3);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, #7c3aed, transparent); top: -100px; right: -100px; animation: float1 8s ease-in-out infinite; }
.hero-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #f037a5, transparent); bottom: -50px; left: -50px; animation: float2 10s ease-in-out infinite; }
.hero-orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, #2563eb, transparent); top: 40%; left: 40%; animation: float1 12s ease-in-out infinite reverse; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(124,58,237,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(124,58,237,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: 40px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  font-size: 0.8rem;
  font-weight: 600;
  color: #a78bfa;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--neon-purple);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--neon-purple);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-0);
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 300;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--glass-border);
  animation: fadeUp 0.8s 0.6s ease both;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label { font-size: 0.82rem; color: var(--text-2); }

/* Hero floating card (right side on desktop) */
.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  z-index: 1;
  animation: fadeLeft 1s 0.3s ease both;
}

.hero-card-float {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.hero-card-float::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-primary);
}

.wallet-preview {
  margin-bottom: 20px;
}

.wallet-preview-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2); margin-bottom: 8px; font-weight: 600; }

.wallet-preview-balance {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.wallet-preview-sub { font-size: 0.82rem; color: var(--text-2); margin-top: 6px; }

.tx-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

.tx-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  font-size: 0.85rem;
}

.tx-item-left { display: flex; align-items: center; gap: 12px; }

.tx-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

.tx-icon-green { background: rgba(16,185,129,0.15); }
.tx-icon-purple { background: rgba(124,58,237,0.15); }
.tx-icon-pink { background: rgba(240,55,165,0.15); }

.tx-name { color: var(--text-1); font-weight: 500; }
.tx-date { font-size: 0.75rem; color: var(--text-3); }
.tx-amount { font-weight: 700; font-family: var(--font-display); }
.tx-amount.positive { color: #34d399; }
.tx-amount.negative { color: #f87171; }

/* =============================================
   FEATURES SECTION
   ============================================= */
.features-header { text-align: center; max-width: 560px; margin: 0 auto 64px; }

.section-eyebrow {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 100px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  font-size: 0.75rem;
  font-weight: 700;
  color: #a78bfa;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }

.section-subtitle { font-size: 1rem; color: var(--text-2); line-height: 1.75; }

.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover { border-color: rgba(124,58,237,0.3); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
}

.feature-icon-1 { background: rgba(240,55,165,0.15); box-shadow: 0 0 20px rgba(240,55,165,0.2); }
.feature-icon-2 { background: rgba(124,58,237,0.15); box-shadow: 0 0 20px rgba(124,58,237,0.2); }
.feature-icon-3 { background: rgba(37,99,235,0.15); box-shadow: 0 0 20px rgba(37,99,235,0.2); }
.feature-icon-4 { background: rgba(6,182,212,0.15); box-shadow: 0 0 20px rgba(6,182,212,0.2); }
.feature-icon-5 { background: rgba(16,185,129,0.15); box-shadow: 0 0 20px rgba(16,185,129,0.2); }
.feature-icon-6 { background: rgba(251,191,36,0.15); box-shadow: 0 0 20px rgba(251,191,36,0.2); }

.feature-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text-0); }
.feature-desc { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-section { background: var(--bg-1); }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--glass-border); border-radius: var(--radius-xl); overflow: hidden; }

.step {
  background: var(--bg-1);
  padding: 40px 28px;
  position: relative;
  transition: var(--transition);
}

.step:hover { background: var(--glass); }

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 20px;
}

.step-title { font-size: 1rem; font-weight: 700; color: var(--text-0); margin-bottom: 8px; }
.step-desc { font-size: 0.88rem; color: var(--text-2); line-height: 1.65; }

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  text-align: center;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}

.cta-orb-1 { width: 400px; height: 400px; background: var(--neon-purple); top: -100px; left: 50%; transform: translateX(-50%); }

.cta-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-subtitle { font-size: 1.05rem; color: var(--text-2); margin-bottom: 36px; }

/* =============================================
   DASHBOARD
   ============================================= */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 68px);
  margin-top: 68px;
}

.sidebar {
  background: var(--bg-1);
  border-right: 1px solid var(--glass-border);
  padding: 32px 20px;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
}

.sidebar-section { margin-bottom: 32px; }
.sidebar-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); padding: 0 12px; margin-bottom: 8px; }

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}

.sidebar-link:hover { background: var(--glass); color: var(--text-0); }
.sidebar-link.active { background: rgba(124,58,237,0.15); color: var(--text-0); border: 1px solid rgba(124,58,237,0.2); }
.sidebar-link .icon { font-size: 1.1rem; width: 20px; text-align: center; }

.main-content { padding: 40px; overflow-y: auto; }

.page-header { margin-bottom: 36px; }
.page-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 6px; }
.page-subtitle { color: var(--text-2); font-size: 0.9rem; }

/* Balance Card */
.balance-card {
  background: var(--bg-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
}

.balance-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
}

.balance-card-bg {
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(124,58,237,0.15), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.balance-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2); font-weight: 600; margin-bottom: 10px; }

.balance-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.balance-currency { font-size: 1rem; font-weight: 500; color: var(--text-2); margin-bottom: 20px; }

.balance-meta { display: flex; gap: 24px; }
.balance-meta-item { }
.balance-meta-label { font-size: 0.75rem; color: var(--text-3); margin-bottom: 2px; }
.balance-meta-value { font-size: 0.9rem; color: var(--text-1); font-weight: 500; }

/* Stats Row */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }

.stat-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.stat-card:hover { border-color: rgba(124,58,237,0.3); transform: translateY(-2px); }

.stat-card-icon { font-size: 1.4rem; margin-bottom: 12px; }
.stat-card-value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--text-0); margin-bottom: 4px; }
.stat-card-label { font-size: 0.8rem; color: var(--text-2); }

/* Transactions Table */
.transactions-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 0 28px 8px;
}

.transactions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 18px;
  border-bottom: 1px solid var(--glass-border);
}

.transactions-header h3 { font-size: 1rem; font-weight: 700; }

.tx-table-row {
  display: flex;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
}

.tx-table-row:last-child { border-bottom: none; }
.tx-table-row:hover { background: rgba(255,255,255,0.02); }

.tx-table-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-right: 16px;
  flex-shrink: 0;
}

.tx-table-info { flex: 1; }
.tx-table-name { font-size: 0.9rem; font-weight: 600; color: var(--text-0); margin-bottom: 2px; }
.tx-table-date { font-size: 0.78rem; color: var(--text-3); }
.tx-table-amount { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.tx-table-amount.credit { color: #34d399; }
.tx-table-amount.debit { color: #f87171; }

/* User Info Card */
.user-info-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.user-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  font-family: var(--font-display);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(124,58,237,0.4);
}

.user-info-name { font-size: 1.1rem; font-weight: 700; color: var(--text-0); margin-bottom: 4px; }
.user-info-email { font-size: 0.85rem; color: var(--text-2); margin-bottom: 10px; }

/* =============================================
   EVENTS PAGE
   ============================================= */
.events-hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.events-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.12), transparent);
}

.event-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }

.event-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(124,58,237,0.35); }

.event-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.event-card-image-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.event-image-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.6;
}

.event-card-body { padding: 24px; }

.event-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-2);
  margin-bottom: 8px;
  font-weight: 500;
}

.event-card-name { font-size: 1.2rem; font-weight: 700; color: var(--text-0); margin-bottom: 10px; }
.event-card-desc { font-size: 0.88rem; color: var(--text-2); line-height: 1.65; margin-bottom: 18px; }

.event-card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.event-meta-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-2);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-2);
  font-weight: 500;
  border: 1px solid var(--glass-border);
}

.event-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--glass-border);
}

.event-credits-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #a78bfa;
}

/* =============================================
   LOGIN PAGE
   ============================================= */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.login-bg-orb-1 { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(124,58,237,0.2), transparent); top: -100px; right: -100px; border-radius: 50%; filter: blur(80px); }
.login-bg-orb-2 { position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(240,55,165,0.15), transparent); bottom: -50px; left: -50px; border-radius: 50%; filter: blur(60px); }

.login-card {
  background: var(--bg-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-0);
  text-decoration: none;
  margin-bottom: 32px;
}

.login-logo .logo-icon {
  width: 40px; height: 40px;
  background: var(--grad-primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(240,55,165,0.4);
}

.login-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.login-subtitle { font-size: 0.9rem; color: var(--text-2); margin-bottom: 32px; line-height: 1.65; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-1); margin-bottom: 8px; letter-spacing: 0.02em; }

.form-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-0);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--neon-purple);
  background: rgba(124,58,237,0.06);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}

.form-input::placeholder { color: var(--text-3); }

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

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

.google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-1);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.google-btn:hover { background: var(--glass-hover); color: var(--text-0); border-color: rgba(255,255,255,0.15); transform: translateY(-1px); }

.google-icon {
  width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.otp-notice { font-size: 0.82rem; color: var(--text-2); text-align: center; margin-top: 16px; line-height: 1.6; }
.otp-notice a { color: #a78bfa; text-decoration: none; }

/* OTP Input */
.otp-inputs { display: flex; gap: 10px; justify-content: center; margin: 20px 0; }
.otp-input {
  width: 50px; height: 56px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-0);
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  outline: none;
  transition: var(--transition);
  font-family: var(--font-display);
}

.otp-input:focus { border-color: var(--neon-purple); box-shadow: 0 0 0 3px rgba(124,58,237,0.15); }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-page { padding: 120px 0 80px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }

.contact-info h2 { font-size: 2rem; margin-bottom: 16px; }
.contact-info p { color: var(--text-2); line-height: 1.75; margin-bottom: 32px; }

.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-item-icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item-label { font-size: 0.78rem; color: var(--text-2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.contact-item-value { font-size: 0.92rem; color: var(--text-0); }

.contact-form-card {
  background: var(--bg-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-form-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.contact-form-card p { font-size: 0.88rem; color: var(--text-2); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-textarea { resize: vertical; min-height: 120px; }

.form-select {
  width: 100%;
  padding: 13px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-0);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.3)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-select:focus { border-color: var(--neon-purple); box-shadow: 0 0 0 3px rgba(124,58,237,0.12); }
.form-select option { background: var(--bg-2); }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--text-2); font-size: 0.9rem; }

/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-page { padding: 120px 0 80px; }

.legal-header { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--glass-border); }
.legal-header h1 { font-size: 2.4rem; margin-bottom: 8px; }
.legal-header p { color: var(--text-2); }

.legal-content h2 { font-size: 1.3rem; font-weight: 700; color: var(--text-0); margin: 36px 0 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05); }
.legal-content h2:first-child { border-top: none; }
.legal-content p { color: var(--text-2); line-height: 1.8; margin-bottom: 14px; }
.legal-content ul { color: var(--text-2); line-height: 1.8; margin-bottom: 14px; padding-left: 24px; }
.legal-content ul li { margin-bottom: 6px; }
.legal-max { max-width: 760px; }

/* =============================================
   TOAST NOTIFICATIONS
   ============================================= */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9000; display: flex; flex-direction: column; gap: 10px; }

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  font-size: 0.88rem;
  color: var(--text-1);
  max-width: 360px;
  animation: slideUp 0.3s ease;
  backdrop-filter: blur(20px);
}

.toast.success { border-color: rgba(16,185,129,0.3); }
.toast.error { border-color: rgba(239,68,68,0.3); }
.toast-icon { font-size: 1.1rem; }

/* =============================================
   ALERTS & STATUS
   ============================================= */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.alert-info { background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.25); color: #93c5fd; }
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25); color: #6ee7b7; }
.alert-warning { background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.25); color: #fcd34d; }

/* =============================================
   EMPTY / LOADING STATES
   ============================================= */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.5; }
.empty-title { font-size: 1rem; font-weight: 600; color: var(--text-1); margin-bottom: 8px; }
.empty-desc { font-size: 0.88rem; color: var(--text-2); }

.skeleton {
  background: linear-gradient(90deg, var(--bg-2) 25%, var(--bg-3) 50%, var(--bg-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(40px) translateY(-50%); } to { opacity: 1; transform: translateX(0) translateY(-50%); } }
@keyframes float1 { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(-20px, 20px); } 66% { transform: translate(20px, -15px); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(15px, -20px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 20px rgba(124,58,237,0.3); } 50% { box-shadow: 0 0 40px rgba(124,58,237,0.6); } }

/* Page fade in */
.page-enter { animation: fadeIn 0.4s ease both; }

/* =============================================
   TESTIMONIAL / SOCIAL PROOF
   ============================================= */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.testimonial-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.testimonial-stars { color: #fbbf24; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text { font-size: 0.9rem; color: var(--text-1); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; color: white; font-family: var(--font-display); }
.testimonial-name { font-size: 0.88rem; font-weight: 600; color: var(--text-0); }
.testimonial-role { font-size: 0.78rem; color: var(--text-2); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .stats-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .header { padding: 0 20px; }
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .section { padding: 64px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .main-content { padding: 24px 20px; }
  .login-card { padding: 32px 24px; }
  .contact-form-card { padding: 28px 20px; }
}
.page-loader {
  position: fixed;
  inset: 0;
  background: #06060f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 9999;
}

.loader-logo {
  font-size: 2.5rem;
  animation: spin 1.2s linear infinite;
}

.loader-text {
  color: var(--text-2);
  font-size: 0.92rem;
}

.btn.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.btn.loading {
  position: relative;
  overflow: hidden;

  opacity: 0.9;
  pointer-events: none;
}

.btn.loading::after {
  content: '';

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.18),
      transparent
    );

  transform: translateX(-100%);

  animation: shimmerLoad 1.2s infinite;
}

@keyframes shimmerLoad {
  100% {
    transform: translateX(100%);
  }
}
.transaction-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 0;

  border-top: 1px solid rgba(255,255,255,0.06);
}

.transaction-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.transaction-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-1);
}

.transaction-date {
  font-size: 0.82rem;
  color: var(--text-3);
}

.transaction-amount {
  font-size: 1rem;
  font-weight: 700;
}

.transaction-amount.positive {
  color: #4ade80;
}

.transaction-amount.negative {
  color: #f87171;
}