/* ============================================================
   Zarlytics Studio – styles
   Brand: navy #0B1F3A, teal #14B8A6, blue #2563EB
   ============================================================ */
:root {
  --navy: #0B1F3A;
  --navy-2: #132B4D;
  --teal: #14B8A6;
  --teal-d: #0F9488;
  --blue: #2563EB;
  --ink: #0B1F3A;
  --text: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --tint: #F4F7FB;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, .18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.1vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; max-width: 20ch; }
h3 { font-size: 1.2rem; font-weight: 600; }
.accent { color: var(--teal); }

.kicker {
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-d); margin-bottom: 14px;
}
.kicker--light { color: var(--teal); }
.lead { font-size: 1.15rem; color: var(--text); max-width: 52ch; margin-top: 22px; }
.sub { font-size: 1.08rem; color: var(--muted); max-width: 60ch; margin-top: 14px; }
.muted { color: #94A3B8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: .2s ease; font-family: inherit;
}
.btn--sm { padding: 9px 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--teal); color: var(--navy); }
.btn--primary:hover { background: #2DD4BF; transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-d); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: #E6FFFB; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { border-radius: 9px; }
.brand__name { font-weight: 700; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.01em; }
.brand__studio { font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-d); margin-top: 4px; }
.brand--light .brand__name { color: var(--white); }
.brand--light .brand__studio { color: var(--teal); }
.nav__links { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: .95rem; }
.nav__links a:not(.btn):hover { color: var(--teal-d); }
.nav__toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 96px;
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(20, 184, 166, .10), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(37, 99, 235, .06), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero__ticks { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; margin-top: 28px; color: var(--muted); font-size: .95rem; }
.hero__ticks li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 8px; }

.hero__visual { position: relative; }
.mock { background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #EEF2F7; }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #F87171; }
.mock__bar i:nth-child(2) { background: #FBBF24; }
.mock__bar i:nth-child(3) { background: #34D399; }
.mock__bar span { margin-left: 14px; background: var(--white); border-radius: 999px; padding: 3px 16px; font-size: .75rem; color: var(--muted); }
.mock__body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 30px 26px 34px; }
.mock__title { height: 20px; width: 90%; background: var(--navy); border-radius: 5px; opacity: .9; }
.mock__line { height: 10px; width: 80%; background: var(--line); border-radius: 5px; margin-top: 14px; }
.mock__line--short { width: 60%; }
.mock__btn { display: inline-block; margin-top: 26px; background: var(--teal); color: var(--white); font-size: .8rem; font-weight: 600; padding: 9px 16px; border-radius: 999px; }
.mock__card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.mock__card p { font-size: .78rem; font-weight: 600; color: var(--ink); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 12px; }
.bars b { flex: 1; height: var(--h); background: #CBD5E1; border-radius: 4px; }
.bars b.hi { background: var(--teal); }

.float {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border-radius: 12px; padding: 10px 14px; font-size: .85rem; font-weight: 600;
  color: var(--ink); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.float--a { left: -26px; bottom: -22px; }
.float--b { right: -18px; top: -20px; color: var(--teal-d); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: #CBD5E1; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.cards { display: grid; gap: 24px; margin-top: 44px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(20, 184, 166, .12); display: grid; place-items: center; margin-bottom: 20px; }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--teal-d); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin-top: 10px; color: var(--muted); }

/* ---------- Case study ---------- */
.case { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.case__copy > p { margin-top: 14px; max-width: 54ch; }
.case__copy .muted { margin-top: 6px; }
.checklist { list-style: none; margin: 26px 0 32px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: #E2E8F0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.case__panel { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: 28px; }
.flow { display: grid; gap: 14px; position: relative; }
.flow::before { content: ""; position: absolute; left: 21px; top: 20px; bottom: 20px; width: 2px; background: rgba(255, 255, 255, .12); }
.flow__step { display: flex; align-items: center; gap: 16px; position: relative; background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 14px 16px; }
.flow__step span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--white); font-weight: 700; font-size: .9rem; }
.flow__step strong { display: block; color: var(--white); font-weight: 600; }
.flow__step small { color: #94A3B8; font-size: .85rem; }
.flow__step--hi { border-color: var(--teal); }
.flow__step--hi span { background: var(--teal); color: var(--navy); }

/* ---------- Pricing ---------- */
.price { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; }
.price--hi { border: 2px solid var(--teal); box-shadow: var(--shadow-lg); }
.badge { position: absolute; top: -14px; left: 28px; background: var(--teal); color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.price__amt { font-size: 2rem; font-weight: 800; color: var(--ink); margin-top: 14px; letter-spacing: -0.02em; }
.price__note { color: var(--muted); font-size: .92rem; }
.price ul { list-style: none; margin: 24px 0; display: grid; gap: 10px; flex: 1; }
.price li { padding-left: 26px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-d); font-weight: 700; }
.price__time { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }

.retainers { margin-top: 40px; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; grid-template-columns: 1fr 2.2fr; gap: 28px; align-items: center; background: var(--tint); }
.retainers__head p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.retainers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.retainers__grid div { background: var(--white); border-radius: 14px; padding: 16px; border: 1px solid var(--line); }
.retainers__grid strong { display: block; color: var(--ink); }
.retainers__grid span { display: block; color: var(--teal-d); font-weight: 700; margin-top: 2px; }
.retainers__grid small { display: block; color: var(--muted); margin-top: 6px; font-size: .82rem; line-height: 1.45; }

/* ---------- Why / report ---------- */
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.report { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 26px; border: 1px solid var(--line); }
.report__head { display: flex; justify-content: space-between; align-items: baseline; }
.report__head strong { color: var(--ink); }
.report__head span { color: var(--muted); font-size: .85rem; }
.report__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.report__grid div { background: var(--tint); border-radius: 12px; padding: 14px; display: flex; justify-content: space-between; align-items: center; }
.report__grid small { color: var(--text); font-weight: 500; font-size: .85rem; }
.report__grid b { color: var(--teal-d); font-size: 1.2rem; }
.report__grid b.down { color: var(--teal-d); }
.report__spark { color: var(--teal); margin-top: 18px; height: 70px; }
.report__spark svg { width: 100%; height: 100%; }

/* ---------- Process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; counter-reset: s; }
.steps li { border-top: 3px solid var(--line); padding-top: 22px; }
.steps li:first-child { border-color: var(--teal); }
.steps span { font-weight: 800; color: var(--teal-d); font-size: .95rem; }
.steps h3 { margin-top: 8px; }
.steps p { color: var(--muted); margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.faq__list { display: grid; gap: 12px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--teal-d); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__copy > p { margin-top: 14px; max-width: 46ch; }
.contact__list { list-style: none; margin-top: 30px; display: grid; gap: 16px; }
.contact__list li { display: flex; flex-direction: column; }
.contact__list span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #94A3B8; }
.contact__list b { color: var(--white); font-weight: 600; font-size: 1.05rem; }
.contact__list a:hover b { color: var(--teal); }
.form { background: var(--white); border-radius: 20px; padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: var(--shadow-lg); }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; background: var(--white); transition: .15s; width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20, 184, 166, .18); }
.form input.invalid { border-color: #EF4444; }
.form__err { grid-column: 1 / -1; color: #DC2626; font-size: .88rem; min-height: 0; }
.form__err:empty { display: none; }
.form__note { text-align: center; color: var(--muted); font-size: .82rem; }

/* ---------- Footer ---------- */
.footer { background: #071528; color: #94A3B8; padding: 48px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__tag { margin-top: 10px; font-size: .92rem; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .15); color: var(--white); transition: .2s; }
.footer__social a:hover { background: var(--teal); color: var(--navy); border-color: var(--teal); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .4); transition: .2s;
}
.wa-float:hover { transform: scale(1.06); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .case, .why, .faq, .contact { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 48px 0 80px; }
  .hero__visual { max-width: 560px; margin: 10px auto 0; width: 100%; }
  .float--a { left: 8px; }
  .float--b { right: 8px; }
  .cards--3 { grid-template-columns: 1fr; }
  .pricing { gap: 32px; }
  .retainers { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }

  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 14px; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .retainers__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__card { display: none; }
  .float--a { bottom: -18px; }
  .hero__cta .btn { width: 100%; }
}
