:root {
  --ink: #141922;
  --muted: #5d6678;
  --line: #d9dee8;
  --paper: #ffffff;
  --soft: #f3f6fa;
  --green: #0f8f62;
  --blue: #2459d6;
  --gold: #c58a12;
  --violet: #7654c7;
  --black: #16181d;
  --accent: #0b7a75;
  --danger: #b54708;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--soft);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, #121826, #0b7a75);
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.top-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.top-action,
.button.primary {
  color: white;
  background: var(--accent);
}

.button.secondary {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
}

.button.full {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(44px, 8vw, 96px) clamp(18px, 5vw, 70px);
  background:
    linear-gradient(115deg, rgba(20, 25, 34, 0.92), rgba(11, 122, 117, 0.78)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: white;
}

.hero h1 {
  margin: 10px 0;
  font-size: clamp(56px, 11vw, 128px);
  line-height: 0.9;
}

.lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-panel {
  display: grid;
  gap: 12px;
}

.metric {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.metric span {
  color: #9ee7d6;
  font-weight: 900;
}

.notice-band {
  padding: 18px clamp(18px, 5vw, 70px);
  background: #fff7e8;
  border-block: 1px solid #efd59c;
  color: #50310a;
}

.section {
  padding: clamp(44px, 7vw, 82px) clamp(18px, 5vw, 70px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

.plans {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 14px;
}

.plan {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--plan-color);
  border-radius: 8px;
}

.plan.featured {
  box-shadow: 0 20px 45px rgba(20, 25, 34, 0.16);
  transform: translateY(-8px);
}

.plan h3 {
  margin: 10px 0 6px;
  font-size: 22px;
}

.price {
  margin: 0 0 16px;
  font-size: 30px;
  font-weight: 900;
}

.price small {
  color: var(--muted);
  font-size: 14px;
}

.benefits {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.benefits li::before {
  content: "✓ ";
  color: var(--plan-color);
  font-weight: 900;
}

.plan .button {
  margin-top: auto;
}

.checkout-section {
  padding: 0 clamp(18px, 5vw, 70px) clamp(44px, 7vw, 82px);
}

.checkout-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: 28px;
  padding: clamp(22px, 4vw, 42px);
  background: #10151f;
  color: white;
  border-radius: 8px;
}

.checkout-card p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.selected-plan {
  display: inline-flex;
  margin: 18px 0;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 7px;
}

.pix-box {
  padding: 18px;
  color: var(--ink);
  background: white;
  border-radius: 8px;
}

.qr-image {
  display: block;
  width: min(100%, 260px);
  aspect-ratio: 1;
  margin: 0 auto 16px;
  padding: 10px;
  object-fit: contain;
  background: white;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.pix-box label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
}

textarea,
input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 96px;
  padding: 12px;
  resize: vertical;
}

input {
  height: 44px;
  padding: 0 12px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 20px;
}

.panel,
.admin-shell {
  padding: clamp(20px, 4vw, 34px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.status-panel {
  display: grid;
  align-content: start;
}

.timeline {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding: 12px 14px;
  color: var(--muted);
  background: var(--soft);
  border-left: 4px solid var(--line);
  border-radius: 7px;
}

.timeline li.done {
  color: var(--green);
  border-left-color: var(--green);
}

.timeline li.active {
  color: var(--danger);
  border-left-color: var(--danger);
}

.ad-preview {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ad-preview.highlighted {
  border-color: #d6a11d;
  background: #fff9e9;
  box-shadow: 0 16px 34px rgba(184, 123, 0, 0.16);
}

.badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: #50310a;
  font-size: 12px;
  font-weight: 900;
  background: #ffe2a3;
  border-radius: 999px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.admin-grid article {
  padding: 18px;
  background: var(--soft);
  border-radius: 8px;
}

.admin-grid span,
.admin-grid strong {
  display: block;
}

.admin-grid span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 70px);
  color: white;
  background: var(--black);
}

@media (max-width: 1120px) {
  .plans {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 780px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .top-action {
    width: 100%;
  }

  .hero,
  .checkout-card,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .plans,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .plan.featured {
    transform: none;
  }

  .admin-header,
  .footer,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }
}
