/* ============================================================
   Delivra — Food & Grocery Delivery SaaS Platform
   Custom Design System — style.css
   Built by Teamseven Private Limited | teamseven.ltd
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   1. CSS VARIABLES — DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colors */
  --clr-primary:        #16A34A;
  --clr-primary-light:  #22C55E;
  --clr-primary-dark:   #15803D;
  --clr-primary-glow:   rgba(22, 163, 74, 0.35);

  --clr-accent-orange:  #F97316;
  --clr-accent-yellow:  #EAB308;
  --clr-accent-red:     #EF4444;
  --clr-accent-teal:    #14B8A6;

  /* Dark Mode Backgrounds */
  --clr-bg-dark:        #070E06;
  --clr-bg-dark-1:      #0A1409;
  --clr-bg-dark-2:      #0F1E0C;
  --clr-bg-dark-3:      #162B12;
  --clr-bg-dark-card:   rgba(15, 30, 12, 0.75);

  /* Light Mode Backgrounds */
  --clr-bg-light:       #F7FEF4;
  --clr-bg-light-1:     #ECFDF5;
  --clr-bg-light-2:     #FFFFFF;
  --clr-bg-light-card:  rgba(255, 255, 255, 0.80);

  /* Text — Dark Mode */
  --clr-text-primary:   #F0FDF4;
  --clr-text-secondary: #BBF7D0;
  --clr-text-muted:     #6B7280;
  --clr-text-dim:       #4B5563;

  /* Text — Light Mode */
  --clr-text-dark-primary:   #071A06;
  --clr-text-dark-secondary: #1A3A18;
  --clr-text-dark-muted:     #52525B;

  /* Glass Effect */
  --glass-bg-dark:      rgba(255, 255, 255, 0.05);
  --glass-bg-light:     rgba(255, 255, 255, 0.75);
  --glass-border-dark:  rgba(255, 255, 255, 0.10);
  --glass-border-light: rgba(22, 163, 74, 0.20);
  --glass-blur:         blur(24px);
  --glass-blur-sm:      blur(12px);
  --glass-blur-lg:      blur(40px);

  /* Gradients */
  --gradient-primary:   linear-gradient(135deg, #16A34A 0%, #22C55E 100%);
  --gradient-warm:      linear-gradient(135deg, #F97316 0%, #EAB308 100%);
  --gradient-cinematic: linear-gradient(135deg, #070E06 0%, #0F1E0C 40%, #162B12 100%);
  --gradient-hero:      radial-gradient(ellipse at 30% 50%, rgba(22, 163, 74, 0.18) 0%, transparent 60%),
                        radial-gradient(ellipse at 80% 20%, rgba(249, 115, 22, 0.12) 0%, transparent 50%),
                        radial-gradient(ellipse at 60% 80%, rgba(234, 179, 8, 0.08) 0%, transparent 50%);
  --gradient-card:      linear-gradient(145deg, rgba(22, 163, 74, 0.12) 0%, rgba(249, 115, 22, 0.06) 100%);
  --gradient-mesh:      radial-gradient(at 20% 80%, rgba(22, 163, 74, 0.15) 0px, transparent 50%),
                        radial-gradient(at 80% 20%, rgba(249, 115, 22, 0.10) 0px, transparent 50%),
                        radial-gradient(at 50% 50%, rgba(234, 179, 8, 0.05) 0px, transparent 50%);

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md:   0 8px 32px rgba(0, 0, 0, 0.25);
  --shadow-lg:   0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-xl:   0 40px 80px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(22, 163, 74, 0.30);
  --shadow-warm: 0 0 40px rgba(249, 115, 22, 0.20);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.08);

  /* Border Radius */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Spacing Scale */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

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

  /* Transitions */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index Scale */
  --z-below:   -1;
  --z-base:     0;
  --z-raised:   10;
  --z-overlay:  100;
  --z-modal:    200;
  --z-toast:    300;
  --z-nav:      400;
}

/* ============================================================
   2. BASE RESET & GLOBAL STYLES
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  background-color: var(--clr-bg-dark-1);
  color: var(--clr-text-primary);
  overflow-x: hidden;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* Light Mode */
body.light-mode {
  background-color: var(--clr-bg-light);
  color: var(--clr-text-dark-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
}

/* ============================================================
   3. GLASS MORPHISM SYSTEM
   ============================================================ */

/* Base glass card */
.glass-card {
  background: var(--glass-bg-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-dark);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px var(--clr-primary-glow);
}

/* Light mode glass card */
body.light-mode .glass-card {
  background: var(--glass-bg-light);
  border-color: var(--glass-border-light);
  box-shadow: 0 8px 32px rgba(22, 163, 74, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-mode .glass-card:hover {
  box-shadow: 0 20px 60px rgba(22, 163, 74, 0.15), 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Nano glass (for tags, badges) */
.glass-nano {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
}

body.light-mode .glass-nano {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.18);
}

/* ============================================================
   4. BUTTON SYSTEM
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Ripple effect */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity var(--transition-fast);
  border-radius: inherit;
}

.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

/* Primary button */
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.40);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(22, 163, 74, 0.55);
  transform: translateY(-1px);
}

/* Secondary/outline button */
.btn-outline {
  background: transparent;
  color: var(--clr-primary-light);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.btn-outline:hover {
  background: rgba(34, 197, 94, 0.08);
  border-color: var(--clr-primary-light);
}

body.light-mode .btn-outline {
  color: var(--clr-primary-dark);
  border-color: var(--clr-primary);
}

body.light-mode .btn-outline:hover {
  background: rgba(22, 163, 74, 0.08);
}

/* Ghost button */
.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--clr-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
}

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

body.light-mode .btn-ghost {
  color: var(--clr-text-dark-primary);
  background: rgba(7, 26, 6, 0.06);
  border-color: rgba(7, 26, 6, 0.15);
}

body.light-mode .btn-ghost:hover {
  background: rgba(7, 26, 6, 0.11);
  color: var(--clr-text-dark-primary);
}

/* Warm accent button */
.btn-warm {
  background: var(--gradient-warm);
  color: #fff;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.35);
}

.btn-warm:hover {
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.50);
  transform: translateY(-1px);
}

/* Sizes */
.btn-sm  { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn-lg  { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn-xl  { padding: var(--space-5) var(--space-10); font-size: var(--text-lg); }

/* ============================================================
   5. NAVIGATION
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--space-4) 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(7, 14, 6, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-3) 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.30);
}

body.light-mode .navbar.scrolled {
  background: rgba(247, 254, 244, 0.88);
  border-bottom-color: rgba(22, 163, 74, 0.15);
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #22C55E 0%, #86EFAC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .navbar-brand {
  background: linear-gradient(135deg, #15803D 0%, #16A34A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-brand span {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(240, 253, 244, 0.75);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--clr-text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--clr-primary-light);
}

body.light-mode .nav-link {
  color: rgba(7, 26, 6, 0.65);
}

body.light-mode .nav-link:hover {
  color: var(--clr-text-dark-primary);
  background: rgba(22, 163, 74, 0.06);
}

body.light-mode .nav-link.active {
  color: var(--clr-primary-dark);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(10, 20, 9, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

body.light-mode .nav-dropdown-menu {
  background: rgba(247, 254, 244, 0.95);
  border-color: rgba(22, 163, 74, 0.15);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  background: rgba(7, 14, 6, 0.96);
  backdrop-filter: var(--glass-blur-lg);
  -webkit-backdrop-filter: var(--glass-blur-lg);
  padding: 100px var(--space-6) var(--space-6);
  flex-direction: column;
  gap: var(--space-2);
  overflow-y: auto;
}

.mobile-menu.open { display: flex; }

body.light-mode .mobile-menu {
  background: rgba(247, 254, 244, 0.97);
}

/* ============================================================
   6. HERO SECTION
   ============================================================ */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--clr-bg-dark-1);
  z-index: var(--z-below);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: var(--z-below);
}

body.light-mode .hero-bg {
  background: linear-gradient(160deg, #F0FDF4 0%, #ECFDF5 50%, #F7FEF4 100%);
}

/* Animated orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-float 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.20) 0%, transparent 70%);
  top: -100px;
  left: -150px;
  animation-duration: 10s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
  top: 30%;
  right: -80px;
  animation-duration: 7s;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.12) 0%, transparent 70%);
  bottom: 10%;
  left: 30%;
  animation-duration: 9s;
  animation-delay: -6s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -30px) scale(1.05); }
  66%       { transform: translate(-15px, 20px) scale(0.95); }
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: var(--z-below);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3) var(--space-1) var(--space-1);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.25);
  color: var(--clr-primary-light);
  margin-bottom: var(--space-5);
}

.hero-badge-dot {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}

.hero-title .text-gradient-primary {
  background: linear-gradient(135deg, #22C55E 0%, #86EFAC 50%, #BBFFD1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .hero-title .text-gradient-primary {
  background: linear-gradient(135deg, #15803D 0%, #16A34A 50%, #22C55E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .text-gradient-warm {
  background: linear-gradient(135deg, #F97316 0%, #FCD34D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(240, 253, 244, 0.65);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: var(--space-8);
}

body.light-mode .hero-subtitle {
  color: rgba(7, 26, 6, 0.60);
}

/* ============================================================
   7. SECTION SYSTEM
   ============================================================ */

.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section-sm   { padding: var(--space-16) 0; }
.section-lg   { padding: var(--space-32) 0; }

.section-bg-alt {
  background: rgba(15, 30, 12, 0.50);
}

body.light-mode .section-bg-alt {
  background: rgba(240, 253, 244, 0.70);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-16);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(22, 163, 74, 0.10);
  border: 1px solid rgba(22, 163, 74, 0.22);
  color: var(--clr-primary-light);
  margin-bottom: var(--space-4);
}

body.light-mode .section-tag {
  color: var(--clr-primary-dark);
  background: rgba(22, 163, 74, 0.08);
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

body.light-mode .section-title {
  color: var(--clr-text-dark-primary);
}

.section-desc {
  font-size: var(--text-lg);
  color: rgba(240, 253, 244, 0.60);
  line-height: 1.7;
}

body.light-mode .section-desc {
  color: rgba(7, 26, 6, 0.55);
}

/* ============================================================
   8. FEATURE CARDS
   ============================================================ */

.feature-card {
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.20);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon-wrap {
  background: rgba(22, 163, 74, 0.20);
  box-shadow: 0 0 20px rgba(22, 163, 74, 0.25);
  transform: scale(1.05);
}

.feature-icon-wrap.warm {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.20);
}

.feature-card:hover .feature-icon-wrap.warm {
  background: rgba(249, 115, 22, 0.20);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.25);
}

.feature-icon-wrap.yellow {
  background: rgba(234, 179, 8, 0.12);
  border-color: rgba(234, 179, 8, 0.20);
}

.feature-icon-wrap.teal {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.20);
}

.feature-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

body.light-mode .feature-title {
  color: var(--clr-text-dark-primary);
}

.feature-desc {
  font-size: var(--text-sm);
  color: rgba(240, 253, 244, 0.55);
  line-height: 1.65;
}

body.light-mode .feature-desc {
  color: rgba(7, 26, 6, 0.55);
}

/* ============================================================
   9. PRICING CARDS
   ============================================================ */

.pricing-card {
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.pricing-card.featured {
  background: linear-gradient(145deg, rgba(22, 163, 74, 0.15) 0%, rgba(22, 163, 74, 0.05) 100%);
  border-color: rgba(22, 163, 74, 0.35) !important;
  transform: scale(1.03);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(22, 163, 74, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-price sup {
  font-size: 1.5rem;
  vertical-align: top;
  margin-top: 0.5rem;
  font-weight: 600;
  opacity: 0.8;
}

.pricing-price sub {
  font-size: var(--text-base);
  font-weight: 400;
  opacity: 0.6;
  letter-spacing: 0;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: rgba(240, 253, 244, 0.70);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-mode .pricing-feature-item {
  color: rgba(7, 26, 6, 0.65);
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

.pricing-feature-item:last-child { border-bottom: none; }

.pricing-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22, 163, 74, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-primary-light);
}

/* ============================================================
   10. STATS SECTION
   ============================================================ */

.stat-card {
  text-align: center;
  padding: var(--space-8);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #22C55E 0%, #86EFAC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
}

.stat-number.warm {
  background: linear-gradient(135deg, #F97316 0%, #FCD34D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .stat-number {
  background: linear-gradient(135deg, #15803D 0%, #16A34A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(240, 253, 244, 0.55);
  font-weight: 500;
}

body.light-mode .stat-label {
  color: rgba(7, 26, 6, 0.55);
}

/* ============================================================
   11. TESTIMONIAL CARDS
   ============================================================ */

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

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-4);
  color: var(--clr-accent-yellow);
}

.testimonial-text {
  font-size: var(--text-base);
  line-height: 1.75;
  color: rgba(240, 253, 244, 0.75);
  margin-bottom: var(--space-6);
  font-style: italic;
}

body.light-mode .testimonial-text {
  color: rgba(7, 26, 6, 0.70);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: var(--text-sm);
}

body.light-mode .testimonial-name {
  color: var(--clr-text-dark-primary);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: rgba(240, 253, 244, 0.50);
}

body.light-mode .testimonial-role {
  color: rgba(7, 26, 6, 0.50);
}

/* ============================================================
   12. INTEGRATION LOGOS
   ============================================================ */

.integration-logo {
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  filter: grayscale(1) opacity(0.5);
}

.integration-logo:hover {
  filter: grayscale(0) opacity(1);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(22, 163, 74, 0.25);
}

body.light-mode .integration-logo {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
  filter: grayscale(1) opacity(0.4);
}

body.light-mode .integration-logo:hover {
  filter: grayscale(0) opacity(0.85);
  background: rgba(22, 163, 74, 0.05);
}

/* ============================================================
   13. TICKER / MARQUEE
   ============================================================ */

.ticker-wrap {
  overflow: hidden;
  position: relative;
}

.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
}

.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--clr-bg-dark-1), transparent);
}

.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--clr-bg-dark-1), transparent);
}

body.light-mode .ticker-wrap::before {
  background: linear-gradient(to right, var(--clr-bg-light), transparent);
}

body.light-mode .ticker-wrap::after {
  background: linear-gradient(to left, var(--clr-bg-light), transparent);
}

.ticker-track {
  display: flex;
  gap: var(--space-6);
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   14. HOW IT WORKS STEPS
   ============================================================ */

.step-card {
  padding: var(--space-8);
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-5);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
  flex-shrink: 0;
}

.step-connector {
  position: absolute;
  top: 44px;
  right: -50%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.4), transparent);
}

/* ============================================================
   15. FAQ ACCORDION
   ============================================================ */

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-3);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition-base);
}

body.light-mode .faq-item {
  border-color: rgba(22, 163, 74, 0.15);
  background: rgba(22, 163, 74, 0.03);
}

.faq-item.open {
  border-color: rgba(22, 163, 74, 0.25);
  background: rgba(22, 163, 74, 0.05);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-base);
  gap: var(--space-4);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--clr-primary-light);
}

body.light-mode .faq-question {
  color: var(--clr-text-dark-primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
  color: rgba(240, 253, 244, 0.60);
}

.faq-item.open .faq-icon {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
  font-size: var(--text-sm);
  color: rgba(240, 253, 244, 0.60);
  line-height: 1.7;
}

body.light-mode .faq-answer {
  color: rgba(7, 26, 6, 0.60);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
}

/* ============================================================
   16. FORM ELEMENTS
   ============================================================ */

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

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: rgba(240, 253, 244, 0.80);
}

body.light-mode .form-label {
  color: rgba(7, 26, 6, 0.75);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  color: var(--clr-text-primary);
  font-size: var(--text-base);
  font-family: var(--font-body);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--clr-primary);
  background: rgba(22, 163, 74, 0.05);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.form-input::placeholder {
  color: rgba(240, 253, 244, 0.35);
}

body.light-mode .form-input {
  background: rgba(255, 255, 255, 0.80);
  border-color: rgba(22, 163, 74, 0.20);
  color: var(--clr-text-dark-primary);
}

body.light-mode .form-input::placeholder {
  color: rgba(7, 26, 6, 0.35);
}

body.light-mode .form-input:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

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

/* ============================================================
   17. BADGE & TAG COMPONENTS
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-green  { background: rgba(22, 163, 74, 0.15); color: var(--clr-primary-light); border: 1px solid rgba(22, 163, 74, 0.25); }
.badge-orange { background: rgba(249, 115, 22, 0.15); color: #FB923C; border: 1px solid rgba(249, 115, 22, 0.25); }
.badge-yellow { background: rgba(234, 179, 8, 0.15);  color: #FDE047; border: 1px solid rgba(234, 179, 8, 0.25); }
.badge-teal   { background: rgba(20, 184, 166, 0.15); color: #2DD4BF; border: 1px solid rgba(20, 184, 166, 0.25); }
.badge-red    { background: rgba(239, 68, 68, 0.15);  color: #F87171; border: 1px solid rgba(239, 68, 68, 0.25); }

/* ============================================================
   18. SCROLL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   19. FOOTER
   ============================================================ */

.footer {
  background: var(--clr-bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-20) 0 var(--space-8);
}

body.light-mode .footer {
  background: var(--clr-bg-light);
  border-top-color: rgba(22, 163, 74, 0.15);
}

body.light-mode .footer-brand-desc {
  color: rgba(7, 26, 6, 0.55);
}

body.light-mode .footer-heading {
  color: rgba(7, 26, 6, 0.42);
}

body.light-mode .footer-link {
  color: rgba(7, 26, 6, 0.62);
}

body.light-mode .footer-link:hover {
  color: var(--clr-primary);
}

body.light-mode .footer-divider {
  border-top-color: rgba(7, 26, 6, 0.10);
}

body.light-mode .footer-bottom-text {
  color: rgba(7, 26, 6, 0.42);
}

.footer-brand-desc {
  font-size: var(--text-sm);
  color: rgba(240, 253, 244, 0.45);
  line-height: 1.7;
  max-width: 260px;
  margin-top: var(--space-4);
}

.footer-heading {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(240, 253, 244, 0.40);
  margin-bottom: var(--space-4);
}

.footer-link {
  display: block;
  font-size: var(--text-sm);
  color: rgba(240, 253, 244, 0.55);
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--clr-primary-light);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: var(--space-8) 0 var(--space-6);
}

.footer-bottom-text {
  font-size: var(--text-xs);
  color: rgba(240, 253, 244, 0.35);
}

.footer-bottom-text a {
  color: var(--clr-primary-light);
  transition: opacity var(--transition-fast);
}

.footer-bottom-text a:hover { opacity: 0.75; }

/* ============================================================
   20. TOAST NOTIFICATION
   ============================================================ */

.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
}

.toast {
  background: rgba(15, 30, 12, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 280px;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toast-in 0.4s var(--transition-spring) forwards;
  font-size: var(--text-sm);
}

.toast.toast-out { animation: toast-out 0.3s ease forwards; }

.toast-success { border-left: 3px solid var(--clr-primary); }
.toast-error   { border-left: 3px solid var(--clr-accent-red); }
.toast-warning { border-left: 3px solid var(--clr-accent-yellow); }
.toast-info    { border-left: 3px solid var(--clr-accent-teal); }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(100%) scale(0.9); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(100%) scale(0.9); }
}

/* ============================================================
   21. THEME TOGGLE
   ============================================================ */

/* Track */
.theme-toggle {
  position: relative;
  width: 56px;
  height: 30px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* Track — hover */
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.18), 0 0 0 3px rgba(255, 255, 255, 0.06);
}

/* Track — focus ring (keyboard nav) */
.theme-toggle:focus-visible {
  outline: 2px solid rgba(34, 197, 94, 0.65);
  outline-offset: 2px;
}

/* Track — light mode: green tinted */
body.light-mode .theme-toggle {
  background: rgba(22, 163, 74, 0.18);
  border-color: rgba(22, 163, 74, 0.38);
  box-shadow: inset 0 1px 3px rgba(22, 163, 74, 0.12);
}

body.light-mode .theme-toggle:hover {
  background: rgba(22, 163, 74, 0.26);
  border-color: rgba(22, 163, 74, 0.50);
  box-shadow: inset 0 1px 3px rgba(22, 163, 74, 0.15), 0 0 0 3px rgba(22, 163, 74, 0.10);
}

/* Kill the old ::after thumb entirely */
.theme-toggle::after { display: none !important; }

/* Hint icons baked into the track via ::before (faint, always visible) */
.theme-toggle::before {
  content: '';
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  background: rgba(240, 253, 244, 0.28);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cline x1='12' y1='1' x2='12' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='23'/%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'/%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'/%3E%3Cline x1='1' y1='12' x2='3' y2='12'/%3E%3Cline x1='21' y1='12' x2='23' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'/%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cline x1='12' y1='1' x2='12' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='23'/%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'/%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'/%3E%3Cline x1='1' y1='12' x2='3' y2='12'/%3E%3Cline x1='21' y1='12' x2='23' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'/%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
  transition: opacity 0.25s, background 0.25s;
}

/* In light mode: show moon hint on left (switch-to-dark indicator) */
body.light-mode .theme-toggle::before {
  right: auto;
  left: 7px;
  background: rgba(7, 26, 6, 0.28);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Sliding thumb — repurposed from JS icon container */
.toggle-icon {
  position: absolute;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(240, 253, 244, 0.96);
  color: rgba(7, 26, 6, 0.62);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24), 0 2px 8px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  line-height: 0;
  overflow: hidden;
  /* Spring slide + morph */
  transition:
    transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
    width 0.18s ease,
    background 0.28s ease,
    color 0.28s ease,
    box-shadow 0.28s ease;
}

/* Light mode: thumb slid to right, green icon */
body.light-mode .toggle-icon {
  transform: translate(26px, -50%);
  background: #ffffff;
  color: #15803D;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(22, 163, 74, 0.20);
}

/* Squish on press — thumb widens momentarily (momentum feel) */
.theme-toggle:active .toggle-icon {
  width: 26px;
  border-radius: 9999px;
}

body.light-mode .theme-toggle:active .toggle-icon {
  transform: translate(22px, -50%);
  width: 26px;
  border-radius: 9999px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .toggle-icon {
    transition: transform 0.12s linear, background 0.12s, color 0.12s;
  }
}

/* ============================================================
   22. DASHBOARD MOCKUP
   ============================================================ */

.dashboard-mockup {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(10, 20, 9, 0.80);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.50), 0 0 60px rgba(22, 163, 74, 0.10);
}

.dashboard-topbar {
  height: 40px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 var(--space-4);
  gap: var(--space-2);
}

.dashboard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dashboard-stat-mini {
  background: rgba(22, 163, 74, 0.10);
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

/* ============================================================
   23. UTILITY CLASSES
   ============================================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-sm { max-width: 800px; }
.container-lg { max-width: 1400px; }

.text-gradient-primary {
  background: linear-gradient(135deg, #22C55E 0%, #86EFAC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .text-gradient-primary {
  background: linear-gradient(135deg, #15803D 0%, #16A34A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-warm {
  background: linear-gradient(135deg, #F97316 0%, #FCD34D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-golden {
  background: linear-gradient(135deg, #EAB308 0%, #FBBF24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 163, 74, 0.30), transparent);
  border: none;
}

.glow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-primary-light);
  box-shadow: 0 0 8px var(--clr-primary-light);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(22, 163, 74, 0.30);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(22, 163, 74, 0.50);
}

/* Selection */
::selection {
  background: rgba(22, 163, 74, 0.30);
  color: #fff;
}

/* ============================================================
   LIGHT MODE — GLOBAL VISIBILITY FIXES
   Catches hardcoded dark-mode rgba values in inline styles
   across all pages without requiring per-element HTML changes.
   ============================================================ */

/*
 * The primary issue: many elements use inline style="color:rgba(240,253,244,X)"
 * which is the dark-mode text color. These selectors fix all of them at once.
 * The dashboard mockup is exempted because it simulates a real dark UI.
 */

/* Fix inline gradient text using the too-light mint hex values */
body.light-mode [style*="#86EFAC"],
body.light-mode [style*="#BBFFD1"] {
  background: linear-gradient(135deg, #15803D, #16A34A) !important;
}

/* Dashboard mockup always stays dark (it's a UI mockup, not page content) */
body.light-mode .dashboard-mockup {
  color: rgba(240, 253, 244, 0.80);
  border-color: rgba(22, 163, 74, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 40px rgba(22, 163, 74, 0.12);
}

/*
 * Global fix: any inline style containing the dark-mode text rgba
 * gets overridden to a readable dark color in light mode.
 * Uses !important to beat inline style specificity.
 */
body.light-mode [style*="rgba(240,253,244"],
body.light-mode [style*="rgba(240, 253, 244"] {
  color: rgba(7, 26, 6, 0.68) !important;
}

/* Exception: restore dark text inside the dashboard mockup — higher specificity wins */
body.light-mode .dashboard-mockup [style*="rgba(240,253,244"],
body.light-mode .dashboard-mockup [style*="rgba(240, 253, 244"] {
  color: inherit !important;
}

/*
 * Fix inline white/near-white borders that become invisible on light backgrounds.
 * These are used throughout pages for glass-card–style dividers and boxes.
 */
body.light-mode [style*="border:1px solid rgba(255,255,255"],
body.light-mode [style*="border: 1px solid rgba(255,255,255"] {
  border-color: rgba(22, 163, 74, 0.16) !important;
}
body.light-mode [style*="border-color:rgba(255,255,255"],
body.light-mode [style*="border-color: rgba(255,255,255"] {
  border-color: rgba(22, 163, 74, 0.14) !important;
}

/* Exception: dashboard mockup borders stay as-is */
body.light-mode .dashboard-mockup [style*="border:1px solid rgba(255,255,255"],
body.light-mode .dashboard-mockup [style*="border: 1px solid rgba(255,255,255"],
body.light-mode .dashboard-mockup [style*="border-color:rgba(255,255,255"],
body.light-mode .dashboard-mockup [style*="border-color: rgba(255,255,255"] {
  border-color: inherit !important;
}

/*
 * Fix inline dark glass backgrounds (rgba(255,255,255,0.0X)) — in light mode
 * these near-transparent dark overlays should use the light glass style.
 */
body.light-mode [style*="background:rgba(255,255,255,0.03)"],
body.light-mode [style*="background:rgba(255,255,255,0.04)"],
body.light-mode [style*="background:rgba(255,255,255,0.05)"],
body.light-mode [style*="background:rgba(255,255,255,0.06)"],
body.light-mode [style*="background:rgba(255,255,255,0.07)"],
body.light-mode [style*="background:rgba(255,255,255,0.08)"],
body.light-mode [style*="background:rgba(255,255,255,0.09)"],
body.light-mode [style*="background:rgba(255,255,255,0.10)"],
body.light-mode [style*="background:rgba(255,255,255,0.12)"] {
  background: rgba(22, 163, 74, 0.04) !important;
}

/* Exception: dashboard mockup backgrounds stay dark */
body.light-mode .dashboard-mockup [style*="background:rgba(255,255,255,0.0"],
body.light-mode .dashboard-mockup [style*="background: rgba(255,255,255,0.0"] {
  background: inherit !important;
}

/* Fix dark hero background used as fixed position bg on login/signup */
body.light-mode .hero-bg {
  background: linear-gradient(160deg, #F0FDF4 0%, #ECFDF5 50%, #F7FEF4 100%) !important;
}

/* Mobile menu nav link separators (white dividers invisible on light bg) */
body.light-mode .mobile-menu .mobile-nav-link {
  border-color: rgba(7, 26, 6, 0.08) !important;
}

/* Menu toggle button (hamburger) — white border invisible in light mode */
body.light-mode #menu-toggle {
  background: rgba(7, 26, 6, 0.06) !important;
  border-color: rgba(7, 26, 6, 0.15) !important;
  color: var(--clr-text-dark-primary);
}
body.light-mode #mobile-close {
  background: rgba(7, 26, 6, 0.06) !important;
  border-color: rgba(7, 26, 6, 0.15) !important;
  color: var(--clr-text-dark-primary);
}


/* Inline dark divider lines ─ fix sections with inline hr/divider styles */
body.light-mode [style*="border-top:1px solid rgba(255,255,255"],
body.light-mode [style*="border-top: 1px solid rgba(255,255,255"] {
  border-top-color: rgba(22, 163, 74, 0.14) !important;
}
body.light-mode [style*="border-bottom:1px solid rgba(255,255,255"],
body.light-mode [style*="border-bottom: 1px solid rgba(255,255,255"] {
  border-bottom-color: rgba(22, 163, 74, 0.14) !important;
}

/* ── Toast — light mode ─────────────────────────────────── */
body.light-mode .toast {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(22, 163, 74, 0.18);
  color: var(--clr-text-dark-primary);
  box-shadow: 0 8px 32px rgba(7, 26, 6, 0.12), 0 2px 8px rgba(7, 26, 6, 0.08);
}
/* Close button inside toast has hardcoded dark rgba — override it */
body.light-mode .toast button {
  color: rgba(7, 26, 6, 0.40) !important;
}
body.light-mode .toast button:hover {
  color: rgba(7, 26, 6, 0.70) !important;
}

/* ── Footer Social Buttons ──────────────────────────────── */
.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(240, 253, 244, 0.50);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-social-btn:hover {
  color: #22C55E;
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(22, 163, 74, 0.12);
}

body.light-mode .footer-social-btn {
  background: rgba(7, 26, 6, 0.06);
  border-color: rgba(7, 26, 6, 0.12);
  color: rgba(7, 26, 6, 0.50);
}

body.light-mode .footer-social-btn:hover {
  color: #16A34A;
  border-color: rgba(22, 163, 74, 0.35);
  background: rgba(22, 163, 74, 0.10);
}

/* ── Badge light mode — fix low-contrast colors on white ── */
body.light-mode .badge-yellow {
  background: rgba(120, 89, 0, 0.08);
  color: #92400E;
  border-color: rgba(120, 89, 0, 0.18);
}

body.light-mode .badge-teal {
  background: rgba(13, 148, 136, 0.10);
  color: #0F766E;
  border-color: rgba(13, 148, 136, 0.22);
}

body.light-mode .badge-orange {
  background: rgba(194, 65, 12, 0.09);
  color: #C2410C;
  border-color: rgba(194, 65, 12, 0.20);
}

body.light-mode .badge-green {
  background: rgba(22, 163, 74, 0.10);
  color: #15803D;
  border-color: rgba(22, 163, 74, 0.22);
}

/* ── Use Cases section — improved cards in light mode ────── */
body.light-mode .section-bg-alt {
  background: #EEF9F0;
}

body.light-mode .section-bg-alt .glass-card {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 24px rgba(22, 163, 74, 0.08), 0 1px 4px rgba(7, 26, 6, 0.06);
  border-color: rgba(22, 163, 74, 0.16);
}

body.light-mode .section-bg-alt .glass-card:hover {
  box-shadow: 0 12px 40px rgba(22, 163, 74, 0.15), 0 2px 8px rgba(7, 26, 6, 0.08);
  border-color: rgba(22, 163, 74, 0.28);
}

/* ── Use Cases card color accents (light mode top border) ── */
body.light-mode .glass-card[style*="rgba(22,163,74,0.10)"] {
  border-top: 2px solid rgba(22, 163, 74, 0.45) !important;
  background: linear-gradient(145deg, rgba(22,163,74,0.07) 0%, rgba(255,255,255,0.95) 100%) !important;
}

body.light-mode .glass-card[style*="rgba(249,115,22,0.10)"] {
  border-top: 2px solid rgba(249, 115, 22, 0.45) !important;
  background: linear-gradient(145deg, rgba(249,115,22,0.07) 0%, rgba(255,255,255,0.95) 100%) !important;
}

body.light-mode .glass-card[style*="rgba(234,179,8,0.10)"] {
  border-top: 2px solid rgba(234, 179, 8, 0.45) !important;
  background: linear-gradient(145deg, rgba(234,179,8,0.07) 0%, rgba(255,255,255,0.95) 100%) !important;
}

body.light-mode .glass-card[style*="rgba(20,184,166,0.10)"] {
  border-top: 2px solid rgba(20, 184, 166, 0.45) !important;
  background: linear-gradient(145deg, rgba(20,184,166,0.07) 0%, rgba(255,255,255,0.95) 100%) !important;
}

/* ── Feature card icon backgrounds — light mode ─────────── */
body.light-mode .feature-icon-wrap {
  background: rgba(22, 163, 74, 0.10);
  border-color: rgba(22, 163, 74, 0.18);
}

body.light-mode .feature-icon-wrap.warm {
  background: rgba(249, 115, 22, 0.10);
  border-color: rgba(249, 115, 22, 0.18);
}

body.light-mode .feature-icon-wrap.yellow {
  background: rgba(234, 179, 8, 0.10);
  border-color: rgba(234, 179, 8, 0.18);
}

body.light-mode .feature-icon-wrap.teal {
  background: rgba(20, 184, 166, 0.10);
  border-color: rgba(20, 184, 166, 0.18);
}
