/* ══════════════════════════════════════════════════════════════════════════
   HEROVAAI — CYBER / DARK GLASSMORPHISM DESIGN SYSTEM
   Linear & Vercel inspired aesthetic: Deep Obsidian, Frosted Glass, Ambient Glow
   ══════════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-void: #06080a;
  --bg: #090c10;
  --panel: rgba(18, 24, 30, 0.6);
  --panel-hover: rgba(25, 33, 42, 0.75);
  --panel-solid: #11161d;
  --line: rgba(255, 255, 255, 0.08);
  --line-bright: rgba(255, 255, 255, 0.16);
  --line-gold: rgba(216, 192, 138, 0.35);
  --text: #f4f5f3;
  --text-muted: #9aa3a0;
  --text-dim: #6d7674;
  --body: #cad2cf;
  --gold: #c0a872;
  --gold-light: #e5cb93;
  --gold-glow: rgba(216, 192, 138, 0.25);
  --cyan: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.2);
  --emerald: #34d399;
  --radius-sm: 0.6rem;
  --radius: 1rem;
  --radius-lg: 1.4rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg-void);
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(216, 192, 138, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 10% 25%, rgba(56, 189, 248, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(52, 211, 153, 0.05) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name, .btn, .eyebrow {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: all 0.2s var(--ease);
}
a:hover {
  color: #fff;
  text-decoration: none;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 0.4rem;
}

::selection {
  background: rgba(216, 192, 138, 0.35);
  color: #fff;
}

/* ─── Top Navigation Bar (Glassmorphic) ─── */
.bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem clamp(1.2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 12, 16, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
}
.brand:hover { text-decoration: none; }

.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e5cb93 0%, #a48950 100%);
  color: #080b0e;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 0 20px var(--gold-glow);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.brand-name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand-name em {
  font-style: normal;
  color: var(--gold-light);
}

.bar nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.bar nav a {
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 0.6rem;
  transition: all 0.2s var(--ease);
}
.bar nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.bar nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.bar nav a.cta {
  border: 1px solid var(--line-gold);
  border-radius: 0.7rem;
  padding: 0.45rem 1.1rem;
  background: rgba(216, 192, 138, 0.08);
  color: var(--gold-light);
  font-weight: 600;
  box-shadow: 0 0 15px rgba(216, 192, 138, 0.15);
}
.bar nav a.cta:hover {
  background: var(--gold-light);
  color: #090c10;
  box-shadow: 0 0 25px rgba(216, 192, 138, 0.4);
}

/* ─── Layout Container ─── */
main {
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.2rem, 5vw, 3.5rem) 4rem;
}

/* ─── Hero Section ─── */
.hero {
  max-width: 52rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 192, 138, 0.3);
  background: rgba(216, 192, 138, 0.08);
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 25px rgba(216, 192, 138, 0.12);
  backdrop-filter: blur(10px);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 10px var(--gold-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 1.3rem;
  font-weight: 700;
  text-wrap: balance;
}

.accent {
  background: linear-gradient(135deg, #fff 20%, var(--gold-light) 70%, #b89a58 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.lede {
  color: var(--body);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 44rem;
  margin: 0 auto 2.2rem;
  text-wrap: pretty;
}

.actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.45rem;
  border-radius: 0.8rem;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s var(--ease);
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0); }

.btn.primary {
  background: linear-gradient(135deg, #e5cb93 0%, #be9f58 100%);
  color: #07090b;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 25px rgba(216, 192, 138, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn.primary:hover {
  box-shadow: 0 0 35px rgba(216, 192, 138, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, #f2ddac 0%, #cca95e 100%);
}

.btn.ghost {
  border: 1px solid var(--line-bright);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  color: var(--text);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.btn.ghost:hover {
  border-color: var(--line-gold);
  background: rgba(216, 192, 138, 0.08);
  color: #fff;
  box-shadow: 0 0 20px rgba(216, 192, 138, 0.15);
}

.fine {
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.5;
}
.fine.center { text-align: center; margin: 1.5rem 0 0; }
.hero .fine { margin-top: 1.25rem; }

/* ─── Interactive Interactive Hero Preview Card ─── */
.preview-mockup {
  position: relative;
  max-width: 54rem;
  margin: 3.5rem auto 4.5rem;
  padding: 1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(216, 192, 138, 0.3) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(56, 189, 248, 0.2) 100%);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(216, 192, 138, 0.08);
}

.mockup-inner {
  border-radius: calc(var(--radius-lg) - 1px);
  background: rgba(12, 16, 21, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1.8rem;
  overflow: hidden;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.1rem;
  margin-bottom: 1.4rem;
}
.mockup-dots {
  display: flex;
  gap: 0.4rem;
}
.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.mockup-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: monospace;
  font-size: 11px;
  color: var(--emerald);
  background: rgba(52, 211, 153, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.chat-bubble-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.chat-bubble {
  max-width: 82%;
  padding: 0.95rem 1.2rem;
  border-radius: 1rem;
  font-size: 13.5px;
  line-height: 1.5;
}
.chat-bubble.customer {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: #e2e8f0;
  border-bottom-left-radius: 0.2rem;
}
.chat-bubble.bot {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(216, 192, 138, 0.12), rgba(216, 192, 138, 0.04));
  border: 1px solid rgba(216, 192, 138, 0.25);
  color: #f8fafc;
  border-bottom-right-radius: 0.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.chat-bubble .author {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}
.chat-bubble.customer .author { color: var(--cyan); }
.chat-bubble.bot .author { color: var(--gold-light); }

/* ─── Grid & Cards (Frosted Glass) ─── */
.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 4.5rem auto 2.5rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.6rem;
}
.section-header p {
  color: var(--body);
  font-size: 15px;
  margin: 0;
}

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  margin: 2rem 0 3.5rem;
}

.card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.28s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  background: var(--panel-hover);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8), 0 0 25px rgba(216, 192, 138, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-bright);
  font-size: 20px;
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.card h2, .card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 0.55rem;
  color: #fff;
  letter-spacing: -0.015em;
}
.card p {
  margin: 0;
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ─── Notes & Highlights ─── */
.note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.5);
  margin: 2.5rem 0;
}
.note h2 {
  font-size: 18px;
  margin: 0 0 0.8rem;
  color: #fff;
}
.note ol {
  margin: 0 0 1.1rem;
  padding-left: 1.3rem;
  color: var(--body);
  font-size: 14px;
}
.note li { margin-bottom: 0.45rem; }
.note p {
  margin: 0;
  color: var(--body);
  font-size: 14px;
}

/* ─── Pricing Showcase ─── */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin: 2rem 0;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.6);
  transition: all 0.3s var(--ease);
}
.pricing-card.featured {
  border-color: rgba(216, 192, 138, 0.45);
  background: linear-gradient(180deg, rgba(216, 192, 138, 0.08) 0%, rgba(18, 24, 30, 0.75) 100%);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(216, 192, 138, 0.15);
  transform: translateY(-4px);
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-gold);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: linear-gradient(135deg, #e5cb93 0%, #b89c58 100%);
  color: #080b0e;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 0 15px rgba(216, 192, 138, 0.5);
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.3rem;
}
.plan-price {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0.8rem 0;
  font-family: 'Space Grotesk', sans-serif;
}
.plan-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dim);
}
.plan-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}
.plan-features li {
  font-size: 13px;
  color: var(--body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.plan-features li::before {
  content: "✓";
  color: var(--emerald);
  font-weight: bold;
}

/* ─── Documentation & Guides ─── */
.doc { max-width: 50rem; }
.doc h1 { font-size: clamp(2rem, 4.5vw, 2.6rem); }
.doc h2 { font-size: 1.15rem; margin: 2.4rem 0 0.6rem; color: #fff; }
.doc h3 { font-size: 1.05rem; margin: 1.8rem 0 0.5rem; color: var(--gold-light); }
.doc p, .doc li { color: var(--body); font-size: 14.5px; }
.doc ul, .doc ol { padding-left: 1.3rem; }
.doc li { margin-bottom: 0.4rem; }
.doc .meta { color: var(--text-dim); font-size: 13px; margin: 0 0 1.8rem; }
.doc .callout {
  border: 1px solid rgba(216, 192, 138, 0.25);
  background: rgba(216, 192, 138, 0.06);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin: 1.8rem 0;
  color: #dbe2df;
  font-size: 14px;
}
.doc strong { color: #fff; font-weight: 600; }
.doc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 0.1rem 0.35rem;
  color: var(--gold-light);
}

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--line);
  margin-top: 4.5rem;
  padding: 2.8rem clamp(1.2rem, 5vw, 3.5rem) 3.5rem;
  background: rgba(6, 8, 10, 0.6);
  backdrop-filter: blur(14px);
}
.foot-inner {
  max-width: 68rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.foot-brand { max-width: 22rem; }
.foot-brand .brand { margin-bottom: 0.6rem; }
footer h2 {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 0.8rem;
  font-family: 'Space Grotesk', sans-serif;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
footer nav a {
  color: var(--text-muted);
  font-size: 13.5px;
}
footer nav a:hover {
  color: #fff;
  text-decoration: none;
}

/* ─── Responsive adjustments ─── */
@media (max-width: 42rem) {
  .bar { flex-wrap: wrap; row-gap: 0.4rem; }
  .bar nav { gap: 0.25rem; }
  .bar nav a { padding: 0.35rem 0.5rem; font-size: 12.5px; }
  .grid { grid-template-columns: 1fr; margin: 1.8rem 0; }
  main { padding-bottom: 2.5rem; }
  .preview-mockup { margin: 2rem 0 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .card:hover, .btn:hover { transform: none; }
}
