/* ============================================================
   Workbotic Studio — design system
   Tokens, base styles, and components.
   ============================================================ */

:root {
  /* Surfaces & text */
  --bg: #0E1413;
  --surface: #141B18;        /* step cards, simple price card, default benefit */
  --surface-2: #161D1A;      /* hero form card */
  --surface-3: #111A17;      /* browser mock body */
  --surface-inset: #13201B;  /* "after" pane, featured price card */
  --ink: #ECEAE0;
  --ink-strong: #ffffff;
  --muted: #9DA39A;
  --muted-2: #7E857C;
  --muted-3: #5E665F;
  --label: #C9CCC4;
  --list: #DDE0D8;
  --prose: #B9BEB4;          /* long-form body text (legal pages) */

  /* Brand */
  --lime: #CDEB45;
  --lime-hover: #d7f25e;
  --lime-ink: #14241A;       /* text on lime cards */
  --ink-on-lime: #0E1413;    /* text on lime buttons */
  --green: #15795B;
  --green-deep: #0F3D30;
  --terracotta: #C57B53;
  --terracotta-ink: #1B1209;

  /* States */
  --success: #15795B;
  --success-ink: #EAFBF3;
  --success-ink-soft: #C4E8D9;
  --error: #EBA088;

  /* Borders */
  --border: rgba(255,255,255,.08);
  --border-soft: rgba(255,255,255,.07);
  --border-strong: rgba(255,255,255,.12);
  --lime-border: rgba(205,235,69,.35);
  --lime-border-soft: rgba(205,235,69,.18);

  /* Type */
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 11px;
  --r-lg: 18px;
  --r-xl: 22px;

  /* Shadows */
  --shadow-form: 0 30px 60px -30px rgba(0,0,0,.8);
  --shadow-success: 0 20px 50px -20px rgba(28,138,102,.7);
  --shadow-browser: 0 40px 80px -30px rgba(0,0,0,.85);
  --shadow-lime: 0 14px 30px -12px rgba(205,235,69,.7);
  --shadow-price: 0 30px 60px -36px rgba(205,235,69,.4);

  /* Layout */
  --container: 1180px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--lime); color: var(--bg); }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
input::placeholder, textarea::placeholder { color: var(--muted-3); }
img { max-width: 100%; display: block; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wipe { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fade { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }
@keyframes glow { 0%, 100% { opacity: .5; } 50% { opacity: .85; } }

.anim-rise { animation: rise .7s ease both; }
.anim-wipe { animation: wipe .6s ease both; }
.anim-fade { animation: fade .9s ease both; }
.d1 { animation-delay: .08s; }
.d2 { animation-delay: .16s; }
.d3 { animation-delay: .24s; }
.d4 { animation-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .anim-rise, .anim-wipe, .anim-fade, .browser__glow { animation: none; }
}

/* ---------- Layout ---------- */
.page { overflow-x: hidden; position: relative; }
.page-glow {
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 880px; height: 520px;
  background: radial-gradient(ellipse at center, rgba(28,138,102,.22), transparent 70%);
  pointer-events: none; z-index: 0;
}
.container {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: 28px; position: relative; z-index: 2;
}
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; }

/* Highlighted word inside a heading */
.hl { color: var(--lime); }

/* ---------- Navigation ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 26px; z-index: 5;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark {
  width: 30px; height: 30px; border: 2px solid var(--lime); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.brand-mark i { width: 11px; height: 11px; background: var(--lime); border-radius: 3px; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.brand-name .dot { color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; border: none; border-radius: var(--r-md); cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--lime); color: var(--ink-on-lime); }
.btn--primary:hover { background: var(--lime-hover); transform: translateY(-2px); box-shadow: var(--shadow-lime); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid rgba(255,255,255,.2); }
.btn--ghost:hover { border-color: var(--lime); background: rgba(205,235,69,.06); }
.btn--body { font-family: var(--font-body); }     /* nav CTA keeps the body face */
.btn--sm { font-size: 14px; padding: 10px 18px; border-radius: var(--r-sm); }
.btn--md { min-height: 50px; padding: 0 24px; font-size: 16px; }
.btn--lg { min-height: 54px; padding: 0 36px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--push { margin-top: auto; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Eyebrows / badges ---------- */
.badge {
  display: inline-block; font-family: var(--font-head); font-weight: 500;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--lime);
  border: 1px solid var(--lime-border); border-radius: 40px; padding: 8px 16px; margin-bottom: 28px;
}
.eyebrow { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .04em; color: var(--lime); }
.eyebrow--terracotta { color: var(--terracotta); }

/* ---------- Section headings ---------- */
.section { padding-block: 66px 34px; }
.section--how { padding-block: 90px 34px; }
.section-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }
.section-head--tight { margin-bottom: 14px; }
.section-title {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -.025em; margin: 0; line-height: 1;
}
.section-sub { font-size: 16px; color: var(--muted); margin: 0 0 40px; max-width: 620px; line-height: 1.55; }

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

/* ---------- Hero ---------- */
.hero {
  padding-block: 42px 84px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center;
}
.hero__title {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1; letter-spacing: -.03em; margin: 0 0 22px;
}
.hero__lead { font-size: 18.5px; line-height: 1.55; max-width: 480px; color: var(--muted); margin: 0 0 32px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface-2); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-lg); padding: 22px; max-width: 460px; box-shadow: var(--shadow-form);
}
.field { margin-bottom: 16px; }
.field-label {
  display: block; font-weight: 600; font-size: 13px; margin: 0 0 7px;
  letter-spacing: .01em; color: var(--label);
}
.req { color: var(--lime); }
.input, .textarea {
  width: 100%; font-family: inherit; font-size: 16px; padding: 15px 16px;
  border: 1px solid var(--border-strong); border-radius: var(--r-md);
  background: var(--bg); color: var(--ink); margin: 0;
}
.textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.cf-turnstile { margin: 2px 0 16px; }
.form-error { display: none; color: var(--error); font-size: 13.5px; margin: 0 0 14px; line-height: 1.45; }
.form-error.is-visible { display: block; }
.form-hint {
  display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px;
  color: var(--muted-2); margin: 14px 2px 2px; line-height: 1.45;
}
.lock-ico {
  flex: none; width: 13px; height: 15px; border: 1.5px solid var(--muted-2);
  border-radius: 3px 3px 4px 4px; border-top-width: 4px;
  border-top-left-radius: 7px; border-top-right-radius: 7px; position: relative; top: 1px;
}
.link { color: var(--lime); text-decoration: underline; }
.link--nowrap { white-space: nowrap; }

/* Success panel */
.success {
  background: var(--success); color: var(--success-ink); border-radius: 16px;
  padding: 26px 28px; max-width: 440px; box-shadow: var(--shadow-success);
}
.success__title { font-family: var(--font-head); font-weight: 600; font-size: 22px; margin-bottom: 8px; }
.success__body { margin: 0; font-size: 16px; line-height: 1.5; color: var(--success-ink-soft); }
.success__body strong { color: var(--ink-strong); }

/* ---------- Hero browser mock (decorative illustration) ---------- */
.browser { position: relative; }
.browser__glow {
  position: absolute; inset: -30px;
  background: radial-gradient(ellipse at 70% 40%, rgba(205,235,69,.16), transparent 65%);
  filter: blur(8px); animation: glow 6s ease-in-out infinite; z-index: 0;
}
.browser__frame {
  position: relative; z-index: 1; background: var(--surface-3);
  border: 1px solid rgba(255,255,255,.1); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-browser);
}
.browser__bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--border-soft); }
.browser__dot { width: 11px; height: 11px; border-radius: 50%; background: #3A453F; }
.browser__url {
  margin-left: 10px; flex: 1; height: 20px; background: var(--bg); border-radius: 6px;
  font-size: 10px; color: var(--muted-3); display: flex; align-items: center; padding: 0 10px;
  font-family: ui-monospace, monospace;
}
.browser__split { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.browser__pane { padding: 22px; }
.browser__pane--before { filter: grayscale(1); opacity: .5; }
.browser__pane--after { background: var(--surface-inset); border-left: 1px solid var(--lime-border); }
.browser__tag { font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: .14em; margin-bottom: 14px; }
.browser__tag--before { color: #8A7F5E; }
.browser__tag--after { color: var(--lime); }
.browser__arrow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--bg);
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700;
  box-shadow: 0 8px 22px -6px rgba(0,0,0,.7);
}

/* ---------- Trust band ---------- */
.trust-band { border-block: 1px solid var(--border-soft); padding-block: 26px; position: relative; z-index: 2; }
.trust-grid {
  max-width: var(--container); margin-inline: auto; padding-inline: 28px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.trust-item { display: flex; align-items: center; gap: 14px; justify-content: center; }
.trust-item__mark {
  flex: none; width: 40px; height: 40px; border-radius: var(--r-md);
  border: 1px solid var(--lime-border); background: rgba(205,235,69,.08);
  display: flex; align-items: center; justify-content: center; color: var(--lime);
  font-size: 18px; font-weight: 700;
}
.trust-item__title { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.35; }
.trust-item__body { font-size: 13px; color: var(--muted-2); line-height: 1.35; }

/* ---------- Reusable card text ---------- */
.card-title { font-family: var(--font-head); font-weight: 600; font-size: 20px; margin: 0 0 10px; letter-spacing: -.01em; }
.card-text { font-size: 15.5px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ---------- Step cards ---------- */
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px 28px; }
.step-card__num {
  width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-bottom: 22px;
}
.step-card__num--1 { background: var(--green); color: var(--success-ink); }
.step-card__num--2 { background: var(--terracotta); color: var(--terracotta-ink); }
.step-card__num--3 { background: var(--lime); color: var(--lime-ink); }

/* ---------- Benefit cards ---------- */
.benefit-card {
  border-radius: var(--r-lg); padding: 32px 28px; min-height: 208px;
  display: flex; flex-direction: column; border: 1px solid var(--border);
}
.benefit-card--default { background: var(--surface); color: var(--ink); border-color: var(--border); }
.benefit-card--green { background: var(--green); color: var(--success-ink); border-color: rgba(255,255,255,.1); }
.benefit-card--lime { background: var(--lime); color: var(--lime-ink); border-color: rgba(0,0,0,.12); }
.benefit-card__icon { width: 34px; height: 34px; border-radius: 50%; border: 2px solid currentColor; margin-bottom: auto; opacity: .85; }
.benefit-card__title { font-family: var(--font-head); font-weight: 600; font-size: 21px; margin: 26px 0 10px; letter-spacing: -.01em; line-height: 1.12; }
.benefit-card__text { font-size: 15.5px; line-height: 1.55; margin: 0; opacity: .78; }

/* ---------- Cost of inaction ---------- */
.coi {
  background: var(--green-deep); border: 1px solid var(--lime-border-soft); border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 58px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center;
}
.coi__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.025em; line-height: 1.06; margin: 0 0 16px; color: #F2F6EE; }
.coi__text { font-size: 17px; line-height: 1.6; margin: 0; max-width: 520px; color: #A9C6B9; }
.coi-stats { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(44px, 6vw, 68px); line-height: 1; color: var(--lime); }
.stat__label { font-size: 13px; color: #9DB6A9; max-width: 130px; margin-top: 4px; }
.stat-divider { width: 1px; background: rgba(255,255,255,.16); }

/* ---------- Pricing ---------- */
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 36px 32px; display: flex; flex-direction: column; }
.price-card--featured { background: var(--surface-inset); border: 1px solid var(--lime-border); position: relative; box-shadow: var(--shadow-price); }
.price-card__badge {
  position: absolute; top: 20px; right: 24px; background: var(--lime); color: var(--ink-on-lime);
  font-family: var(--font-head); font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 30px;
}
.price-card__kicker { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
/* Reserve room on the right so the long kicker never runs under the
   absolutely-positioned "Most popular" badge. */
.price-card__kicker--featured { color: var(--lime); padding-right: 130px; }
.price-card__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.price-card__amount { font-family: var(--font-head); font-weight: 700; font-size: 46px; letter-spacing: -.02em; color: var(--ink); }
.price-card__desc { font-size: 15px; color: var(--muted); margin: 0 0 24px; line-height: 1.5; }
.price-card--featured .price-card__desc { color: #A9C6B9; }
.feature-list { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 13px; }
.feature-list li { display: flex; gap: 11px; font-size: 15px; color: var(--list); }
.price-card--featured .feature-list li { color: #E7F0E1; }
.feature-list .tick { color: var(--lime); font-weight: 700; }

/* ---------- Final CTA ---------- */
.final-cta { border-top: 1px solid var(--border-soft); position: relative; z-index: 2; }
.final-cta__inner { max-width: 880px; margin-inline: auto; padding: 84px 28px; text-align: center; position: relative; }
.final-cta__glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 600px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(205,235,69,.1), transparent 70%); pointer-events: none;
}
.final-cta__title { position: relative; font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.03em; line-height: 1.04; margin: 0 0 18px; }
.final-cta__text { position: relative; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 560px; margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-soft); position: relative; z-index: 2; }
.footer__inner {
  max-width: var(--container); margin-inline: auto; padding: 30px 28px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 13.5px; color: var(--muted-2);
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__brand span { color: var(--label); font-weight: 600; }
.footer__mark { width: 20px; height: 20px; border: 1.5px solid var(--lime); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.footer__mark i { width: 7px; height: 7px; background: var(--lime); border-radius: 2px; }
.footer__links { display: flex; gap: 24px; }
.footer-link { color: var(--muted-2); text-decoration: none; transition: color .2s ease; }
.footer-link:hover { color: var(--ink); }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 560px; margin-inline: auto;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--shadow-form);
  display: flex; flex-direction: column; gap: 14px;
}
.cookie-banner__text { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0; }
.cookie-banner__text a { color: var(--lime); }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-banner__actions .btn { flex: 1; }

/* ---------- Long-form / legal pages ---------- */
.legal { max-width: 820px; margin-inline: auto; padding: 56px 28px 90px; position: relative; z-index: 2; }
.legal h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(32px, 4vw, 44px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 8px; }
.legal h2 { font-family: var(--font-head); font-weight: 600; font-size: 22px; letter-spacing: -.01em; margin: 42px 0 12px; }
.legal h3 { font-family: var(--font-head); font-weight: 600; font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--prose); }
.legal .lead { font-size: 18px; color: var(--ink); margin-bottom: 28px; }
.legal .updated { color: var(--muted-2); font-size: 14px; margin: 0 0 8px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--lime); }
.legal ul { padding-left: 20px; margin: 12px 0; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--muted-3); }

/* ---------- Contact page ---------- */
.contact { padding-block: 56px 90px; }
.contact__head { max-width: 560px; margin: 0 0 36px; }
.contact__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -.025em; line-height: 1.05; margin: 0 0 16px; }
.contact__lead { font-size: 18px; line-height: 1.55; color: var(--muted); margin: 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact__detail { font-size: 16px; line-height: 1.7; color: var(--prose); }
.contact__detail a { color: var(--lime); }
.contact .form-card { max-width: none; }

/* ---------- Responsive ---------- */
/* Tablet and below: stack the two-column layouts and every card grid so
   nothing is squeezed in the 600–860px range. */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-block: 32px 56px; }
  .hero > :last-child { order: -1; }
  .coi { grid-template-columns: 1fr; }
  .coi-stats { justify-content: flex-start; }
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }

  .grid-3, .grid-2, .trust-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 0; }          /* drop forced height when full width */
  .trust-item { justify-content: flex-start; }

  .section { padding-block: 56px 28px; }
  .section--how { padding-block: 64px 28px; }
  .section-head { margin-bottom: 32px; }
}

/* Phones: tighten gutters and rhythm, and protect the price from overflow. */
@media (max-width: 600px) {
  .container { padding-inline: 20px; }
  .trust-grid { padding-inline: 20px; }
  .hero { padding-block: 24px 48px; }
  .section-head { margin-bottom: 26px; }
  .price-card__amount { font-size: 40px; }
  .stat-divider { display: none; }
  .coi-stats { gap: 26px; }
  .final-cta__inner { padding: 64px 20px; }
}
