/*
  BasicQR - Modern Design System
  A clean, modular, and scalable CSS architecture
*/

/* ============================================
   1. CSS VARIABLES & DESIGN TOKENS
   ============================================ */

:root {
  /* Color Palette */
  --color-dark-1: #0a0e27;
  --color-dark-2: #141829;
  --color-dark-3: #1a1f3a;
  --color-dark-4: #232d4a;

  --color-light: #f1f5f9;
  --color-light-muted: #cbd5e1;
  --color-light-dim: #94a3b8;

  --color-accent-cyan: #00d9ff;
  --color-accent-purple: #a855f7;
  --color-accent-pink: #ec4899;
  --color-accent-blue: #3b82f6;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #a855f7, #ec4899);
  --gradient-cyan: linear-gradient(135deg, #00d9ff, #0099cc);
  --gradient-hero: linear-gradient(135deg, #a855f7 0%, #00d9ff 100%);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --size-xs: 0.75rem;
  --size-sm: 0.875rem;
  --size-base: 1rem;
  --size-lg: 1.125rem;
  --size-xl: 1.25rem;
  --size-2xl: 1.5rem;
  --size-3xl: 1.875rem;
  --size-4xl: 2.25rem;
  --size-5xl: 3rem;
  --size-6xl: 3.75rem;
  --size-7xl: 4.5rem;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Backdrop */
  --backdrop-blur: blur(10px);
  --backdrop-blur-lg: blur(20px);

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 20;
  --z-fixed: 30;
  --z-modal-backdrop: 40;
  --z-modal: 50;
  --z-popover: 60;
  --z-tooltip: 70;

  /* Site-wide layout */
  --site-max-width: 1440px;
  --content-max-width: 1200px;
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-dark-1);
  color: var(--color-light);
  line-height: 1.6;
  font-size: var(--size-base);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
}

/* ============================================
   3. LAYOUT UTILITIES
   ============================================ */

.wrapper {
  position: relative;
  z-index: 1;
  max-width: var(--content-max-width);
  margin: 0 auto;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-8);
  }
}

/* ============================================
   4. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 700;
}

p {
  line-height: 1.7;
}

.text-muted {
  color: var(--color-light-dim);
}

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

/* ============================================
   5. BACKGROUND & EFFECTS
   ============================================ */

.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15), transparent 70%);
  filter: blur(80px);
}

.bg-gradient::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.1), transparent 70%);
  filter: blur(80px);
}

.grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   6. NAVIGATION
   ============================================ */

.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-dropdown);
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: var(--backdrop-blur-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-brand {
  font-size: var(--size-2xl);
  font-weight: 900;
  font-family: var(--font-display);
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-brand a {
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  color: var(--color-light-dim);
  text-decoration: none;
  font-size: var(--size-sm);
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-cyan);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-light);
}

.nav-link:hover::after {
  width: 100%;
}

/* ============================================
   7. BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--size-sm);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent-cyan);
  border: 1px solid rgba(0, 217, 255, 0.3);
  backdrop-filter: var(--backdrop-blur);
}

.btn-secondary:hover {
  border-color: var(--color-accent-cyan);
  background: rgba(0, 217, 255, 0.1);
}

.btn-nav {
  padding: var(--space-2) var(--space-4);
  font-size: var(--size-xs);
}

/* ============================================
   8. HERO SECTION
   ============================================ */

.hero {
  position: relative;
  z-index: 1;
  min-height: 700px;
  padding: var(--space-20) 0 var(--space-16);
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-6);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--size-xs);
  font-weight: 600;
  color: var(--color-accent-purple);
  width: fit-content;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent-purple);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.qr-glow {
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.2), transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
}

.qr-frame {
  position: relative;
  width: 300px;
  height: 300px;
  background: rgba(20, 24, 41, 0.8);
  border: 2px solid var(--color-accent-cyan);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  backdrop-filter: var(--backdrop-blur-lg);
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.15);
  z-index: 1;
  transform: rotateX(10deg) rotateY(-10deg);
  transition: transform 0.4s ease;
}

.qr-frame:hover {
  transform: rotateX(0) rotateY(0);
}

.qr-pattern {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  width: 100%;
  height: 100%;
}

.cell {
  aspect-ratio: 1;
  border-radius: 2px;
  transition: all 0.3s;
}

.cell.on {
  background: var(--color-light);
}

.cell.off {
  background: transparent;
}

.cell.accent {
  background: var(--color-accent-cyan);
  box-shadow: 0 0 10px var(--color-accent-cyan);
}

.float-stat {
  position: absolute;
  background: rgba(20, 24, 41, 0.9);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  backdrop-filter: var(--backdrop-blur);
  font-size: var(--size-xs);
  text-align: center;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-stat-value {
  font-size: var(--size-2xl);
  font-weight: 800;
  background: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-1);
}

.float-stat.s1 {
  top: 20px;
  right: -60px;
  animation-delay: 0s;
}

.float-stat.s2 {
  bottom: 40px;
  left: -80px;
  animation-delay: 1.5s;
}

.float-stat.s3 {
  bottom: 80px;
  right: -70px;
  animation-delay: 3s;
}

/* ============================================
   9. SECTION LAYOUTS
   ============================================ */

section {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-20);
}

.section-label {
  display: inline-block;
  font-size: var(--size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent-cyan);
  margin-bottom: var(--space-4);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--size-lg);
  color: var(--color-light-dim);
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================
   10. FEATURES SECTION
   ============================================ */

.features {
  padding: var(--space-20) 0;
  background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.05));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
}

.feature-card {
  position: relative;
  background: rgba(20, 24, 41, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  backdrop-filter: var(--backdrop-blur);
  transition: all 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  border-color: rgba(0, 217, 255, 0.3);
  background: rgba(20, 24, 41, 0.6);
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card.wide {
  grid-column: span 2;
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--size-2xl);
  margin-bottom: var(--space-4);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  margin-bottom: var(--space-3);
}

.feature-card p {
  color: var(--color-light-dim);
  flex: 1;
}

/* ============================================
   11. HOW IT WORKS - TIMELINE
   ============================================ */

.how-it-works {
  padding: var(--space-20) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent-cyan), var(--color-accent-purple), transparent);
  z-index: 0;
}

@media (max-width: 768px) {
  .steps::before {
    display: none;
  }
}

.step {
  position: relative;
  padding: var(--space-8);
  text-align: center;
  z-index: 1;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: var(--color-accent-cyan);
  border: 3px solid var(--color-dark-1);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--color-accent-cyan);
  transition: all 0.3s ease;
}

.step:hover::before {
  width: 20px;
  height: 20px;
  top: -3px;
  background: var(--color-accent-purple);
  box-shadow: 0 0 30px var(--color-accent-purple);
}

.step-number {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--size-2xl);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
  transition: all 0.3s ease;
}

.step:hover .step-number {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 12px 30px rgba(168, 85, 247, 0.5);
}

.step h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.step p {
  color: var(--color-light-dim);
  font-size: var(--size-sm);
}

/* ============================================
   12. PRICING SECTION
   ============================================ */

.pricing {
  padding: var(--space-20) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
}

.price-card {
  position: relative;
  background: rgba(20, 24, 41, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  backdrop-filter: var(--backdrop-blur);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  border-color: rgba(0, 217, 255, 0.3);
  background: rgba(20, 24, 41, 0.6);
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.1);
}

.price-card.featured {
  border: 2px solid var(--color-accent-purple);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.2);
}

.price-tag {
  position: absolute;
  top: -12px;
  right: var(--space-6);
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--size-xs);
  font-weight: 700;
}

.price-card h3 {
  margin-bottom: var(--space-2);
}

.price-card .desc {
  color: var(--color-light-dim);
  font-size: var(--size-sm);
  margin-bottom: var(--space-4);
}

.price-amount {
  font-size: var(--size-5xl);
  font-weight: 900;
  margin: var(--space-4) 0;
}

.currency {
  font-size: var(--size-lg);
  color: var(--color-light-dim);
}

.price-period {
  color: var(--color-light-dim);
  font-size: var(--size-xs);
  margin-bottom: var(--space-6);
}

.price-features {
  list-style: none;
  margin-bottom: var(--space-auto);
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--size-sm);
}

.check {
  font-weight: 800;
  color: var(--color-accent-cyan);
}

/* ============================================
   13. CTA SECTION
   ============================================ */

.cta {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(0, 217, 255, 0.05));
}

.cta-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-box h2 {
  margin-bottom: var(--space-4);
}

.cta-box p {
  font-size: var(--size-lg);
  color: var(--color-light-dim);
  margin-bottom: var(--space-8);
}

/* ============================================
   14. FOOTER
   ============================================ */

.footer {
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, var(--color-dark-1), var(--color-dark-2));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  color: var(--color-light-dim);
  margin-top: var(--space-4);
  font-size: var(--size-sm);
}

.footer-grid h4 {
  font-size: var(--size-lg);
  margin-bottom: var(--space-4);
}

.footer-grid ul {
  list-style: none;
}

.footer-grid ul li {
  margin-bottom: var(--space-3);
}

.footer-grid a {
  color: var(--color-light-dim);
  text-decoration: none;
  font-size: var(--size-sm);
  transition: color 0.3s ease;
}

.footer-grid a:hover {
  color: var(--color-accent-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-light-dim);
  font-size: var(--size-xs);
}

/* ============================================
   16. DASHBOARD & BACKEND LAYOUT
   ============================================ */

/* Ambient background orbs & grid overlay (used in dashboard, generator, etc.) */
.ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

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

.orb-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -150px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15), transparent 70%);
}

.orb-2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.1), transparent 70%);
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}


.dashboard-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, var(--color-dark-1) 0%, var(--color-dark-2) 100%);
  position: relative;
  z-index: 1;
}

.dashboard-header {
  background: rgba(20, 24, 41, 0.8);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
  padding: var(--space-6) var(--space-8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: var(--z-fixed);
}

.dashboard-header h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-light);
  margin: 0;
}

.dashboard-content {
  flex: 1;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--space-6);
  padding: var(--space-6);
  max-width: var(--site-max-width);
  margin: 0 auto;
  width: 100%;
}

.sidebar {
  background: rgba(20, 24, 41, 0.6);
  border: 1px solid rgba(0, 217, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  height: fit-content;
  backdrop-filter: blur(10px);
}

.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-menu li {
  margin-bottom: var(--space-2);
}

.sidebar-menu a {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--color-light-dim);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.3s;
  font-size: 14px;
  font-weight: 500;
  border-left: 3px solid transparent;
}

.sidebar-menu a:hover {
  background: rgba(0, 217, 255, 0.1);
  color: var(--color-accent-cyan);
  border-left-color: var(--color-accent-cyan);
}

.sidebar-menu a.active {
  background: rgba(0, 217, 255, 0.15);
  color: var(--color-accent-cyan);
  border-left-color: var(--color-accent-cyan);
}

.main-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* ============================================
   17. CARDS & PANELS
   ============================================ */

.card {
  background: rgba(20, 24, 41, 0.6);
  border: 1px solid rgba(0, 217, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.card:hover {
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.1);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-light);
  margin: 0;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.stat-card {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  backdrop-filter: blur(10px);
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
}

.stat-label {
  color: var(--color-light-dim);
  font-size: 14px;
  font-weight: 500;
}

/* ============================================
   18. FORMS & INPUTS
   ============================================ */

.form-container {
  background: rgba(20, 24, 41, 0.6);
  border: 1px solid rgba(0, 217, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-light);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--color-light);
  font-family: var(--font-body);
  font-size: 14px;
  transition: all 0.3s;
  outline: none;
}

.form-control:focus {
  border-color: var(--color-accent-cyan);
  background: rgba(0, 217, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.form-control::placeholder {
  color: var(--color-light-muted);
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-help {
  font-size: 12px;
  color: var(--color-light-dim);
  margin-top: var(--space-2);
}

/* ============================================
   19. TABLES
   ============================================ */

.table-container {
  background: rgba(20, 24, 41, 0.6);
  border: 1px solid rgba(0, 217, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table thead {
  background: rgba(0, 217, 255, 0.05);
  border-bottom: 2px solid rgba(0, 217, 255, 0.2);
}

.table th {
  padding: var(--space-4);
  text-align: left;
  color: var(--color-accent-cyan);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table td {
  padding: var(--space-4);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
  color: var(--color-light);
  font-size: 14px;
}

.table tbody tr:hover {
  background: rgba(0, 217, 255, 0.05);
}

/* ============================================
   20. MODALS & DIALOGS
   ============================================ */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal-backdrop);
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--color-dark-2);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.modal-header h2 {
  color: var(--color-light);
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  color: var(--color-light-dim);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--color-accent-cyan);
}

/* ============================================
   21. ALERTS & STATUS
   ============================================ */

.alert {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  border-left: 4px solid transparent;
  align-items: center;
  gap: var(--space-3);
  display: none;
  line-height: 1.5;
  font-size: 13px;
}

.alert.success {
  background: rgba(16, 185, 129, 0.1);
  border-left-color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  display: flex;
}

.alert.error {
  background: rgba(239, 68, 68, 0.1);
  border-left-color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  display: flex;
}

.alert.warning {
  background: rgba(245, 158, 11, 0.1);
  border-left-color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
  display: flex;
}

.alert.info {
  background: rgba(59, 130, 246, 0.1);
  border-left-color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #3b82f6;
  display: flex;
}

.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(0, 217, 255, 0.2);
  border: 1px solid rgba(0, 217, 255, 0.4);
  border-radius: var(--radius-full);
  color: var(--color-accent-cyan);
  font-size: 12px;
  font-weight: 600;
}

/* ============================================
   22. RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .hero-visual {
    height: 400px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: var(--space-16) 0 var(--space-12);
  }

  .hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual {
    height: 350px;
  }

  .qr-frame {
    width: 250px;
    height: 250px;
  }

  .feature-card.wide {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 480px) {
  .navbar .container {
    height: 60px;
  }

  .nav-brand {
    font-size: var(--size-xl);
  }

  .nav-links {
    gap: var(--space-4);
  }

  .hero {
    padding: var(--space-12) 0;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }

  .hero-actions {
    gap: var(--space-2);
  }

  .hero-visual {
    height: 300px;
  }

  .qr-frame {
    width: 200px;
    height: 200px;
  }

  .float-stat {
    padding: var(--space-3) var(--space-4);
    font-size: var(--size-xs);
  }

  .float-stat-value {
    font-size: var(--size-xl);
  }

  section {
    padding: var(--space-12) 0;
  }

  .features,
  .how-it-works,
  .pricing,
  .cta {
    padding: var(--space-12) 0;
  }

  .section-header {
    margin-bottom: var(--space-12);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Dashboard responsive */
  .dashboard-content {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: -1;
  }

  .card {
    padding: var(--space-4);
  }

  .table {
    font-size: 12px;
  }

  .table th,
  .table td {
    padding: var(--space-2);
  }

  .modal {
    width: 95%;
  }
}


/* ── Contact page layout ─────────────────────────────────── */
        .contact-wrapper {
            max-width: var(--content-max-width);
            display: flex;
            justify-content: flex-start;
            margin: 0 auto;
            padding: 60px 0px 100px;
            flex-direction: column;
            align-items: center;
        }
        .contact-header {
            text-align: center;
            margin-bottom: 56px;
        }
        .contact-header .section-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(168,85,247,.12);
            border: 1px solid rgba(168,85,247,.25);
            color: #a855f7;
            padding: 6px 16px;
            border-radius: 999px;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: .04em;
            text-transform: uppercase;
            margin-bottom: 18px;
        }
        .contact-header h1 {
            font-family: var(--font-display);
            font-size: clamp(2rem, 5vw, 3rem);
            font-weight: 800;
            color: #f1f5f9;
            margin: 0 0 14px;
            line-height: 1.15;
        }
        .contact-header h1 span {
            background: linear-gradient(135deg, #a855f7, #00d9ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .contact-header p {
            color: #94a3b8;
            font-size: 1.05rem;
            max-width: 520px;
            margin: 0 auto;
            line-height: 1.65;
        }

        #contactForm{
          width: 600px;
        }

        /* ── Two-column grid ─────────────────────────────────────── */
        .contact-grid {
            display: grid;
            grid-template-columns: 340px 1fr;
            gap: 32px;
            align-items: start;
        }
        @media (max-width: 860px) {
            .contact-grid { grid-template-columns: 1fr; }
        }

        /* ── Info sidebar ────────────────────────────────────────── */
        .contact-info-card {
            background: rgba(255,255,255,.04);
            border: 1px solid rgba(255,255,255,.08);
            border-radius: 16px;
            padding: 28px;
            position: sticky;
            top: 90px;
        }
        .contact-info-card h3 {
            font-family: var(--font-display);
            font-size: 1.05rem;
            font-weight: 700;
            color: #f1f5f9;
            margin: 0 0 20px;
        }
        .contact-info-item {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            padding: 14px 0;
            border-bottom: 1px solid rgba(255,255,255,.06);
        }
        .contact-info-item:last-child { border-bottom: none; }
        .contact-info-icon {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            flex-shrink: 0;
        }
        .icon-purple { background: rgba(168,85,247,.15); color: #a855f7; }
        .icon-cyan   { background: rgba(0,217,255,.12);  color: #00d9ff; }
        .icon-green  { background: rgba(16,185,129,.12); color: #10b981; }
        .icon-blue   { background: rgba(59,130,246,.12); color: #3b82f6; }
        .contact-info-text strong {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: #f1f5f9;
            margin-bottom: 2px;
        }
        .contact-info-text span {
            font-size: 12.5px;
            color: #64748b;
            line-height: 1.5;
        }

        .what-we-help {
            margin-top: 24px;
            padding: 18px;
            background: rgba(168,85,247,.06);
            border: 1px solid rgba(168,85,247,.15);
            border-radius: 12px;
        }
        .what-we-help h4 {
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .06em;
            color: #a855f7;
            margin: 0 0 12px;
        }
        .what-we-help ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .what-we-help li {
            font-size: 13px;
            color: #94a3b8;
            padding: 4px 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .what-we-help li::before {
            content: '';
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #a855f7;
            flex-shrink: 0;
        }

        /* ── Form card ───────────────────────────────────────────── */
        .contact-form-card {
            background: rgba(255,255,255,.04);
            border: 1px solid rgba(255,255,255,.08);
            border-radius: 16px;
            padding: 32px;
        }

        /* ── Type tabs ───────────────────────────────────────────── */
        .type-tabs {
            width:600px;
            display: flex;
            gap: 8px;
            margin-bottom: 28px;
            background: rgba(0,0,0,.2);
            border: 1px solid rgba(255,255,255,.07);
            border-radius: 12px;
            padding: 5px;
        }
        .type-tab {
            flex: 1;
            padding: 10px 16px;
            border-radius: 8px;
            border: none;
            background: transparent;
            color: #64748b;
            font-family: var(--font-body);
            font-size: 13.5px;
            font-weight: 600;
            cursor: pointer;
            transition: all .2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
        }
        .type-tab:hover { color: #cbd5e1; }
        .type-tab.active {
            background: linear-gradient(135deg, rgba(168,85,247,.25), rgba(0,217,255,.15));
            color: #f1f5f9;
            border: 1px solid rgba(168,85,247,.3);
        }

        /* ── Form fields ─────────────────────────────────────────── */
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }
        @media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

        .form-group {
            margin-bottom: 18px;
        }
        .form-group label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: #94a3b8;
            margin-bottom: 7px;
            letter-spacing: .01em;
        }
        .form-group label .req { color: #ef4444; margin-left: 2px; }
        .form-input {
            width: 100%;
            background: rgba(0,0,0,.3);
            border: 1px solid rgba(255,255,255,.1);
            border-radius: 10px;
            color: #f1f5f9;
            font-family: var(--font-body);
            font-size: 14px;
            padding: 11px 14px;
            outline: none;
            transition: border-color .2s, box-shadow .2s;
            box-sizing: border-box;
        }
        .form-input:focus {
            border-color: rgba(168,85,247,.5);
            box-shadow: 0 0 0 3px rgba(168,85,247,.1);
        }
        .form-input::placeholder { color: #475569; }
        textarea.form-input { resize: vertical; min-height: 120px; line-height: 1.6; }
        select.form-input option { color: black; background: white; }

        .input-hint {
            font-size: 12px;
            color: #475569;
            margin-top: 5px;
        }

        /* custom-package-only fields */
        .custom-fields { display: none; }
        .custom-fields.show { display: block; }

        /* ── Submit button ───────────────────────────────────────── */
        .btn-contact-submit {
            width: 100%;
            padding: 14px 24px;
            background: linear-gradient(135deg, #a855f7, #7c3aed);
            color: #fff;
            border: none;
            border-radius: 12px;
            font-family: var(--font-body);
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: opacity .2s, transform .15s;
            margin-top: 8px;
        }
        .btn-contact-submit:hover:not(:disabled) { opacity: .9; transform: translateY(-1px); }
        .btn-contact-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }

        /* ── Toast / success state ───────────────────────────────── */
        .contact-toast {
            display: none;
            padding: 13px 16px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 20px;
            animation: fadeSlideIn .3s ease;
        }
        .contact-toast.success {
            background: rgba(16,185,129,.12);
            border: 1px solid rgba(16,185,129,.3);
            color: #6ee7b7;
        }
        .contact-toast.error {
            background: rgba(239,68,68,.1);
            border: 1px solid rgba(239,68,68,.25);
            color: #fca5a5;
        }
        @keyframes fadeSlideIn {
            from { opacity:0; transform:translateY(-6px); }
            to   { opacity:1; transform:translateY(0); }
        }

        /* ── Success screen ──────────────────────────────────────── */
        .success-screen {
            display: none;
            text-align: center;
            padding: 48px 24px;
        }
        .success-screen .success-icon {
            width: 72px;
            height: 72px;
            background: rgba(16,185,129,.12);
            border: 2px solid rgba(16,185,129,.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: #10b981;
            margin: 0 auto 20px;
        }
        .success-screen h3 {
            font-family: var(--font-display);
            font-size: 1.35rem;
            font-weight: 700;
            color: #f1f5f9;
            margin: 0 0 10px;
        }
        .success-screen p {
            color: #64748b;
            font-size: 14px;
            line-height: 1.65;
            max-width: 360px;
            margin: 0 auto 24px;
        }
        .btn-another {
            padding: 10px 24px;
            background: rgba(168,85,247,.15);
            border: 1px solid rgba(168,85,247,.3);
            border-radius: 9px;
            color: #a855f7;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: background .2s;
        }
        .btn-another:hover { background: rgba(168,85,247,.25); }



/* ============================================
   23. ADMIN PANEL
   ============================================ */

/* Variable aliases so admin pages share the same tokens */
:root {
  --bg-deep:       var(--color-dark-1);
  --bg-card:       rgba(20, 24, 41, 0.85);
  --border-glass:  rgba(255, 255, 255, 0.08);
  --border-hover:  rgba(255, 255, 255, 0.18);
  --accent-cyan:   var(--color-accent-cyan);
  --accent-purple: var(--color-accent-purple);
  --accent-pink:   var(--color-accent-pink);
  --text-white:    var(--color-light);
  --text-dim:      var(--color-light-dim);
  --text-muted:    var(--color-light-muted);
}

/* Layout */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  margin: 0 auto;
  width: 100%;
}

option {color:black;}

/* Sidebar */
.admin-sidebar {
  background: rgba(6, 8, 13, 0.92);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-glass);
  padding: 32px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar .sidebar-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 32px;
  background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  display: block;
  padding: 0 10px;
}

.admin-sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--color-light-dim);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.admin-sidebar .nav-item i {
  width: 16px;
  text-align: center;
  font-size: 14px;
  flex-shrink: 0;
}

.admin-sidebar .nav-item:hover {
  color: var(--color-light);
  background: rgba(255, 255, 255, 0.05);
  border-left-color: rgba(255, 255, 255, 0.15);
}

.admin-sidebar .nav-item.active {
  color: var(--color-light);
  background: rgba(168, 85, 247, 0.12);
  border-left-color: var(--color-accent-purple);
}

.admin-sidebar .nav-bottom {
  margin-top: auto;
  border-top: 1px solid var(--border-glass);
  padding-top: 14px;
}

/* ── Sidebar notification badge ─────────────────────────────── */
.nav-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #ef4444;
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  display: none;           /* shown via JS when count > 0 */
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(239,68,68,.65), 0 0 18px rgba(239,68,68,.35);
  animation: badgePulse 2.2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 8px rgba(239,68,68,.65), 0 0 18px rgba(239,68,68,.3); }
  50%     { box-shadow: 0 0 14px rgba(239,68,68,1),  0 0 28px rgba(239,68,68,.6); }
}

/* Main content */
.admin-main {
  background: var(--color-dark-1);
  padding: 36px 40px;
  min-height: 100vh;
  overflow-y: auto;
}

/* Page header */
.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
}

.admin-page-header h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--color-light);
}

.admin-page-header p {
  color: var(--color-light-dim);
  font-size: 14px;
  margin: 0;
}

/* Stats grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 24px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.admin-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-purple));
}

.admin-stat-card .stat-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 14px;
}

.admin-stat-card .stat-icon.cyan   { background: rgba(0,217,255,0.1);  color: var(--color-accent-cyan); }
.admin-stat-card .stat-icon.purple { background: rgba(168,85,247,0.1); color: var(--color-accent-purple); }
.admin-stat-card .stat-icon.green  { background: rgba(34,197,94,0.1);  color: #4ade80; }
.admin-stat-card .stat-icon.orange { background: rgba(251,146,60,0.1); color: #fb923c; }

.admin-stat-card .stat-label {
  font-size: 11px;
  color: var(--color-light-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.admin-stat-card .stat-value {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--color-light);
}

/* Data tables */
.admin-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
}

.admin-table-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-table-head h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  color: var(--color-light);
}

.admin-table-wrap table { width: 100%; border-collapse: collapse; }

.admin-table-wrap th {
  text-align: left;
  padding: 12px 24px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-light-muted);
  border-bottom: 1px solid var(--border-glass);
  font-weight: 600;
}

.admin-table-wrap td {
  padding: 16px 24px;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--color-light);
}

.admin-table-wrap tr:last-child td { border-bottom: none; }
.admin-table-wrap tbody tr:hover td { background: rgba(255,255,255,0.02); }

/* Status badges */
.status-badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  letter-spacing: 0.5px;
}

.badge-active    { background: rgba(34,197,94,0.1);  color: #4ade80;  border: 1px solid rgba(34,197,94,0.25); }
.badge-inactive  { background: rgba(239,68,68,0.1);  color: #f87171;  border: 1px solid rgba(239,68,68,0.25); }
.badge-expired   { background: rgba(239,68,68,0.1);  color: #f87171;  border: 1px solid rgba(239,68,68,0.25); }
.badge-pending   { background: rgba(245,158,11,0.1); color: #fbbf24;  border: 1px solid rgba(245,158,11,0.25); }
.badge-completed { background: rgba(34,197,94,0.1);  color: #4ade80;  border: 1px solid rgba(34,197,94,0.25); }
.badge-failed    { background: rgba(239,68,68,0.1);  color: #f87171;  border: 1px solid rgba(239,68,68,0.25); }
.badge-admin     { background: rgba(168,85,247,0.1); color: #c084fc;  border: 1px solid rgba(168,85,247,0.25); }

/* Icon buttons */
.btn-icon {
  width: 30px; height: 30px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--border-glass);
  background: rgba(255,255,255,0.03);
  color: var(--color-light-dim);
  transition: all 0.2s;
  font-size: 12px;
  vertical-align: middle;
}

.btn-icon:hover  { background: rgba(255,255,255,0.07); color: var(--color-light); }
.btn-icon.view:hover   { background: rgba(59,130,246,0.15);  color: #60a5fa; border-color: rgba(59,130,246,0.3); }
.btn-icon.toggle:hover { background: rgba(251,191,36,0.15);  color: #fbbf24; border-color: rgba(251,191,36,0.3); }
.btn-icon.danger:hover { background: rgba(239,68,68,0.15);   color: #f87171; border-color: rgba(239,68,68,0.3); }
.btn-icon.approve:hover{ background: rgba(34,197,94,0.15);   color: #4ade80; border-color: rgba(34,197,94,0.3); }
.btn-icon.reject:hover { background: rgba(239,68,68,0.15);   color: #f87171; border-color: rgba(239,68,68,0.3); }

/* Toolbar */
.admin-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-search {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.admin-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-light-muted);
  font-size: 13px;
  pointer-events: none;
}

.admin-search input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  border-radius: 9px;
  color: var(--color-light);
  font-size: 13.5px;
  font-family: var(--font-body);
}

.admin-search input::placeholder { color: var(--color-light-muted); }
.admin-search input:focus { outline: none; border-color: rgba(168,85,247,0.4); }

.admin-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  border-radius: 9px;
  color: var(--color-light);
  padding: 9px 12px;
  font-size: 13.5px;
  font-family: var(--font-body);
}

.admin-select:focus { outline: none; }

/* Pagination */
.admin-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid var(--border-glass);
}

.admin-pagination-info { font-size: 12.5px; color: var(--color-light-muted); }
.admin-pagination-btns { display: flex; gap: 6px; flex-wrap: wrap; }

.admin-page-btn {
  padding: 6px 12px;
  border-radius: 7px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  color: var(--color-light-dim);
  cursor: pointer;
  font-size: 12.5px;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.admin-page-btn:hover:not(:disabled) { background: rgba(255,255,255,0.1); color: var(--color-light); }
.admin-page-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.admin-page-btn.current { background: rgba(168,85,247,0.18); border-color: rgba(168,85,247,0.35); color: var(--color-light); }

/* Modal */
.admin-modal {
  display: none;
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.admin-modal.show { display: flex; }

.admin-modal-box {
  background: var(--color-dark-2);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 36px;
}

.admin-modal-close {
  position: absolute; top: 18px; right: 18px;
  background: none; border: none;
  font-size: 20px; cursor: pointer;
  color: var(--color-light-muted);
}

.admin-modal-close:hover { color: var(--color-light); }

.admin-modal-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--color-light);
}

.admin-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13.5px;
}

.admin-detail-row:last-of-type { border-bottom: none; }
.admin-detail-label { color: var(--color-light-muted); }
.admin-detail-value { font-weight: 600; color: var(--color-light); text-align: right; max-width: 65%; word-break: break-word; }

.admin-modal-footer {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  justify-content: flex-end;
}

/* Quick action card */
.admin-action-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 24px;
}

.admin-action-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: var(--color-light); }

.admin-action-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 9px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  color: var(--color-light-dim);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.2s;
  margin-bottom: 10px;
}

.admin-action-link:last-child { margin-bottom: 0; }

.admin-action-link:hover {
  background: rgba(255,255,255,0.07);
  color: var(--color-light);
  border-color: rgba(168,85,247,0.3);
}

.admin-action-link i { width: 18px; text-align: center; flex-shrink: 0; }

/* Two-column grid */
.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* Alert messages */
.admin-alert {
  padding: 12px 16px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 18px;
  display: none;
}

.admin-alert.success { background: rgba(34,197,94,0.1);  border: 1px solid rgba(34,197,94,0.25);  color: #4ade80; }
.admin-alert.error   { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.25);  color: #f87171; }

/* Empty state */
.admin-empty {
  text-align: center;
  padding: 56px 24px;
  color: var(--color-light-muted);
}

.admin-empty i { font-size: 36px; opacity: 0.25; margin-bottom: 14px; display: block; }
.admin-empty p { font-size: 14px; }

/* Form fields */
.admin-form-group { margin-bottom: 22px; }

.admin-form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-light-dim);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-form-input {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  border-radius: 9px;
  color: var(--color-light);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: border-color 0.2s;
}

.admin-form-input:focus { outline: none; border-color: rgba(168,85,247,0.4); }

.admin-form-input-wrap {
  position: relative;
}

.admin-form-input-wrap span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-light-muted);
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
}

.admin-form-input-wrap .admin-form-input { padding-left: 50px; }

.admin-btn-primary {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-cyan));
  border: none;
  border-radius: 9px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: var(--font-body);
}

.admin-btn-primary:hover { opacity: 0.88; }
.admin-btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }

.admin-btn-secondary {
  padding: 10px 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border-glass);
  border-radius: 9px;
  color: var(--color-light);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.admin-btn-secondary:hover { background: rgba(255,255,255,0.12); }

.admin-btn-danger {
  padding: 10px 20px;
  background: #ef4444;
  border: none;
  border-radius: 9px;
  color: white;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font-body);
}

.admin-btn-danger:hover { background: #dc2626; }

.admin-btn-success {
  padding: 10px 20px;
  background: #22c55e;
  border: none;
  border-radius: 9px;
  color: white;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font-body);
}

.admin-btn-success:hover { background: #16a34a; }

/* Settings card */
.admin-settings-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  overflow: hidden;
}

.admin-settings-card-head {
  padding: 22px 26px;
  border-bottom: 1px solid var(--border-glass);
}

.admin-settings-card-head h3 { font-size: 15px; font-weight: 700; margin-bottom: 3px; color: var(--color-light); }
.admin-settings-card-head p  { font-size: 13px; color: var(--color-light-muted); margin: 0; }

.admin-settings-card-body { padding: 26px; }

.admin-plan-section { margin-bottom: 24px; }
.admin-plan-section:last-of-type { margin-bottom: 0; }

.admin-plan-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-light);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-glass);
}

/* Responsive admin */
@media (max-width: 1024px) {
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-main { padding: 24px 20px; }
  .admin-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .admin-stats-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   24. AUTH — Login / Signup Page
   ============================================================ */

.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

/* Left panel (signup only) */
.auth-left {
  display: none;
  width: 420px;
  flex-shrink: 0;
  background: linear-gradient(160deg, rgba(124,58,237,0.18) 0%, rgba(0,217,255,0.08) 100%);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 48px 40px;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

}
.auth-left::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,0.2), transparent 70%);
}
.auth-left::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,217,255,0.12), transparent 70%);
}

.left-brand {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 48px;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

/* Step progress list (auth left panel) */
.step-list { list-style: none; margin: 0 0 48px; padding: 0; position: relative; z-index: 1; }
.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  opacity: .45;
  transition: opacity .3s;
}
.step-list li.active { opacity: 1; }
.step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-light-dim);
  flex-shrink: 0;
  margin-top: 2px;
}
.step-list li.active .step-num {
  background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-cyan));
  border-color: transparent;
  color: #fff;
}
.step-list li.done .step-num {
  background: rgba(16,185,129,0.2);
  border-color: rgba(16,185,129,0.4);
  color: #10b981;
}
.step-info-title { font-size: 14px; font-weight: 700; color: var(--color-light); margin-bottom: 3px; }
.step-info-desc  { font-size: 12px; color: var(--color-light-dim); line-height: 1.5; }

/* Feature highlights */
.feature-list { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-light-dim);
  margin-bottom: 10px;
}
.feature-list li .tick {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #10b981;
  flex-shrink: 0;
}

/* Right panel (form) */
.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
}

/* Back to home link */
.auth-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-light-dim);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.04);
  margin-bottom: 24px;
  transition: all .22s;
  letter-spacing: 0.01em;
}
.auth-home-btn:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(0,217,255,0.3);
  color: var(--color-accent-cyan);
  transform: translateX(-2px);
}

/* Tab toggle */
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  background: rgba(255,255,255,0.05);
  padding: 4px;
  border-radius: var(--radius-md);
}
.auth-tab {
  flex: 1;
  padding: 11px 20px;
  background: transparent;
  color: var(--color-light-dim);
  border: none;
  border-radius: calc(var(--radius-md) - 2px);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .25s;
  font-family: var(--font-body);
}
.auth-tab.active {
  background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
  color: #fff;
}

/* Auth form header */
.auth-header { margin-bottom: 28px; }
.auth-header h1 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--color-light);
  margin: 0 0 8px;
}
.auth-header p { color: var(--color-light-dim); font-size: 14px; margin: 0; line-height: 1.5; }

/* Auth form inputs */
.auth-wrap .form-group { margin-bottom: 18px; }
.auth-wrap .form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-light);
}
.auth-wrap .form-group input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,217,255,0.18);
  border-radius: var(--radius-md);
  color: var(--color-light);
  font-size: 14px;
  font-family: var(--font-body);
  transition: all .25s;
  outline: none;
  box-sizing: border-box;
}
.auth-wrap .form-group input:focus {
  border-color: var(--color-accent-purple);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.1);
}
.auth-wrap .form-group input::placeholder { color: rgba(255,255,255,0.2); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Password strength */
.strength-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.strength-bars { display: flex; gap: 4px; flex: 1; }
.strength-seg {
  height: 4px;
  flex: 1;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  transition: background .25s;
}
.strength-seg.weak   { background: #ef4444; }
.strength-seg.fair   { background: #f59e0b; }
.strength-seg.strong { background: #10b981; }
.strength-label { font-size: 11px; color: var(--color-light-dim); white-space: nowrap; min-width: 36px; }

/* Auth submit */
.btn-auth {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-cyan));
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  font-family: var(--font-body);
  margin-bottom: 14px;
}
.btn-auth:hover { opacity: .9; transform: translateY(-1px); }
.btn-auth:active { transform: translateY(0); }
.btn-auth:disabled { opacity: .55; pointer-events: none; }

/* Auth footer */
.auth-footer {
  text-align: center;
  color: var(--color-light-dim);
  font-size: 13px;
}
.auth-footer a { color: var(--color-accent-cyan); text-decoration: none; font-weight: 600; cursor: pointer; }
.auth-footer a:hover { text-decoration: underline; }

.form-section { display: none; }
.form-section.active { display: block; }

.forgot-link { text-align: right; margin: -10px 0 16px; }
.forgot-link a { font-size: 12px; color: var(--color-accent-cyan); text-decoration: none; }
.forgot-link a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .auth-left { display: none !important; }
  .auth-right { padding: 32px 20px; }
}
@media (min-width: 769px) {
  .auth-wrap.signup-mode .auth-left { display: flex; }
}

/* ============================================================
   25. AUTH — OTP Verify Page
   ============================================================ */

.otp-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
  z-index: 1;
}
.otp-card {
  width: 100%;
  max-width: 420px;
  background: rgba(20,24,41,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px 36px;
  backdrop-filter: blur(20px);
}
.otp-brand {
  text-align: center;
  margin-bottom: 28px;
}
.otp-brand a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}
.otp-icon {
  font-size: 40px;
  text-align: center;
  margin-bottom: 16px;
}
.otp-card h1 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-light);
  text-align: center;
  margin: 0 0 8px;
}
.otp-card .otp-subtitle {
  text-align: center;
  color: var(--color-light-dim);
  font-size: 14px;
  margin-bottom: 28px;
  line-height: 1.55;
}
.otp-card .otp-subtitle strong { color: var(--color-accent-cyan); }

/* 6-digit input row */
.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}
.otp-digit {
  width: 52px;
  height: 56px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--color-light);
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.otp-digit:focus {
  border-color: var(--color-accent-purple);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.15);
  background: rgba(255,255,255,0.06);
}

/* Verify button */
.btn-otp-verify {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-cyan));
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font-family: var(--font-body);
  margin-bottom: 20px;
  transition: opacity .2s, transform .2s;
}
.btn-otp-verify:hover { opacity: .9; transform: translateY(-1px); }
.btn-otp-verify:disabled { opacity: .55; pointer-events: none; }

/* Resend */
.otp-resend {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: var(--color-light-dim);
}
.otp-resend-link {
  color: var(--color-accent-cyan);
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}
.otp-resend-link:hover { text-decoration: underline; }
.otp-resend-link.disabled { color: var(--color-light-muted); pointer-events: none; }
.otp-timer { font-weight: 700; color: var(--color-accent-purple); }

/* ============================================================
   26. DASHBOARD — Scan Chart + QR Mini Cards
   ============================================================ */

/* Bar chart */
.chart-bar-wrap {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  padding: 0 4px;
}
.chart-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}
.chart-bar {
  width: 100%;
  min-height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--color-accent-cyan), var(--color-accent-purple));
  opacity: .85;
  transition: opacity .2s;
  position: relative;
  cursor: default;
}
.chart-bar:hover { opacity: 1; }
.chart-bar-label {
  font-size: 9px;
  color: var(--color-light-dim);
  white-space: nowrap;
  opacity: .6;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  height: 26px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chart-bar[data-count]::after {
  content: attr(data-count);
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.8);
  color: #fff;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
}
.chart-bar:hover::after { opacity: 1; }

/* QR card grid (dashboard) */
.qr-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .qr-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .qr-card-grid { grid-template-columns: 1fr; } }

.qr-mini-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, transform .2s;
}
.qr-mini-card:hover { border-color: rgba(0,217,255,0.2); transform: translateY(-2px); }
.qr-mini-card.expired { border-color: rgba(239,68,68,0.2); background: rgba(239,68,68,0.03); }
.qr-mini-card.expires-soon { border-color: rgba(245,158,11,0.25); background: rgba(245,158,11,0.03); }

.qr-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.qr-card-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.qr-card-title {
  flex: 1;
  font-size: 13px; font-weight: 600; color: var(--color-light);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qr-status-badge {
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 100px;
  white-space: nowrap; flex-shrink: 0;
}
.badge-active  { background: rgba(16,185,129,0.12); color: #10b981; }
.badge-expired { background: rgba(239,68,68,0.12);  color: #ef4444; }
.badge-soon    { background: rgba(245,158,11,0.12); color: #f59e0b; }

.qr-card-meta { display: flex; gap: 12px; font-size: 11px; color: var(--color-light-dim); }
.qr-card-meta span { display: flex; align-items: center; gap: 3px; }

.qr-card-actions { display: flex; gap: 6px; margin-top: 2px; }
.qr-card-btn {
  flex: 1;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  border-radius: 7px;
  color: var(--color-light-dim);
  font-size: 11px; font-weight: 600;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  font-family: var(--font-body);
}
.qr-card-btn:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.15);
  color: var(--color-light);
}
.qr-card-btn.primary {
  background: rgba(0,217,255,0.1);
  border-color: rgba(0,217,255,0.2);
  color: var(--color-accent-cyan);
}
.qr-card-btn.primary:hover { background: rgba(0,217,255,0.18); }

/* Renewal stat card colours */
.stat-card.renew-ok    { border-color: rgba(16,185,129,0.25); }
.stat-card.renew-warn  { border-color: rgba(245,158,11,0.35); }
.stat-card.renew-alert { border-color: rgba(239,68,68,0.4); }
.stat-card.renew-warn  .stat-value { color: #f59e0b; }
.stat-card.renew-alert .stat-value { color: #ef4444; }

/* ============================================================
   27. ONBOARDING — Shared Elements (Brand, Step Bar, Headings)
   ============================================================ */

/* Shared brand link */
.ob-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  display: block;
}

/* Step progress bar */
.step-bar { display: flex; align-items: center; }
.step-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--color-light-dim); }
.step-item.done   { color: #10b981; }
.step-item.active { color: var(--color-light); font-weight: 600; }
.step-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.step-item.done   .step-dot { background: rgba(16,185,129,0.15); border-color: rgba(16,185,129,0.4); color: #10b981; }
.step-item.active .step-dot { background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-cyan)); border-color: transparent; color: #fff; }
.step-line { width: 40px; height: 1px; background: rgba(255,255,255,0.1); margin: 0 6px; }

/* Shared page heading */
.ob-heading { margin-bottom: 36px; }
.ob-heading h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--color-light);
  margin: 0 0 8px;
  line-height: 1.15;
}
.ob-heading p { font-size: 15px; color: var(--color-light-dim); margin: 0; line-height: 1.6; }

/* Shared submit button */
.ob-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-cyan));
  color: #fff;
  border: none;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  margin-bottom: 14px;
  transition: opacity .2s, transform .2s;
}
.ob-submit:hover { opacity: .9; transform: translateY(-1px); }
.ob-submit:disabled { opacity: .5; pointer-events: none; }

.ob-skip {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--color-light-dim);
  text-decoration: none;
}
.ob-skip:hover { color: var(--color-light); text-decoration: underline; }

/* Shared alert */
.ob-alert {
  padding: 12px 16px;
  border-radius: 9px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
  line-height: 1.5;
}
.ob-alert.success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #10b981; display: block; }
.ob-alert.error   { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.3);  color: #ef4444;  display: block; }

/* ============================================================
   28. ONBOARDING — Plan Selection Page
   ============================================================ */

.ob-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 48px 24px 64px;
  max-width: var(--site-max-width);
  margin: 0 auto;
  width: 100%;
}

/* Plan grid */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 920px;
  width: 100%;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .plan-grid { grid-template-columns: 1fr; } }

.plan-card {
  background: rgba(255,255,255,0.03);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 28px 24px 24px;
  cursor: pointer;
  position: relative;
  transition: border-color .2s, transform .2s, background .2s;
  display: flex;
  flex-direction: column;
}
.plan-card:hover { border-color: rgba(168,85,247,0.45); background: rgba(168,85,247,0.04); transform: translateY(-4px); }
.plan-card.selected { border-color: var(--color-accent-cyan); background: rgba(0,217,255,0.05); transform: translateY(-4px); }
.plan-card.popular-card { border-color: rgba(168,85,247,0.35); }

.popular-pill {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-cyan));
  color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 16px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: .03em;
}

.plan-tier { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--color-light-dim); margin-bottom: 12px; }
.plan-price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.plan-price-amt { font-family: var(--font-display); font-size: 34px; font-weight: 900; color: var(--color-light); line-height: 1; }
.plan-price-per { font-size: 13px; color: var(--color-light-dim); }
.plan-desc { font-size: 13px; color: var(--color-light-dim); line-height: 1.55; margin-bottom: 20px; flex: 1; }
.plan-divider { height: 1px; background: rgba(255,255,255,0.07); margin-bottom: 16px; }

.plan-features { list-style: none; margin: 0; padding: 0; }
.plan-features li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-light-dim); margin-bottom: 7px; line-height: 1.3; }
.plan-features li .fi { font-size: 13px; flex-shrink: 0; width: 16px; text-align: center; }
.fi-yes { color: #10b981; }
.fi-no  { color: rgba(255,255,255,0.2); }

.selected-check {
  display: none;
  position: absolute;
  top: 14px; right: 14px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-accent-cyan);
  color: #000;
  font-size: 11px;
  align-items: center; justify-content: center;
  font-weight: 900;
}
.plan-card.selected .selected-check { display: flex; }

/* CTA row */
.ob-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ob-btn {
  padding: 15px 48px;
  background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-cyan));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: opacity .2s, transform .2s;
  min-width: 240px;
}
.ob-btn:hover { opacity: .9; transform: translateY(-2px); }
.ob-btn:active { transform: translateY(0); }
.ob-skip-link { font-size: 13px; color: var(--color-light-dim); text-decoration: none; }
.ob-skip-link:hover { color: var(--color-light); text-decoration: underline; }

/* ============================================================
   29. ONBOARDING — First QR Creation Page
   ============================================================ */

.ob-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 420px;
  max-width: var(--site-max-width);
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 860px) {
  .ob-layout { grid-template-columns: 1fr; }
  .ob-preview-panel { display: none; }
}

/* Left form panel */
.ob-form-panel {
  display: flex;
  flex-direction: column;
  padding: 48px 52px;
  max-width: 580px;
}
@media (max-width: 680px) { .ob-form-panel { padding: 36px 24px; } }

.ob-form-panel .ob-brand { margin-bottom: 36px; }

/* Step bar overrides for first-qr (larger line) */
.ob-form-panel .step-bar { margin-bottom: 44px; }
.ob-form-panel .step-line { width: 40px; }

/* Type selector pills */
.type-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.type-pill {
  padding: 7px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 13px; font-weight: 500;
  color: var(--color-light-dim);
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-body);
}
.type-pill:hover { border-color: rgba(168,85,247,0.4); color: var(--color-light); background: rgba(168,85,247,0.07); }
.type-pill.active { background: rgba(0,217,255,0.1); border-color: rgba(0,217,255,0.35); color: var(--color-accent-cyan); font-weight: 600; }

/* Form fields */
.ob-field { margin-bottom: 18px; }
.ob-label { display: block; font-size: 13px; font-weight: 600; color: var(--color-light); margin-bottom: 8px; }
.ob-label small { font-weight: 400; color: var(--color-light-dim); font-size: 11px; margin-left: 4px; }
.ob-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,217,255,0.18);
  border-radius: 10px;
  color: var(--color-light);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.ob-input:focus { border-color: var(--color-accent-purple); box-shadow: 0 0 0 3px rgba(168,85,247,0.1); background: rgba(255,255,255,0.06); }
.ob-input::placeholder { color: rgba(255,255,255,0.2); }

/* Right preview panel */
.ob-preview-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.015);
  padding: 48px 36px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.preview-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  width: 100%;
  max-width: 300px;
}
.preview-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--color-light-dim); margin-bottom: 20px;
}
.preview-area {
  min-height: 240px;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  margin-bottom: 16px;
}
#qrPreview { display: none; }
#qrPreview canvas, #qrPreview img { border-radius: 8px; max-width: 220px; }

.preview-ph { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--color-light-dim); opacity: .35; }
.preview-ph-icon {
  width: 68px; height: 68px;
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.preview-ph p { font-size: 12px; margin: 0; }

.preview-download {
  display: none;
  width: 100%;
  padding: 10px;
  background: rgba(0,217,255,0.1);
  border: 1px solid rgba(0,217,255,0.25);
  border-radius: 8px;
  color: var(--color-accent-cyan);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s;
}
.preview-download:hover { background: rgba(0,217,255,0.18); }

/* ============================================================
   30. QR — My QR Codes Page
   ============================================================ */

.view-toggle { display: flex; background: rgba(255,255,255,0.04); border-radius: 10px; padding: 4px; gap: 4px; }
.view-btn {
  padding: 7px 14px; border-radius: 7px; border: none;
  font-size: 13px; font-weight: 600; cursor: pointer;
  color: var(--color-light-muted); background: none;
  font-family: var(--font-body); transition: all 0.2s;
}
.view-btn.active { background: rgba(255,255,255,0.1); color: var(--color-light); }

/* Filter pills */
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.fpill {
  padding: 5px 14px; border-radius: 100px; border: 1px solid var(--border-glass);
  font-size: 12px; font-weight: 600; cursor: pointer;
  color: var(--color-light-dim); background: none;
  font-family: var(--font-body); transition: all 0.2s;
}
.fpill.active, .fpill:hover { border-color: var(--color-accent-cyan); color: var(--color-accent-cyan); }
.fpill.active { background: rgba(0,217,255,0.08); }

/* QR table */
.qr-table { width: 100%; border-collapse: collapse; }
.qr-table thead th {
  padding: 10px 14px; text-align: left;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--color-light-muted); border-bottom: 1px solid var(--border-glass);
}
.qr-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.15s; }
.qr-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.qr-table td { padding: 12px 14px; font-size: 13px; color: var(--color-light-dim); vertical-align: middle; }
.qr-table tr.expired-row td { background: rgba(239,68,68,0.04); }
.qr-table tr.expires-soon-row td { background: rgba(245,158,11,0.04); }

/* Type badge (my-qrcodes) */
.type-badge {
  display: inline-block; padding: 3px 9px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
}
.type-badge.url     { background: rgba(0,217,255,0.15);  color: #00d9ff; }
.type-badge.contact { background: rgba(168,85,247,0.15); color: #c084fc; }
.type-badge.wifi    { background: rgba(34,197,94,0.15);  color: #4ade80; }
.type-badge.email   { background: rgba(245,158,11,0.15); color: #fbbf24; }
.type-badge.phone   { background: rgba(236,72,153,0.15); color: #f472b6; }
.type-badge.sms     { background: rgba(99,102,241,0.15); color: #a5b4fc; }
.type-badge.text    { background: rgba(156,163,175,0.15); color: #9ca3af; }

/* Status indicators */
.status-active  { color: #22c55e; }
.status-expired { color: #ef4444; }
.status-soon    { color: #f59e0b; }

/* Table action links */
.tbl-actions { display: flex; gap: 10px; }
.tbl-action {
  font-size: 12px; color: var(--color-light-muted); cursor: pointer;
  background: none; border: none; font-family: var(--font-body);
  padding: 0; transition: color 0.2s;
}
.tbl-action:hover { color: var(--color-accent-cyan); }
.tbl-action.reactivate { color: var(--color-accent-purple); font-weight: 700; }
.tbl-action.reactivate:hover { color: var(--color-accent-pink); }

/* QR grid cards (my-qrcodes page) */
.qr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.qr-card {
  background: rgba(14,20,38,0.65); border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(20px); border-radius: var(--radius-md); padding: 16px;
  display: flex; flex-direction: column; gap: 10px; transition: border-color 0.2s;
}
.qr-card:hover { border-color: rgba(255,255,255,0.12); }
.qr-card.expired { border-color: rgba(239,68,68,0.25); background: rgba(239,68,68,0.04); }
.qr-card.expires-soon { border-color: rgba(245,158,11,0.25); }
.qr-thumb { width: 100%; height: 110px; object-fit: contain; border-radius: 6px; background: rgba(255,255,255,0.04); border: 1px dashed rgba(255,255,255,0.08); }
.qr-card-actions { display: flex; gap: 6px; margin-top: 2px; }
.qr-card-actions .btn { flex: 1; padding: 7px 4px; font-size: 11px; }

/* Expired banner */
.expired-banner {
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.25);
  border-radius: 10px; padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-bottom: 20px;
}
.expired-banner p { margin: 0; font-size: 14px; color: #fca5a5; }
.expired-banner a { color: #ef4444; font-weight: 700; text-decoration: none; }
.expired-banner a:hover { text-decoration: underline; }

/* ============================================================
   31. CHECKOUT — Payment Page
   ============================================================ */

.checkout-layout { min-height: 100vh; padding: 100px 24px 60px; position: relative; z-index: 1; max-width: var(--content-max-width); margin: 0 auto; width: 100%; }

.checkout-layout .page-header {
  text-align: center;
  margin-bottom: 48px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 40px;
  max-width: var(--content-max-width);
  margin: 0 auto;
}
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }

.plan-selector-section h2,
.payment-method-section h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dim);
}
.plan-selector-section h2 { margin-bottom: 24px; }

/* Plan option cards (checkout) */
.plan-cards { display: flex; flex-direction: column; gap: 16px; }
.plan-option {
  background: var(--bg-card);
  border: 2px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}
.plan-option:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.plan-option.selected {
  border-color: var(--accent-purple);
  background: linear-gradient(135deg, rgba(168,85,247,0.08), var(--bg-card));
}

.plan-radio {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-hover);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.3s;
}
.plan-option.selected .plan-radio { border-color: var(--accent-purple); }
.plan-radio::after {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent-purple);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.2s;
}
.plan-option.selected .plan-radio::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.plan-info { flex: 1; }
.plan-info h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.plan-info p  { font-size: 13px; color: var(--text-muted); }
.plan-price-tag { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--accent-cyan); }
.plan-price-tag small { font-size: 12px; font-weight: 400; color: var(--text-muted); }
.plan-badge {
  position: absolute;
  top: -10px; right: 16px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: white;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 100px;
}

/* Payment method tabs */
.method-tabs {
  display: flex;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 4px; gap: 4px;
  margin-bottom: 24px;
}
.method-tab {
  flex: 1; padding: 10px;
  text-align: center; font-size: 14px; font-weight: 600;
  color: var(--text-muted);
  background: none; border: none; border-radius: 9px;
  cursor: pointer; transition: all 0.3s;
  font-family: var(--font-body);
}
.method-tab.active { background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink)); color: white; }

/* Payment QR display */
.payment-qr-display {
  background: var(--bg-card); border: 1px solid var(--border-glass);
  border-radius: var(--radius-md); padding: 32px; text-align: center; margin-bottom: 24px;
}
.payment-qr-display p.instructions { font-size: 14px; color: var(--text-dim); margin-top: 16px; line-height: 1.7; }
.qr-placeholder {
  height: 180px; margin: 0 auto;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #000; font-weight: 600; padding: 12px;
}
.bank-details { text-align: left; }
.bank-detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--border-glass); font-size: 14px;
}
.bank-detail-row:last-child { border-bottom: none; }
.bank-detail-row span:first-child { color: var(--text-muted); }
.bank-detail-row span:last-child  { color: var(--text-white); font-weight: 600; }

/* Upload section */
.upload-section { background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); padding: 32px; }
.upload-section h2 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 24px; }

.checkout-layout .form-group { margin-bottom: 20px; }
.checkout-layout .form-group label {
  display: block; margin-bottom: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.checkout-layout .form-group input,
.checkout-layout .form-group textarea,
.checkout-layout .form-group select {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-glass);
  border-radius: 10px; color: var(--text-white);
  font-size: 14px; font-family: var(--font-body); transition: all 0.3s; outline: none;
}
.checkout-layout .form-group input::placeholder,
.checkout-layout .form-group textarea::placeholder { color: var(--text-muted); }
.checkout-layout .form-group input:focus,
.checkout-layout .form-group textarea:focus,
.checkout-layout .form-group select:focus {
  border-color: var(--accent-purple);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.15);
}
.checkout-layout .form-group select option { background: #0c1120; }

/* File drop zone */
.file-drop-zone {
  border: 2px dashed var(--border-glass);
  border-radius: 12px; padding: 40px 24px;
  text-align: center; cursor: pointer; transition: all 0.3s; position: relative;
}
.file-drop-zone:hover, .file-drop-zone.dragging { border-color: var(--accent-purple); background: rgba(168,85,247,0.05); }
.file-drop-zone i { font-size: 36px; color: var(--text-muted); margin-bottom: 16px; display: block; }
.file-drop-zone p { font-size: 14px; color: var(--text-dim); margin-bottom: 8px; }
.file-drop-zone small { font-size: 12px; color: var(--text-muted); }
.file-drop-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

.file-preview { display: none; margin-top: 16px; padding: 16px; background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.25); border-radius: 10px; align-items: center; gap: 12px; }
.file-preview.visible { display: flex; }
.file-preview i { color: #22c55e; }
.file-preview span { font-size: 14px; color: var(--text-white); }

/* Submit button */
.btn-submit-payment {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: white; border: none; border-radius: 12px;
  font-family: var(--font-body); font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all 0.3s;
  box-shadow: 0 8px 25px rgba(168,85,247,0.35);
  margin-top: 24px;
}
.btn-submit-payment:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(168,85,247,0.5); }
.btn-submit-payment:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Summary card */
.summary-card { background: rgba(168,85,247,0.08); border: 1px solid rgba(168,85,247,0.2); border-radius: 12px; padding: 20px; margin-top: 20px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; }
.summary-row:last-child { margin-bottom: 0; }
.summary-row span:first-child { color: var(--text-dim); }
.summary-row span:last-child  { font-weight: 700; }
.summary-total { font-size: 18px !important; color: var(--accent-cyan) !important; }

/* Toast notice */
.toast-notice { display: none; padding: 14px 18px; border-radius: 10px; font-size: 14px; font-weight: 500; margin-bottom: 20px; align-items: center; gap: 10px; }
.toast-notice.show { display: flex; }
.toast-notice.success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }
.toast-notice.error   { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.3);  color: #fca5a5; }

/* ============================================================
   32. ADMIN LOGIN — Standalone Login Page
   ============================================================ */

body.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark-1);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.bg-orb { position: fixed; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }
.bg-orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(168,85,247,0.12), transparent 70%); top: -120px; left: -120px; }
.bg-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,217,255,0.08), transparent 70%); bottom: -80px; right: -80px; }

.login-wrapper { position: relative; z-index: 1; width: 100%; max-width: 420px; }

.login-brand { text-align: center; margin-bottom: 32px; }
.login-brand .logo {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 900;
  background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block; margin-bottom: 6px; text-decoration: none;
}
.login-brand .admin-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  background: rgba(168,85,247,0.12); border: 1px solid rgba(168,85,247,0.3);
  border-radius: 100px; color: #c084fc;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}

.login-card {
  background: rgba(20,24,41,0.85); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 36px; backdrop-filter: blur(20px);
}
.login-card h2 { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--color-light); margin-bottom: 6px; }
.login-card .subtitle { color: var(--color-light-dim); font-size: 14px; margin-bottom: 28px; }

/* Admin login form */
.login-card .form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--color-light-dim); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px;
}
.input-wrap { position: relative; }
.input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--color-light-muted); font-size: 14px; pointer-events: none; }

.form-input {
  width: 100%; padding: 12px 14px 12px 42px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; color: var(--color-light);
  font-size: 14px; font-family: var(--font-body); transition: border-color 0.2s, background 0.2s;
}
.form-input:focus { outline: none; border-color: rgba(168,85,247,0.5); background: rgba(255,255,255,0.07); }
.form-input::placeholder { color: var(--color-light-muted); }

.toggle-pw {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--color-light-muted);
  cursor: pointer; padding: 0; font-size: 14px; transition: color 0.2s;
}
.toggle-pw:hover { color: var(--color-light); }

.btn-login {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-cyan));
  border: none; border-radius: 10px; color: white;
  font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: var(--font-body); margin-top: 8px; transition: opacity 0.2s, transform 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-login:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
.btn-login:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.alert-box {
  padding: 12px 14px; border-radius: 9px;
  font-size: 13.5px; font-weight: 500; margin-bottom: 20px;
  display: none; align-items: center; gap: 8px;
}
.alert-box.error   { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.25);  color: #f87171; display: flex; }
.alert-box.success { background: rgba(34,197,94,0.1);  border: 1px solid rgba(34,197,94,0.25);  color: #4ade80; display: flex; }

.login-footer { text-align: center; margin-top: 24px; font-size: 13px; color: var(--color-light-muted); }
.login-footer a { color: var(--color-light-dim); text-decoration: none; transition: color 0.2s; }
.login-footer a:hover { color: var(--color-accent-cyan); }

.security-notice {
  display: flex; align-items: center; gap: 8px;
  margin-top: 20px; padding: 10px 14px;
  background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.15);
  border-radius: 9px; font-size: 12px; color: rgba(251,191,36,0.7);
}

/* ============================================================
   33. ADMIN — Payment Management
   ============================================================ */

.receipt-img {
  width: 100%; max-height: 420px; object-fit: contain;
  border-radius: 10px; background: #000; margin-bottom: 16px;
  display: block; cursor: zoom-in;
}
.receipt-img.zoomed { max-height: none; cursor: zoom-out; }

.reject-reason {
  width: 100%; padding: 10px 12px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-glass);
  border-radius: 9px; color: var(--color-light); font-size: 13.5px;
  resize: vertical; font-family: var(--font-body); margin-top: 6px;
}
.reject-reason:focus { outline: none; border-color: rgba(239,68,68,0.4); }

.txn-highlight {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(0,217,255,0.1); border: 1px solid rgba(0,217,255,0.25);
  border-radius: 8px; font-size: 14px; font-weight: 700;
  color: var(--color-accent-cyan); font-family: monospace; letter-spacing: .04em;
}
.txn-highlight.extracted { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.3); color: #10b981; }
.txn-user { font-style: italic; color: var(--text-muted); font-family: monospace; }

.btn-ocr {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: rgba(168,85,247,0.12); border: 1px solid rgba(168,85,247,0.3);
  border-radius: 8px; color: #a78bfa;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: var(--font-body); transition: background .2s; white-space: nowrap;
}
.btn-ocr:hover { background: rgba(168,85,247,0.22); }
.btn-ocr:disabled { opacity: .5; pointer-events: none; }

.ocr-result { margin-top: 10px; padding: 10px 14px; border-radius: 8px; font-size: 13px; display: none; }
.ocr-result.success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25); color: #10b981; display: block; }
.ocr-result.warn    { background: rgba(245,158,11,0.1);  border: 1px solid rgba(245,158,11,0.25);  color: #f59e0b;  display: block; }
.ocr-result.error   { background: rgba(239,68,68,0.1);   border: 1px solid rgba(239,68,68,0.25);   color: #ef4444;  display: block; }

.receipt-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 20px; padding: 16px;
  background: rgba(255,255,255,0.03); border-radius: 10px; font-size: 13.5px;
}
.detail-item label {
  display: block; font-size: 11px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px;
}
.detail-item.full { grid-column: span 2; }

/* ============================================================
   34. ADMIN — System Settings
   ============================================================ */

.toggle-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.toggle-wrap:last-of-type { border-bottom: none; padding-bottom: 0; }
.toggle-wrap:first-of-type { padding-top: 0; }
.toggle-info { flex: 1; }
.toggle-label { font-size: 14px; font-weight: 600; color: var(--color-light); margin-bottom: 4px; }
.toggle-desc  { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* Toggle switch */
.switch { position: relative; display: inline-block; width: 48px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.1); border-radius: 26px;
  cursor: pointer; transition: background .25s;
}
.switch-slider::before {
  content: '';
  position: absolute; height: 20px; width: 20px; left: 3px; bottom: 3px;
  background: #fff; border-radius: 50%; transition: transform .25s;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.switch input:checked + .switch-slider { background: linear-gradient(135deg, #7c3aed, #00d9ff); }
.switch input:checked + .switch-slider::before { transform: translateX(22px); }

.toggle-status { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 100px; margin-left: 10px; vertical-align: middle; }
.toggle-status.on  { background: rgba(16,185,129,.15); color: #10b981; }
.toggle-status.off { background: rgba(239,68,68,.12);  color: #ef4444; }

/* Platform card */
.platform-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; overflow: hidden; margin-bottom: 0; }
.platform-card-head { padding: 20px 24px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.platform-card-head h3 { font-size: 15px; font-weight: 700; color: var(--color-light); margin: 0 0 4px; }
.platform-card-head p  { font-size: 13px; color: var(--text-muted); margin: 0; }
.platform-card-body { padding: 20px 24px; }

.settings-save-row {
  display: flex; align-items: center; gap: 14px;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ============================================
   35. LANDING PAGE
   ============================================ */

/* Nav */
/* Nav — full-width background strip */
.land-nav, .site-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10,10,20,0.85); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
/* Nav inner — constrained content row */
.site-nav-inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.land-nav .logo, .site-nav .logo {
    font-family: var(--font-display); font-size: 22px; font-weight: 800;
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    text-decoration: none;
}
.land-nav .nav-links, .site-nav .nav-links {
    display: flex; align-items: center; gap: 28px;
    list-style: none; margin: 0; padding: 0;
}
.land-nav .nav-links a, .site-nav .nav-links a { color: var(--color-light-dim); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.land-nav .nav-links a:hover, .site-nav .nav-links a:hover { color: var(--color-light); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-login {
    color: var(--color-light-dim) !important; font-size: 14px; font-weight: 500;
    text-decoration: none; padding: 8px 16px; border-radius: 8px;
    transition: background .2s, color .2s;
}
.nav-login:hover { background: rgba(255,255,255,0.07); color: var(--color-light) !important; }
.nav-signup {
    background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-cyan));
    color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none;
    padding: 9px 20px; border-radius: 8px; transition: opacity .2s, transform .2s;
}
.nav-signup:hover { opacity: .9; transform: translateY(-1px); }

/* Hero (landing) */
.hero { padding: 100px 40px; max-width: var(--content-max-width); margin: 0 auto; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    background: rgba(0,217,255,0.08); border: 1px solid rgba(0,217,255,0.2);
    border-radius: 100px; font-size: 12px; font-weight: 600;
    color: var(--color-accent-cyan); letter-spacing: .05em;
    text-transform: uppercase; margin-bottom: 24px;
}
.hero-headline {
    font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px);
    font-weight: 900; line-height: 1.1; color: var(--color-light); margin: 0 0 20px;
}
.hero-headline span {
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { color: var(--color-light-dim); font-size: 17px; line-height: 1.65; margin: 0 0 36px; }

/* Inline generator */
.gen-box {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(0,217,255,0.2);
    border-radius: 16px; padding: 28px; margin-bottom: 20px;
}
.gen-box label {
    display: block; font-size: 13px; font-weight: 600; color: var(--color-light-dim);
    margin-bottom: 10px; text-transform: uppercase; letter-spacing: .06em;
}
.gen-input-row { display: flex; gap: 10px; }
.gen-input {
    flex: 1; padding: 14px 18px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(0,217,255,0.25);
    border-radius: 10px; color: var(--color-light); font-size: 15px;
    font-family: var(--font-body); outline: none; transition: border-color .2s, box-shadow .2s;
}
.gen-input:focus { border-color: var(--color-accent-purple); box-shadow: 0 0 0 4px rgba(168,85,247,0.12); }
.gen-input::placeholder { color: rgba(255,255,255,0.25); }
.gen-btn {
    padding: 14px 26px;
    background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-cyan));
    border: none; border-radius: 10px; color: #fff; font-size: 15px; font-weight: 700;
    cursor: pointer; font-family: var(--font-body); white-space: nowrap;
    transition: opacity .2s, transform .2s;
}
.gen-btn:hover { opacity: .9; transform: translateY(-1px); }
.gen-btn:active { transform: translateY(0); }
.gen-notice { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-light-dim); margin-top: 14px; }
.gen-notice .dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; flex-shrink: 0; }
.gen-upsell { display: block; margin-top: 10px; font-size: 13px; color: var(--color-accent-cyan); text-decoration: none; font-weight: 600; }
.gen-upsell:hover { text-decoration: underline; }

/* QR preview */
.qr-preview-wrap { position: relative; }
.qr-preview-card {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); 
    min-height: 480px; height: auto; justify-content: center;
    border-radius: 20px; padding: 40px 32px; text-align: center;
    position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.qr-preview-card::before {
    content: "";
    position: absolute; top: -60px; right: -60px;
    width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(168,85,247,0.15), transparent 70%);
    pointer-events: none;
}
.qr-canvas-area { min-height: 300px; flex: 1; display: flex; align-items: center; justify-content: center; flex-direction: column; margin-bottom: 20px; }
#qrPreview canvas, #qrPreview img { border-radius: 12px; max-width: 280px; width: 100%; height: auto; box-shadow: 0 10px 40px rgba(0,0,0,0.4); }
.qr-placeholder { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--color-light-dim); }
.qr-placeholder-icon {
    width: 80px; height: 80px; border: 2px dashed rgba(255,255,255,0.15);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 32px; opacity: .4;
}
.qr-placeholder p { font-size: 14px; margin: 0; opacity: .5; }
.qr-download-btn {
    display: none; margin-top: 20px; width: 100%; padding: 12px 20px;
    background: rgba(0,217,255,0.12); border: 1px solid rgba(0,217,255,0.3);
    border-radius: 10px; color: var(--color-accent-cyan); font-size: 14px; font-weight: 600;
    cursor: pointer; font-family: var(--font-body); transition: background .2s;
}
.qr-download-btn:hover { background: rgba(0,217,255,0.2); }
.qr-expiry-tag {
    display: none; margin-top: 12px; padding: 6px 12px;
    background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.25);
    border-radius: 8px; font-size: 12px; color: #f59e0b;
}
.qr-save-prompt { display: none; margin-top: 12px; font-size: 13px; color: var(--color-light-dim); }
.qr-save-prompt a { color: var(--color-accent-cyan); font-weight: 600; text-decoration: none; }
.qr-save-prompt a:hover { text-decoration: underline; }

/* Section labels */
.section-label { 
    text-align: center; 
    font-size: 13px; 
    font-weight: 700; 
    letter-spacing: .15em; 
    text-transform: uppercase; 
    color: var(--color-accent-cyan); 
    margin: 0 auto 16px; 
    display: block;
    width: fit-content;
}
.section-title { text-align: center; font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 42px); font-weight: 800; color: var(--color-light); margin: 0 auto 64px; max-width: 800px; line-height: 1.2; }

/* Why upgrade */
.why-section { padding: 100px 40px; max-width: var(--content-max-width); margin: 0 auto; width: 100%; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.why-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 20px; transition: border-color .25s, transform .25s; }
.why-card:hover { border-color: rgba(168,85,247,0.35); transform: translateY(-3px); }
.why-icon { font-size: 28px; margin-bottom: 16px; display: block; }
.why-title { font-size: 16px; font-weight: 700; color: var(--color-light); margin-bottom: 8px; }
.why-desc { font-size: 14px; color: var(--color-light-dim); line-height: 1.6; }
.why-badge { display: inline-block; margin-top: 12px; padding: 3px 10px; background: rgba(168,85,247,0.12); border-radius: 100px; font-size: 11px; font-weight: 600; color: #a78bfa; }

/* Social proof bar — full-width stripe with constrained inner content */

.proof-bar {
  padding: 40px;
  background: rgba(0,0,0,0.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: var(--color-light); 



}


.proof-bar-inner { max-width: var(--content-max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-around; gap: 20px; flex-wrap: wrap; }
.proof-item { text-align: center; }
.proof-num { font-family: var(--font-display); font-size: 28px; font-weight: 800; background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.proof-lbl { font-size: 12px; color: var(--color-light-dim); margin-top: 3px; }

/* Testimonials */
.testimonials { padding: 100px 40px; max-width: var(--content-max-width); margin: 0 auto; width: 100%; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testi-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 28px; }
.testi-stars { color: #f59e0b; font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text { font-size: 15px; color: var(--color-light-dim); line-height: 1.7; margin: 0 0 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; background: rgba(255,255,255,0.07); }
.testi-name { font-size: 14px; font-weight: 700; color: var(--color-light); }
.testi-role { font-size: 12px; color: var(--color-light-dim); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(0,217,255,0.1));
  border: 1px solid rgba(168,85,247,0.3); border-radius: 20px; padding: 80px 40px;
  text-align: center; max-width: var(--content-max-width); margin: 0 auto 100px; width: 100%;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}



.cta-banner h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 36px); font-weight: 800; color: var(--color-light); margin: 0 0 12px; }
.cta-banner p { font-size: 16px; color: var(--color-light-dim); margin: 0 0 32px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-actions .cta-primary { display: inline-block; padding: 14px 32px; background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-cyan)); color: #fff; font-size: 16px; font-weight: 700; border-radius: 10px; text-decoration: none; transition: opacity .2s, transform .2s; }
.cta-actions .cta-primary:hover { opacity: .9; transform: translateY(-2px); }
.cta-actions .cta-secondary { display: inline-block; padding: 14px 32px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: var(--color-light); font-size: 16px; font-weight: 600; border-radius: 10px; text-decoration: none; transition: background .2s; }
.cta-actions .cta-secondary:hover { background: rgba(255,255,255,0.1); }

/* Footer */
.land-footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 40px; max-width: var(--content-max-width); margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.land-footer .logo { font-family: var(--font-display); font-size: 18px; font-weight: 800; text-decoration: none; background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.land-footer .links { display: flex; gap: 24px; }
.land-footer .links a { font-size: 13px; color: var(--color-light-dim); text-decoration: none; transition: color .2s; }
.land-footer .links a:hover { color: var(--color-light); }
.land-footer .copy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* Responsive */
@media (max-width: 768px) {
    .site-nav-inner { padding: 0 20px; }
    .land-nav .nav-links, .site-nav .nav-links { display: none; }
    .hero { padding: 48px 20px 40px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .why-section, .testimonials { padding: 48px 20px; }
    .proof-bar { padding: 24px 20px; }
    .cta-banner { margin: 0 20px 60px; padding: 40px 24px; }
    .land-footer { padding: 32px 20px; flex-direction: column; text-align: center; }
    .gen-input-row { flex-direction: column; }
}

/* ============================================
   36. PRICING PAGE
   ============================================ */

.pricing-wrap { max-width: var(--content-max-width); margin: 0 auto; padding: 80px 24px 64px; width: 100%; }

/* Hero (pricing — overrides landing hero inside pricing-wrap; matches landing .hero-eyebrow/.hero-headline treatment) */
.pricing-wrap .hero { text-align: center; margin-bottom: 64px; padding: 0; max-width: none; min-height: 0; }
.pricing-wrap .hero .badge-label {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    background: rgba(0,217,255,0.08); border: 1px solid rgba(0,217,255,0.2);
    border-radius: 100px; font-size: 12px; font-weight: 600;
    color: var(--color-accent-cyan); letter-spacing: .05em;
    text-transform: uppercase; margin-bottom: 16px;
}
.pricing-wrap .hero h1 {
    font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 900; line-height: 1.1; letter-spacing: -.8px;
    color: var(--color-light); margin: 0 0 10px;
}
.pricing-wrap .hero h1 span {
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pricing-wrap .hero p { font-size: 15px; color: var(--color-light-dim); line-height: 1.6; max-width: 500px; margin: 0 auto; }

/* Current plan banner */
.current-plan-banner { background: rgba(0,217,255,0.07); border: 1px solid rgba(0,217,255,0.2); border-radius: 12px; padding: 12px 18px; margin-bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.current-plan-banner.expired { background: rgba(239,68,68,0.07); border-color: rgba(239,68,68,0.25); }

/* Plans grid */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 52px; }

/* Plan cards (pricing page — scoped to avoid conflict with onboarding plan cards) */
.pricing-wrap .plan-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 28px 24px; position: relative; transition: transform .3s, border-color .3s, box-shadow .3s; display: flex; flex-direction: column; cursor: default; }
.pricing-wrap .plan-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.15); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.pricing-wrap .plan-card.featured { border-color: rgba(168,85,247,0.5); background: linear-gradient(160deg, rgba(168,85,247,0.07), rgba(255,255,255,0.03)); box-shadow: 0 0 40px rgba(168,85,247,0.1); }
.pricing-wrap .plan-card.current-plan { border-color: rgba(0,217,255,0.5); background: linear-gradient(160deg, rgba(0,217,255,0.06), rgba(255,255,255,0.03)); }

/* Pill badges (pricing page) */
.pricing-wrap .plan-pill { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 16px; border-radius: 100px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.pricing-wrap .pill-popular { background: linear-gradient(135deg,#a855f7,#ec4899); color: #fff; }
.pricing-wrap .pill-current { background: rgba(0,217,255,0.15); border: 1px solid rgba(0,217,255,0.4); color: #00d9ff; }

/* Plan card content (pricing page) */
.pricing-wrap .plan-icon { font-size: 28px; margin-bottom: 8px; }
.pricing-wrap .plan-name { font-family: var(--font-display); font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.pricing-wrap .plan-desc { font-size: 13px; color: var(--color-light-dim); margin: 0 0 16px; }
.pricing-wrap .plan-price { font-family: var(--font-display); font-size: 36px; font-weight: 900; color: #fff; margin: 0 0 2px; }
.pricing-wrap .plan-price small { font-size: 14px; font-weight: 400; color: var(--color-light-dim); }
.pricing-wrap .plan-period { font-size: 12px; color: var(--color-light-dim); margin: 0 0 18px; }
.pricing-wrap .plan-features { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.pricing-wrap .plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--color-light-dim); padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.pricing-wrap .plan-features li:last-child { border-bottom: none; }
.pricing-wrap .plan-features li .check { color: #10b981; font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.pricing-wrap .plan-features li .cross { color: rgba(255,255,255,0.2); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.pricing-wrap .plan-features li.feat-strong { color: #e2e8f0; font-weight: 500; }

/* Plan CTA buttons (pricing page) */
.pricing-wrap .plan-cta { display: block; text-align: center; padding: 11px 18px; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; transition: all .2s; cursor: pointer; border: none; font-family: var(--font-body); }
.pricing-wrap .plan-cta.cta-primary { background: linear-gradient(135deg,#a855f7,#6366f1); color: #fff; box-shadow: 0 8px 24px rgba(168,85,247,0.3); }
.pricing-wrap .plan-cta.cta-primary:hover { box-shadow: 0 12px 32px rgba(168,85,247,0.5); transform: translateY(-1px); }
.pricing-wrap .plan-cta.cta-secondary { background: rgba(255,255,255,0.05); color: #94a3b8; border: 1px solid rgba(255,255,255,0.1); }
.pricing-wrap .plan-cta.cta-secondary:hover { background: rgba(255,255,255,0.08); color: #e2e8f0; }
.pricing-wrap .plan-cta.cta-current { background: rgba(0,217,255,0.08); color: #00d9ff; border: 1px solid rgba(0,217,255,0.25); cursor: default; }

/* Section title (pricing) */
.pricing-wrap .section-title { font-family: var(--font-display); font-size: 26px; font-weight: 800; text-align: center; margin: 0 0 24px; letter-spacing: -.5px; }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; margin-bottom: 52px; background: rgba(255,255,255,0.02); border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.07); }
.compare-table th, .compare-table td { padding: 11px 18px; font-size: 13px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.compare-table th { font-family: var(--font-display); font-size: 14px; font-weight: 700; background: rgba(255,255,255,0.04); color: #e2e8f0; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: #94a3b8; width: 35%; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td.yes { color: #10b981; font-weight: 600; }
.compare-table td.no  { color: rgba(255,255,255,0.2); }
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }
.compare-table th.col-featured { color: #a855f7; }

/* FAQ */
.faq-wrap { max-width: 720px; margin: 0 auto 52px; }
.faq-item { border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; margin-bottom: 8px; overflow: hidden; }
.faq-q { width: 100%; background: rgba(255,255,255,0.03); border: none; color: #e2e8f0; font-size: 14px; font-weight: 600; font-family: inherit; padding: 14px 18px; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background .2s; }
.faq-q:hover { background: rgba(255,255,255,0.05); }
.faq-q .faq-icon { font-size: 18px; color: #94a3b8; transition: transform .3s; flex-shrink: 0; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; font-size: 13px; color: #94a3b8; line-height: 1.65; }
.faq-a.open { max-height: 200px; }
.faq-a-inner { padding: 10px 18px 14px; }

/* CTA footer */
.cta-footer { text-align: center; padding: 40px 24px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.07); border-radius: 18px; }
.cta-footer h2 { font-family: var(--font-display); font-size: 26px; font-weight: 800; margin: 0 0 8px; }
.cta-footer p { color: #94a3b8; margin: 0 0 20px; font-size: 14px; }

/* ============================================
   37. SHARED SITE FOOTER & DASHBOARD FOOTER BAR
   ============================================ */

/* Dashboard app footer strip */
.dashboard-footer-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.15);
}
.dashboard-footer-bar strong { color: rgba(255,255,255,0.5); font-weight: 600; }
.dfb-sep { opacity: .4; }

.site-footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 60px;
    backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.site-footer-inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}
.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}
.footer-links a {
    font-size: 13px;
    color: var(--color-light-dim);
    text-decoration: none;
    transition: color .2s;
}
.footer-links a:hover { color: var(--color-light); }
.footer-right {
    text-align: right;
    flex-shrink: 0;
}
.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 4px;
}
.footer-studio {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}
.footer-studio strong {
    color: rgba(255,255,255,0.65);
    font-weight: 600;
}

@media (max-width: 768px) {
    .site-footer-inner {
        padding: 28px 20px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .footer-right { text-align: center; }
    .footer-links { justify-content: center; }
}


/* ==== Glass‑morphism utility ==== */
.glass {
  /* Semi‑transparent background – lets the backdrop show through */
  background: rgba(255, 255, 255, 0.05);   /* tweak the alpha to your taste */

  /* Optional dark overlay for better contrast on light backgrounds */
  /* background: rgba(0, 0, 0, 0.35); */

  /* Soft, frosted blur */
  backdrop-filter: blur(5px);            /* the “glass” effect */
  -webkit-backdrop-filter: blur(5px);    /* Safari support */

  /* Subtle border/gloss */
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;                    /* rounded corners */

  /* Light inner glow – optional, adds depth */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);

  /* Padding & layout – adjust per component */
  padding: 1.5rem;
}

/* Example usage on your pricing cards */
.plan-card {
    composes: glass;          /* if you use a pre‑processor, otherwise just add the class */
}

/* If you prefer a dark‑glass look (works great on bright backgrounds) */
.glass-dark {
  background: rgba(0,0,0,0.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  color: var(--color-light);   /* make sure text is light enough */
}

/* ============================================
   25. LANDING PAGE GENERATOR & LINK SHORTENER
   ============================================ */

.gen-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px;
  border-radius: 14px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gen-tab {
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--color-light-dim);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gen-tab:hover {
  color: var(--color-light);
  background: rgba(255, 255, 255, 0.05);
}

.gen-tab.active {
  background: var(--color-accent-cyan);
  color: var(--color-dark-1);
  box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
}

.link-placeholder-icon {
  font-size: 48px;
  opacity: 0.2;
  margin-bottom: 12px;
}

.short-link-display {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-accent-cyan);
  padding: 14px 20px;
  border-radius: 12px;
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 18px;
  color: var(--color-accent-cyan);
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.15);
}

.link-row a {
  transition: opacity 0.2s;
}

.link-row a:hover {
  opacity: 0.8;
}

@media (max-width: 640px) {
  .gen-tabs {
    width: 100%;
  }
  .gen-tab {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
    font-size: 13px;
  }
  .short-link-display {
    font-size: 15px;
  }
}
