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

:root {
  /* Colors */
  --primary: #3b82f6;
  --primary-dark: #3b82f6;
  --primary-light: #3b82f6;
  --bg-deep: #0B1220;
  /* Orizon-like deep navy */
  --bg-hero-top: #0B1220;
  --bg-hero-bottom: #1A2B5A;
  /* deep blue */
  --secondary: #10B981;
  --warning: #F59E0B;
  --danger: #DC2626;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Typography */
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";

  /* Spacing */
  --container-width: 1200px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background-color: var(--bg-deep);
}

body {
  font-family: var(--font-system);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility: focus and skip link */
:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: #111827;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 10000;
}

.skip-link:focus {
  top: 8px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-secondary-light {
  background: white;
  color: var(--primary);
  border: 2px solid white;
}

.btn-secondary-light:hover {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Header */
.header {
  display: none;
}

.header--dark {
  display: none;
}

/* Floating nav pill */
.floating-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 0 8px;
}

.nav-container {
  padding: var(--spacing-md) 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Orizon-like pill shell */
.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--spacing-lg);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

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

.logo-text {
  display: inline;
  color: white;
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: white;
}

.mobile-menu-toggle svg {
  stroke: white;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(11, 18, 32, 0.98);
  backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.mobile-menu-logo .logo-text {
  display: inline;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover {
  opacity: 0.7;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 0;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 1.75rem;
  font-weight: 400;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.2s ease;
}

.mobile-menu-link:hover {
  opacity: 0.7;
}

.mobile-menu-link .external-icon {
  width: 20px;
  height: 20px;
  stroke: rgba(255, 255, 255, 0.5);
}

.nav-links {
  display: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-link {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.nav-link:hover {
  color: white;
}

.nav-cta .btn-start {
  background: white;
  color: var(--bg-deep);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.nav-cta .btn-start:hover {
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  position: relative;
  padding: var(--spacing-3xl) 0;
  overflow: hidden;
}

.hero--orizon {
  color: white;
  background: radial-gradient(1200px 600px at 50% -200px, rgba(88, 112, 255, 0.35), transparent 60%), linear-gradient(180deg, var(--bg-hero-top) 0%, var(--bg-hero-bottom) 100%);
}

.hero--orizon .container {
  position: relative;
  z-index: 2;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: radial-gradient(600px 300px at 50% 0, rgba(99, 102, 241, 0.45), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, white, transparent 70%);
}

.hero-content {
  display: grid;
  gap: var(--spacing-xl);
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  color: var(--primary);
  font-size: .75rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  color: white;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-xl);
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.btn-ghost {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

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

.social-proof {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  font-size: 0.875rem;
}

.social-proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: .75rem;
}

.dot--green {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25) inset;
}

.hero-image {
  display: none;
}

.screen-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.screen-card img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-decoration {
  position: absolute;
  top: -100px;
  right: -100px;
  opacity: 0.1;
  pointer-events: none;
}

/* Section Styles */
section {
  padding: var(--spacing-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-title {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
}

/* Features Section */
.features {
  background: transparent;
}

.features-grid {
  display: grid;
  gap: var(--spacing-lg);
}

.feature-card {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  margin-bottom: var(--spacing-md);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.feature-description {
  color: var(--gray-600);
  margin-bottom: var(--spacing-md);
}

.feature-proof {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
}

/* Dark variant for cards in on-dark sections (Orizon style) */
.section-on-dark .feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.section-on-dark .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.section-on-dark .feature-title {
  color: #fff;
}

.section-on-dark .feature-description {
  color: rgba(255, 255, 255, 0.8);
}

/* Proof Section */
.proof {
  background: transparent;
}

.customer-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  align-items: center;
  justify-items: center;
  margin-bottom: var(--spacing-3xl);
  opacity: 0.6;
}

.customer-logos img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: all 0.3s;
}

.customer-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.testimonials {
  display: grid;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-3xl);
}

.testimonial-card {
  background: var(--gray-50);
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  border: 2px solid var(--gray-200);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: var(--spacing-md);
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
  color: var(--gray-700);
}

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

.testimonial-avatar {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.testimonial-name {
  font-weight: 600;
  color: var(--gray-900);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Case Study */
.case-study {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
}

.case-study-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.case-study-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.case-study-subtitle {
  color: var(--gray-600);
}

.case-study-chart {
  margin-bottom: var(--spacing-xl);
  overflow-x: auto;
}

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-lg);
}

.case-study-stat {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* Product Overview Section */
.product-overview {
  background: transparent;
}

/* Benefits Section */
.benefits {
  background: transparent;
}

.benefits-grid {
  display: grid;
  gap: var(--spacing-2xl);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.benefit-kicker {
  color: #93c5fd;
}

.benefit-title {
  color: #fff;
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: var(--spacing-xl);
}

@media (min-width:1024px) {
  .benefit-title {
    font-size: 3rem;
  }
}

.benefit-list {
  list-style: none;
  display: grid;
  gap: 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.benefit-text {
  color: #e5e7eb;
  font-weight: 600;
  font-size: 1.125rem;
}

.benefit-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06) 60%, rgba(255, 255, 255, 0));
}

.benefits-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit {
  position: relative;
  width: 520px;
  height: 520px;
  max-width: 90vw;
  border-radius: 50%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(99, 102, 241, .18), rgba(255, 255, 255, .02) 60%);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, .15);
}

.orbit-dots {
  position: absolute;
  inset: 10% 10%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 14px 14px;
  border-radius: 50%;
  opacity: .35;
}

.orbit-ring {
  position: absolute;
  inset: 8% 8%;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.orbit-ring.ring-2 {
  inset: 20% 20%;
}

.orbit-ring.ring-3 {
  inset: 32% 32%;
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  transform: translate(-50%, -50%);
  background: radial-gradient(60% 60% at 50% 40%, rgba(255, 255, 255, .25), rgba(255, 255, 255, .05));
  border-radius: 50%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

.orbit-badge {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.badge-a {
  left: 16%;
  top: 22%;
}

.badge-b {
  right: 18%;
  top: 28%;
}

.badge-c {
  left: 44%;
  bottom: 16%;
}

.badge-d {
  right: 22%;
  bottom: 12%;
}

.steps {
  display: grid;
  gap: var(--spacing-2xl);
}

.step {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--gray-100);
}

.step-description {
  color: var(--gray-400);
  margin-bottom: var(--spacing-lg);
}

.step-image,
.step-visual {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.step-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* Pricing Section */
.pricing {
  background: transparent;
}

.pricing--dark .section-title {
  color: #fff;
}

.pricing--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Segmented control (billing period) */
.segment-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0.375rem;
  width: max-content;
  margin: 0 auto var(--spacing-2xl);
  padding: 0.375rem 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.segment-item {
  appearance: none;
  background: transparent;
  color: #fff;
  opacity: .85;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: clamp(120px, 32vw, 180px);
  padding: .75rem 1.25rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.segment-item[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.18);
  opacity: 1;
}

.segment-item .badge {
  margin-left: .5rem;
  background: #22c55e;
  color: #fff;
  padding: .125rem .375rem;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Visually hidden but not in layout (for a11y controls) */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Dark pricing grid */
.pricing-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: 1fr;
}

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

.pricing-card-dark {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: var(--spacing-2xl) var(--spacing-xl);
  color: #e5e7eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.pricing-card-dark .plan-kicker {
  color: #93c5fd;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: .85rem;
  margin-bottom: 1rem;
}

.pricing-card-dark .price {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  color: #fff;
}

.pricing-card-dark .currency {
  font-size: 1.5rem;
}

.pricing-card-dark .currency {
  color: #fff;
}

.pricing-card-dark .amount {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
}

.pricing-card-dark .period {
  color: #cbd5e1;
}

.pricing-card-dark .desc {
  color: #cbd5e1;
  margin-top: .5rem;
}

.pricing-card-dark .list {
  list-style: none;
  margin: var(--spacing-xl) 0;
  display: grid;
  gap: .5rem;
}

.pricing-card-dark .list li::before {
  content: "✓";
  color: #22c55e;
  margin-right: .5rem;
}

.btn-dark-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: transparent;
}

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

.pricing-card-dark.featured {
  border-color: #6b8cff;
  box-shadow: 0 0 0 1px #6b8cff inset, 0 40px 80px rgba(59, 130, 246, .25);
  background: radial-gradient(600px 200px at 50% -50px, rgba(99, 102, 241, .35), rgba(255, 255, 255, .03) 60%);
}

.pricing-card-dark .popular {
  background: #1e40af;
  color: #fff;
  padding: .125rem .5rem;
  border-radius: 8px;
  font-size: .75rem;
  margin-left: .5rem;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
}

.pricing-toggle-label {
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
}

.toggle-switch {
  position: relative;
  width: 60px;
  height: 32px;
  background: var(--gray-300);
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-switch.active {
  background: var(--primary);
}

.toggle-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-switch.active .toggle-slider {
  transform: translateX(28px);
}

.savings-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: var(--secondary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.pricing-cards {
  display: grid;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.pricing-card {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  transition: all 0.3s;
}

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

.pricing-card-featured {
  position: relative;
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.featured-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: var(--spacing-lg);
}

.pricing-plan-name {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.pricing-plan-description {
  color: var(--gray-600);
  font-size: 0.875rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: var(--spacing-lg);
}

.currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-700);
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-900);
}

.period {
  font-size: 1rem;
  color: var(--gray-600);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--spacing-xl);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  color: var(--gray-700);
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--spacing-md);
  font-size: 0.875rem;
  color: var(--gray-600);
}

.pricing-faq-link {
  margin-top: var(--spacing-xl);
  text-align: center;
  color: var(--gray-600);
}

.pricing-faq-link a {
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #4f46e5 0%, #1e40af 100%);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  color: white;
  margin-bottom: var(--spacing-md);
}

.cta-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

/* FAQ Section */
.faq {
  background: transparent;
}

/* On-dark section typography and UI adjustments */
.section-on-dark .section-title {
  color: #fff;
}

.section-on-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.section-on-dark .pricing-toggle-label {
  color: rgba(255, 255, 255, 0.85);
}

.section-on-dark .pricing-faq-link {
  color: rgba(255, 255, 255, 0.85);
}

.section-on-dark .pricing-faq-link a {
  color: #a5b4fc;
}

/* Dark translucent cards for Proof section */
.section-on-dark .testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  border: none;
}

.section-on-dark .testimonial-text {
  color: rgba(255, 255, 255, 0.9);
}

.section-on-dark .testimonial-name {
  color: #fff;
}

.section-on-dark .testimonial-role {
  color: rgba(255, 255, 255, 0.75);
}

.section-on-dark .case-study {
  background: rgba(255, 255, 255, 0.04);
  border: none;
}

.section-on-dark .case-study-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.section-on-dark .stat-label {
  color: rgba(255, 255, 255, 0.75);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: var(--spacing-sm);
}

.faq-item {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Dark variant for FAQ within on-dark sections */
.section-on-dark .faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: none;
  color: rgba(255, 255, 255, 0.9);
}

.section-on-dark .faq-question {
  color: #fff;
}

.section-on-dark .faq-answer {
  color: rgba(255, 255, 255, 0.8);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item[open] .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--spacing-lg) var(--spacing-md);
  color: var(--gray-600);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section:first-child {
  grid-column: 1 / -1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--spacing-md);
}

.footer-logo-text {
  color: white;
}

.footer-tagline {
  color: var(--gray-400);
  margin-bottom: var(--spacing-md);
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  border-radius: 50%;
  color: var(--gray-400);
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
}

.footer-title {
  color: white;
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: var(--spacing-sm);
}

.footer-links a {
  color: var(--gray-400);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--gray-800);
  font-size: 0.875rem;
}

/* Tablet Styles (768px and up) */
@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }

  .mobile-menu-overlay {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-cta {
    flex-direction: row;
  }

  .social-proof {
    flex-direction: row;
    gap: var(--spacing-lg);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .customer-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-buttons {
    flex-direction: row;
  }

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

  .footer-section:first-child {
    grid-column: auto;
  }

  .step {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 1.875rem;
  }

  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

  .hero-image {
    display: block;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .customer-logos {
    grid-template-columns: repeat(6, 1fr);
  }

  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {

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

  html {
    scroll-behavior: auto;
  }
}

/* Print styles */
@media print {

  .header,
  .footer,
  .cta-section,
  .hero-cta,
  .pricing-toggle,
  .btn {
    display: none;
  }
}