/* ===========================================================
   Ajara — Landing Page Styles
   Brand: indigo #3B5BDB · amber #F59F00 · teal #0CA678
   Font: Plus Jakarta Sans
   =========================================================== */

:root {
  --indigo: #3B5BDB;
  --indigo-600: #364fc7;
  --indigo-700: #2f44b0;
  --indigo-soft: #eef1fd;
  --teal: #0CA678;
  --teal-soft: #e6f7f1;
  --amber: #F59F00;
  --amber-soft: #fff4e0;
  --slate: #1E293B;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --line: #e9edf5;
  --bg: #F8FAFC;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(30, 41, 59, .06);
  --shadow-md: 0 14px 40px rgba(30, 41, 59, .10);
  --shadow-lg: 0 30px 70px rgba(36, 51, 130, .18);
  --maxw: 1160px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--slate);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--indigo);
  background: var(--indigo-soft); padding: 7px 14px; border-radius: 999px;
}
.eyebrow.teal { color: var(--teal); background: var(--teal-soft); }
.eyebrow.amber { color: #b46f00; background: var(--amber-soft); }

.section { padding: 96px 0; position: relative; }
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 18px 0 14px; }
.section-head p { color: var(--slate-600); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--amber); color: #3a2600; box-shadow: 0 10px 24px rgba(245, 159, 0, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(245, 159, 0, .45); }
.btn-dark { background: var(--indigo); color: #fff; box-shadow: 0 10px 24px rgba(59, 91, 219, .3); }
.btn-dark:hover { transform: translateY(-2px); background: var(--indigo-600); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--slate); border: 1px solid var(--line); }
.btn-ghost:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--shadow-sm); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.nav.scrolled { background: rgba(248, 250, 252, .82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: #2A2A52; }
.brand .logo { height: 48px; width: auto; }
.brand span { font-family: "Poppins", system-ui, sans-serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--slate-600); transition: color .2s; }
.nav-links a:hover { color: var(--indigo); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); margin: 22px 0 20px; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--indigo), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.18rem; color: var(--slate-600); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 26px; }
.hero-trust { display: flex; align-items: center; gap: 10px; color: var(--slate-600); font-size: .92rem; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px; object-fit: cover; box-shadow: var(--shadow-sm); }
.hero-trust .avatars img:first-child { margin-left: 0; }
.hero-trust b { color: var(--slate); }

.hero-visual { position: relative; }
.hero-visual .shot {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6); animation: floaty 6s ease-in-out infinite;
}
.float-card {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 13px 16px; display: flex; align-items: center; gap: 11px; font-size: .85rem; font-weight: 600;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float-card small { display: block; color: var(--slate-400); font-weight: 600; font-size: .72rem; }
.fc-1 { top: 8%; left: -28px; animation: floaty 5s ease-in-out infinite; }
.fc-2 { bottom: 10%; right: -22px; animation: floaty 7s ease-in-out infinite .6s; }

/* blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: -1; }
.blob-1 { width: 460px; height: 460px; background: #c7d2fe; top: -120px; right: -80px; animation: drift 18s ease-in-out infinite; }
.blob-2 { width: 380px; height: 380px; background: #ffe3ad; bottom: -140px; left: -100px; animation: drift 22s ease-in-out infinite reverse; }
.blob-3 { width: 300px; height: 300px; background: #b6f0de; top: 30%; left: 40%; animation: drift 26s ease-in-out infinite; }

/* ---------- Logo bar ---------- */
.logobar { padding: 30px 0 10px; }
.logobar p { text-align: center; color: var(--slate-400); font-weight: 600; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 24px; }
.logobar-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; }
.logo-chip { display: flex; align-items: center; gap: 10px; color: var(--slate-400); font-weight: 800; font-size: 1.15rem; opacity: .8; transition: opacity .2s, color .2s; }
.logo-chip:hover { opacity: 1; color: var(--slate-600); }
.logo-chip svg { width: 26px; height: 26px; }

/* ---------- Problem cards ---------- */
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prob-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.prob-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.prob-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--amber-soft); margin-bottom: 18px; }
.prob-card .ic svg { width: 26px; height: 26px; color: var(--amber); }
.prob-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.prob-card p { color: var(--slate-600); font-size: .96rem; }
.prob-card .solve { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--teal); font-weight: 700; font-size: .9rem; }
.prob-card .solve svg { width: 18px; height: 18px; }

/* ---------- Features ---------- */
.features { background: linear-gradient(180deg, var(--white), var(--bg)); }
.feat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  grid-column: span 2; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feat-card.wide { grid-column: span 3; }
.feat-card .ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; background: var(--indigo-soft); }
.feat-card .ic svg { width: 27px; height: 27px; color: var(--indigo); }
.feat-card.t .ic { background: var(--teal-soft); } .feat-card.t .ic svg { color: var(--teal); }
.feat-card.a .ic { background: var(--amber-soft); } .feat-card.a .ic svg { color: var(--amber); }
.feat-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feat-card p { color: var(--slate-600); font-size: .97rem; }
.feat-card .tag { position: absolute; top: 22px; right: 22px; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--indigo); background: var(--indigo-soft); padding: 5px 11px; border-radius: 999px; }
.feat-list { list-style: none; padding: 0; margin: 16px 0 0; }
.feat-list li { display: flex; align-items: center; gap: 9px; font-size: .94rem; color: var(--slate-600); padding: 5px 0; }
.feat-list li svg { width: 17px; height: 17px; color: var(--teal); flex: none; }

/* ---------- Audience ---------- */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.aud-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 400px;
  display: flex; align-items: flex-end; box-shadow: var(--shadow-md);
}
.aud-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.aud-card:hover img { transform: scale(1.05); }
.aud-card .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0) 30%, rgba(15,23,42,.85)); }
.aud-card .body { position: relative; padding: 32px; color: #fff; }
.aud-card .body .eyebrow { background: rgba(255,255,255,.15); color: #fff; backdrop-filter: blur(6px); }
.aud-card h3 { font-size: 1.5rem; margin: 14px 0 8px; }
.aud-card p { color: rgba(255,255,255,.82); font-size: .98rem; }
.aud-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.aud-pill { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 11px 20px; font-weight: 700; font-size: .95rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.aud-pill:hover { transform: translateY(-3px); }
.aud-pill svg { width: 19px; height: 19px; color: var(--indigo); }

/* ---------- How it works ---------- */
.how { background: var(--slate); color: #fff; }
.how .section-head h2 { color: #fff; }
.how .section-head p { color: #cbd5e1; }
.how .eyebrow { background: rgba(255,255,255,.1); color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.step { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 34px 28px; transition: transform .3s var(--ease), background .3s; }
.step:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); }
.step .num { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; background: linear-gradient(135deg, var(--indigo), var(--teal)); margin-bottom: 20px; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: #cbd5e1; font-size: .97rem; }

/* ---------- Differentiator ---------- */
.diff-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.diff-grid.rev { direction: rtl; } .diff-grid.rev > * { direction: ltr; }
.diff-media { position: relative; }
.diff-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.diff-feature { display: flex; gap: 16px; margin-top: 26px; }
.diff-feature .ic { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--indigo-soft); }
.diff-feature .ic svg { width: 23px; height: 23px; color: var(--indigo); }
.diff-feature.t .ic { background: var(--teal-soft); } .diff-feature.t .ic svg { color: var(--teal); }
.diff-feature h4 { font-size: 1.08rem; margin-bottom: 4px; }
.diff-feature p { color: var(--slate-600); font-size: .95rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px; }
.stat { text-align: center; }
.stat .num { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; background: linear-gradient(120deg, var(--indigo), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--slate-600); font-weight: 600; font-size: .92rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testi-card .stars { display: flex; gap: 3px; color: var(--amber); margin-bottom: 16px; }
.testi-card .stars svg { width: 18px; height: 18px; }
.testi-card blockquote { margin: 0 0 22px; font-size: 1.02rem; color: var(--slate); }
.testi-who { display: flex; align-items: center; gap: 13px; }
.testi-who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testi-who b { display: block; font-size: .96rem; }
.testi-who span { color: var(--slate-400); font-size: .85rem; }

/* ---------- Pricing / CTA ---------- */
.cta-final { position: relative; overflow: hidden; }
.cta-box {
  position: relative; background: linear-gradient(130deg, var(--indigo), var(--indigo-700) 55%, #1e2a6b);
  border-radius: 32px; padding: 70px 50px; text-align: center; color: #fff; overflow: hidden;
}
.cta-box::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(245,159,0,.35); filter: blur(80px); top: -120px; right: -60px; }
.cta-box::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(12,166,120,.4); filter: blur(80px); bottom: -130px; left: -60px; }
.cta-box h2 { position: relative; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 16px; }
.cta-box p { position: relative; color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 540px; margin: 0 auto 30px; }
.cta-box .hero-actions { position: relative; justify-content: center; }
.cta-box .note { position: relative; margin-top: 18px; font-size: .88rem; color: rgba(255,255,255,.7); }

/* ---------- Footer ---------- */
.footer { background: var(--slate); color: #cbd5e1; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer-about { font-size: .95rem; color: #94a3b8; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-col a { display: block; color: #94a3b8; font-size: .92rem; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .87rem; color: #94a3b8; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--indigo); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ---------- Animations ---------- */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
  *, .hero-visual .shot, .float-card, .blob { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-sub { max-width: none; }
  .diff-grid, .diff-grid.rev { grid-template-columns: 1fr; gap: 36px; direction: ltr; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card, .feat-card.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 100%; left: 16px; right: 16px; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-md); align-items: stretch; }
  .nav.open .nav-links a { padding: 10px 12px; }
  .prob-grid, .steps, .testi-grid, .stats { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 70px 0; }
  .cta-box { padding: 50px 26px; }
  .fc-1 { left: 6px; } .fc-2 { right: 6px; }
}
