/* ============================================================
   ATOMINC — Competitive Intelligence Platform
   Shared design system (light marketing + dark dashboard)
   ============================================================ */

:root {
  /* Brand */
  --navy:        #1A0F3C;
  --navy-700:    #241551;
  --navy-600:    #2E1A66;
  --pink:        #EE2C82;
  --pink-2:      #FF2D75;
  --pink-3:      #e63975;
  --teal:        #7BDCB5;
  --green:       #61CE70;
  --orange:      #FF6900;

  /* Light marketing surface */
  --bg:          #FBFAFF;
  --bg-2:        #F4F2FB;
  --surface:     #FFFFFF;
  --ink:         #170D33;
  --ink-2:       #4A4168;
  --ink-3:       #837B9C;
  --line:        #ECE9F5;
  --line-2:      #E0DCEF;

  --pink-grad:   linear-gradient(135deg, #EE2C82 0%, #FF2D75 100%);
  --pink-soft:   rgba(238,44,130,0.08);

  /* Dark surface (dashboard sections) */
  --d-bg:        #1A0F3C;
  --d-card:      rgba(255,255,255,0.04);
  --d-card-2:    rgba(255,255,255,0.07);
  --d-border:    rgba(255,255,255,0.08);
  --d-muted:     rgba(255,255,255,0.48);
  --d-muted-2:   rgba(255,255,255,0.28);

  --font:        'DM Sans', system-ui, sans-serif;

  --shadow-sm:   0 1px 2px rgba(23,13,51,0.04), 0 2px 8px rgba(23,13,51,0.04);
  --shadow-md:   0 4px 12px rgba(23,13,51,0.06), 0 12px 32px rgba(23,13,51,0.08);
  --shadow-lg:   0 24px 60px -12px rgba(26,15,60,0.28);
  --shadow-pink: 0 12px 30px -8px rgba(238,44,130,0.45);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(238,44,130,0.18); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 28px; }
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--pink);
}
.eyebrow::before {
  content: ''; width: 18px; height: 1.5px; background: var(--pink); opacity: 0.6;
}
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.05; font-weight: 700; }
.display {
  font-size: clamp(40px, 5.6vw, 70px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.02;
}
.h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.035em; }
.h3 { font-size: 22px; letter-spacing: -0.02em; }
.lead { font-size: 19px; color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--ink-3); }
.grad-text {
  background: var(--pink-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 18px; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em;
  padding: 14px 26px; border-radius: 12px; border: 1px solid transparent;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--pink-grad); color: #fff; box-shadow: var(--shadow-pink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -8px rgba(238,44,130,0.55); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--ink-3); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: var(--navy-600); }
.btn-lg { padding: 17px 32px; font-size: 16.5px; border-radius: 13px; }
.btn-block { display: flex; width: 100%; }
/* on dark sections */
.on-dark .btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border-color: var(--d-border); box-shadow: none; }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(251,250,255,0.8);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--pink-grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 16px; letter-spacing: -0.5px;
  box-shadow: 0 4px 12px -2px rgba(238,44,130,0.5);
}
.logo-text { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; }
.logo-text span { color: var(--pink); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .header-cta .btn-ghost { display: none; }
}

/* ---------- Glass card (dark) ---------- */
.glass {
  background: var(--d-card); border: 1px solid var(--d-border);
  border-radius: var(--r-lg); backdrop-filter: blur(10px);
}

/* ---------- Marketing card (light) ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em;
  padding: 6px 13px; border-radius: 999px;
  background: var(--pink-soft); color: var(--pink); border: 1px solid rgba(238,44,130,0.18);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(97,206,112,0.2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 72px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid var(--d-border);
}
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--d-muted); margin-bottom: 18px; font-weight: 600; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-grid a { font-size: 15px; color: rgba(255,255,255,0.7); transition: color .15s; }
.footer-grid a:hover { color: #fff; }
.footer-blurb { font-size: 15px; color: rgba(255,255,255,0.6); margin: 16px 0 0; max-width: 280px; line-height: 1.6; }
.footer-bottom {
  padding-top: 28px; display: flex; justify-content: space-between; align-items: center;
  font-size: 13.5px; color: var(--d-muted-2); flex-wrap: wrap; gap: 10px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.flex { display: flex; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.tick { color: var(--green); flex-shrink: 0; }
