/* Jeuglory — shared styles. Superlist-inspired: playful, bold, rounded, colorful. */

:root {
  --indigo: #4f46e5;
  --indigo-2: #6366f1;
  --coral: #fb7185;
  --amber: #f59e0b;
  --lime: #84cc16;
  --sky: #38bdf8;
  --violet: #8b5cf6;

  --base: #fbfaff;
  --ink: #1e1b39;
  --ink-soft: #4b476b;
  --muted: #6f6b8f;
  --line: #eae7f6;
  --white: #ffffff;

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 6px 20px rgba(79,70,229,0.08);
  --shadow-md: 0 18px 44px rgba(79,70,229,0.14);
  --shadow-lg: 0 30px 70px rgba(79,70,229,0.20);

  --wrap: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 .4em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1rem; }

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

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }

.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--indigo);
  background: #eef0ff;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}

.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--indigo); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #4338ca; box-shadow: var(--shadow-md); }
.btn--coral { background: var(--coral); color: #4a0d1c; }
.btn--coral:hover { background: #f8546c; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--indigo-2); }
.btn--lg { padding: 17px 36px; font-size: 1.06rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,250,255,0.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.28rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .logo-badge {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 55%, var(--coral) 120%);
  display: grid; place-items: center;
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  transition: background .12s ease, color .12s ease;
}
.nav-links a:hover { background: #eef0ff; color: var(--indigo); text-decoration: none; }
.nav-links a.active { background: var(--indigo); color: #fff; }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: #fff; border: 2px solid var(--line);
  width: 46px; height: 46px; border-radius: 13px;
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 90px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(56,189,248,0.18), transparent 60%),
    radial-gradient(55% 50% at 12% 90%, rgba(251,113,133,0.16), transparent 60%),
    linear-gradient(180deg, #f2f0ff 0%, var(--base) 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 15ch; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--indigo) 0%, var(--violet) 45%, var(--coral) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin-top: 8px; font-size: 1.3rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

.tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: .85rem;
  padding: 8px 15px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
}
.tag .dot { width: 9px; height: 9px; border-radius: 50%; }

.blob { position: absolute; z-index: 0; opacity: .9; }
.blob--1 { top: -40px; right: -60px; width: 340px; }
.blob--2 { bottom: -70px; left: -70px; width: 300px; }

/* ---------- Cards / grids ---------- */
.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: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

/* Colorful feature cards — each a different bright tint */
.fcard {
  border-radius: var(--r-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}
.fcard h3 { margin-top: 16px; }
.fcard p { margin-bottom: 0; color: var(--ink-soft); }
.fcard .ico {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; color: #fff;
}
.fcard--indigo { background: #eef0ff; }
.fcard--indigo .ico { background: var(--indigo); }
.fcard--coral  { background: #fff0f2; }
.fcard--coral .ico  { background: var(--coral); color:#4a0d1c; }
.fcard--amber  { background: #fff6e6; }
.fcard--amber .ico  { background: var(--amber); }
.fcard--lime   { background: #f2fbe3; }
.fcard--lime .ico   { background: var(--lime); color:#1e3a0a; }
.fcard--sky    { background: #e8f8ff; }
.fcard--sky .ico    { background: var(--sky); color:#053142; }
.fcard--violet { background: #f4efff; }
.fcard--violet .ico { background: var(--violet); }

/* Section background tints */
.bg-tint { background: #f4f2ff; }
.bg-coral-tint { background: linear-gradient(180deg, #fff4f6, var(--base)); }
.bg-lime-tint { background: linear-gradient(180deg, #f5fbe8, var(--base)); }

/* ---------- Problem block ---------- */
.problem-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
.problem-visual {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--shadow-md);
}
.row-line {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px; margin-bottom: 8px;
  background: #f6f5fc; font-size: .92rem; color: var(--muted);
}
.row-line.hot { background: #eef0ff; color: var(--ink); font-weight: 700; border: 2px dashed var(--indigo-2); }
.row-line .num { font-variant-numeric: tabular-nums; color: #b7b3cf; font-weight: 700; width: 46px; }

/* ---------- Highlight band ---------- */
.highlight {
  background: linear-gradient(120deg, var(--indigo) 0%, var(--violet) 60%, #a855f7 100%);
  color: #fff; border-radius: var(--r-lg); padding: 52px;
  position: relative; overflow: hidden;
}
.highlight h2 { color: #fff; max-width: 20ch; }
.highlight p { color: rgba(255,255,255,0.9); max-width: 58ch; }
.highlight .btn--ghost { background: #fff; border-color: #fff; }

/* ---------- Stat band ---------- */
.stat-band { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 46px; }
.stat { text-align: center; }
.stat .big {
  font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; line-height: 1;
  background: linear-gradient(100deg, var(--sky), var(--coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { color: #c9c6e6; font-size: .95rem; margin-top: 8px; }

/* ---------- Steps / process ---------- */
.step { position: relative; padding-left: 8px; }
.step .step-num {
  font-size: clamp(3rem, 7vw, 5rem); font-weight: 800; line-height: .9;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step--1 .step-num { background: linear-gradient(120deg, var(--indigo), var(--violet)); }
.step--2 .step-num { background: linear-gradient(120deg, var(--sky), var(--indigo)); }
.step--3 .step-num { background: linear-gradient(120deg, var(--amber), var(--coral)); }
.step--4 .step-num { background: linear-gradient(120deg, var(--lime), #16a34a); }
.step h3 { margin-top: 6px; font-size: 1.45rem; }
.step p { color: var(--ink-soft); }
.step ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-soft); }
.step ul li { margin-bottom: 6px; }

/* ---------- Founders ---------- */
.founder { display: flex; gap: 20px; align-items: flex-start; }
.avatar {
  flex: none; width: 76px; height: 76px; border-radius: 22px;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.6rem;
}
.avatar--r { background: linear-gradient(135deg, var(--indigo), var(--violet)); }
.avatar--a { background: linear-gradient(135deg, var(--coral), var(--amber)); }
.founder h3 { margin-bottom: 2px; }
.founder .role { color: var(--indigo); font-weight: 700; font-size: .92rem; margin-bottom: 8px; }

/* ---------- Checklist ---------- */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--ink-soft); }
.checks .ck {
  flex: none; width: 26px; height: 26px; border-radius: 9px; margin-top: 2px;
  background: #eef0ff; color: var(--indigo); display: grid; place-items: center;
}

/* ---------- Quote ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--coral);
  border-radius: var(--r-md); padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.quote p { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.quote .attr { color: var(--muted); font-weight: 600; font-size: .9rem; margin: 0; }

/* ---------- Form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 7px; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 2px solid var(--line); border-radius: 14px;
  font: inherit; color: var(--ink); background: #fbfaff; transition: border .12s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo-2); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-list .ci {
  flex: none; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color:#fff;
}
.contact-list .ci.p { background: var(--indigo); }
.contact-list .ci.e { background: var(--coral); color:#4a0d1c; }
.contact-list .ci.l { background: var(--sky); color:#053142; }
.contact-list b { display: block; }
.contact-list span { color: var(--muted); font-size: .95rem; }

/* ---------- CTA block ---------- */
.cta-final {
  text-align: center;
  background: linear-gradient(135deg, #eef0ff 0%, #fff0f2 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 60px 40px;
}
.cta-final h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-final .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9c6e6; padding: 60px 0 34px; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer a { color: #c9c6e6; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .88rem; color: #9c98bf;
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .problem-grid, .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--base); border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; gap: 4px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .highlight, .stat-band { padding: 34px; }
  .cta-final { padding: 44px 24px; }
}
