/* ============================================================
   DRR-LAB Landing Page — styles.css
   ============================================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Light mode */
  --background: #ffffff;
  --foreground: #1e1b4b;
  --primary: #c084fc;
  --primary-hover: #a855f7;
  --primary-foreground: #ffffff;
  --secondary: #fae8ff;
  --secondary-foreground: #701a75;
  --muted: #f1f3f5;
  --muted-foreground: #6b7280;
  --accent: #f3e8ff;
  --border: #e2e8f0;
  --card: #ffffff;
  --card-foreground: #1e1b4b;
  --surface: #f7f2f8;
  --input: #e2e8f0;
  --success: #16a34a;
  --success-bg: #dcfce7;
  --destructive: #ef4444;
  --destructive-bg: #fee2e2;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-bg-strong: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(226, 232, 240, 0.6);

  /* Glow */
  --glow: rgba(192, 132, 252, 0.4);
  --glow-soft: rgba(192, 132, 252, 0.15);

  /* Chart palette */
  --chart-1: #c084fc;
  --chart-2: #a855f7;
  --chart-3: #7c3aed;
  --chart-4: #e879f9;
  --chart-5: #d946ef;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 8rem);
  --container-max: 1200px;
  --nav-height: 72px;

  /* Radius */
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms var(--ease);
  --t-base: 300ms var(--ease);
  --t-slow: 500ms var(--ease);
  --t-slower: 700ms var(--ease);
}

[data-theme="dark"] {
  --background: #0c0a1a;
  --foreground: #e2e0f0;
  --primary: #c084fc;
  --primary-hover: #d4a5fd;
  --primary-foreground: #0c0a1a;
  --secondary: #1e1535;
  --secondary-foreground: #e8b4fe;
  --muted: #1a1730;
  --muted-foreground: #9ca3af;
  --accent: #1e1535;
  --border: #2d2a45;
  --card: #110f24;
  --card-foreground: #e2e0f0;
  --surface: #151230;
  --input: #2d2a45;
  --success: #4ade80;
  --success-bg: #162717;
  --destructive: #ef4444;
  --destructive-bg: #3b1111;

  --glass-bg: rgba(17, 15, 36, 0.6);
  --glass-bg-strong: rgba(17, 15, 36, 0.85);
  --glass-border: rgba(45, 42, 69, 0.6);

  --glow: rgba(192, 132, 252, 0.3);
  --glow-soft: rgba(192, 132, 252, 0.1);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--t-slow), color var(--t-slow);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea {
  font-family: inherit;
  font-size: 1rem;
}

ul { list-style: none; }

/* ---------- Skip to content (a11y) ---------- */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: top var(--t-fast);
}
.skip-to-content:focus {
  top: 1rem;
}

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: var(--section-py);
  position: relative;
}

.section-alt {
  background-color: var(--surface);
}

.accent { color: var(--primary); }

/* Glass */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.glass-strong {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* Glow */
.glow-border {
  box-shadow: 0 0 20px var(--glow), 0 0 60px var(--glow-soft);
}

.glow-text {
  text-shadow: 0 0 30px var(--glow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--t-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 15px var(--glow-soft);
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 8px 25px var(--glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--glass-bg);
  transform: translateY(-2px);
}

/* ---------- Floating Background Orbs ---------- */
.orbs-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

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

.orb-1 {
  width: 500px; height: 500px;
  background: var(--chart-1);
  top: -10%; left: -10%;
  animation: orbDrift1 20s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: var(--chart-3);
  top: 30%; right: -8%;
  animation: orbDrift2 25s ease-in-out infinite;
}
.orb-3 {
  width: 350px; height: 350px;
  background: var(--chart-4);
  bottom: 10%; left: 20%;
  animation: orbDrift3 22s ease-in-out infinite;
}
.orb-4 {
  width: 300px; height: 300px;
  background: var(--chart-5);
  top: 60%; left: 60%;
  animation: orbDrift2 18s ease-in-out infinite reverse;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--t-base);
}

.navbar.scrolled {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 101;
}

.nav-brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: var(--radius);
  transition: all var(--t-fast);
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--foreground);
  background: var(--glass-bg);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: all var(--t-base);
  transform: translateX(-50%);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 101;
}

.nav-cta {
  display: none;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
}
.lang-btn:hover {
  border-color: var(--primary);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  padding: 0.25rem;
  display: none;
  flex-direction: column;
  z-index: 200;
}
.lang-dropdown.open {
  display: flex;
}

.lang-option {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  text-align: left;
  border-radius: calc(var(--radius) - 4px);
  transition: background var(--t-fast);
}
.lang-option:hover {
  background: var(--accent);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  transition: all var(--t-fast);
}
.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

[data-theme="light"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: all var(--t-base);
  transform-origin: center;
}

.mobile-menu-btn.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mobile-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  padding: 0.5rem 1rem;
  transition: color var(--t-fast);
}
.mobile-link:hover { color: var(--primary); }

.mobile-cta {
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* ---------- Hero ---------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--secondary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title-accent {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--primary);
  font-weight: 700;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat-badge {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1.25rem;
  min-width: 100px;
  text-align: center;
}

.stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  display: none;
}

.hero-visual-inner {
  position: relative;
}

/* Dashboard Mock */
.dashboard-mock {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12), 0 0 40px var(--glow-soft);
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--glass-border);
}

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

.mock-title {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.mock-body {
  padding: 1.25rem;
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
  padding: 1rem 0.5rem;
  margin-bottom: 1rem;
}

.mock-bar {
  flex: 1;
  background: linear-gradient(to top, var(--chart-1), var(--chart-3));
  border-radius: 4px 4px 0 0;
  transition: height 1s var(--ease);
  animation: barGrow 1.5s var(--ease) forwards;
  opacity: 0.8;
  position: relative;
}
.mock-bar:hover { opacity: 1; }
.mock-bar:nth-child(even) {
  background: linear-gradient(to top, var(--chart-4), var(--chart-5));
}

.mock-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.mock-metric {
  padding: 0.75rem;
  text-align: center;
  border-radius: var(--radius);
}

.mock-metric-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--foreground);
}

.mock-metric-label {
  display: block;
  font-size: 0.65rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 2px 0;
}

.mock-metric-change {
  font-size: 0.7rem;
  font-weight: 600;
}
.mock-metric-change.positive { color: var(--success); }
.mock-metric-change.negative { color: var(--destructive); }

/* Floating Accents */
.floating-accent {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}

.accent-1 {
  top: -10px;
  right: -20px;
  animation-delay: 0s;
}

.accent-2 {
  bottom: 30px;
  left: -20px;
  animation-delay: 1.5s;
}

/* Tech Marquee */
.marquee-container {
  margin-top: 3rem;
  overflow: hidden;
  padding: 1rem 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.marquee-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  padding: 0.4rem 1rem;
  white-space: nowrap;
}

.marquee-separator {
  color: var(--primary);
  opacity: 0.5;
  padding: 0 0.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--border);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ---------- About / Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.feature-card {
  padding: 2rem;
  transition: all var(--t-base);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--glow-soft);
  border-color: var(--primary);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--primary);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Mission */
.mission-card {
  text-align: center;
  padding: 2.5rem 2rem;
  max-width: 700px;
  margin-inline: auto;
  position: relative;
}

.mission-quote {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.mission-text {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--foreground);
}

/* ---------- Plans ---------- */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.billing-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color var(--t-fast);
}
.billing-label.active-label {
  color: var(--foreground);
  font-weight: 600;
}

.toggle-switch {
  width: 48px;
  height: 26px;
  background: var(--border);
  border-radius: 13px;
  position: relative;
  transition: background var(--t-base);
  padding: 2px;
}
.toggle-switch.active {
  background: var(--primary);
}

.toggle-knob {
  display: block;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  transition: transform var(--t-base);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle-switch.active .toggle-knob {
  transform: translateX(22px);
}

.billing-save {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--success);
  background: var(--success-bg);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.plan-card {
  padding: 2rem;
  position: relative;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--glow-soft);
}

.plan-featured {
  border-color: var(--primary);
  box-shadow: 0 0 30px var(--glow-soft);
}
.plan-featured:hover {
  box-shadow: 0 0 40px var(--glow);
}

.plan-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.plan-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.plan-subtitle {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--muted-foreground);
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: all var(--t-base);
}

.price-custom {
  font-size: 1.75rem;
}

.price-period {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.plan-features {
  flex: 1;
  margin-bottom: 1.5rem;
}

.plan-features li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  position: relative;
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: var(--secondary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c084fc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.plan-cta {
  width: 100%;
  text-align: center;
}

/* ---------- Testimonials ---------- */
.carousel {
  position: relative;
  overflow: hidden;
  margin-inline: -1rem;
  padding-inline: 1rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 2rem;
  margin: 0 0.5rem;
  min-width: 0;
}

.testimonial-stars {
  color: #eab308;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}

.testimonial-quote {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  color: var(--foreground);
  transition: all var(--t-fast);
}
.carousel-arrow:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--secondary);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border);
  transition: all var(--t-base);
}
.carousel-dot.active {
  width: 32px;
  background: var(--primary);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-form-wrapper {
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--foreground);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  background: var(--background);
  border: 1.5px solid var(--input);
  border-radius: var(--radius);
  color: var(--foreground);
  transition: all var(--t-fast);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--glow-soft);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-foreground);
  opacity: 0.6;
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--destructive);
  animation: shake 0.4s ease;
}

.form-submit {
  align-self: flex-start;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}
.form-status.success {
  display: block;
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success);
}
.form-status.error {
  display: block;
  background: var(--destructive-bg);
  color: var(--destructive);
  border: 1px solid var(--destructive);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--secondary);
  border-radius: var(--radius);
}

.info-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.info-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--foreground);
}
a.info-value:hover { color: var(--primary); }

.availability-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  margin-top: 0.5rem;
}

.availability-dot {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.availability-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--success);
  border-radius: 50%;
}

.availability-ping {
  position: absolute;
  inset: -3px;
  background: var(--success);
  border-radius: 50%;
  opacity: 0.4;
  animation: ping 2s ease-in-out infinite;
}

.availability-text {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--success);
}

.availability-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ---------- Footer ---------- */
.footer {
  padding-block: 3rem 1.5rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

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

.footer-brand .nav-brand {
  margin-bottom: 1rem;
}

.footer-about {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 280px;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  transition: all var(--t-fast);
}
.social-link:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  padding: 0.2rem 0;
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--primary); }

.footer-newsletter p {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 1rem;
  background: var(--background);
  border: 1.5px solid var(--input);
  border-radius: var(--radius-full);
  color: var(--foreground);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--t-fast);
}
.newsletter-form input:focus {
  border-color: var(--primary);
}
.newsletter-form input::placeholder {
  color: var(--muted-foreground);
  opacity: 0.6;
}

.newsletter-note {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  opacity: 0.7;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  color: var(--muted-foreground);
  transition: color var(--t-fast);
}
.footer-legal a:hover { color: var(--primary); }

.footer-copy {
  opacity: 0.7;
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger */
.stagger-children .reveal:nth-child(1) { transition-delay: 0ms; }
.stagger-children .reveal:nth-child(2) { transition-delay: 100ms; }
.stagger-children .reveal:nth-child(3) { transition-delay: 200ms; }
.stagger-children .reveal:nth-child(4) { transition-delay: 300ms; }

/* Keyframes */
@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, 30px) scale(1.05); }
  66% { transform: translate(-30px, -20px) scale(0.95); }
}

@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-40px, 20px) scale(1.03); }
  50% { transform: translate(20px, -30px) scale(0.97); }
  75% { transform: translate(30px, 15px) scale(1.02); }
}

@keyframes orbDrift3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -25px); }
}

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

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

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.4; }
  70% { transform: scale(2); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
}

@keyframes barGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px var(--glow); }
  50% { box-shadow: 0 0 30px var(--glow), 0 0 60px var(--glow-soft); }
}

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

/* Tablet */
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1.2fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop */
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .mobile-menu-btn { display: none; }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .hero-visual { display: block; }

  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .plan-featured {
    transform: scale(1.03);
  }
  .plan-featured:hover {
    transform: scale(1.03) translateY(-4px);
  }

  .testimonial-card {
    flex: 0 0 50%;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Wide */
@media (min-width: 1280px) {
  .testimonial-card {
    flex: 0 0 50%;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }
  html { scroll-behavior: auto; }
}
