/* =========================================================
   Model Success — marketing site
   Dark theme matched to the brand: deep navy + blue gradient.
   Rebrand by editing the CSS variables in :root below.
   ========================================================= */

:root {
  /* ---- BRAND: pulled from the logo ---- */
  --accent:    #2b8bff;   /* primary bright blue */
  --accent-2:  #7cc3ff;   /* light blue (gradient partner) */
  --accent-deep:#0a5cff;  /* deep blue */
  --accent-ink:#ffffff;   /* text on top of accent */

  /* ---- Dark neutrals ---- */
  --ink:       #ffffff;   /* headings */
  --body:      #b6c2d6;   /* body text */
  --muted:     #7e8ca6;   /* subtle text */
  --line:      rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.16);

  --bg:        #0a1420;   /* page background (matches logo bg) */
  --bg-soft:   #0d1a29;   /* alternating sections */
  --panel:     #10203400; /* base for cards (used with overlay) */
  --card:      #101f31;   /* card surface */
  --card-hi:   #14263c;   /* raised card surface */
  --bg-dark:   #060d16;   /* darkest (nav/footer) */

  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 24px 60px -24px rgba(0, 0, 0, .7);
  --shadow-sm: 0 10px 30px -14px rgba(0, 0, 0, .6);
  --glow:      0 12px 40px -12px rgba(43, 139, 255, .55);

  --font:      'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: 'Sora', var(--font);
  --maxw:      1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.14; letter-spacing: -.02em; }

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

.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: linear-gradient(120deg, var(--accent-deep), var(--accent)); color: var(--accent-ink); box-shadow: var(--glow); }
.btn--primary:hover { box-shadow: 0 16px 44px -12px rgba(43,139,255,.7); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.04); border-color: var(--line-strong); color: #fff; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn--light { background: #fff; color: var(--bg-dark); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6,13,22,.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__mark { width: 34px; height: 34px; object-fit: contain; }
.brand__name { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.05rem; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-weight: 500; color: var(--body); font-size: .95rem; }
.nav__links a:hover { color: #fff; }
.nav__cta { display: flex; gap: 10px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(43,139,255,.22), transparent 60%),
    radial-gradient(820px 420px at -5% 8%, rgba(10,92,255,.16), transparent 55%),
    var(--bg);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 78px 24px 88px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; color: #fff; }
.lead { font-size: 1.15rem; color: var(--body); margin: 22px 0 30px; max-width: 36ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__proof { display: flex; gap: 28px; list-style: none; margin-top: 36px; flex-wrap: wrap; }
.hero__proof li { font-size: .92rem; color: var(--muted); }
.hero__proof strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: #fff; }

/* Call mockup */
.hero__visual { display: flex; justify-content: center; }
.callcard {
  width: 100%; max-width: 400px; background: #0f1d2e; border: 1px solid var(--line-strong);
  border-radius: 22px; box-shadow: var(--shadow); overflow: hidden;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-10px) } }
.callcard__head {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  background: var(--bg-dark); color: #fff; font-size: .85rem; font-family: var(--font-head);
  border-bottom: 1px solid var(--line);
}
.callcard__timer { margin-left: auto; color: #7e8ca6; font-variant-numeric: tabular-nums; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #34e39a; box-shadow: 0 0 0 0 rgba(52,227,154,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(52,227,154,.6) } 70%{ box-shadow: 0 0 0 10px rgba(52,227,154,0) } 100%{ box-shadow: 0 0 0 0 rgba(52,227,154,0) } }
.chat { padding: 18px; display: flex; flex-direction: column; gap: 12px; background: #0b1726; }
.bubble { padding: 11px 15px; border-radius: 16px; font-size: .92rem; max-width: 85%; line-height: 1.45; }
.bubble--in { background: #17273b; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 5px; color: #dfe7f3; }
.bubble--ai { background: linear-gradient(120deg, var(--accent-deep), var(--accent)); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.callcard__foot { padding: 14px 18px; border-top: 1px solid var(--line); background: #0f1d2e; }
.tag { font-family: var(--font-head); font-size: .82rem; font-weight: 600; color: var(--accent-2); }

/* Marquee */
.hero__marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-dark); overflow: hidden; }
.marquee__track { display: flex; gap: 26px; align-items: center; padding: 16px 0; white-space: nowrap; width: max-content; animation: marquee 26s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: .95rem; }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ---------------- Sections ---------------- */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section__head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
.section__sub { margin-top: 16px; font-size: 1.08rem; color: var(--body); }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Problem stats */
.stat { text-align: center; padding: 26px; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.2rem); background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { margin-top: 8px; color: var(--body); }
.fineprint { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 30px; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step__num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; background: linear-gradient(120deg, var(--accent-deep), var(--accent)); margin-bottom: 16px; box-shadow: var(--glow); }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .95rem; }

/* Cards / industries */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.industry__icon { font-size: 2.2rem; margin-bottom: 14px; }
.industry h3 { font-size: 1.3rem; margin-bottom: 10px; }
.ticks { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: .93rem; color: #dfe7f3; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(43,139,255,.18); color: var(--accent-2); font-size: .7rem; font-weight: 700; display: grid; place-items: center; }

/* Features */
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid transparent; transition: .2s; }
.feature:hover { border-color: var(--line); background: var(--card); box-shadow: var(--shadow-sm); }
.feature__icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { font-size: .95rem; }

/* CTA band */
.ctaband {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--accent-deep), var(--accent));
  color: #fff; border-radius: 26px; padding: 46px 52px; box-shadow: var(--glow);
  position: relative; overflow: hidden;
}
.ctaband::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 90% -30%, rgba(255,255,255,.25), transparent 60%); pointer-events: none; }
.ctaband > * { position: relative; }
.ctaband h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.ctaband p { color: rgba(255,255,255,.92); margin-top: 6px; }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq summary { list-style: none; cursor: pointer; font-family: var(--font-head); font-weight: 600; color: #fff; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent-2); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { padding-bottom: 18px; color: var(--body); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 44px; box-shadow: var(--shadow-sm); }
.contact__copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.contact__list { list-style: none; margin-top: 24px; display: grid; gap: 12px; color: #dfe7f3; }
.contact__list a:hover { color: var(--accent-2); }
.contact__form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; color: #fff; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, select, textarea { font-family: var(--font); font-size: .95rem; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #0b1726; color: #fff; transition: border .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #5f6d84; }
select { color: #fff; }
select option { background: #0b1726; color: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43,139,255,.22); background: #0d1b2c; }
textarea { resize: vertical; }
.form__note { font-size: .9rem; min-height: 1.2em; }
.form__note.ok { color: #34e39a; }
.form__note.err { color: #ff6b81; }

/* Footer */
.footer { background: var(--bg-dark); color: #aeb9ce; padding: 56px 0 26px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.footer .brand__name { color: #fff; font-size: 1.15rem; }
.footer__brand p { margin-top: 10px; max-width: 32ch; color: #8290a8; font-size: .95rem; }
.footer__cols { display: flex; gap: 60px; }
.footer__cols h4 { color: #fff; font-size: .9rem; margin-bottom: 14px; }
.footer__cols a { display: block; color: #8290a8; font-size: .92rem; padding: 4px 0; }
.footer__cols a:hover { color: #fff; }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; color: #6b7890; font-size: .85rem; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__links { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; background: var(--bg-dark); padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 16px; }
  .nav.open .nav__cta { display: flex; position: absolute; top: 210px; left: 0; right: 0; padding: 0 24px 20px; background: var(--bg-dark); }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .hero__visual { order: -1; }
  .grid--3, .steps { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; padding: 32px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
