:root {
  --bg: #000000;
  --bg-darker: #000000;
  --panel: rgba(0, 0, 0, 0.95);
  --glass-edge: rgba(255, 204, 0, 0.15);
  --text: #ffffff;
  --text-bright: #ffffff;
  --muted: #cccccc;
  --brand: #ffcc00;
  --brand-dark: #e6b800;
  --brand-light: #fff4b3;
  --neon: #ffcc00;
  --success: #ffcc00;
  --error: #ffcc00;
  --warning: #ffcc00;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  --shadow-lg: 0 25px 80px rgba(0, 0, 0, 0.95);
  --shadow-brand: 0 10px 40px rgba(255, 204, 0, 0.3);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --gradient-bg: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
  --gradient-brand: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  --gradient-panel: linear-gradient(135deg, rgba(255, 204, 0, 0.1) 0%, rgba(255, 204, 0, 0.02) 100%);
}

/* System-level color scheme hint */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; }
}

.futuristic-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Logo */
.futuristic-nav .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00fff0;
  text-shadow: 0 0 5px #00fff0, 0 0 15px #00fff0, 0 0 30px #00fff0;
  cursor: pointer;
  transition: 0.3s;
}

.futuristic-nav .logo:hover {
  color: #ff00ff;
  text-shadow: 0 0 10px #ff00ff, 0 0 25px #ff00ff, 0 0 50px #ff00ff;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.3rem 0;
  transition: 0.3s;
}

/* Neon underline animation */
.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #00fff0, #ff00ff);
  transition: 0.3s;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a:hover {
  color: #00fff0;
  text-shadow: 0 0 5px #00fff0, 0 0 15px #ff00ff;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #00fff0;
  border-radius: 3px;
  transition: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: rgba(10, 12, 16, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: 0.5s;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* Smooth fonts globally */
html {
  -webkit-font-smoothing: antialiased; /* Chrome, Safari */
  -moz-osx-font-smoothing: grayscale;  /* Firefox */
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--gradient-bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 204, 0, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(255, 204, 0, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, var(--bg) 0%, var(--bg-darker) 100%);
  pointer-events: none;
  z-index: -1;
  opacity: 0.9;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
.header {
  width: 100%;
  box-sizing: border-box;
  left: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, 
    rgba(5, 6, 8, 0.98) 0%, 
    rgba(5, 6, 8, 0.95) 50%, 
    rgba(5, 6, 8, 0.92) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  z-index: 1000;
  box-shadow: 
    0 10px 30px -10px rgba(0, 0, 0, 0.8),
    0 2px 8px rgba(0, 0, 0, 0.2);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-weight: 600;
}

.brand { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
  font-size: 32px; 
  font-weight: 800; 
  cursor: pointer; 
}
.bolt { 
  width: 56px; 
  height: 56px; 
  display: grid; 
  place-items: center; 
}
.bolt svg { 
  width: 40px; 
  height: 40px; 
  fill: var(--brand); 
  filter: drop-shadow(0 10px 25px rgba(255, 204, 0, 0.5)); 
  transition: transform 0.4s ease, filter 0.4s ease; 
}
.brand:hover .bolt svg { 
  transform: scale(1.2) rotate(15deg); 
  filter: drop-shadow(0 0 30px var(--brand)); 
}

.nav { 
  display: flex; 
  gap: 32px; 
  align-items: center; 
  font-weight: 600; 
}
.nav-link {
  position: relative;
  color: var(--muted); 
  text-decoration: none; 
  font-size: 16px;
  padding: 8px 0;
  transition: color 0.3s ease;
}
.nav-link.active {
  color: var(--brand);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(1);
  width: 100%;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.3s ease;
  transform-origin: center;
}
.nav-link:hover {
  color: var(--brand);
}
.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-edge);
  background: var(--gradient-panel);
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow-brand); 
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.2), rgba(255, 204, 0, 0.05)); 
  animation: electricTwitch 0.3s ease-in-out, electricGlow 0.3s ease-in-out;
}

.btn-primary { 
  background: var(--gradient-brand); 
  color: #111; 
  border-color: rgba(0, 0, 0, 0.25); 
  box-shadow: 0 8px 32px rgba(255, 204, 0, 0.3);
}

.btn-primary:hover { 
  background: linear-gradient(135deg, #ffe066, #ffcc00); 
  transform: translateY(-6px); 
  box-shadow: 0 12px 48px rgba(255, 204, 0, 0.4);
  animation: electricTwitch 0.3s ease-in-out, electricGlow 0.3s ease-in-out;
}

.btn-ghost { 
  background: transparent; 
  border: 1px solid var(--glass-edge); 
}

.btn-ghost:hover { 
  border-color: rgba(255, 204, 0, 0.3); 
  background: rgba(255, 204, 0, 0.05);
  animation: electricTwitch 0.3s ease-in-out, electricGlow 0.3s ease-in-out;
}


/* Enhanced Hero Section */
.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
  padding: 80px 0;
  box-sizing: border-box;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 204, 0, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(52, 235, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: 40px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(10, 12, 16, 0.5) 0%, var(--bg) 100%);
  z-index: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text) 0%, var(--brand) 60%, var(--brand-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 20px rgba(255, 204, 0, 0.2));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.title-line {
  display: block;
  animation: slideInUp 0.8s ease-out;
}

.title-line.highlight {
  background: linear-gradient(135deg, var(--brand) 0%, var(--neon) 50%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInUp 0.8s ease-out 0.2s both;
  text-shadow: 0 0 30px rgba(255, 204, 0, 0.5);
}

.hero-badge {
  margin-bottom: 24px;
  animation: slideInUp 0.6s ease-out;
}

.badge-text {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.2), rgba(52, 235, 255, 0.2));
  border: 1px solid rgba(255, 204, 0, 0.3);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(255, 204, 0, 0.1);
  animation: pulse 3s ease-in-out infinite;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 40px 0;
  animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero-stats .stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  min-width: 120px;
}

.hero-stats .stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 204, 0, 0.3);
  box-shadow: 0 8px 32px rgba(255, 204, 0, 0.1);
  animation: electricTwitch 0.3s ease-in-out, electricGlow 0.3s ease-in-out;
}

.hero-stats .stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

.hero-stats .stat-label {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.lead {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.subtitle {
  font-size: 18px;
  color: var(--muted);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

#particleCanvas { 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100vw; 
  height: 100vh; 
  z-index: 9999; 
  pointer-events: none;
  mix-blend-mode: screen;
}

.how-it-works, .performance, .faq, .pricing, .blog, .support, .purchase, .auth, .dashboard, .confirm, .forgot-password, .signup { 
  margin: 100px auto;
  position: relative;
  max-width: 1400px;
  padding: 0 32px;
  width: 100%;
  box-sizing: border-box;
}

/* Special background for sections after hero */
.how-it-works, .performance, .faq, .pricing, .blog, .support {
  background: 
    radial-gradient(circle at 30% 20%, rgba(255, 204, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 204, 0, 0.03) 0%, transparent 50%),
    linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  margin: 80px auto;
  box-shadow: 
    0 0 0 1px rgba(255, 204, 0, 0.1),
    inset 0 0 0 1px rgba(255, 204, 0, 0.05);
}

h2 { 
  font-size: 36px; 
  text-align: center; 
  margin-bottom: 48px; 
  font-weight: 700;
  background: linear-gradient(135deg, var(--text) 0%, var(--brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

/* Grid Layouts */
.steps-grid, .perf-grid, .blog-grid, .support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.step-card, .perf-card, .blog-card, .support-card, .confirm-card, .forgot-card, .signup-card { 
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.9));
  border: 1px solid var(--glass-edge); 
  border-radius: var(--radius); 
  padding: 32px; 
  text-align: center; 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 204, 0, 0.1);
}

.pricing-card {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.9));
  border: 1px solid var(--glass-edge); 
  border-radius: var(--radius); 
  padding: 32px; 
  text-align: center; 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  position: relative;
  overflow: visible; /* Changed from hidden to visible */
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 204, 0, 0.1);
}

.pricing-card.highlight {
  border-color: var(--brand);
  box-shadow: 0 0 30px rgba(255, 204, 0, 0.1);
}

.pricing-card .popular-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--gradient-brand);
  color: #111;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-brand);
  z-index: 2;
}

.card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  box-shadow: 
    0 4px 24px -1px rgba(0, 0, 0, 0.2),
    0 6px 10px -4px rgba(0, 0, 0, 0.1),
    inset 0 0 1px 1px rgba(255, 255, 255, 0.05);
}

.step-card::before, .perf-card::before, .pricing-card::before, .blog-card::before, .support-card::before, .confirm-card::before, .forgot-card::before, .signup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover, .perf-card:hover, .pricing-card:hover, .blog-card:hover, .support-card:hover, .confirm-card:hover, .forgot-card:hover, .signup-card:hover { 
  transform: translateY(-10px); 
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(255, 204, 0, 0.2),
    inset 0 0 0 1px rgba(255, 204, 0, 0.2); 
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.1), rgba(255, 204, 0, 0.02)); 
  border-color: rgba(255, 204, 0, 0.4);
  animation: electricTwitch 0.4s ease-in-out, electricGlow 0.4s ease-in-out;
}

.step-card:hover::before, .perf-card:hover::before, .pricing-card:hover::before, .blog-card:hover::before, .support-card:hover::before, .confirm-card:hover::before, .forgot-card:hover::before, .signup-card:hover::before {
  opacity: 1;
}
.step-card .step-number { font-size: 24px; font-weight: 800; color: var(--brand); background: rgba(255, 204, 0, 0.1); border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 16px; }
.step-card h3, .perf-card h3, .blog-card h3, .support-card h3 { font-size: 22px; margin-bottom: 16px; }
.step-card p, .perf-card p, .blog-card p, .support-card p { color: var(--muted); font-size: 16px; }
.blog-img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; margin-bottom: 16px; }
.perf-card .percent { color: var(--brand); font-size: 30px; font-weight: 700; margin: 16px 0; }
.progress { background: rgba(255, 255, 255, 0.06); border-radius: 10px; height: 10px; margin: 16px 0; overflow: hidden; }
.progress-bar { background: linear-gradient(90deg, var(--brand), var(--brand-dark)); height: 100%; transition: width 1.5s ease; }
.progress-bar[data-width="45"] { width: 45%; }
.progress-bar[data-width="42"] { width: 42%; }
.progress-bar[data-width="80"] { width: 80%; }
.progress-bar[data-width="50"] { width: 50%; }
.hint { text-align: center; color: var(--muted); font-size: 15px; margin-top: 32px; }

.accordion-item { margin-bottom: 20px; }
.accordion-item input { display: none; }
.accordion-item label { display: block; padding: 24px; background: var(--panel); border: 1px solid var(--glass-edge); border-radius: 14px; cursor: pointer; font-weight: 600; font-size: 16px; transition: all 0.3s ease; }
.accordion-item label:hover { background: linear-gradient(180deg, rgba(255, 204, 0, 0.2), var(--panel)); }
.accordion-item input:checked + label { border-radius: 14px 14px 0 0; }
.accordion-item p { display: none; padding: 24px; margin: 0; background: var(--panel); border: 1px solid var(--glass-edge); border-top: none; border-radius: 0 0 14px 14px; color: var(--muted); font-size: 16px; }
.accordion-item input:checked ~ p { display: block; }

.pricing-card.highlight { 
  border-color: var(--brand); 
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.15), rgba(255, 204, 0, 0.05)); 
  position: relative;
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #111;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-label { 
  font-size: 20px; 
  font-weight: 700; 
  color: var(--brand); 
  margin-bottom: 20px; 
}

.price { 
  font-size: 40px; 
  font-weight: 800; 
  margin: 20px 0 8px 0; 
  color: var(--text);
}

.price-period {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.features { 
  list-style: none; 
  color: var(--muted); 
  margin: 20px 0; 
  text-align: left;
}

.features li { 
  margin: 12px 0; 
  font-size: 16px; 
  padding-left: 8px;
  position: relative;
}

.features li::before {
  content: '✓';
  position: absolute;
  left: -8px;
  color: var(--brand);
  font-weight: bold;
}

/* Focus visibility and accessibility */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

/* New Auth Layout Styles */
.signup-container, .auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gradient-panel);
  backdrop-filter: blur(20px);
}

.signup-left, .auth-left {
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.1) 0%, rgba(52, 235, 255, 0.1) 100%);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.signup-left::before, .auth-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.signup-content, .auth-content {
  position: relative;
  z-index: 1;
}

.signup-content h2, .auth-content h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--brand), var(--neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.signup-lead, .auth-lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.signup-benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 204, 0, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.benefit-item:hover {
  background: rgba(255, 204, 0, 0.1);
  transform: translateX(8px);
  border-color: rgba(255, 204, 0, 0.4);
  box-shadow: 0 8px 24px rgba(255, 204, 0, 0.2);
  animation: electricTwitch 0.3s ease-in-out, electricGlow 0.3s ease-in-out;
}

.benefit-icon {
  font-size: 32px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 204, 0, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.benefit-text h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.benefit-text p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.auth-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 204, 0, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 204, 0, 0.1);
  border-color: rgba(255, 204, 0, 0.4);
  box-shadow: 0 8px 24px rgba(255, 204, 0, 0.2);
  animation: electricTwitch 0.3s ease-in-out, electricGlow 0.3s ease-in-out;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-features {
  margin-top: 40px;
}

.auth-features h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.auth-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.auth-features li {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 12px;
  padding-left: 8px;
}

.signup-right, .auth-right {
  background: var(--gradient-panel);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-form-container, .auth-form-container {
  width: 100%;
  max-width: 400px;
}

.signup-header, .auth-header {
  text-align: center;
  margin-bottom: 40px;
}

.signup-header h3, .auth-header h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.signup-header p, .auth-header p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

.signup-form, .auth-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-edge);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 16px;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.form-input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.form-input:focus {
  box-shadow: 
    var(--shadow-brand),
    inset 0 2px 8px rgba(0, 0, 0, 0.3),
    0 0 0 2px rgba(255, 204, 0, 0.2);
  border-color: var(--brand);
  background: rgba(255, 204, 0, 0.05);
  transform: translateY(-2px);
  animation: electricTwitch 0.2s ease-in-out;
}

.input-icon {
  position: absolute;
  right: 16px;
  font-size: 18px;
  color: var(--muted);
  pointer-events: none;
}

.toggle-password {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  transition: color 0.3s ease;
  z-index: 2;
}

.toggle-password:hover {
  color: var(--brand);
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.forgot-link {
  font-size: 14px;
  color: var(--brand);
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: var(--brand-light);
}

.btn-full {
  width: 100%;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
}

.signup-footer, .auth-footer {
  text-align: center;
  margin-top: 20px;
}

.signup-footer p, .auth-footer p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.signup-footer .link, .auth-footer .link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Dashboard Layout */
.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 60px;
}

.dashboard-lead {
  font-size: 18px;
  color: var(--muted);
  margin-top: 16px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.dashboard-card {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.9));
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 204, 0, 0.1);
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.dashboard-card:hover::before {
  transform: scaleX(1);
}

.dashboard-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(255, 204, 0, 0.2),
    inset 0 0 0 1px rgba(255, 204, 0, 0.2);
  border-color: rgba(255, 204, 0, 0.4);
  animation: electricTwitch 0.4s ease-in-out, electricGlow 0.4s ease-in-out;
}

.card-header {
  margin-bottom: 24px;
}

.card-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.stats-subtitle,
.actions-subtitle {
  font-size: 14px;
  color: var(--muted);
}

.account-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

.account-details {
  margin-bottom: 24px;
}

.account-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.account-item:last-child {
  border-bottom: none;
}

.account-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.account-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

.card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 204, 0, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
}

.action-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(8px);
  border-color: rgba(255, 204, 0, 0.3);
  animation: electricTwitch 0.3s ease-in-out, electricGlow 0.3s ease-in-out;
}

.action-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 204, 0, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.action-content {
  flex: 1;
}

.action-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.action-desc {
  font-size: 14px;
  color: var(--muted);
}

.action-arrow {
  font-size: 18px;
  color: var(--brand);
  transition: transform 0.3s ease;
}

/* Forgot Password & Confirm Page Layouts */
.forgot-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gradient-panel);
  backdrop-filter: blur(20px);
}

.forgot-left {
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.1) 0%, rgba(52, 235, 255, 0.1) 100%);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.forgot-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.forgot-content {
  position: relative;
  z-index: 1;
}

.forgot-content h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--brand), var(--neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.forgot-lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.forgot-benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.forgot-right {
  background: var(--gradient-panel);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.forgot-form-container {
  width: 100%;
  max-width: 400px;
}

.forgot-header {
  text-align: center;
  margin-bottom: 40px;
}

.forgot-header h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.forgot-header p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

.forgot-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.forgot-footer {
  text-align: center;
  margin-top: 20px;
}

.forgot-footer p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.forgot-footer .link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.forgot-footer .link:hover {
  color: var(--brand-light);
}

/* Confirm Page Layout */
.confirm-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 40px;
}

.confirm-content {
  text-align: center;
  background: var(--gradient-panel);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.confirm-icon {
  margin-bottom: 32px;
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--brand), var(--neon));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.checkmark {
  font-size: 40px;
  color: #111;
  font-weight: bold;
}

.confirm-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.confirm-lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.confirm-status {
  margin-bottom: 40px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 204, 0, 0.3);
  border-top: 2px solid var(--brand);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.status-success {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--success);
  font-weight: 600;
}

.success-icon {
  font-size: 24px;
}

.status-error {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--error);
  font-weight: 600;
}

.error-icon {
  font-size: 24px;
}

.confirm-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.auth-form .field, .signup-form .field { 
  display: flex; 
  flex-direction: column; 
  gap: 8px; 
  margin-bottom: 24px; 
  position: relative;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.field .input-group {
  position: relative;
}

.field .input-group .input {
  width: 100%;
  padding-right: 50px;
}

.field .input-group .toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  transition: color 0.3s ease;
}

.field .input-group .toggle-password:hover {
  color: var(--brand);
}

.password-strength {
  margin-top: 8px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  width: 0%;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.password-strength.weak .password-strength-bar {
  background: var(--error);
  width: 25%;
}

.password-strength.fair .password-strength-bar {
  background: var(--warning);
  width: 50%;
}

.password-strength.good .password-strength-bar {
  background: var(--brand);
  width: 75%;
}

.password-strength.strong .password-strength-bar {
  background: var(--success);
  width: 100%;
}

.password-strength-text {
  font-size: 12px;
  margin-top: 4px;
  color: var(--muted);
}

.field-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--glass-edge);
  border-radius: 4px;
  background: transparent;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--brand);
  border-color: var(--brand);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #111;
  font-size: 12px;
  font-weight: bold;
}

.link {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.3s ease;
}

.link:hover {
  color: var(--brand-light);
  text-decoration: underline;
}

.btn-loading {
  display: none;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-loading {
  display: inline;
}
.input { 
  padding: 16px 20px; 
  border-radius: var(--radius-sm); 
  border: 1px solid var(--glass-edge); 
  background: rgba(255, 255, 255, 0.02); 
  color: var(--text); 
  outline: none; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  font-size: 16px; 
  backdrop-filter: blur(10px);
  position: relative;
}

.input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.input:focus { 
  box-shadow: var(--shadow-brand); 
  border-color: var(--brand); 
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.input:invalid {
  border-color: var(--error);
}

.input:valid {
  border-color: var(--success);
}
.row { display: flex; gap: 16px; flex-wrap: wrap; }
.hint { color: var(--muted); font-size: 15px; font-weight: 500; }
.status { margin-top: 16px; font-size: 15px; }
.ok { color: var(--success); }
.err { color: var(--error); }
.warning { color: var(--warning); }
.account { 
  background: var(--gradient-panel); 
  border: 1px solid var(--glass-edge); 
  border-radius: var(--radius); 
  padding: 32px; 
  backdrop-filter: blur(20px);
}

.account-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-edge);
}

.account-header h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.account-status {
  font-size: 14px;
  color: var(--muted);
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  display: inline-block;
}

.account-name { 
  font-size: 20px; 
  font-weight: 700; 
  margin-bottom: 16px; 
  color: var(--text);
}

.license { 
  color: var(--brand); 
  font-weight: 600; 
  font-size: 16px; 
  margin-bottom: 24px;
}

.account-features {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-edge);
}

.account-features h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.account-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.account-features li {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
  padding-left: 8px;
}

.footer { text-align: center; padding: 48px 0; color: var(--muted); }
.footer a { color: var(--brand); text-decoration: none; margin: 0 12px; font-size: 15px; }
.footer a:hover { text-decoration: underline; transform: translateY(-2px); display: inline-block; }

.footer p { letter-spacing: 0.2px; }

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.loaded { opacity: 1; transform: translateY(0); }

/* Enhanced animations */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 204, 0, 0.3); }
  50% { box-shadow: 0 0 40px rgba(255, 204, 0, 0.6); }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Electric twitching effect */
@keyframes electricTwitch {
  0% { 
    transform: translateX(0) translateY(0) rotate(0deg);
    filter: hue-rotate(0deg) brightness(1);
  }
  10% { 
    transform: translateX(-1px) translateY(-1px) rotate(-0.5deg);
    filter: hue-rotate(5deg) brightness(1.1);
  }
  20% { 
    transform: translateX(1px) translateY(1px) rotate(0.5deg);
    filter: hue-rotate(-5deg) brightness(0.9);
  }
  30% { 
    transform: translateX(-0.5px) translateY(0.5px) rotate(-0.3deg);
    filter: hue-rotate(3deg) brightness(1.05);
  }
  40% { 
    transform: translateX(0.5px) translateY(-0.5px) rotate(0.3deg);
    filter: hue-rotate(-3deg) brightness(0.95);
  }
  50% { 
    transform: translateX(0) translateY(0) rotate(0deg);
    filter: hue-rotate(0deg) brightness(1);
  }
  60% { 
    transform: translateX(-0.3px) translateY(0.3px) rotate(-0.2deg);
    filter: hue-rotate(2deg) brightness(1.02);
  }
  70% { 
    transform: translateX(0.3px) translateY(-0.3px) rotate(0.2deg);
    filter: hue-rotate(-2deg) brightness(0.98);
  }
  80% { 
    transform: translateX(-0.1px) translateY(0.1px) rotate(-0.1deg);
    filter: hue-rotate(1deg) brightness(1.01);
  }
  90% { 
    transform: translateX(0.1px) translateY(-0.1px) rotate(0.1deg);
    filter: hue-rotate(-1deg) brightness(0.99);
  }
  100% { 
    transform: translateX(0) translateY(0) rotate(0deg);
    filter: hue-rotate(0deg) brightness(1);
  }
}

@keyframes electricGlow {
  0%, 100% { 
    box-shadow: 
      0 0 20px rgba(255, 204, 0, 0.3),
      0 0 40px rgba(255, 204, 0, 0.1),
      inset 0 0 20px rgba(255, 204, 0, 0.1);
  }
  25% { 
    box-shadow: 
      0 0 30px rgba(255, 204, 0, 0.5),
      0 0 60px rgba(255, 204, 0, 0.2),
      inset 0 0 30px rgba(255, 204, 0, 0.15);
  }
  50% { 
    box-shadow: 
      0 0 40px rgba(255, 204, 0, 0.7),
      0 0 80px rgba(255, 204, 0, 0.3),
      inset 0 0 40px rgba(255, 204, 0, 0.2);
  }
  75% { 
    box-shadow: 
      0 0 30px rgba(255, 204, 0, 0.5),
      0 0 60px rgba(255, 204, 0, 0.2),
      inset 0 0 30px rgba(255, 204, 0, 0.15);
  }
}

.animate-slide-up {
  animation: slideInUp 0.6s ease-out;
}

/* Enhanced Micro-interactions */
.pricing-card:hover .plan-label {
  animation: pulse 2s infinite;
}

.btn-primary:hover {
  animation: glow 2s infinite;
}

.benefit-item:hover .benefit-icon {
  animation: pulse 1.5s infinite;
}

.stat-item:hover .stat-number {
  animation: pulse 1s infinite;
}

.form-input:focus {
  animation: glow 2s infinite;
}

/* Improved focus states */
.input:focus,
.btn:focus,
.form-input:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Enhanced hover effects */
.nav-link:hover {
  color: var(--brand);
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

/* Notification System */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
}

.notification {
  background: var(--gradient-panel);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.notification::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification.success::before {
  background: linear-gradient(90deg, var(--success), #1a9d6b);
}

.notification.error::before {
  background: linear-gradient(90deg, var(--error), #d63384);
}

.notification.warning::before {
  background: linear-gradient(90deg, var(--warning), #fd7e14);
}

.notification.info::before {
  background: linear-gradient(90deg, var(--neon), #0dcaf0);
}

.notification-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.notification.success .notification-icon {
  color: var(--success);
}

.notification.error .notification-icon {
  color: var(--error);
}

.notification.warning .notification-icon {
  color: var(--warning);
}

.notification.info .notification-icon {
  color: var(--neon);
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.notification-message {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.notification-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.notification-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Loading spinner */
.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 1200px) {
  .steps-grid, .perf-grid, .blog-grid, .support-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .signup-container, .auth-container, .forgot-container { grid-template-columns: 1fr; }
  .signup-left, .auth-left, .forgot-left { padding: 40px 30px; }
  .signup-right, .auth-right, .forgot-right { padding: 40px 30px; }
  .dashboard-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
@media (max-width: 800px) {
  .steps-grid, .perf-grid, .blog-grid, .support-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .title { font-size: 48px; }
  .hero { min-height: 600px; }
  .container { padding: 0 24px; }
  .signup-content h2, .auth-content h2, .forgot-content h2 { font-size: 36px; }
  .signup-left, .auth-left, .forgot-left { padding: 30px 20px; }
  .signup-right, .auth-right, .forgot-right { padding: 30px 20px; }
  .auth-stats { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .confirm-container { padding: 40px 20px; }
  .confirm-content { padding: 40px 20px; }
  .hero-stats { 
    flex-direction: column; 
    gap: 20px; 
    align-items: center;
  }
  .hero-stats .stat-item {
    min-width: 200px;
  }
}

/* Reduced motion support: minimize animations/blur-heavy effects */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-content { animation: none; opacity: 1; transform: none; }
  .fade-in { transition: none; opacity: 1 !important; transform: none !important; }
  .btn::before { display: none; }
  .btn:hover, .btn-primary:hover, .btn-ghost:hover,
  .step-card:hover, .perf-card:hover, .pricing-card:hover, .blog-card:hover, .support-card:hover,
  .hero-stats .stat-item:hover, .action-item:hover {
    animation: none !important;
  }
}
@media (max-width: 600px) {
  .title { font-size: 36px; }
  .lead { font-size: 18px; }
  .nav { flex-wrap: wrap; gap: 16px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .hero-stats .stat-number { font-size: 24px; }
  .hero-stats .stat-item { min-width: 160px; padding: 16px; }
  .badge-text { font-size: 14px; padding: 10px 20px; }
}