/* ===========================================================
   OMNIAD LLC — AI SaaS Platform
   Design system & global styles
   =========================================================== */

:root {
  --bg: #07080f;
  --bg-2: #0b0d1a;
  --surface: #11132180;
  --surface-solid: #12152a;
  --border: #23264180;
  --border-solid: #232641;
  --text: #eef1ff;
  --muted: #9aa0c4;
  --muted-2: #6b7299;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --indigo: #6366f1;
  --emerald: #34d399;
  --pink: #f472b6;
  --grad: linear-gradient(120deg, #22d3ee 0%, #6366f1 45%, #a855f7 100%);
  --grad-soft: linear-gradient(120deg, #22d3ee22, #a855f722);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(5, 8, 30, 0.8);
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--font);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ambient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(680px 520px at 12% -8%, rgba(99, 102, 241, 0.22), transparent 60%),
    radial-gradient(720px 600px at 92% 4%, rgba(168, 85, 247, 0.18), transparent 60%),
    radial-gradient(800px 700px at 50% 108%, rgba(34, 211, 238, 0.12), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { color: var(--muted); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 7px 14px;
  border: 1px solid var(--border-solid);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.06);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.section { padding: 96px 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad);
  color: #06070f;
  box-shadow: 0 12px 30px -10px rgba(99, 102, 241, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(99, 102, 241, 0.9); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-solid);
  color: var(--text);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--cyan); background: rgba(34, 211, 238, 0.07); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(7, 8, 15, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand .logo { width: 34px; height: 34px; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 0.93rem;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border-solid); border-radius: 9px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 72px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 22px 0 0; }
.hero .lead { margin-top: 22px; font-size: 1.18rem; max-width: 540px; color: var(--muted); }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 40px; display: flex; gap: 30px; flex-wrap: wrap; }
.hero-meta .m { display: flex; flex-direction: column; }
.hero-meta .m b { font-family: var(--display); font-size: 1.7rem; color: var(--text); }
.hero-meta .m span { font-size: 0.85rem; color: var(--muted-2); }

/* Hero visual */
.hero-visual { position: relative; }
.glass-panel {
  background: linear-gradient(160deg, rgba(24, 27, 53, 0.7), rgba(12, 14, 28, 0.7));
  border: 1px solid var(--border-solid);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(160deg, rgba(20, 23, 46, 0.55), rgba(12, 14, 28, 0.55));
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, 0.5); box-shadow: 0 20px 50px -24px rgba(99, 102, 241, 0.5); }
.card .ico {
  width: 50px; height: 50px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--border-solid);
  margin-bottom: 18px;
}
.card .ico svg { width: 26px; height: 26px; stroke: var(--cyan); }
.card h3 { margin-bottom: 9px; }
.card p { font-size: 0.96rem; }
.card .tag { font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet); }

.feature-card { padding: 30px; }
.feature-card ul { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.feature-card li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--muted); align-items: flex-start; }
.feature-card li svg { width: 18px; height: 18px; stroke: var(--emerald); flex-shrink: 0; margin-top: 3px; }

/* ---------- Logos / marquee ---------- */
.logos { display: flex; flex-wrap: wrap; gap: 14px 48px; align-items: center; justify-content: center; opacity: 0.7; }
.logos span { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--muted); letter-spacing: -0.01em; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 28px 16px; border: 1px solid var(--border-solid); border-radius: var(--radius); background: rgba(255,255,255,0.015); }
.stat b { display: block; font-family: var(--display); font-size: 2.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-solid); box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-body h2 { margin-bottom: 16px; }
.split-body .checklist { list-style: none; margin-top: 22px; display: grid; gap: 13px; }
.split-body .checklist li { display: flex; gap: 12px; align-items: flex-start; }
.split-body .checklist svg { width: 22px; height: 22px; stroke: var(--cyan); flex-shrink: 0; }
.split-body .checklist b { color: var(--text); font-family: var(--display); display: block; font-size: 0.98rem; }
.split-body .checklist span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { padding: 28px; border: 1px solid var(--border-solid); border-radius: var(--radius); background: rgba(255,255,255,0.015); position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); font-size: 2.4rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: 0.9; }
.step h3 { margin: 8px 0; }
.step p { font-size: 0.93rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card { padding: 30px 26px; border: 1px solid var(--border-solid); border-radius: var(--radius); background: linear-gradient(160deg, rgba(20,23,46,0.55), rgba(12,14,28,0.55)); display: flex; flex-direction: column; }
.price-card.feat { border-color: rgba(139, 92, 246, 0.7); box-shadow: 0 24px 60px -28px rgba(139,92,246,0.7); }
.price-card .pname { font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.price-card .ribbon { align-self: flex-start; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #06070f; background: var(--grad); padding: 4px 11px; border-radius: 999px; font-weight: 700; margin-bottom: 12px; }
.price-card .amt { font-family: var(--display); font-size: 2.6rem; margin: 10px 0 2px; }
.price-card .amt small { font-size: 0.95rem; color: var(--muted); font-family: var(--font); font-weight: 400; }
.price-card .per { color: var(--muted-2); font-size: 0.85rem; }
.price-card ul { list-style: none; margin: 22px 0; display: grid; gap: 11px; flex: 1; }
.price-card li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--muted); }
.price-card li svg { width: 17px; height: 17px; stroke: var(--emerald); flex-shrink: 0; margin-top: 3px; }

/* ---------- Testimonials ---------- */
.quote-card { padding: 30px; border: 1px solid var(--border-solid); border-radius: var(--radius); background: rgba(255,255,255,0.015); }
.quote-card p { font-size: 1.02rem; color: var(--text); line-height: 1.7; }
.quote-card .by { margin-top: 20px; display: flex; align-items: center; gap: 13px; }
.quote-card .av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-solid); }
.quote-card .by b { font-family: var(--display); font-size: 0.95rem; display: block; }
.quote-card .by span { color: var(--muted-2); font-size: 0.82rem; }

/* ---------- Case study cards ---------- */
.case-card { border: 1px solid var(--border-solid); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,0.015); transition: transform 0.3s var(--ease), border-color 0.3s; }
.case-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.5); }
.case-card .cimg { aspect-ratio: 16/10; overflow: hidden; }
.case-card .cimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.case-card:hover .cimg img { transform: scale(1.05); }
.case-card .cbody { padding: 24px; }
.case-card .ctag { font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); }
.case-card h3 { margin: 9px 0; }
.case-card .cmetrics { display: flex; gap: 24px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.case-card .cmetrics b { font-family: var(--display); font-size: 1.4rem; color: var(--text); display: block; }
.case-card .cmetrics span { font-size: 0.78rem; color: var(--muted-2); }

/* ---------- CTA band ---------- */
.cta-band {
  border: 1px solid var(--border-solid);
  border-radius: 26px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 50% -40%, rgba(139,92,246,0.35), transparent 70%),
    linear-gradient(160deg, rgba(20,23,46,0.7), rgba(12,14,28,0.7));
}
.cta-band h2 { max-width: 640px; margin: 0 auto 14px; }
.cta-band p { max-width: 520px; margin: 0 auto 28px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid .fcol h4 { font-family: var(--display); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer-grid .fcol a { display: block; color: var(--muted); font-size: 0.93rem; padding: 5px 0; transition: color 0.2s; }
.footer-grid .fcol a:hover { color: var(--cyan); }
.footer-about p { font-size: 0.93rem; margin: 16px 0; max-width: 320px; }
.footer-about .contact-line { font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.footer-about .contact-line svg { width: 16px; height: 16px; stroke: var(--cyan); }
.footer-bottom { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-2); font-size: 0.85rem; }
.footer-bottom .badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-bottom .badges span { border: 1px solid var(--border-solid); border-radius: 999px; padding: 3px 11px; font-size: 0.75rem; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 84px 0 36px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero p { max-width: 620px; margin: 18px auto 0; font-size: 1.1rem; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 10px; color: var(--text); }
.prose p { margin-bottom: 14px; line-height: 1.75; }
.prose ul { margin: 0 0 16px 22px; }
.prose li { color: var(--muted); margin-bottom: 8px; }
.prose a { color: var(--cyan); }
.prose .updated { color: var(--muted-2); font-size: 0.9rem; margin-bottom: 30px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-solid);
  border-radius: 11px;
  padding: 13px 15px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,0.12); }
.field textarea { resize: vertical; min-height: 130px; }
.contact-info .ci { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.contact-info .ci:last-child { border-bottom: none; }
.contact-info .ci .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border-solid); flex-shrink: 0; }
.contact-info .ci .ico svg { width: 20px; height: 20px; stroke: var(--cyan); }
.contact-info .ci b { font-family: var(--display); display: block; font-size: 0.95rem; }
.contact-info .ci span, .contact-info .ci a { color: var(--muted); font-size: 0.93rem; }
.form-note { font-size: 0.82rem; color: var(--muted-2); margin-top: 12px; }
.form-success { display: none; padding: 16px; border: 1px solid var(--emerald); border-radius: 12px; background: rgba(52,211,153,0.08); color: var(--emerald); margin-bottom: 18px; font-size: 0.93rem; }

/* ---------- Misc ---------- */
.divider-label { display: flex; align-items: center; gap: 16px; color: var(--muted-2); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--display); margin-bottom: 30px; }
.divider-label::before, .divider-label::after { content: ""; height: 1px; flex: 1; background: var(--border); }

.faq-item { border: 1px solid var(--border-solid); border-radius: var(--radius-sm); padding: 22px 24px; margin-bottom: 14px; background: rgba(255,255,255,0.015); }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { font-size: 0.93rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .split-media { order: 0; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(8,9,18,0.97); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 4px;
  }
  .nav-links.open a { padding: 12px 14px; }
  .cols-2, .cols-3, .steps { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .cta-band { padding: 48px 24px; }
  .hero-meta { gap: 22px; }
}
@media (max-width: 480px) {
  .cols-4, .stats, .pricing { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
