/* ============================================================
   RecordIQ Design System — White & Blue Professional
   Colors: #1B2A4A (navy), #3b82f6 (blue), #3b82f6 (accent blue)
           #f8fafc (off-white bg), #ffffff (white), #1e293b (text)
           #e2e8f0 (border), #64748b (muted text)
   Font:   Red Hat Display + Red Hat Text (fallback: Inter)
   ============================================================ */

/* ── 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;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Red Hat Text', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #000000;
  background: #f8fafc;
  overflow-x: hidden;
  max-width: 100vw;
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Red Hat Display', 'Inter', -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
}

a { color: #3b82f6; text-decoration: none; transition: color 0.2s; }
a:hover { color: #2563eb; }

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

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Red Hat Display', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-md { padding: 12px 28px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { display: flex; justify-content: center; width: 100%; }

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}
.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: #1d4ed8;
  border-color: #1d4ed8;
}
.btn-outline:hover {
  background: #1d4ed8;
  color: #ffffff;
}

.btn-ghost { 
  background: transparent;
  color: #000000;
  border-color: #6b7280;
}
.btn-ghost:hover {
  background: rgba(0,0,0,0.05);
  border-color: #4b5563;
  color: #000000;
}

.btn-white {
  background: #fff;
  color: #3b82f6;
  border-color: #000000;
}
.btn-white:hover {
  background: #F2F2F2;
  border-color: #F2F2F2;
  color: #2563eb;
}

.btn-dark {
  background: #f8fafc;
  color: #000000;
  border-color: #000000;
}
.btn-dark:hover {
  background: #e2e8f0;
  border-color: #e2e8f0;
  color: #000000;
}

/* ── Navigation ────────────────────────────────────────────── */

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #000000;
}

.brand-icon svg rect { fill: #3b82f6; }
.brand-icon svg circle { fill: #2563eb; }

.brand-text {
  font-family: 'Red Hat Display', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #000000;
}
.brand-accent { color: #3b82f6; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a { 
  color: #000000;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: #3b82f6; }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: #f8fafc;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg-pattern {
  display: none;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.gradient-text {
  background: #3b82f6;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #000000;
  padding: 6px 0;
  border-radius: 0;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-subtitle {
  color: #1f2937;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4b5563;
  font-size: 13px;
}
.trust-item svg path { stroke: #4CAF50; }

/* Hero Visual — App Window Mock */
.hero-visual { position: relative; }

.app-window {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.window-dots {
  display: flex;
  gap: 6px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot.red { background: #FF5F56; }
.dot.yellow { background: #F5A623; }
.dot.green { background: #4CAF50; }

.window-title {
  color: #4b5563;
  font-size: 12px;
  font-weight: 500;
}

.window-body {
  display: flex;
  min-height: 280px;
}

.mock-sidebar {
  width: 160px;
  background: #1e293b;
  border-right: 1px solid #e2e8f0;
  padding: 8px 0;
  flex-shrink: 0;
}

.mock-tab {
  padding: 6px 14px;
  color: #4b5563;
  font-size: 11px;
  cursor: default;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}
.mock-tab.active {
  color: #000000;
  background: rgba(26,86,219,0.1);
  border-left-color: #3b82f6;
}

.mock-content {
  flex: 1;
  padding: 16px;
}

.mock-progress { margin-bottom: 16px; }
.mock-progress-label {
  color: #374151;
  font-size: 13px;
  margin-bottom: 8px;
}
.mock-progress-bar {
  background: #e2e8f0;
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
}
.mock-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  width: 73%;
  border-radius: 4px;
  animation: progress-anim 3s ease-in-out infinite;
}
@keyframes progress-anim {
  0% { width: 60%; }
  50% { width: 85%; }
  100% { width: 60%; }
}
.mock-progress-pct {
  color: #4b5563;
  font-size: 12px;
  margin-top: 4px;
  text-align: right;
}

.mock-log { font-family: 'Fira Mono', 'Consolas', monospace; font-size: 11px; }
.log-line {
  color: #4b5563;
  padding: 2px 0;
  border-bottom: 1px solid #e2e8f0;
}
.log-line.success { color: #4CAF50; }
.log-time { color: #6b7280; margin-right: 8px; }

/* Floating cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: float 4s ease-in-out infinite;
}
.floating-card strong {
  color: #000000;
  font-size: 13px;
  display: block;
}
.floating-card span {
  color: #4b5563;
  font-size: 11px;
}

.card-encryption {
  bottom: -20px;
  left: -30px;
}
.card-encryption svg { color: #4CAF50; }
.card-encryption svg rect, .card-encryption svg path { stroke: #4CAF50; }

.card-hipaa {
  top: 40px;
  right: -20px;
}
.card-hipaa svg path { stroke: #3b82f6; }

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

/* ── Social Proof Bar ──────────────────────────────────────── */
.social-proof {
  background: #3b82f6;
  padding: 28px 0;
}

.proof-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

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

.proof-number {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #000000;
}

.proof-label {
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  margin-top: 2px;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
}

/* ── Section Headers ───────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #1d4ed8;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 16px;
}

.section-header p {
  color: #374151;
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Features Section ──────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: #f8fafc;
}
.features .section-header h2 { color: #000000; }
.features .section-header p { color: #4b5563; }
.features .feature-card p { color: #000000; }

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

.feature-card {
  background: rgba(0,0,0,0.02);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 28px 24px;
  transition: all 0.25s ease;
}
.feature-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 30px rgba(26,86,219,0.12);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 16px;
  background: rgba(26,86,219,0.08);
  color: #3b82f6;
}

.icon-red { background: rgba(26,86,219,0.08); color: #3b82f6; }
.icon-blue { background: rgba(0,102,204,0.08); color: #0066CC; }
.icon-green { background: rgba(76,175,80,0.08); color: #4CAF50; }
.icon-purple { background: rgba(124,58,237,0.08); color: #7C3AED; }
.icon-amber { background: rgba(245,166,35,0.08); color: #F5A623; }
.icon-teal { background: rgba(0,150,136,0.08); color: #009688; }
.icon-orange { background: rgba(255,87,34,0.08); color: #FF5722; }
.icon-rose { background: rgba(236,72,153,0.08); color: #EC4899; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #000000;
}

.feature-card p {
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: #000000;
  margin-bottom: 4px;
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: #3b82f6;
  border-radius: 50%;
}

.pro-badge {
  font-size: 11px;
  background: #3b82f6;
  color: #000000;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  vertical-align: middle;
  margin-left: 4px;
}

.version-badge {
  font-size: 11px;
  background: #4CAF50;
  color: #000000;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  vertical-align: middle;
  margin-left: 4px;
}

/* ── Security Section ──────────────────────────────────────── */
.security {
  padding: 100px 0;
  background: #f8fafc;
}

.security-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.security-text .section-tag { color: #1d4ed8; }
.security-text h2 {
  font-size: 36px;
  color: #000000;
  margin-bottom: 16px;
}
.security-text > p {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.security-features { display: flex; flex-direction: column; gap: 20px; }

.sec-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sec-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,86,219,0.1);
  border-radius: 8px;
}
.sec-icon svg { color: #3b82f6; }
.sec-icon svg rect, .sec-icon svg path,
.sec-icon svg circle, .sec-icon svg line { stroke: #3b82f6; }
.sec-icon svg circle[fill] { fill: #3b82f6; }

.sec-feature h4 {
  color: #000000;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.sec-feature p {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}

/* Security Diagram */
.security-visual { display: flex; justify-content: center; }

.security-diagram {
  position: relative;
  width: 320px;
  height: 320px;
}

.diagram-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 4;
}
.diagram-shield { margin-bottom: 8px; }
.diagram-shield svg path { fill: #7f0000; stroke: #dc2626; stroke-width: 2.5; }
.diagram-shield svg path:last-child { stroke: #ef4444; stroke-width: 3; }
.diagram-center span { color: #374151; font-size: 12px; font-weight: 600; }

.diagram-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(239,68,68,0.5);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ring-1 { width: 180px; height: 180px; border-color: rgba(220,38,38,0.9); }
.ring-2 { width: 240px; height: 240px; border-color: rgba(220,38,38,0.7); }
.ring-3 { width: 300px; height: 300px; border-color: rgba(220,38,38,0.5); }

.ring-label {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #f8fafc;
  padding: 2px 10px;
  color: #4b5563;
  font-size: 11px;
  white-space: nowrap;
}

.diagram-blocked {
  position: absolute;
  bottom: -10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(30,30,30,0.9);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
.diagram-blocked span { color: #ef4444; font-size: 12px; font-weight: 600; }

/* ── How It Works ──────────────────────────────────────────── */
.how-it-works {
  padding: 100px 0;
  background: #f8fafc;
}
.how-it-works .section-header h2 { color: #000000; }
.how-it-works .section-header p { color: #4b5563; }

.steps {
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #3b82f6;
  color: #000000;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 20px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 {
  font-size: 20px;
  color: #000000;
  margin-bottom: 8px;
}
.step-content p {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
}

.step-visual { display: none; }

.step-connector {
  display: flex;
  justify-content: center;
  padding: 8px 0 8px 22px;
}
.step-connector svg line { stroke: rgba(26,86,219,0.3); }

.step-icon-box {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,86,219,0.06);
  border-radius: 12px;
}
.step-icon-box svg { color: #3b82f6; }
.step-icon-box svg rect, .step-icon-box svg path,
.step-icon-box svg circle { stroke: #3b82f6; }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials {
  padding: 100px 0;
  background: #f8fafc;
}
.testimonials .section-header h2 { color: #000000; }
.testimonials .section-header p { color: #4b5563; }

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

.testimonial-card {
  background: rgba(0,0,0,0.02);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 28px;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}
.testimonial-stars svg { fill: #F5A623; }

.testimonial-card blockquote {
  color: #000000;
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar svg { width: 48px; height: 48px; }

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: #000000;
}
.testimonial-author span {
  color: #374151;
  font-size: 13px;
}

/* ── Pricing ───────────────────────────────────────────────── */
.pricing {
  padding: 100px 0;
  background: #f8fafc;
}
.pricing .section-header h2 { color: #000000; }
.pricing .section-header p { color: #4b5563; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.price-card {
  background: rgba(0,0,0,0.02);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.25s ease;
}
.price-card:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 8px 30px rgba(26,86,219,0.08);
}

.price-card.featured {
  border-color: #3b82f6;
  box-shadow: 0 8px 30px rgba(26,86,219,0.1);
  transform: scale(1.02);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #3b82f6;
  color: #000000;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 12px;
  white-space: nowrap;
}

.price-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border: 1px solid #e2e8f0;
}

.price-header h3 {
  font-size: 20px;
  color: #000000;
  margin-bottom: 12px;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}
.price-amount {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #000000;
}
.price-period {
  color: #4b5563;
  font-size: 14px;
}

.price-desc {
  color: #4b5563;
  font-size: 13px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  color: #000000;
}
.price-features li svg path { stroke: #4CAF50; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq {
  padding: 100px 0;
  background: #f8fafc;
}
.faq .section-header h2 { color: #000000; }
.faq .section-header p { color: #4b5563; }

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: rgba(0,0,0,0.02);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  font-family: inherit;
}
.faq-question:hover { color: #3b82f6; }

.faq-chevron {
  transition: transform 0.3s;
  flex-shrink: 0;
  color: #374151;
}
.faq-item.active .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 24px 18px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.7;
}
.faq-answer code {
  background: rgba(0,0,0,0.05);
  color: #60a5fa;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 13px;
}

/* ── Download CTA ──────────────────────────────────────────── */
.download-cta {
  padding: 80px 0;
  background: #f8fafc;
}

.cta-card {
  position: relative;
  background: #3b82f6;
  border-radius: 16px;
  padding: 60px;
  overflow: hidden;
  text-align: center;
}

.cta-content { position: relative; z-index: 2; }

.cta-card h2 {
  font-size: 36px;
  color: #ffffff !important;
  margin-bottom: 16px;
}

.cta-card p {
  color: rgba(255,255,255,0.85) !important;
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.cta-note {
  color: rgba(255,255,255,0.65) !important;
  font-size: 13px !important;
}

.waitlist-form {
  margin-bottom: 16px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waitlist-row {
  display: flex;
  gap: 12px;
}

.waitlist-row > input,
.waitlist-row > select {
  flex: 1;
  min-width: 0;
}

.waitlist-form input[type="text"],
.waitlist-form input[type="email"],
.waitlist-form select,
.waitlist-form textarea {
  padding: 16px 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(0,0,0,0.04);
  color: #000000;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.waitlist-form input::placeholder,
.waitlist-form textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus {
  border-color: #000000;
}

.waitlist-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.waitlist-form select option {
  background: #ffffff;
  color: #000000;
}

.waitlist-form textarea {
  resize: vertical;
  min-height: 56px;
}

.waitlist-submit-btn {
  width: 100%;
  margin-top: 4px;
}

.waitlist-input-group {
  display: flex;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
}

.waitlist-input-group input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  background: rgba(0,0,0,0.05);
  color: #000000;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-input-group input[type="email"]::placeholder {
  color: #4b5563;
}

.waitlist-input-group input[type="email"]:focus {
  border-color: #000000;
}

.waitlist-success {
  color: #4CAF50;
  font-size: 18px;
  font-weight: 600;
}

.waitlist-error {
  color: #ef4444;
  font-size: 14px;
  margin-top: 6px;
}

@media (max-width: 600px) {
  .waitlist-input-group {
    flex-direction: column;
  }
  .waitlist-row {
    flex-direction: column;
  }
}

.cta-decoration { position: absolute; inset: 0; z-index: 1; }
.cta-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
}
.cta-circle.c1 { width: 400px; height: 400px; top: -200px; right: -100px; }
.cta-circle.c2 { width: 300px; height: 300px; bottom: -150px; left: -50px; }
.cta-circle.c3 { width: 200px; height: 200px; top: 50%; left: 60%; transform: translate(-50%, -50%); }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: #f8fafc;
  padding: 60px 0 30px;
}

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

.footer-tagline {
  color: #4b5563;
  font-size: 14px;
  margin-top: 12px;
  max-width: 300px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links h4,
.footer-heading {
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sec-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}
.footer-links a {
  color: #4b5563;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: #60a5fa; }

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  color: #4b5563;
  font-size: 13px;
}

/* ── Scroll Animations ─────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Audience Grid ─────────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: 100%; overflow-wrap: break-word; word-wrap: break-word; }
  .hero-text h1 { font-size: 36px; }
  .hero-subtitle { margin: 0 auto 32px; max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }
  .hero-badge { white-space: normal; text-align: center; justify-content: center; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .security-layout { grid-template-columns: 1fr; }
  .security-visual { order: -1; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .btn-outline {  display: none; }
  .nav-actions .btn-primary { padding: 6px 16px; font-size: 13px; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }

  .hero { padding: 100px 0 50px; }
  .hero-text h1 { font-size: 30px; }
  .hero-badge { font-size: 13px; padding: 6px 14px; }
  .hero-subtitle { font-size: 15px; line-height: 1.6; }
  .hero-trust { flex-direction: column; align-items: center; gap: 10px; }

  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .section-header h2 { font-size: 28px; }

  .cta-card { padding: 40px 24px; }
  .cta-card h2 { font-size: 28px; }

  .proof-items { gap: 20px; }
  .proof-divider { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 90px 0 40px; }
  .hero-text h1 { font-size: 26px; }
  .hero-badge { font-size: 11px; padding: 6px 12px; }
  .hero-subtitle { font-size: 14px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .proof-number { font-size: 22px; }
}

/* ── Chatbot Widget ───────────────────────────────────────── */
.riq-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: 'Red Hat Text', 'Inter', -apple-system, sans-serif;
}

.riq-chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #3b82f6;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(26,86,219,0.4);
  transition: background 0.2s, transform 0.2s;
}
.riq-chat-toggle:hover {
  background: #2563eb;
  transform: scale(1.05);
}

.riq-chat-icon-close { display: none; }
.riq-chat-widget.open .riq-chat-icon-open { display: none; }
.riq-chat-widget.open .riq-chat-icon-close { display: block; }

.riq-chat-panel {
  display: none;
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 380px;
  max-height: 520px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.6);
  flex-direction: column;
}
.riq-chat-widget.open .riq-chat-panel {
  display: flex;
}

.riq-chat-header {
  background: #3b82f6;
  padding: 16px 20px;
  color: #000000;
}
.riq-chat-header-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
}
.riq-chat-status-dot {
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
}
.riq-chat-header-sub {
  font-size: 12px;
  color: #1f2937;
  margin-top: 2px;
}

.riq-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  max-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.riq-chat-row {
  display: flex;
  flex-direction: column;
}
.riq-chat-row.user { align-items: flex-end; }
.riq-chat-row.bot { align-items: flex-start; }

.riq-chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}
.riq-chat-bubble.user {
  background: #3b82f6;
  color: #000000;
  border-bottom-right-radius: 4px;
}
.riq-chat-bubble.bot {
  background: rgba(0,0,0,0.04);
  color: #000000;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
}

.riq-chat-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.riq-chat-quick-btn {
  background: rgba(26,86,219,0.1);
  color: #60a5fa;
  border: 1px solid rgba(26,86,219,0.3);
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.riq-chat-quick-btn:hover {
  background: #3b82f6;
  color: #000000;
  border-color: #3b82f6;
}

.riq-chat-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.riq-chat-input {
  flex: 1;
  background: rgba(0,0,0,0.03);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  color: #000000;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.riq-chat-input::placeholder { color: #374151; }
.riq-chat-input:focus { border-color: #3b82f6; }

.riq-chat-send {
  width: 38px;
  height: 38px;
  background: #3b82f6;
  border: none;
  border-radius: 8px;
  color: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.riq-chat-send:hover { background: #2563eb; }

@media (max-width: 480px) {
  .riq-chat-panel {
    width: calc(100vw - 48px);
    right: -12px;
    bottom: 68px;
  }
}
