/* ==========================================================================
   PRINNEXAI.COM - Core Design System & Stylesheet (Premium Light Theme)
   ========================================================================== */

:root {
  /* Color Palette - Premium Light Theme */
  --bg-main: #FAFCFE;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-tint-indigo: #EEF2FF;
  --bg-tint-cyan: #ECFEFF;
  --bg-tint-emerald: #ECFDF5;
  --bg-tint-amber: #FFFBEB;
  --bg-tint-rose: #FFF1F2;

  /* Text & Contrast */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Brand Accents & Gradients */
  --brand-primary: #4F46E5;
  --brand-primary-hover: #4338CA;
  --brand-secondary: #7C3AED;
  --brand-accent: #06B6D4;
  --brand-gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #06B6D4 100%);
  --brand-gradient-text: linear-gradient(135deg, #312E81 0%, #4F46E5 40%, #0284C7 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(124, 58, 237, 0.06) 50%, rgba(6, 182, 212, 0.06) 100%);

  /* Status Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #0284C7;

  /* Borders & Dividers */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-focus: rgba(79, 70, 229, 0.5);

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px 0 rgba(15, 23, 42, 0.04), 0 1px 2px 0 rgba(15, 23, 42, 0.02);
  --shadow-card: 0 12px 32px -4px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 20px 40px -6px rgba(15, 23, 42, 0.1), 0 8px 16px -3px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 12px 32px -4px rgba(79, 70, 229, 0.28);

  /* Layout & Geometry */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --max-width: 1240px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Glow Gradients (Subtle Light Theme) */
body::before {
  content: '';
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 550px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.08) 50%, rgba(255, 255, 255, 0) 80%);
  z-index: -1;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

button, input, select, textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Typography Helpers
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary);
  box-shadow: var(--shadow-xs);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(79, 70, 229, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
  font-weight: 800;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

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

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.05);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--border-focus);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #312E81 0%, #4F46E5 50%, #0891B2 100%);
  color: #FFFFFF;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  position: relative;
  z-index: 101;
}

.top-bar a {
  color: #E0E7FF;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 6px;
}

.top-bar a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(250, 252, 254, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 64px 0 72px;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto 48px;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 740px;
  margin: 0 auto 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-guarantee-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.hero-guarantee-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-guarantee-pills svg {
  color: var(--success);
}

/* ==========================================================================
   Hero Interactive Live Scanner / Playground
   ========================================================================== */
.live-demo-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  text-align: left;
}

.demo-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.demo-traffic-lights {
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-traffic-lights span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.light-red { background: #FF5F56; }
.light-yellow { background: #FFBD2E; }
.light-green { background: #27C93F; }

.demo-header-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
}

.demo-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-tint-emerald);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.demo-controls-bar {
  padding: 12px 20px;
  background: #FAFCFE;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.preset-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-preset {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-preset:hover, .btn-preset.active {
  background: var(--bg-tint-indigo);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.demo-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
}

@media (max-width: 860px) {
  .demo-body {
    grid-template-columns: 1fr;
  }
}

.demo-pane {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.demo-pane-left {
  border-right: 1px solid var(--border-subtle);
  background: #FFFFFF;
}

@media (max-width: 860px) {
  .demo-pane-left {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
}

.demo-pane-right {
  background: #FAFBFD;
}

.pane-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pane-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-textarea {
  width: 100%;
  flex: 1;
  min-height: 160px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: #FFFFFF;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease;
}

.demo-textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.output-container {
  width: 100%;
  flex: 1;
  min-height: 160px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  color: #0F172A;
  background: #F8FAFC;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.secret-highlight {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.masked-token {
  background: #E0E7FF;
  color: #4338CA;
  border: 1px solid #A5B4FC;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.demo-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

.demo-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-secondary);
}

.stat-item strong {
  color: var(--text-primary);
}

/* ==========================================================================
   Partners & Model Integration Strip
   ========================================================================== */
.model-strip {
  padding: 40px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.model-strip-text {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 24px;
}

.model-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  opacity: 0.85;
}

.model-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.model-badge:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  box-shadow: var(--shadow-xs);
}

/* ==========================================================================
   Comparison Section: Traditional DLP vs Doing Nothing vs PrinnexAI
   ========================================================================== */
.comparison-section {
  padding: 80px 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

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

.comparison-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s ease;
}

.comparison-card.card-featured {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-card);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF5FF 100%);
  transform: translateY(-4px);
}

.comparison-card.card-featured::before {
  content: 'RECOMMENDED BY SECURITY TEAMS';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.comparison-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.comparison-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.comparison-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.icon-bad { color: var(--danger); }
.icon-warn { color: var(--warning); }
.icon-good { color: var(--success); }

/* ==========================================================================
   Bento Grid Feature Showcase
   ========================================================================== */
.features-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, rgba(241, 245, 249, 0.4) 100%);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-card-hover);
}

.col-span-8 { grid-column: span 8; }
.col-span-4 { grid-column: span 4; }
.col-span-6 { grid-column: span 6; }
.col-span-12 { grid-column: span 12; }

@media (max-width: 992px) {
  .col-span-8, .col-span-4, .col-span-6 {
    grid-column: span 12;
  }
}

.bento-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-indigo { background: var(--bg-tint-indigo); color: var(--brand-primary); }
.icon-cyan { background: var(--bg-tint-cyan); color: var(--brand-accent); }
.icon-purple { background: #FAF5FF; color: var(--brand-secondary); }
.icon-emerald { background: var(--bg-tint-emerald); color: var(--success); }

.bento-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.bento-graphic {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Architecture & How It Works
   ========================================================================== */
.architecture-section {
  padding: 80px 0;
}

.step-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  position: relative;
}

@media (max-width: 860px) {
  .step-flow-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-card);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Interactive ROI & Leak Risk Calculator
   ========================================================================== */
.calculator-section {
  padding: 80px 0;
  background: var(--bg-subtle);
}

.calc-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 48px 40px;
  max-width: 980px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 860px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.calc-slider-group {
  margin-bottom: 28px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
}

.calc-results-card {
  background: linear-gradient(145deg, #FAF5FF 0%, #EEF2FF 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.calc-metric-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--brand-primary);
  line-height: 1;
  margin: 12px 0 6px;
}

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

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
  padding: 80px 0;
}

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-round {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #CBD5E1;
  transition: .3s;
  border-radius: 34px;
}

.slider-round:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider-round {
  background-color: var(--brand-primary);
}

input:checked + .slider-round:before {
  transform: translateX(24px);
}

.discount-badge {
  background: var(--bg-tint-emerald);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.pricing-featured {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-card);
  transform: scale(1.03);
  z-index: 2;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFF 100%);
}

@media (max-width: 992px) {
  .pricing-card.pricing-featured {
    transform: none;
  }
}

.pricing-card.pricing-featured::before {
  content: 'MOST POPULAR CLOUD TIER';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

.pricing-plan-name {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.pricing-plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 48px;
}

.pricing-price-wrap {
  margin: 24px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

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

.pricing-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features-list {
  list-style: none;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}

.pricing-features-list li svg {
  color: var(--success);
  flex-shrink: 0;
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  background: #FFFFFF;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s ease;
  background: #FFFFFF;
}

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--brand-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ==========================================================================
   Bottom CTA Banner
   ========================================================================== */
.cta-banner-section {
  padding: 80px 0 100px;
}

.cta-banner-box {
  background: var(--brand-gradient);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.cta-banner-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
}

.cta-banner-title {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner-sub {
  color: #E0E7FF;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-white {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.btn-white:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #FAFBFD;
  border-top: 1px solid var(--border-medium);
  padding: 64px 0 32px;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

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

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

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-desc {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--bg-tint-indigo);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--brand-primary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-light);
  font-size: 0.85rem;
}

.compliance-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================================================================
   Mobile Nav Drawer
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-medium);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
  z-index: 99;
}

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

@media (max-width: 860px) {
  .nav-menu, .nav-actions .btn-secondary {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}
