:root {
  /* Nordic Clean Tech / Sky & Deep Navy Palette */
  --bg-primary: #f8fafc;
  --bg-secondary: #f0f7ff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: #0284c7;
  
  --primary: #0284c7;
  --primary-glow: rgba(2, 132, 199, 0.2);
  --primary-hover: #0369a1;
  --accent: #0ea5e9;
  --accent-light: #e0f2fe;
  --accent-glow: rgba(14, 165, 233, 0.15);
  --success: #059669;
  --warning: #d97706;
  
  --text-main: #0f172a;
  --text-sub: #334155;
  --text-muted: #64748b;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 8px 30px -4px rgba(2, 132, 199, 0.25);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-sub);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-primary);
}

/* Ambient Background Glows */
.bg-glow-1 {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: 100vw;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(2, 132, 199, 0.04) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-2 {
  position: absolute;
  top: 1400px;
  right: -100px;
  width: 600px;
  max-width: 100vw;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Typography & Utilities */
h1, h2, h3, h4, .brand-font {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.gradient-text {
  background: linear-gradient(135deg, #0f172a 0%, #0369a1 55%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-accent {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffffff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-nav {
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-sub);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--border-hover);
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Hero Section */
.hero {
  padding: 90px 0 60px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-light);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #0369a1;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-sub);
  max-width: 750px;
  margin: 0 auto 40px;
}

.hero-subtitle code {
  background: var(--accent-light);
  color: #0369a1;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat-item h4 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #bae6fd;
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-desc code {
  background: #f1f5f9;
  color: #0369a1;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Spotlight Feature Banner */
.spotlight-section {
  padding: 60px 0 20px 0;
  position: relative;
}

.spotlight-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.spotlight-content h2 {
  font-size: 2.1rem;
  line-height: 1.25;
  margin-top: 14px;
  margin-bottom: 16px;
}

.spotlight-desc {
  font-size: 1.02rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 24px;
}

.spotlight-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.spotlight-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.spotlight-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  color: #0369a1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.spotlight-feature-text h4 {
  font-size: 1.02rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.spotlight-feature-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.spotlight-feature-text code {
  background: #f1f5f9;
  color: #0369a1;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.88em;
}

/* Interactive Component Showcase */
.showcase-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.component-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-color);
  background: #f8fafc;
}

.component-tab {
  padding: 18px 24px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: all var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.component-tab:hover {
  color: var(--text-main);
  background: rgba(2, 132, 199, 0.04);
}

.component-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: #ffffff;
}

.showcase-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  padding: 40px;
  gap: 40px;
  align-items: center;
}

.showcase-details h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.replacement-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #dc2626;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.showcase-bullets {
  list-style: none;
  margin-bottom: 30px;
}

.showcase-bullets li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-sub);
  font-size: 0.95rem;
}

.showcase-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
}

/* Showcase Window Media Frame */
.showcase-media {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.window-frame {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  width: 100%;
  max-width: 580px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.window-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -10px rgba(2, 132, 199, 0.18), 0 0 0 1px #bae6fd;
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-close { background: #f87171; }
.dot-min { background: #fbbf24; }
.dot-max { background: #34d399; }

.window-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-sub);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.window-badge {
  background: var(--accent-light);
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.window-body {
  padding: 12px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.showcase-img:hover {
  transform: scale(1.015);
}

/* Quickstart Integration Architecture Showcase */
.integration-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
  margin-bottom: 36px;
}

.integration-opt-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.integration-opt-card:hover {
  transform: translateY(-4px);
  border-color: #bae6fd;
  box-shadow: var(--shadow-md);
}

.integration-opt-card.featured-opt {
  border-color: var(--primary);
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 40%);
}

.opt-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.opt-badge-blue {
  background: var(--accent-light);
  color: #0369a1;
}

.opt-badge-green {
  background: #dcfce7;
  color: #15803d;
}

.opt-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.opt-desc {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.opt-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.opt-checklist li {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.opt-checklist li strong {
  color: var(--text-main);
}

.opt-check-icon {
  color: var(--success);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}

.opt-footer-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.integration-showcase {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.integration-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid var(--border-color);
}

.integration-tabs {
  display: flex;
  gap: 6px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-full);
}

.integration-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.integration-tab-btn:hover {
  color: var(--text-main);
}

.integration-tab-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Code Preview — High-contrast slate terminal window */
.code-preview {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
  font-size: 0.85rem;
  color: #94a3b8;
}

.code-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #f1f5f9;
  overflow-x: auto;
  line-height: 1.5;
}

.code-body .keyword { color: #f472b6; }
.code-body .type { color: #38bdf8; }
.code-body .string { color: #34d399; }
.code-body .comment { color: #94a3b8; font-style: italic; }

/* Pricing Section */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  transform: scale(1.04);
  box-shadow: 0 16px 36px -4px rgba(2, 132, 199, 0.2);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 8px var(--primary-glow);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  min-height: 40px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-main);
  margin-bottom: 4px;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  flex-grow: 1;
}

.pricing-features li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  color: var(--text-sub);
  font-size: 0.9rem;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* FAQ & Quickstart */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  overflow-wrap: anywhere;
}

.faq-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.faq-card p {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Modal for Invoice / Buy */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  margin: auto;
  padding: 28px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-card .form-group {
  margin-bottom: 12px;
}

.modal-card .form-input,
.modal-card .form-select,
.modal-card .form-textarea {
  padding: 10px 14px;
}

.modal-card h3 {
  color: var(--text-main);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-main);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.form-checkbox-row input[type="checkbox"] {
  accent-color: var(--primary);
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.form-checkbox-row input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.form-checkbox-label {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-sub);
  cursor: pointer;
}

.form-checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

/* Contact / Custom Component Box */
.contact-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  background: #ffffff;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h5 {
  color: var(--text-main);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* Currency Toggle */
.currency-toggle {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
}

.currency-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.currency-toggle-btn:hover {
  color: var(--text-main);
}

.currency-toggle-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 10px var(--primary-glow);
}

/* Demo Box */
.demo-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
}

/* Responsive */
@media (max-width: 968px) {
  .hero-title { font-size: 2.4rem; }
  .features-grid, .pricing-grid, .integration-options-grid, .faq-grid { grid-template-columns: 1fr; }
  .spotlight-card { grid-template-columns: 1fr; padding: 28px; }
  .showcase-content { grid-template-columns: 1fr; }
  .feature-card, .pricing-card, .integration-opt-card, .showcase-details, .showcase-media, .spotlight-content, .spotlight-media, .window-frame { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .pricing-card.featured { transform: none; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .bg-glow-2 { right: 0; }
  .container { padding: 0 16px; }
  .hero { padding: 112px 0 64px; }
  .hero-title { font-size: 2rem; }
  .hero-stats { padding: 18px; gap: 16px; }
  .badge { max-width: 100%; flex-wrap: wrap; text-align: left; }
  .btn { white-space: normal; max-width: 100%; text-align: center; }
  .btn-lg { padding: 14px 18px; font-size: 0.96rem; }
  .spotlight-card { padding: 24px 18px; gap: 24px; }
  .showcase-content { padding: 24px 18px; gap: 24px; }
  .window-header { flex-wrap: wrap; gap: 8px; }
  .window-title { min-width: 0; max-width: 100%; }
  .demo-box { padding: 28px 20px; }
  .contact-box { padding: 28px 20px; }
  .showcase-wrapper { padding: 20px; }
  .integration-header { padding: 20px; }
  .integration-tabs { flex-wrap: wrap; border-radius: var(--radius-md); width: 100%; }
  .integration-tab-btn { width: 100%; text-align: center; }
  .code-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Compact Non-Modal Analytics Consent Bar */
.consent-bar {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, calc(100vw - 24px));
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-sub);
}

.consent-bar[hidden] {
  display: none;
}

.consent-bar-text {
  min-width: 0;
  flex: 1 1 auto;
}

.consent-bar-text strong {
  color: var(--text-main);
}

.consent-bar-text a {
  color: var(--primary);
  text-decoration: underline;
  white-space: nowrap;
}

.consent-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.consent-btn {
  padding: 8px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.consent-settings-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.consent-settings-link:hover {
  color: var(--primary);
}

@media (max-width: 640px) {
  .consent-bar {
    bottom: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
    font-size: 0.8rem;
  }

  .consent-bar-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .consent-btn {
    flex: 1 1 auto;
    padding: 8px 10px;
  }
}
