/* ===== Tokens ===== */
:root {
  --violet: #7C3AED;
  --indigo: #5B6CF5;
  --ink: #1A1730;
  --ink-soft: #4B475F;
  --muted: #6E6A82;
  --line: #E9E6F2;
  --bg: #FFFFFF;
  --bg-alt: #F7F5FD;
  --wa: #25D366;
  --grad: linear-gradient(120deg, #7C3AED 0%, #5B6CF5 100%);
  --shadow-sm: 0 4px 14px rgba(40, 20, 90, 0.06);
  --shadow-md: 0 18px 40px rgba(40, 20, 90, 0.12);
  --shadow-lg: 0 30px 70px rgba(40, 20, 90, 0.18);
  --radius: 16px;
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .nav__brand { font-family: 'Poppins', system-ui, sans-serif; }

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

a { color: inherit; text-decoration: none; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.asterisk { font-size: .5em; vertical-align: super; -webkit-text-fill-color: var(--indigo); margin-left: 2px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(108, 60, 220, .28); }
.btn--primary:hover { box-shadow: 0 12px 28px rgba(108, 60, 220, .38); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: #cfc8ec; background: #faf9ff; }
.btn--white { background: #fff; color: var(--violet); box-shadow: var(--shadow-md); }
.btn--white:hover { transform: translateY(-1px); }
.btn--lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }

.pill {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--violet); background: #F1ECFE;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 12px;
}

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav__brand { display: flex; align-items: center; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 15px; color: var(--ink-soft); font-weight: 500; transition: color .15s; }
.nav__links a:hover { color: var(--violet); }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; }
.hero::before {
  content: ""; position: absolute; top: -260px; right: -180px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.16), transparent 62%);
  z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); line-height: 1.07; letter-spacing: -.02em; font-weight: 800; }
.hero .lead { font-size: 1.15rem; color: var(--ink-soft); margin: 22px 0 30px; max-width: 30em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__bullets { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; list-style: none; }
.hero__bullets li { font-size: 14px; color: var(--muted); font-weight: 500; }

/* Phone mockup */
.hero__preview { position: relative; display: flex; justify-content: center; }
.phone {
  width: 320px; background: #fff; border-radius: 30px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  overflow: hidden; transform: rotate(1.5deg);
}
.phone__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; background: #F4F2FB; border-bottom: 1px solid var(--line);
}
.phone__bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #d9d4ea; }
.phone__url { margin-left: 10px; font-size: 12px; color: var(--muted); font-weight: 500; }
.phone__screen { padding: 18px; background: #fff; }
.store__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.store__logo {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--grad); color: #fff; font-family: 'Poppins'; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.store__head strong { display: block; font-size: 15px; }
.store__head small { color: var(--muted); font-size: 12px; }
.store__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prod { display: flex; flex-direction: column; }
.prod__img { height: 76px; border-radius: 12px; margin-bottom: 7px; }
.prod__img--a { background: linear-gradient(135deg, #C4B5FD, #818CF8); }
.prod__img--b { background: linear-gradient(135deg, #FBCFE8, #F9A8D4); }
.prod__img--c { background: linear-gradient(135deg, #FDE68A, #FCA5A5); }
.prod__img--d { background: linear-gradient(135deg, #A7F3D0, #6EE7B7); }
.prod__name { font-size: 12.5px; font-weight: 600; }
.prod__price { font-size: 12.5px; color: var(--violet); font-weight: 700; }
.store__buy {
  width: 100%; margin-top: 16px; padding: 12px; border: 0; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 600; font-size: 14px; cursor: pointer;
  font-family: 'Inter';
}

.float-card {
  position: absolute; background: #fff; border-radius: 14px;
  padding: 12px 16px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  animation: float 4s ease-in-out infinite;
}
.float-card--card { top: 30px; left: -8px; color: var(--ink); }
.float-card--wa { bottom: 44px; right: -10px; color: #128C4B; animation-delay: 1.2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ===== Trust ===== */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.trust__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; flex-wrap: wrap; }
.trust__inner > span { font-size: 14px; color: var(--muted); font-weight: 500; }
.trust__logos { display: flex; gap: 30px; flex-wrap: wrap; }
.trust__logos span { font-family: 'Poppins'; font-weight: 700; color: #B7B1CC; font-size: 17px; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section__head h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.section__head p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 14px; }

/* Features cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; background: #F1ECFE;
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px;
}
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

/* Payments */
.payments { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.payments h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); letter-spacing: -.02em; font-weight: 800; line-height: 1.15; }
.payments__copy > p { color: var(--ink-soft); font-size: 1.08rem; margin: 14px 0 28px; }
.pay-list { display: flex; flex-direction: column; gap: 18px; }
.pay { display: flex; gap: 16px; align-items: flex-start; }
.pay__badge {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.pay__badge--card { background: #EEF0FF; }
.pay__badge--wa { background: #E4F8EC; }
.pay h3 { font-size: 1.05rem; margin-bottom: 3px; }
.pay p { color: var(--muted); font-size: .95rem; }

/* Checkout visual */
.payments__visual { display: flex; justify-content: center; }
.checkout {
  width: 340px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 24px; box-shadow: var(--shadow-md);
}
.checkout__head { font-family: 'Poppins'; font-weight: 700; font-size: 1.1rem; margin-bottom: 18px; }
.checkout__opt {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-weight: 600; font-size: 14px; margin-bottom: 12px;
}
.checkout__opt--active { border-color: var(--violet); background: #FAF8FF; }
.checkout__opt .check { color: var(--violet); }
.checkout__field {
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  color: var(--muted); font-size: 14px; margin-bottom: 12px; letter-spacing: .04em;
}
.checkout__row { display: flex; gap: 12px; }
.checkout__field.sm { flex: 1; margin-bottom: 0; }
.checkout__divider { text-align: center; position: relative; margin: 18px 0; }
.checkout__divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line); }
.checkout__divider span { position: relative; background: #fff; padding: 0 12px; color: var(--muted); font-size: 13px; }
.checkout__wa {
  width: 100%; padding: 13px; border: 0; border-radius: 12px;
  background: var(--wa); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; font-family: 'Inter';
}
.checkout__note { display: block; text-align: center; color: var(--muted); font-size: 12px; margin-top: 10px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; position: relative; box-shadow: var(--shadow-sm);
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; background: var(--grad);
  color: #fff; font-family: 'Poppins'; font-weight: 700; font-size: 20px; margin-bottom: 18px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plans--two { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  position: relative;
}
.plan--featured { border-color: var(--violet); box-shadow: var(--shadow-md); transform: translateY(-8px); }
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
}
.plan__name { font-size: 1.2rem; }
.plan__price { font-family: 'Poppins'; font-weight: 800; font-size: 2.6rem; margin: 8px 0 4px; }
.plan__price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan__desc { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.plan__feat { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.plan__feat li { font-size: .95rem; color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 760px; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 20px; box-shadow: var(--shadow-sm);
}
.acc summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 1.02rem;
  padding: 16px 0; display: flex; justify-content: space-between; align-items: center;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.5rem; color: var(--violet); font-weight: 400; transition: transform .2s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc p { color: var(--muted); padding: 0 0 18px; }

/* Final CTA */
.cta { padding: 30px 0 90px; }
.cta__inner {
  background: var(--grad); border-radius: 28px; text-align: center;
  padding: 64px 32px; color: #fff; position: relative; overflow: hidden;
}
.cta__inner::before {
  content: ""; position: absolute; top: -80px; left: -60px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 60%); border-radius: 50%;
}
.cta__inner h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; position: relative; }
.cta__inner p { font-size: 1.1rem; margin: 14px auto 28px; max-width: 30em; opacity: .92; position: relative; }
.cta__inner .btn { position: relative; }

/* Footer */
.footer { background: #14112A; color: #C8C3DE; padding: 56px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand img { filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer__brand p { color: #908AAD; max-width: 22em; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer__cols a { display: block; color: #908AAD; font-size: .92rem; padding: 5px 0; transition: color .15s; }
.footer__cols a:hover { color: #fff; }
.footer__note { padding-top: 22px; }
.footer__note p { color: #908AAD; font-size: .82rem; line-height: 1.5; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; flex-wrap: wrap; gap: 14px; }
.footer__bottom span { color: #807A9C; font-size: .88rem; }
.footer__social { display: flex; gap: 20px; }
.footer__social a { color: #908AAD; font-size: .88rem; }
.footer__social a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links.is-open {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; padding: 20px 24px; gap: 6px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .nav__links.is-open a { padding: 10px 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__preview { order: 2; }
  .payments { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps, .plans { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .trust__inner { justify-content: center; text-align: center; }
  .footer__cols { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 70px; }
  .section { padding: 64px 0; }
}

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__overlay {
  position: absolute; inset: 0; background: rgba(20, 17, 42, .55);
  backdrop-filter: blur(3px); animation: fade .2s ease;
}
.modal__dialog {
  position: relative; z-index: 1; width: min(480px, calc(100% - 32px));
  margin: 6vh auto; background: #fff; border-radius: 22px;
  padding: 34px 32px 30px; box-shadow: var(--shadow-lg);
  max-height: 88vh; overflow-y: auto; animation: pop .22s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 16px; right: 18px; border: 0; background: none;
  font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer;
  width: 36px; height: 36px; border-radius: 10px; transition: background .15s, color .15s;
}
.modal__close:hover { background: var(--bg-alt); color: var(--ink); }
.modal__title { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.modal__sub { color: var(--muted); margin: 6px 0 22px; font-size: .98rem; }

/* Form */
.cform { display: flex; flex-direction: column; gap: 16px; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform__row { display: flex; flex-direction: column; gap: 7px; }
.cform__row label { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.cform__row input,
.cform__row select,
.cform__row textarea {
  font-family: 'Inter', sans-serif; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; transition: border-color .15s, box-shadow .15s; width: 100%;
}
.cform__row textarea { resize: vertical; min-height: 64px; }
.cform__row input:focus,
.cform__row select:focus,
.cform__row textarea:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124, 58, 237, .14);
}
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform__submit { margin-top: 4px; }
.cform__status { text-align: center; font-size: 14px; font-weight: 600; margin: 2px 0 0; min-height: 1px; }
.cform__status.is-ok { color: #128C4B; }
.cform__status.is-error { color: #D33A4B; }

@media (max-width: 480px) {
  .cform__grid { grid-template-columns: 1fr; }
  .modal__dialog { padding: 28px 22px 24px; margin: 4vh auto; }
}
