/* ============================================================
   EOL — AI & Optimization
   Visual system adapted from the nmblr design language.
   Light theme · cyan→blue gradient accents · rounded sans
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800&display=swap");

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f5f7f8;
  --card: #f5f5f7;
  --card-2: #eef1f3;
  --border: #e7eaee;

  /* Text */
  --navy: #0d1126;
  --text: #1b2230;
  --muted: #5f6668;
  --muted-2: #8a929c;

  /* Accent */
  --accent: #007aff;
  --accent-ink: #0062cc;
  --cyan: #28bfd0;
  --green: #12c98c;
  --green-2: #0fb5a8;

  /* Gradients */
  --grad-text: linear-gradient(92deg, #2ec9d2 0%, #1f8cff 60%, #4a3aff 100%);
  --grad-green: linear-gradient(135deg, #19d49a 0%, #0fb3a6 100%);
  --grad-blue: linear-gradient(135deg, #2aa8ff 0%, #1f6dff 100%);
  --grad-mint: linear-gradient(180deg, #d6f1e9 0%, #e9f6f2 36%, #ffffff 100%);
  --grad-mint-cyan: linear-gradient(155deg, #cfeef0 0%, #e2f4f1 30%, #f6fbfb 70%, #ffffff 100%);
  --grad-soft: linear-gradient(180deg, #eef7f6 0%, #ffffff 100%);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Shadow */
  --sh-card: 0 1px 2px rgba(13, 17, 38, .04), 0 8px 24px rgba(13, 17, 38, .05);
  --sh-float: 0 18px 50px -12px rgba(13, 17, 38, .14);
  --sh-btn: 0 8px 20px -6px rgba(31, 109, 255, .45);
  --sh-btn-green: 0 8px 20px -6px rgba(15, 179, 166, .5);

  --container: 1120px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
}

p { margin: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 104px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}

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

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); }
.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 19px;
}

.lead { color: var(--muted); font-size: 19px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: var(--r-pill);
  padding: 14px 26px;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-blue {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: var(--sh-btn);
}
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -6px rgba(31, 109, 255, .55); }
.btn-green {
  background: var(--grad-green);
  color: #fff;
  box-shadow: var(--sh-btn-green);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -6px rgba(15, 179, 166, .6); }
.btn-ghost {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--accent);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(140%) blur(2px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(13, 17, 38, .03);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.03em;
  color: var(--navy);
}
.brand .mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--grad-blue);
  display: grid; place-items: center;
  color: #fff; font-size: 15px; font-weight: 800;
  box-shadow: var(--sh-btn);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 14px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--navy); background: var(--bg-soft); }
.nav-links a.active { color: var(--accent); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px;
  border-radius: 10px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; margin: 4px auto;
  background: var(--navy); border-radius: 2px; transition: .25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-mint-cyan);
  padding: 86px 0 96px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 18% 12%, rgba(46, 201, 210, .22), transparent 70%),
    radial-gradient(50% 40% at 88% 0%, rgba(74, 58, 255, .10), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(40px, 6vw, 74px);
  max-width: 14ch;
}
.hero.center { text-align: center; }
.hero.center h1, .hero.center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-sub {
  margin-top: 24px;
  max-width: 56ch;
  font-size: 20px;
  color: #41505a;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero.center .hero-actions { justify-content: center; }

/* hero isometric scene */
.hero-scene {
  margin-top: 64px;
  position: relative;
  height: 300px;
}
.iso-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
  transform: perspective(1200px) rotateX(54deg) rotateZ(-1deg);
  opacity: .9;
}
.iso-block {
  height: 64px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #eaf3f6);
  box-shadow: 0 14px 24px -10px rgba(13, 17, 38, .25);
  border: 1px solid rgba(255, 255, 255, .8);
}
.iso-block.b { background: linear-gradient(180deg, #d6f4ec, #bfe9e6); }
.iso-block.c { background: var(--grad-blue); }

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card);
  border-color: #d8dde3;
}
.card .icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--accent);
}
.card .icon svg { width: 22px; height: 22px; }
.card.accent .icon { background: var(--grad-blue); color: #fff; border: none; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

/* numbered process card */
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  position: relative;
}
.step .num {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: var(--grad-blue);
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- Split feature row ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.rev .split-media { order: 2; }
.split-media {
  border-radius: var(--r-lg);
  background: var(--grad-mint);
  border: 1px solid var(--border);
  min-height: 320px;
  padding: 28px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.split h2 { font-size: clamp(28px, 3.4vw, 40px); }
.split p { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* mock window inside media */
.mock {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--sh-float);
  border: 1px solid var(--border);
  overflow: hidden;
}
.mock-bar {
  display: flex; gap: 6px; align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e0e4e8; }
.mock-body { padding: 18px; display: grid; gap: 10px; }
.mock-line { height: 10px; border-radius: 6px; background: var(--card-2); }
.mock-line.s { width: 60%; }
.mock-line.accent { background: var(--grad-blue); width: 40%; }
.mock-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 8px 14px;
  box-shadow: var(--sh-card);
}

/* ---------- Tag list / pills ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 10px 18px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  box-shadow: var(--sh-card);
}
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* checklist */
.checks { display: grid; gap: 16px; }
.check {
  display: flex; gap: 14px; align-items: flex-start;
}
.check .ck {
  flex: none; margin-top: 2px;
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(18, 201, 140, .12);
  color: var(--green-2);
  display: grid; place-items: center;
}
.check .ck svg { width: 15px; height: 15px; }
.check b { color: var(--navy); }
.check span { color: var(--muted); }

/* ---------- Stat / logo strip ---------- */
.logos {
  display: flex; flex-wrap: wrap;
  gap: 16px 40px; align-items: center; justify-content: center;
  opacity: .9;
}
.logos .logo-pill {
  font-weight: 700; color: var(--muted-2);
  font-size: 18px; letter-spacing: -.01em;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(70% 120% at 12% 0%, rgba(46, 201, 210, .35), transparent 60%),
    radial-gradient(60% 120% at 100% 100%, rgba(74, 58, 255, .28), transparent 60%),
    linear-gradient(120deg, #0c1330, #111a3f);
  border-radius: 32px;
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); }
.cta-band p {
  color: rgba(255, 255, 255, .78);
  font-size: 19px;
  max-width: 60ch;
  margin: 18px auto 32px;
}
.cta-band .btn-ghost { background: rgba(255,255,255,.08); color:#fff; border-color: rgba(255,255,255,.25); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.16); color:#fff; border-color:#fff; }

/* ---------- Case study row ---------- */
.case {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.case + .case { margin-top: 24px; }
.case .case-body { padding: 40px; }
.case .case-art {
  background: var(--grad-mint);
  border-left: 1px solid var(--border);
  min-height: 240px;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.case h3 { font-size: 24px; margin-bottom: 12px; }
.case p { color: var(--muted); }
.kicker {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Footer ---------- */
.footer {
  background: #0b1020;
  color: #c4ccd8;
  padding: 72px 0 36px;
  margin-top: 8px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer .brand { color: #fff; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .02em; }
.footer-tag { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.02em; margin: 18px 0 12px; }
.footer-sub { color: #8893a4; max-width: 36ch; font-size: 15px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: #98a2b3; font-size: 15px; transition: color .15s; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; gap: 16px; flex-wrap: wrap;
  color: #6c7689; font-size: 14px;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px; gap: 4px; margin: 0;
  }
  .nav.open .nav-links a { width: 100%; }
  .split, .case, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .case .case-art { display: none; }
  .cta-band { padding: 52px 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
