/* ============================================
   DOMMY - PROFESSIONAL DESIGN SYSTEM
   Inspired by Stripe.com's refined aesthetic
   ============================================ */

:root {
  /* Primary Gradient Colors - Refined & Professional */
  --primary-indigo: #6366F1;
  --primary-purple: #8B5CF6;
  --primary-pink: #EC4899;
  --accent-cyan: #06B6D4;
  --accent-teal: #14B8A6;

  /* Neutral Palette */
  --neutral-50: #F8FAFC;
  --neutral-100: #F1F5F9;
  --neutral-200: #E2E8F0;
  --neutral-300: #CBD5E1;
  --neutral-400: #94A3B8;
  --neutral-500: #64748B;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1E293B;
  --neutral-900: #0F172A;

  /* Semantic Colors */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-tertiary: #94A3B8;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;

  /* Effects */
  --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);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-indigo) 0%, var(--primary-purple) 50%, var(--primary-pink) 100%);
  --gradient-mesh: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0, transparent 50%),
    radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.15) 0, transparent 50%),
    radial-gradient(at 100% 100%, rgba(236, 72, 153, 0.15) 0, transparent 50%),
    radial-gradient(at 0% 100%, rgba(6, 182, 212, 0.15) 0, transparent 50%);

  /* 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: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
html.dark body {
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-tertiary: #64748B;
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-tertiary: #334155;
  --gradient-mesh: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.25) 0, transparent 50%),
    radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.25) 0, transparent 50%),
    radial-gradient(at 100% 100%, rgba(236, 72, 153, 0.25) 0, transparent 50%),
    radial-gradient(at 0% 100%, rgba(6, 182, 212, 0.25) 0, transparent 50%);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

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

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
}

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

.lead {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--bg-primary);
  overflow: hidden;
  padding: calc(80px + 3.5rem) 0 5.5rem;
}

/* Animated Gradient Mesh Background */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-mesh);
  animation: gradient-shift 15s ease infinite;
  z-index: 0;
}

@keyframes gradient-shift {

  0%,
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05) rotate(2deg);
  }
}

/* Animated Floating Orbs */
.hero-section::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  top: -300px;
  right: -200px;
  animation: float-orb 20s ease-in-out infinite;
  z-index: 0;
}

@keyframes float-orb {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-50px, 50px) scale(1.1);
  }
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: clamp(2rem, 6vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - 140px);
}

.hero-content {
  max-width: 560px;
}

.hero-section h1 {
  font-weight: 800;
  margin-bottom: 1.5rem;
  animation: fade-in-up 0.8s ease-out forwards;
  opacity: 0;
}

.hero-section .lead.hero-subtitle {
  max-width: 640px;
  margin: 0 0 2rem 0;
  animation: fade-in-up 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: flex-start;
  animation: fade-in-up 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 2rem 1rem;
  animation: fade-in-up 0.8s ease-out 0.6s forwards;
  opacity: 0;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  animation: pulse-glow-bg 4s ease-in-out infinite;
}

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

html.dark body .hero-visual::before {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
}

.hero-section .btn {
  animation: fade-in-up 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-gradient {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-gradient:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-2xl);
}

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

.btn-gradient:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 2px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary-indigo);
  color: var(--primary-indigo);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary:active {
  transform: translateY(0);
}

html.dark body .btn-secondary {
  background: var(--bg-secondary);
  border-color: var(--neutral-700);
}

html.dark body .btn-secondary:hover {
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Pulse Animation */
.pulse {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
  }

  50% {
    box-shadow: 0 0 0 20px rgba(139, 92, 246, 0);
  }
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
  position: relative;
}

section.bg-light {
  background-color: var(--bg-secondary);
}

section.bg-white {
  background-color: var(--bg-primary);
}

.section-header {
  max-width: 780px;
  margin: 0 auto 3rem;
}

.section-header .lead {
  margin: 0;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

.solution-grid {
  margin-top: 1rem;
  align-items: stretch;
}

.feature-showcase {
  overflow: hidden;
}

.feature-showcase::before,
.feature-showcase::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.feature-showcase::before {
  top: 8%;
  left: 6%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
}

.feature-showcase::after {
  bottom: 6%;
  right: 4%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.18) 0%, transparent 60%);
}

.premium-feature {
  position: relative;
}

.feature-suite-surface {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.75rem);
  border-radius: 32px;
  border: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.12), transparent 38%),
    radial-gradient(circle at 80% 0%, rgba(6, 182, 212, 0.1), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.feature-suite-surface::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 30%, rgba(255, 255, 255, 0.2) 70%, transparent);
  pointer-events: none;
  z-index: 0;
}

.feature-suite-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  margin-bottom: 0.25rem;
  position: relative;
  z-index: 1;
}

.feature-suite-top.balanced {
  align-items: stretch;
}

.feature-suite-copy h2 {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  letter-spacing: -0.02em;
}

.feature-suite-copy {
  max-width: 680px;
}

.feature-suite-copy .lead {
  max-width: 58ch;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(99, 102, 241, 0.12), rgba(14, 165, 233, 0.12));
  border: 1px solid rgba(99, 102, 241, 0.12);
  color: var(--primary-indigo);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.section-badge {
  margin-bottom: 0.85rem;
}

.feature-grid.unified {
  margin-top: 1.5rem;
  gap: 1.25rem;
}

.feature-pill-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.feature-pill {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid var(--neutral-200);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.88));
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.feature-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  border-color: var(--primary-indigo);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 242, 255, 0.8));
}

.pill-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary-indigo);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pill-title {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pill-desc {
  line-height: 1.6;
}

.feature-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.meta-card {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--neutral-200);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(236, 248, 255, 0.8));
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.meta-card.subtle {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(243, 244, 246, 0.9));
}

.meta-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.meta-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.meta-sub {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.feature-suite-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.feature-suite-visual .mesh-glow {
  position: absolute;
  inset: -10% -6% -6% -10%;
  background:
    radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.14), transparent 45%),
    radial-gradient(circle at 70% 20%, rgba(236, 72, 153, 0.12), transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(6, 182, 212, 0.12), transparent 45%);
  filter: blur(45px);
  opacity: 0.9;
  z-index: 0;
}

.app-mockup-stack {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  z-index: 1;
}

.feature-suite-visual .app-mockup-container {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  border-radius: 24px;
  border: 0;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(244, 247, 254, 0.85));
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.12);
}

.feature-suite-visual .app-mockup-container.premium {
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(232, 239, 255, 0.9));
}

.phone-elevated {
  backdrop-filter: blur(10px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.feature-grid.refined {
  margin-top: 1.75rem;
  gap: 1.5rem;
}

@keyframes auroraFlow {
  0% {
    transform: translate3d(-10px, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(10px, 10px, 0) scale(1.05);
  }
}

@media (max-width: 768px) {
  .feature-suite-top {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-layer {
    animation: none;
  }
}

.feature-card {
  --accent: var(--primary-indigo);
  --accent-soft: rgba(99, 102, 241, 0.12);
  position: relative;
  padding: 1.6rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.92));
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  overflow: hidden;
  z-index: 0;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 20% 20%, var(--accent-soft), transparent 60%);
  opacity: 1;
  transition: opacity var(--transition-base);
  z-index: 0;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  border-color: var(--accent);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-soft), rgba(255, 255, 255, 0.7));
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 34px rgba(99, 102, 241, 0.18);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover .feature-icon {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 36px rgba(99, 102, 241, 0.2);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-body {
  position: relative;
  z-index: 1;
}

.feature-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.feature-card h5 {
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .feature-highlight-list {
    grid-template-columns: 1fr;
  }
}

html.dark body .feature-badge {
  background: rgba(139, 92, 246, 0.15);
  color: var(--primary-purple);
}

html.dark body .feature-suite-surface {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.86));
  border-color: var(--neutral-700);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

html.dark body .feature-pill {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--neutral-700);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

html.dark body .feature-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-purple);
}

html.dark body .pill-icon {
  background: rgba(139, 92, 246, 0.18);
  color: var(--primary-purple);
}

html.dark body .meta-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border-color: var(--neutral-700);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

html.dark body .meta-card.subtle {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

html.dark body .floating-chip {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  color: var(--text-primary);
}

html.dark body .chip-label {
  color: var(--text-secondary);
}

html.dark body .feature-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--neutral-700);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

html.dark body .feature-card::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 60%);
}

html.dark body .feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

html.dark body .feature-icon {
  background: linear-gradient(135deg, var(--accent-soft), rgba(255, 255, 255, 0.05));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

html.dark body .feature-highlight-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--neutral-700);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

html.dark body .feature-highlight-card:hover {
  border-color: var(--primary-purple);
}

html.dark body .highlight-icon {
  background: rgba(139, 92, 246, 0.16);
  color: var(--primary-purple);
}

html.dark body .feature-suite-visual .app-mockup-container {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-color: var(--neutral-700);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.testimonial-section {
  position: relative;
  overflow: hidden;
}


.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-carousel {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 1.5rem;
}

a.testimonial-card {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.testimonial-slide {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 0;
}

.testimonial-card {
  border: 1px solid var(--neutral-200);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.10);
  border-color: var(--primary-indigo);
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-indigo), var(--primary-purple));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.testimonial-quote {
  margin: 0;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.7;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.25rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neutral-300);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.testimonial-dot.active {
  background: var(--primary-indigo);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .testimonial-header {
    flex-direction: column;
  }

  .testimonial-slide {
    flex: 0 0 100%;
  }
}

html.dark body .testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--neutral-700);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

html.dark body .testimonial-card:hover {
  border-color: var(--primary-purple);
}

html.dark body .testimonial-avatar {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
}

html.dark body .testimonial-dot {
  background: var(--neutral-600);
}

html.dark body .testimonial-dot.active {
  background: var(--primary-purple);
}

/* ============================================
   APP MOCKUP
   ============================================ */
.app-mockup {
  position: relative;
  flex: 0 1 340px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.app-mockup .iphone-body {
  border-radius: 45px;
}

/* Carousel for multiple screenshots inside iphone-body */
.mockup-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  z-index: 1;
}

.mockup-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.mockup-slide.active {
  opacity: 1;
  z-index: 1;
}

.mockup-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.mockup-dot.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}


/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--bg-primary);
  border-radius: 1rem;
  padding: 2rem;
  transition: all var(--transition-base);
  border: 1px solid var(--neutral-200);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

html.dark body .card {
  border-color: var(--neutral-700);
  background: var(--bg-secondary);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 2px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border: 0px solid transparent;
}

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

.card i[data-lucide] {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
  transition: all var(--transition-base);
  color: var(--primary-purple);
}

.card:hover i[data-lucide] {
  transform: scale(1.1) rotateY(180deg);
  color: var(--primary-pink);
}

/* ============================================
   GLASSMORPHISM
   ============================================ */

.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-xl);
}

body.dark .glass {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
}

/* Scroll-triggered animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all var(--transition-slow);
}

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

/* Staggered animations for grid items */
.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  animation: fade-in-up 0.6s ease-out forwards;
}

.stagger-item:nth-child(1) {
  animation-delay: 0.1s;
}

.stagger-item:nth-child(2) {
  animation-delay: 0.2s;
}

.stagger-item:nth-child(3) {
  animation-delay: 0.3s;
}

.stagger-item:nth-child(4) {
  animation-delay: 0.4s;
}

.stagger-item:nth-child(5) {
  animation-delay: 0.5s;
}

.stagger-item:nth-child(6) {
  animation-delay: 0.6s;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 0;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: -250px;
  left: -250px;
  animation: float-orb 15s ease-in-out infinite reverse;
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.cta-section h2,
.cta-section p,
.cta-section .lead {
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

html.dark body .cta-section::before {
  background: rgba(0, 0, 0, 0.3);
}

.cta-inner {
  margin: 0 auto;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.cta-section .btn {
  background: #ffffff;
  color: var(--primary-indigo);
  box-shadow: var(--shadow-2xl);
}

.cta-section .btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-primary);
  padding: 4rem 0 2rem;
}

body.dark .footer {
  border-top-color: var(--neutral-700);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  max-width: 400px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 1rem;
}

.brand-icon {
  border-radius: 1rem;
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.3));
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  transition: all var(--transition-base);
  text-decoration: none;
}

.social-link:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.social-link svg {
  display: block;
}

.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1100;
  width: min(380px, calc(100% - 2rem));
  pointer-events: none;
}

.toast-container.has-toast {
  display: flex;
}

.toast {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--neutral-200);
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(-10px);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.25, 0.9, 0.3, 1.2),
    opacity 0.32s ease,
    box-shadow 0.24s ease;
  overflow: hidden;
  backdrop-filter: blur(6px);
  pointer-events: auto;
}

html.dark body .toast {
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast.is-hiding {
  transform: translateY(-6px);
  opacity: 0;
}

.toast-body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1rem 0.8rem 1rem;
}

.toast-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-indigo), var(--primary-purple));
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.32);
}

.toast-text {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.toast-close {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.toast-close:focus-visible {
  outline: 2px solid var(--primary-indigo);
  outline-offset: 2px;
}

.toast-close:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.toast-progress {
  display: block;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-indigo), var(--primary-purple));
  width: 100%;
  transform-origin: left;
}

.toast[data-type="success"] {
  border-color: rgba(34, 197, 94, 0.2);
}

.toast[data-type="success"] .toast-dot,
.toast[data-type="success"] .toast-progress {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 8px 16px rgba(22, 163, 74, 0.32);
}

.toast[data-type="error"] {
  border-color: rgba(239, 68, 68, 0.22);
}

.toast[data-type="error"] .toast-dot,
.toast[data-type="error"] .toast-progress {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 8px 16px rgba(220, 38, 38, 0.32);
}

.toast[data-type="warn"] {
  border-color: rgba(245, 158, 11, 0.24);
}

.toast[data-type="warn"] .toast-dot,
.toast[data-type="warn"] .toast-progress {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 8px 16px rgba(217, 119, 6, 0.32);
}

.toast[data-type="info"] .toast-dot,
.toast[data-type="info"] .toast-progress {
  background: linear-gradient(135deg, var(--primary-indigo), var(--primary-purple));
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.32);
}

@media (max-width: 640px) {
  .toast-container {
    left: 1rem;
    right: 1rem;
    top: 1rem;
    width: auto;
  }

  .toast-body {
    grid-template-columns: auto 1fr auto;
    gap: 0.6rem;
    padding: 0.85rem 0.9rem 0.75rem 0.9rem;
  }

  .toast-text {
    font-size: 0.9rem;
  }
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 2rem;
}

body.dark .footer-bottom {
  border-top-color: var(--neutral-700);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-link {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-bottom-link:hover {
  color: var(--text-primary);
}

/* Language Switcher & Mode Toggle */
.language-switch {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1.5rem;
}

.language-switch span {
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  transition: all var(--transition-fast);
  font-size: 0.875rem;
  font-weight: 500;
}

.language-switch span:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

/* ============================================
   NOTE: Navigation Bar styles moved to navbar.css
   This keeps the codebase modular and maintainable
   ============================================ */

/* ============================================
   Floating CTA Button
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  border: none;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.floating-cta svg {
  color: white;
  stroke: white;
}

.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
  color: white;
}

.floating-cta:active {
  transform: translateY(0);
}

html.dark body .floating-cta {
  background: linear-gradient(135deg, #8B5CF6 0%, #D946EF 100%);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

html.dark body .floating-cta:hover {
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

/* ============================================
   PRICING PAGE
   ============================================ */

.pricing-hero {
  padding: calc(80px + 4rem) 0 3rem;
  background: var(--bg-secondary);
}

.pricing-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-primary);
  border-radius: 50px;
  border: 1px solid var(--neutral-200);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

html.dark body .pricing-note {
  border-color: var(--neutral-700);
  background: var(--bg-secondary);
}

.pricing-section {
  background: var(--bg-primary);
}

.pricing-card {
  background: var(--bg-primary);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 2px solid var(--neutral-200);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-indigo);
}

html.dark body .pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--neutral-700);
}

html.dark body .pricing-card:hover {
  border-color: var(--primary-purple);
}

.pricing-card-popular {
  border-color: var(--primary-indigo);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
  transform: scale(1.05);
}

.pricing-card-popular:hover {
  transform: scale(1.08) translateY(-8px);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
}

html.dark body .pricing-card-popular {
  border-color: var(--primary-purple);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.25);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--gradient-primary);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.pricing-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.pricing-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

.pricing-price {
  text-align: center;
  margin-bottom: 1rem;
  padding: 1.5rem 0;
}

.pricing-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  vertical-align: super;
}

.pricing-price .amount {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-left: 0.25rem;
}

.pricing-savings {
  text-align: center;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-indigo);
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pricing-savings-best {
  background: rgba(236, 72, 153, 0.1);
  color: var(--primary-pink);
}

html.dark body .pricing-savings {
  background: rgba(139, 92, 246, 0.15);
  color: var(--primary-purple);
}

html.dark body .pricing-savings-best {
  background: rgba(236, 72, 153, 0.15);
  color: var(--primary-pink);
}

/* Billing period toggle */
.billing-toggle {
  display: flex;
  background: var(--bg-secondary);
  border: 1px solid var(--neutral-200);
  border-radius: 0.75rem;
  padding: 4px;
  margin-bottom: 1.5rem;
  gap: 4px;
}

.billing-option {
  flex: 1;
  background: none;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.billing-option:hover {
  color: var(--text-primary);
}

.billing-option.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

html.dark body .billing-toggle {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--neutral-700);
}

html.dark body .billing-option {
  color: var(--text-secondary);
}

html.dark body .billing-option:hover {
  color: var(--text-primary);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--text-primary);
}

.pricing-features li .feature-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary-indigo);
  margin-top: 0.125rem;
}

html.dark body .pricing-features li .feature-icon {
  color: var(--primary-purple);
}



/* ============================================
   SUPPORT PAGE
   ============================================ */

.support-hero {
  padding: calc(80px + 4rem) 0 2rem;
  background: var(--bg-secondary);
  text-align: center;
}

.support-icon-large {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  background: var(--gradient-primary);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.support-quick-links {
  background: var(--bg-primary);
  margin-top: -2rem;
}

.quick-link-card {
  display: block;
  background: var(--bg-primary);
  border: 2px solid var(--neutral-200);
  border-radius: 1rem;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.quick-link-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-indigo);
}

html.dark body .quick-link-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--neutral-700);
}

html.dark body .quick-link-card:hover {
  border-color: var(--primary-purple);
}

.quick-link-featured {
  border-color: var(--primary-indigo);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

html.dark body .quick-link-featured {
  border-color: var(--primary-purple);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

.quick-link-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1rem;
}

.quick-link-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.quick-link-card p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.875rem;
}

.badge-premium {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}



.support-contact {
  background: var(--bg-secondary);
}

.contact-card {
  background: var(--bg-primary);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--neutral-200);
}

html.dark body .contact-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--neutral-700);
}

.contact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: var(--gradient-primary);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--neutral-200);
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: inherit;
  resize: vertical;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--primary-indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

html.dark body .form-textarea {
  border-color: var(--neutral-700);
  background: rgba(255, 255, 255, 0.03);
}

html.dark body .form-textarea:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.contact-info {
  padding-top: 1.5rem;
  border-top: 1px solid var(--neutral-200);
}

html.dark body .contact-info {
  border-top-color: var(--neutral-700);
}

.text-primary {
  color: var(--primary-indigo);
  text-decoration: none;
  transition: color 0.3s ease;
}

.text-primary:hover {
  color: var(--primary-purple);
}

html.dark body .text-primary {
  color: var(--primary-purple);
}

html.dark body .text-primary:hover {
  color: var(--primary-pink);
}


/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 12px);
  width: min(1100px, calc(100% - 32px));
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--neutral-200);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(12px);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

html.dark body .cookie-banner {
  background: rgba(15, 23, 42, 0.92);
  border-color: var(--neutral-700);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.cookie-banner.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
}

.cookie-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.25rem;
}

.cookie-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--primary-indigo), var(--primary-purple));
  color: #fff;
  box-shadow: 0 10px 30px rgba(109, 40, 217, 0.25);
}

.cookie-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--text-primary);
}

.cookie-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-indigo);
  font-weight: 700;
  margin: 0;
}

.cookie-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.cookie-link {
  font-size: 0.9rem;
  color: var(--primary-indigo);
  text-decoration: underline;
  font-weight: 600;
  width: fit-content;
  transition: color 0.2s ease;
}

.cookie-link:hover {
  color: var(--primary-purple);
}

html.dark body .cookie-link {
  color: var(--primary-purple);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.cookie-actions .btn {
  white-space: nowrap;
  min-width: 120px;
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: 1.1rem 1.2rem;
  }

  .cookie-content {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .cookie-icon {
    width: 40px;
    height: 40px;
  }

  .cookie-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .cookie-actions .btn {
    flex: 1 1 140px;
  }
}

/* ============================================
   Beta Signup Page
   ============================================ */
.beta-hero {
  padding: calc(80px + 4rem) 0 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

html.dark body .beta-hero {
  background: var(--bg-primary);
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.beta-form-card {
  padding: 2.5rem;
  border-radius: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

html.dark body .beta-form-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.beta-form .form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.input-wrapper:focus-within .input-icon {
  color: var(--primary-indigo);
  opacity: 1;
}

html.dark body .input-wrapper:focus-within .input-icon {
  color: var(--primary-purple);
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border: 2px solid var(--neutral-200);
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  background: var(--bg-primary);
  position: relative;
}

.form-input:focus {
  border: 2px solid transparent;
  background-image: linear-gradient(var(--bg-primary), var(--bg-primary)), var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

html.dark body .form-input {
  border-color: var(--neutral-700);
  background: var(--neutral-800);
}

html.dark body .form-input:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
  background-image: linear-gradient(var(--neutral-800), var(--neutral-800)), var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 2px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 2px solid rgba(239, 68, 68, 0.2);
}

html.dark body .form-message.success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.3);
}

html.dark body .form-message.error {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

/* Benefits Section */
.beta-benefits {
  padding: 2rem;
  background: var(--gradient-mesh);
  border-radius: 1.5rem;
  height: 100%;
  transition: background 0.3s ease;
}

html.dark body .beta-benefits {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.benefit-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.benefit-item:last-child {
  margin-bottom: 0;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-indigo);
}

html.dark body .benefit-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-purple);
}

/* ============================================
   FAQ COMPONENT (Standardized)
   ============================================ */

/* FAQ Section Container */
.faq-section {
  padding: 5rem 0;
}

.faq-section.bg-light {
  background: var(--bg-secondary);
}

.faq-section.bg-white {
  background: var(--bg-primary);
}

/* FAQ Header */
.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-header h2 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.faq-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* FAQ Container */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

/* FAQ Category (Optional grouping) */
.faq-category {
  margin-bottom: 3rem;
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--neutral-200);
}

html.dark body .faq-category-title {
  border-bottom-color: var(--neutral-700);
}

/* FAQ Item */
.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--neutral-200);
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item.active {
  border-color: var(--primary-indigo);
  box-shadow: var(--shadow-md);
}

.faq-item:hover {
  border-color: var(--primary-indigo);
  box-shadow: var(--shadow-md);
}

html.dark body .faq-item {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--neutral-700);
}

html.dark body .faq-item.active {
  border-color: var(--primary-purple);
}

html.dark body .faq-item:hover {
  border-color: var(--primary-purple);
}

/* FAQ Question */
.faq-question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
  transition: all var(--transition-fast);
}

.faq-question h5,
.faq-question span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
  line-height: 1.5;
}

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

.faq-question:hover h5,
.faq-question:hover span {
  color: var(--primary-indigo);
}

html.dark body .faq-question:hover,
html.dark body .faq-question:hover h5,
html.dark body .faq-question:hover span {
  color: var(--primary-purple);
}

/* FAQ Icon */
.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: transform 220ms ease, color 200ms ease;
  transform-origin: center;
  flex-shrink: 0;
}

.faq-icon.is-active {
  transform: rotate(180deg);
  color: var(--primary-indigo);
}

html.dark body .faq-icon.is-active {
  color: var(--primary-purple);
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 320ms ease, opacity 200ms ease;
  will-change: max-height;
}

.faq-item.active .faq-answer {
  opacity: 1;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9375rem;
}

html.dark body .faq-answer p {
  color: var(--text-tertiary);
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-section {
    padding: 3rem 0;
  }

  .faq-header {
    margin-bottom: 2rem;
  }

  .faq-category {
    margin-bottom: 2rem;
  }

  .faq-question {
    padding: 1rem 1.25rem;
  }

  .faq-question h5,
  .faq-question span {
    font-size: 0.9375rem;
  }

  .faq-answer p {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* Nav Link */
.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: var(--neutral-100);
  color: var(--primary-indigo);
}

html.dark body .nav-link:hover {
  background: var(--neutral-800);
  color: var(--primary-purple);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .hero-section {
    padding: 6rem 0 4rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
  }

  .card {
    padding: 1.5rem;
  }
}

/* ============================================
   LEGAL PAGES STYLES
   ============================================ */

.legal-nav {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--neutral-200);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95);
}

html.dark body .legal-nav {
  background: rgba(15, 23, 42, 0.95);
  border-bottom-color: var(--neutral-700);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
  position: relative;
}

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

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.legal-hero {
  padding: calc(80px + 6rem) 0 4rem;
  background: var(--bg-secondary);
}

.legal-icon {
  display: inline-flex;
  padding: 1rem;
  background: var(--bg-primary);
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

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

  .legal-hero {
    padding: calc(80px + 3rem) 0 2rem;
  }

  .legal-hero h1 {
    font-size: 2rem;
  }
}

.legal-content {
  padding: 4rem 0;
}

.legal-content .container {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 4rem;
  max-width: 1200px;
}

@media (max-width: 992px) {
  .legal-content .container {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    display: none;
  }
}

.legal-document {
  max-width: 800px;
}

.legal-section {
  margin-bottom: 3rem;
  scroll-margin-top: 100px;
  /* Offset for fixed navbar */
}

.legal-section h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .legal-section h2 {
    font-size: 1.5rem;
  }

  .legal-section h2 i[data-lucide] {
    display: none;
  }

  .legal-section h3 {
    font-size: 1.125rem;
  }
}

.legal-section h3 {
  font-size: 1.375rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.legal-list li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-purple);
  font-weight: bold;
}

.legal-highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--bg-secondary);
  border-left: 3px solid var(--primary-purple);
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  color: var(--text-primary);
  font-weight: 500;
}

.legal-contact {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 1rem;
  margin-top: 3rem;
}

.contact-info {
  margin-top: 1rem;
}

.contact-info a {
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 500;
}

/* ============================================
   MODAL OVERLAY
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-primary);
  border-radius: 1.5rem;
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.is-open .modal-container {
  transform: translateY(0);
}

html.dark body .modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--neutral-700);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--neutral-200);
}

html.dark body .modal-header {
  border-bottom-color: var(--neutral-700);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

.modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--neutral-100);
  color: var(--text-secondary);
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--neutral-200);
  color: var(--text-primary);
}

html.dark body .modal-close {
  background: var(--neutral-700);
}

html.dark body .modal-close:hover {
  background: var(--neutral-600);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.modal-actions {
  display: grid;
  gap: 0.85rem;
}

/* Download Modal */
.modal-download {
  max-width: 420px;
}

.modal-download .modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.download-modal-hero {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.download-phone-mockup {
  position: relative;
  width: 180px;
}

.download-phone-mockup .iphone-body {
  border-width: 6px;
  border-radius: 25px;
}

.download-modal-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.download-modal-note i {
  color: var(--primary-purple);
}

.modal-download .store-badges {
  justify-content: center;
}

@media (max-width: 576px) {
  .modal-download {
    max-width: 100%;
    margin: 0.5rem;
    border-radius: 1rem;
  }

  .modal-download .modal-body {
    padding: 1rem;
  }

  .download-phone-mockup {
    width: 120px;
  }

  .download-modal-hero {
    margin-bottom: 1rem;
  }

  .modal-download .modal-title {
    font-size: 1.1rem;
  }

  .download-modal-note {
    font-size: 0.75rem;
  }
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Sidebar Navigation */
.legal-sidebar {
  position: relative;
}

.sidebar-sticky {
  position: sticky;
  top: 6rem;
}

.sidebar-sticky h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-link {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
}

.sidebar-link:hover {
  color: var(--text-primary);
  border-left-color: var(--primary-purple);
}

.sidebar-link.active {
  color: var(--primary-purple);
  border-left-color: var(--primary-purple);
  font-weight: 600;
}

html.dark body .sidebar-link.active {
  color: var(--primary-pink);
  border-left-color: var(--primary-pink);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Background utilities */
.bg-light {
  background-color: var(--neutral-50) !important;
}

html.dark body .bg-light {
  background-color: var(--neutral-900) !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.text-secondary {
  color: var(--text-secondary);
}

.text-tertiary {
  color: var(--text-tertiary);
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 2.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 2.5rem;
}

.fw-bold {
  font-weight: 700;
}

.fw-semibold {
  font-weight: 600;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================
   HERO PHONE MOCKUPS (Simplified)
   ============================================ */

.phone-stack {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  perspective: 1200px;
}

.phone-mockup {
  width: 260px;
  flex-shrink: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.phone-primary {
  z-index: 2;
  transform: translateY(0) scale(1.0) translateZ(40px);
  filter: drop-shadow(0 20px 50px rgba(99, 102, 241, 0.3)) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

.phone-secondary {
  transform: translateY(-10px) scale(0.96) translateZ(0);
  opacity: 0.92;
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.25));
}

.phone-stack:hover .phone-primary {
  transform: translateY(-5px) scale(1.0) translateZ(60px);
}

.phone-stack:hover .phone-secondary {
  transform: translateY(-15px) scale(0.96) translateZ(-10px);
  opacity: 0.88;
}

/* iPhone frame — derived from Figma export (1135×2378 body) */
.iphone-frame {
  position: relative;
  width: 100%;
  padding: 0 1.1%;
}

.iphone-body {
  position: relative;
  width: 100%;
  aspect-ratio: 1135 / 2378;
  border-radius: 50px;
  border: 10px solid #000;
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.4),
    0 15px 35px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.iphone-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%, transparent 60%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
  z-index: 10;
  border-radius: inherit;
}

/* Side buttons (relative to iphone-body dimensions from Figma) */
.iphone-btn {
  position: absolute;
  background: #000;
  border-radius: 10px;
}

/* Silent switch — left, 13×89 at y=458 */
.iphone-btn-silent {
  width: 4px;
  height: 3.7%;
  left: 0;
  top: 19.3%;
}

/* Volume up — left, 13×178 at y=626 */
.iphone-btn-vol-up {
  width: 4px;
  height: 7.5%;
  left: 0;
  top: 26.3%;
}

/* Volume down — left, 13×178 at y=847 */
.iphone-btn-vol-down {
  width: 4px;
  height: 7.5%;
  left: 0;
  top: 35.6%;
}

/* Power — right, 13×299 at y=727 */
.iphone-btn-power {
  width: 4px;
  height: 12.6%;
  right: 0;
  top: 30.6%;
}

html.dark body .iphone-body {
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.6),
    0 18px 40px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

html.dark body .phone-primary {
  filter: drop-shadow(0 20px 50px rgba(139, 92, 246, 0.35)) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

@media (max-width: 991px) {
  .hero-grid {
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-actions {
    align-items: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .phone-stack {
    max-width: 500px;
    gap: 1.75rem;
  }

  .phone-mockup {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .phone-stack {
    gap: 1.25rem;
    max-width: 400px;
    perspective: 1000px;
  }

  .phone-mockup {
    width: 180px;
  }

  .iphone-body {
    border-width: 7px;
    border-radius: 36px;
  }

  .phone-primary {
    transform: translateY(0) scale(1.0) translateZ(30px);
  }

  .phone-secondary {
    transform: translateY(-8px) scale(0.96) translateZ(0);
  }
}

@media (max-width: 576px) {
  .phone-stack {
    gap: 1rem;
    max-width: 340px;
    perspective: 800px;
  }

  .phone-mockup {
    width: 155px;
  }

  .iphone-body {
    border-width: 5px;
    border-radius: 28px;
  }

  .iphone-btn {
    display: none;
  }

  .phone-primary {
    filter: drop-shadow(0 12px 30px rgba(99, 102, 241, 0.22)) drop-shadow(0 5px 12px rgba(0, 0, 0, 0.22));
  }

  .hero-section {
    padding-bottom: 4.5rem;
  }

  .hero-visual {
    padding: 1.5rem 0.5rem;
  }
}

@media (max-width: 380px) {
  .phone-stack {
    gap: 0.75rem;
    max-width: 300px;
  }

  .phone-mockup {
    width: 138px;
  }

  .iphone-body {
    border-width: 4px;
    border-radius: 22px;
  }
}
dow(0 5px 12px rgba(0, 0, 0, 0.22));
  }

  .hero-section {
    padding-bottom: 4.5rem;
  }

  .hero-visual {
    padding: 1.5rem 0.5rem;
  }
}

@media (max-width: 380px) {
  .phone-stack {
    gap: 0.75rem;
    max-width: 300px;
  }

  .phone-mockup {
    width: 138px;
  }

  .iphone-body {
    border-width: 4px;
    border-radius: 22px;
  }
}
}
