/* ===== Tokens ===== */
:root {
  --bg: #0b0b14;
  --bg-2: #11111f;
  --surface: #16162a;
  --surface-2: #1d1d34;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ececf5;
  --muted: #9a9ab5;
  --violet: #7c5cff;
  --violet-2: #a78bfa;
  --cyan: #22d3ee;
  --green: #34d399;
  --warn: #fb7185;
  --grad: linear-gradient(120deg, #7c5cff 0%, #22d3ee 100%);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { line-height: 1.15; margin: 0 0 .4em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Buttons ===== */
.btn {
  --pad: 14px 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad);
  border-radius: 999px;
  font-weight: 700; font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad); color: #0b0b14; box-shadow: 0 10px 30px rgba(124, 92, 255, .35); }
.btn--primary:hover { box-shadow: 0 14px 40px rgba(124, 92, 255, .5); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { background: var(--surface); }
.btn--light { background: #fff; color: #0b0b14; }
.btn--light:hover { transform: translateY(-2px); }
.btn--sm { --pad: 9px 16px; font-size: 14px; background: var(--surface-2); border-color: var(--line); }
.btn--sm:hover { background: var(--surface); }
.btn--block { width: 100%; }

/* ===== Navbar ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 11, 20, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand__mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 10px; background: var(--grad); color: #0b0b14;
}
.brand__text { font-size: 19px; letter-spacing: -0.02em; }
.brand__text span { color: var(--violet-2); }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: var(--muted); font-weight: 600; font-size: 15px; transition: color .15s; }
.nav__links a:hover { color: var(--text); }
.nav__links .btn { color: var(--text); }
.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: var(--text); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero { position: relative; padding: 70px 0 40px; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.pill {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--violet-2); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 800; }
.lead { color: var(--muted); font-size: 18px; max-width: 520px; }
.lead strong { color: var(--text); }
.hero__cta { display: flex; gap: 14px; margin: 28px 0 34px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 34px; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust strong { font-size: 24px; }
.hero__trust span { color: var(--muted); font-size: 13px; }

/* Phone */
.hero__art { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; z-index: 2;
  width: 300px; height: 600px; border-radius: 42px;
  background: linear-gradient(160deg, #23233d, #0e0e1a);
  padding: 12px; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow);
}
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #0b0b14; border-radius: 0 0 16px 16px; z-index: 3; }
.phone__screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: linear-gradient(180deg, #14142a, #0d0d18); }
.app { padding: 40px 18px 18px; height: 100%; display: flex; flex-direction: column; gap: 14px; }
.app__top { display: flex; justify-content: space-between; align-items: center; }
.app__hi { margin: 0; font-weight: 700; font-size: 16px; }
.app__sub { margin: 0; color: var(--muted); font-size: 12px; }
.app__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; color: #0b0b14; }
.app__balance { background: linear-gradient(135deg, rgba(124,92,255,.22), rgba(34,211,238,.14)); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.app__balance p { margin: 0; color: var(--muted); font-size: 12px; }
.app__balance h3 { margin: 4px 0; font-size: 28px; }
.app__delta { color: var(--green); font-size: 12px; font-weight: 700; }
.app__chart { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px; height: 96px; }
.app__chart svg { width: 100%; height: 100%; }
.app__list { display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.tx { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.tx__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; background: var(--surface-2); }
.tx__body { flex: 1; line-height: 1.2; }
.tx__body b { font-size: 13px; }
.tx__body small { color: var(--muted); font-size: 11px; }
.tx__amt { font-weight: 700; font-size: 13px; }
.tx__amt--in { color: var(--green); }

.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 1; }
.blob--1 { width: 320px; height: 320px; background: #7c5cff; top: -30px; right: 10px; }
.blob--2 { width: 260px; height: 260px; background: #22d3ee; bottom: -20px; left: 0; opacity: .4; }

/* ===== Marquee ===== */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.marquee__inner { display: flex; gap: 22px; align-items: center; justify-content: center; padding: 16px 24px; flex-wrap: wrap; color: var(--muted); font-weight: 700; font-size: 13px; letter-spacing: .08em; }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-2); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.section__head p { color: var(--muted); font-size: 17px; }
.eyebrow { display: inline-block; color: var(--violet-2); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }

/* ===== Product cards ===== */
.product { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.5); }
.card--tall { grid-row: span 1; }
.card__badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(34,211,238,.15); color: var(--cyan); margin-bottom: 14px; }
.card__badge--green { background: rgba(52,211,153,.15); color: var(--green); }
.card__badge--violet { background: rgba(124,92,255,.18); color: var(--violet-2); }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 15px; }

.budget { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.budget__row { display: grid; grid-template-columns: 78px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; }
.budget__row b { text-align: right; color: var(--muted); }
.bar { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grad); border-radius: 999px; }
.bar i.bar--warn { background: linear-gradient(90deg, #fb7185, #f59e0b); }

.goal { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.goal__ring { width: 96px; height: 96px; transform: rotate(-90deg); }
.goal__track { fill: none; stroke: var(--surface-2); stroke-width: 12; }
.goal__value { fill: none; stroke: var(--green); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 100; }
.goal__txt b { font-size: 26px; display: block; }
.goal__txt small { color: var(--muted); }

.chat { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.chat__bubble { background: var(--surface-2); border: 1px solid var(--line); padding: 10px 14px; border-radius: 14px 14px 14px 4px; font-size: 13px; max-width: 90%; }
.chat__bubble--me { align-self: flex-end; background: rgba(124,92,255,.2); border-color: rgba(124,92,255,.4); border-radius: 14px 14px 4px 14px; }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, border-color .2s; }
.feature:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.4); }
.feature__ic { width: 50px; height: 50px; border-radius: 14px; background: var(--surface-2); display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.feature h4 { font-size: 18px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* ===== Quotes ===== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.stars { color: #fbbf24; letter-spacing: 2px; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 16px; font-size: 16px; }
.quote figcaption { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.ava { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #0b0b14; font-weight: 800; display: grid; place-items: center; }

/* ===== Reviews (funcional) ===== */
.reviews { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.review-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 84px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,92,255,.2);
}
.field textarea { resize: vertical; }
.counter { color: var(--muted); font-size: 12px; text-align: right; }

.rating { display: flex; gap: 4px; }
.rating__star {
  background: none; border: 0; cursor: pointer; font-size: 30px; line-height: 1;
  color: var(--surface-2); padding: 0; transition: color .12s, transform .12s;
}
.rating__star:hover { transform: scale(1.15); }
.rating__star.is-active { color: #fbbf24; }

.form-error { color: var(--warn); font-size: 14px; margin: -4px 0 12px; }

.review-list__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.review-list__head h3 { margin: 0; font-size: 20px; }
.chip { background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.empty { color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.review-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.review-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; animation: pop .3s ease; }
.review-item__top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-item__ava { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #0b0b14; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.review-item__meta { flex: 1; line-height: 1.25; }
.review-item__meta b { font-size: 15px; }
.review-item__meta small { display: block; color: var(--muted); font-size: 12px; }
.review-item__stars { color: #fbbf24; letter-spacing: 1px; font-size: 14px; }
.review-item__tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--violet-2); margin-bottom: 8px; }
.review-item p { margin: 0; color: var(--text); font-size: 15px; }
.review-item__del { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 18px; padding: 2px 6px; border-radius: 8px; transition: color .15s, background .15s; }
.review-item__del:hover { color: var(--warn); background: var(--surface-2); }

@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== CTA ===== */
.cta { padding: 80px 0; }
.cta__inner { background: var(--grad); border-radius: 28px; padding: 56px 32px; text-align: center; color: #0b0b14; }
.cta__inner h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.cta__inner p { font-size: 18px; opacity: .85; margin-bottom: 24px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer__brand p { color: var(--muted); max-width: 300px; margin-top: 10px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h5 { font-size: 14px; margin-bottom: 12px; }
.footer__cols a { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; transition: color .15s; }
.footer__cols a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; flex-wrap: wrap; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 2; }
  .hero__art { order: 1; }
  .hero__cta, .hero__trust { justify-content: center; }
  .lead { margin-inline: auto; }
  .product, .features, .quotes { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .review-form { position: static; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .product, .features, .quotes, .footer__cols { grid-template-columns: 1fr; }
  .hero__trust { gap: 22px; }
  .section { padding: 60px 0; }
}
