/* WooAI Chatbot Pro — Landing Page Styles */
:root {
  --indigo: #2F436F;
  --indigo-deep: #1E2B4A;
  --indigo-violet: #3A2F6F;
  --gold: #8dabed;
  --emerald: #10B981;
  --coral: #F87171;
  --ink: #0A0B14;
  --ink-2: #141626;
  --paper: #FAFAFA;
  --paper-2: #F3F4F6;
  --line: #E5E7EB;
  --mute: #6B7280;
  --mute-2: #9CA3AF;
  --fg-dark: #E8EAF2;
  --fg-dark-mute: #8A92A8;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(10,11,20,.06), 0 1px 1px rgba(10,11,20,.04);
  --shadow: 0 4px 12px rgba(10,11,20,.08), 0 2px 4px rgba(10,11,20,.04);
  --shadow-lg: 0 20px 60px rgba(10,11,20,.18), 0 8px 20px rgba(10,11,20,.08);
  --shadow-chip: 0 8px 24px rgba(10,11,20,.12), 0 2px 6px rgba(10,11,20,.06);

  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Focus rings everywhere */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Reset */
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }

/* Layout */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 48px;
}
.container-wide { max-width: 1440px; margin-inline: auto; padding-inline: 48px; }

/* Sections */
section { padding-block: 120px; }
.sec-light { background: var(--paper); color: var(--ink); }
.sec-white { background: #fff; color: var(--ink); }
.sec-dark {
  background: var(--ink);
  color: var(--fg-dark);
  position: relative;
  overflow: hidden;
}
.sec-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.sec-gradient {
  background:
    radial-gradient(ellipse at 20% 10%, #3d2f6f 0%, transparent 55%),
    radial-gradient(ellipse at 85% 90%, #2F436F 0%, transparent 60%),
    linear-gradient(180deg, #141626 0%, #0A0B14 100%);
  color: var(--fg-dark);
  position: relative;
  overflow: hidden;
}
.sec-gradient-inv {
  background:
    radial-gradient(ellipse at 80% 20%, #4a3d8a 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, #2F436F 0%, transparent 60%),
    linear-gradient(180deg, #1a1c32 0%, #0A0B14 100%);
  color: var(--fg-dark);
  position: relative;
  overflow: hidden;
}
.sec-gradient::before, .sec-gradient-inv::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.sec-dark > *, .sec-gradient > *, .sec-gradient-inv > * { position: relative; z-index: 1; }

/* Typography */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
}
.sec-dark .eyebrow, .sec-gradient .eyebrow, .sec-gradient-inv .eyebrow { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.1;
}
h3 { font-size: 22px; line-height: 1.3; }

.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--mute);
  text-wrap: pretty;
}
.sec-dark .lede, .sec-gradient .lede, .sec-gradient-inv .lede { color: var(--fg-dark-mute); }

/* Nav */
.nav {
  position: sticky; top: 0;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-block-end: 1px solid var(--line);
  z-index: 50;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--indigo);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: 32px; font-size: 14.5px; }
.nav-links a, .footer-links a { color: #374151; }
.nav-links a:hover, .footer-links a:hover { color: var(--ink); }
.logo, .logo a, a.logo { color: var(--ink); }
.logo-mark-img { width: 36px; height: 36px; background: transparent; padding: 0; border-radius: 8px; display: inline-block; }
.lang-btn { color: #374151; font-weight: 500; }
.lang-btn:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding-inline: 20px; height: 44px;
  border-radius: 8px;
  font-size: 14.5px; font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform .1s ease-out, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 2px rgba(47,67,111,.3), 0 6px 16px rgba(47,67,111,.25);
}
.btn-primary:hover { background: #263659; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(47,67,111,.3), 0 8px 22px rgba(47,67,111,.35); }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: #C8CBD6; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(10,11,20,.05); }
.btn-lg { height: 52px; padding-inline: 26px; font-size: 16px; border-radius: 10px; }
.btn-dark-primary {
  background: #fff; color: var(--indigo);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.btn-dark-primary:hover { background: var(--paper); }
.btn-dark-secondary {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
}
.btn-dark-secondary:hover { background: rgba(255,255,255,.14); }

/* Pills and chips */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  font-size: 12.5px; font-weight: 500;
  border-radius: 999px;
  background: rgba(47,67,111,.08);
  color: var(--indigo);
}
.pill-dark {
  background: rgba(255,255,255,.08);
  color: var(--fg-dark);
  border: 1px solid rgba(255,255,255,.12);
}
.pill-gold { background: rgba(141,171,237,.16); color: var(--indigo); }
.pill-emerald { background: rgba(16,185,129,.12); color: var(--emerald); }

/* Scroll-reveal (gentle) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease-out, transform .6s ease-out; }
  .reveal.in { opacity: 1; transform: none; }
}

/* Logical-property friendly utilities */
.mt-8 { margin-block-start: 8px; }
.mt-16 { margin-block-start: 16px; }
.mt-24 { margin-block-start: 24px; }
.mt-32 { margin-block-start: 32px; }
.mt-48 { margin-block-start: 48px; }
.mt-64 { margin-block-start: 64px; }

/* Grain for dark sections */
.grain-overlay { position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay; }

.btn-disabled{cursor:not-allowed;opacity:.85;pointer-events:none;}
