/* ============================================================
   INFYNTRA DESIGN SYSTEM — styles.css
   Brand: Electric Teal on Dark Navy
   Fonts: Bricolage Grotesque (display/body), DM Mono (mono)
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;500;600;700;800&family=DM+Mono:wght@300;400;500&display=swap');

/* --- CSS Custom Properties (Dark mode default) --- */
:root {
  /* Dark Mode Colors */
  --background: oklch(0.1 0.022 262);
  --card: oklch(0.135 0.02 262);
  --sidebar: oklch(0.085 0.02 262);
  --primary: oklch(0.73 0.155 185);
  --primary-foreground: oklch(0.1 0.022 262);
  --foreground: oklch(0.93 0.01 240);
  --muted-foreground: oklch(0.56 0.05 228);
  --border: oklch(1 0 0 / 9%);
  --destructive: oklch(0.65 0.22 25);
  --ring: oklch(0.73 0.155 185);

  /* Surfaces */
  --card-hover: oklch(0.16 0.022 262);
  --surface-raised: oklch(0.12 0.02 262);

  /* Typography */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-mono: 'DM Mono', monospace;

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

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

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
}

/* --- Light Mode --- */
[data-theme="light"] {
  --background: oklch(0.98 0.004 240);
  --card: oklch(1 0 0);
  --sidebar: oklch(0.96 0.005 240);
  --primary: oklch(0.55 0.14 185);
  --primary-foreground: oklch(1 0 0);
  --foreground: oklch(0.15 0.02 262);
  --muted-foreground: oklch(0.5 0.04 240);
  --border: oklch(0 0 0 / 10%);
  --card-hover: oklch(0.97 0.004 240);
  --surface-raised: oklch(0.96 0.004 240);
  --ring: oklch(0.55 0.14 185);
}

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

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

body {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  transition: background-color var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
}

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

a:hover {
  text-decoration: underline;
}

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

/* Focus states */
:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.text-mono {
  font-family: var(--font-mono);
  font-weight: 400;
}

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-foreground { color: var(--foreground); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-5xl) 0;
}

.section-sm {
  padding: var(--space-3xl) 0;
}

/* Grid utilities */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Margin utilities */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: oklch(0.1 0.022 262 / 80%);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--transition-base);
}

[data-theme="light"] .nav {
  background: oklch(0.98 0.004 240 / 80%);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--foreground);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-logo:hover {
  text-decoration: none;
}

.nav-logo .logo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary), 0 0 24px oklch(0.73 0.155 185 / 40%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--foreground);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--primary);
}

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

/* Theme toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-sm);
  cursor: pointer;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.theme-toggle:hover {
  color: var(--foreground);
  border-color: var(--primary);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

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

/* Mobile menu */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-mobile-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--background);
  padding: 5rem var(--space-lg) var(--space-xl);
  flex-direction: column;
  gap: var(--space-lg);
}

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

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 0 0 transparent;
}

.btn-primary:hover {
  box-shadow: 0 0 20px oklch(0.73 0.155 185 / 35%), 0 0 40px oklch(0.73 0.155 185 / 15%);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
}

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

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--muted-foreground);
}

.btn-ghost:hover {
  color: var(--foreground);
  background: var(--card);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius);
}

/* --- Cards --- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: oklch(1 0 0 / 15%);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px oklch(0 0 0 / 20%);
}

[data-theme="light"] .card:hover {
  box-shadow: 0 8px 32px oklch(0 0 0 / 8%);
}

.card-highlight {
  border-color: var(--primary);
  position: relative;
}

.card-highlight::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), oklch(0.73 0.155 185 / 30%), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: oklch(0.73 0.155 185 / 12%);
  color: var(--primary);
  border: 1px solid oklch(0.73 0.155 185 / 20%);
}

.badge-team {
  background: oklch(0.65 0.15 300 / 12%);
  color: oklch(0.75 0.15 300);
  border-color: oklch(0.65 0.15 300 / 20%);
}

/* --- Dot Grid Background --- */
.dot-grid {
  position: relative;
}

.dot-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, oklch(1 0 0 / 6%) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .dot-grid::before {
  background-image: radial-gradient(circle, oklch(0 0 0 / 8%) 1px, transparent 1px);
}

.dot-grid > * {
  position: relative;
  z-index: 1;
}

/* --- Glow Teal --- */
.glow-teal {
  box-shadow:
    0 0 15px oklch(0.73 0.155 185 / 15%),
    0 0 45px oklch(0.73 0.155 185 / 8%),
    0 0 80px oklch(0.73 0.155 185 / 4%);
}

/* --- Hero Section --- */
.hero {
  padding: calc(5rem + var(--space-5xl)) 0 var(--space-5xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, oklch(0.73 0.155 185 / 8%) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .hero::before {
  background: radial-gradient(ellipse, oklch(0.55 0.14 185 / 6%) 0%, transparent 70%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-lg);
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto var(--space-lg);
}

.hero h1 .highlight {
  color: var(--primary);
  position: relative;
}

.hero-description {
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
  color: var(--muted-foreground);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-top: var(--space-lg);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
  display: block;
}

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

.section-header p {
  font-size: 1.0625rem;
}

/* --- Module Cards (Homepage) --- */
.module-card {
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.module-card .module-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: oklch(0.73 0.155 185 / 10%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--primary);
}

.module-card .module-icon svg {
  width: 24px;
  height: 24px;
}

.module-card h3 {
  margin-bottom: var(--space-sm);
}

.module-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

.module-card .module-tag {
  margin-top: var(--space-md);
}

/* --- Connection Flow --- */
.flow-section {
  position: relative;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.flow-step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.flow-step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: oklch(0.73 0.155 185 / 12%);
  border: 1px solid oklch(0.73 0.155 185 / 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.flow-step-content h4 {
  margin-bottom: var(--space-xs);
}

.flow-step-content p {
  font-size: 0.9375rem;
}

.flow-connector {
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(to bottom, var(--primary), oklch(0.73 0.155 185 / 10%));
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

.pricing-card {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card .plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  white-space: nowrap;
  box-shadow: 0 0 16px oklch(0.73 0.155 185 / 30%);
}

.pricing-card .plan-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: var(--space-lg);
}

/* Price block */
.pricing-card .plan-price-block {
  margin-bottom: var(--space-md);
}

.pricing-card .plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  line-height: 1;
}

.pricing-card .plan-price .plan-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  align-self: flex-start;
  margin-top: 0.3rem;
}

.pricing-card .plan-price .plan-amount {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.03em;
  transition: opacity 0.2s ease;
}

.pricing-card .plan-price .plan-period {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--muted-foreground);
  margin-left: 0.15rem;
}

.pricing-card .plan-billing-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: var(--space-sm);
  min-height: 1.2em;
}

/* Divider between price and features */
.pricing-card .plan-divider {
  height: 1px;
  background: var(--border);
  margin: var(--space-lg) 0;
}

.pricing-card .plan-description {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.pricing-card .plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: var(--space-xl);
  flex-grow: 1;
}

.pricing-card .plan-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.pricing-card .plan-features li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--primary);
  margin-top: 2px;
}

.pricing-card .plan-features li.disabled {
  opacity: 0.4;
}

.pricing-card .plan-features li.disabled svg {
  color: var(--muted-foreground);
}

.pricing-card .plan-cta {
  margin-top: auto;
}

.pricing-card .plan-cta .btn {
  width: 100%;
}

/* --- Feature Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-2xl);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.comparison-table th {
  font-weight: 600;
  color: var(--foreground);
  background: var(--card);
  position: sticky;
  top: 0;
}

.comparison-table td {
  color: var(--muted-foreground);
}

.comparison-table td:not(:first-child) {
  text-align: center;
}

.comparison-table th:not(:first-child) {
  text-align: center;
}

.comparison-table .check {
  color: var(--primary);
}

.comparison-table .dash {
  color: var(--muted-foreground);
  opacity: 0.3;
}

@media (max-width: 640px) {
  .comparison-table {
    font-size: 0.8125rem;
  }
  .comparison-table th,
  .comparison-table td {
    padding: var(--space-sm);
  }
}

/* --- FAQ Section --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: oklch(1 0 0 / 15%);
}

[data-theme="light"] .faq-item:hover {
  border-color: oklch(0 0 0 / 15%);
}

.faq-question {
  width: 100%;
  background: var(--card);
  border: none;
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--foreground);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--card-hover);
}

.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--muted-foreground);
  transition: transform var(--transition-fast);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

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

.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- Billing Toggle --- */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.billing-toggle-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color var(--transition-fast);
  cursor: pointer;
}

.billing-toggle-label.active {
  color: var(--foreground);
}

.billing-toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.billing-toggle-switch:hover {
  border-color: var(--primary);
}

.billing-toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  transition: transform var(--transition-fast);
  box-shadow: 0 0 8px oklch(0.73 0.155 185 / 30%);
}

.billing-toggle-switch.annual::after {
  transform: translateX(24px);
}

.billing-toggle-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: oklch(0.73 0.155 185 / 12%);
  color: var(--primary);
  border: 1px solid oklch(0.73 0.155 185 / 20%);
  white-space: nowrap;
}

/* Price display for toggle */
.price-monthly,
.price-annual {
  transition: opacity var(--transition-fast);
}

.price-annual {
  display: none;
}

[data-billing="annual"] .price-annual {
  display: inline;
}

[data-billing="annual"] .price-monthly {
  display: none;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--sidebar);
}

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

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

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-brand .footer-logo .logo-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 300px;
}

/* Social links */
.social-links {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-link:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: oklch(0.73 0.155 185 / 8%);
  text-decoration: none;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-contact {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-contact a {
  color: var(--primary);
}

.footer-column h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--foreground);
  margin-bottom: var(--space-lg);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-column ul a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-column ul a:hover {
  color: var(--foreground);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: var(--space-xl);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.footer-bottom-links a:hover {
  color: var(--foreground);
}

/* --- Page Header (for inner pages) --- */
.page-header {
  padding: calc(5rem + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, oklch(0.73 0.155 185 / 6%) 0%, transparent 70%);
  pointer-events: none;
}

.page-header > * {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  margin-bottom: var(--space-md);
}

.page-header p {
  font-size: 1.0625rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Policy Page Styles --- */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg) var(--space-5xl);
}

.policy-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.policy-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.policy-content h3 {
  font-size: 1.125rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.policy-content p {
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.policy-content ul,
.policy-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
  color: var(--muted-foreground);
}

.policy-content li {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: var(--space-xs);
}

.policy-content a {
  color: var(--primary);
}

.policy-meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-2xl);
  text-align: center;
}

/* --- Services Page --- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block:nth-child(even) {
  direction: rtl;
}

.service-block:nth-child(even) > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .service-block,
  .service-block:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

.service-info .service-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
  display: block;
}

.service-info h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
}

.service-info > p {
  margin-bottom: var(--space-lg);
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.service-features li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--primary);
  margin-top: 2px;
}

.service-tiers {
  margin-top: var(--space-xl);
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.service-visual {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.service-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, oklch(1 0 0 / 4%) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

[data-theme="light"] .service-visual::before {
  background-image: radial-gradient(circle, oklch(0 0 0 / 4%) 1px, transparent 1px);
}

.service-visual > svg {
  width: 160px;
  height: 160px;
  color: var(--primary);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px oklch(0.73 0.155 185 / 20%));
}

.service-visual-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: oklch(0.73 0.155 185 / 10%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.service-visual-icon svg {
  width: 40px;
  height: 40px;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, oklch(0.73 0.155 185 / 10%) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  margin-bottom: var(--space-md);
}

.cta-banner p {
  font-size: 1.0625rem;
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-in-delay-1 { animation-delay: 100ms; }
.animate-in-delay-2 { animation-delay: 200ms; }
.animate-in-delay-3 { animation-delay: 300ms; }
.animate-in-delay-4 { animation-delay: 400ms; }
.animate-in-delay-5 { animation-delay: 500ms; }
.animate-in-delay-6 { animation-delay: 600ms; }

/* Scroll-triggered animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* --- Responsive body padding for fixed nav --- */
body {
  padding-top: 0;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: oklch(1 0 0 / 12%);
  border-radius: 4px;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: oklch(0 0 0 / 15%);
}

::-webkit-scrollbar-thumb:hover {
  background: oklch(1 0 0 / 20%);
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: oklch(0 0 0 / 25%);
}

/* --- Selection --- */
::selection {
  background: oklch(0.73 0.155 185 / 25%);
  color: var(--foreground);
}
