:root {
  --bg1: #f6f7fb;
  --bg2: #ffffff;

  --text: #0b1220;
  --muted: #667085;

  --card: #ffffff;
  --line: rgba(15, 23, 42, .10);

  --brand: #111827;
  --gold: #c9a14a;

  --shadow: 0 18px 60px rgba(2, 6, 23, .10);
  --shadow2: 0 10px 28px rgba(2, 6, 23, .08);

  --r12: 12px;
  --r16: 16px;
  --r20: 20px;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 10% 0%, rgba(201, 161, 74, .20), transparent 55%),
    radial-gradient(900px 600px at 95% 15%, rgba(17, 24, 39, .12), transparent 55%),
    linear-gradient(180deg, var(--bg2), var(--bg1));
}

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

img {
  max-width: 100%;
  display: block
}

.wrap {
  width: min(1100px, calc(100% - 28px));
  margin: 22px auto 40px;
}

.shell {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .80);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  border-radius: var(--r20);
  overflow: hidden;
}

/* Top App Bar */
.appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
}

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

.logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(201, 161, 74, .22), rgba(17, 24, 39, .06));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo img {
  width: 30px;
  height: 30px;
  object-fit: contain
}

.brand .title {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .2px
}

.brand .sub {
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 10px 22px rgba(2, 6, 23, .06);
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
}

.btn.primary {
  border-color: rgba(201, 161, 74, .35);
  background: linear-gradient(135deg, rgba(201, 161, 74, .18), rgba(17, 24, 39, .06));
}

.btn.whatsapp {
  border-color: rgba(34, 197, 94, .30);
  background: rgba(34, 197, 94, .10);
}

/* Sections */
.pad {
  padding: 16px
}

.hr {
  height: 1px;
  background: var(--line);
  margin: 14px 0
}

.muted {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px
}

/* Notice / Error */
.notice {
  border: 1px solid rgba(201, 161, 74, .26);
  background: rgba(201, 161, 74, .10);
  border-radius: var(--r16);
  padding: 12px 14px;
  font-weight: 800;
}

.error {
  border: 1px solid rgba(239, 68, 68, .26);
  background: rgba(239, 68, 68, .10);
  border-radius: var(--r16);
  padding: 12px 14px;
  font-weight: 900;
}

/* Cards grid */
.grid {
  display: grid;
  gap: 14px;
}

.grid.plans {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan {
  border: 1px solid var(--line);
  border-radius: var(--r20);
  background: #fff;
  box-shadow: 0 12px 30px rgba(2, 6, 23, .06);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.plan::before {
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at 30% 30%, rgba(201, 161, 74, .35), transparent 60%);
  transform: rotate(12deg);
  pointer-events: none;
}

.planTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px
}

.planName {
  font-weight: 900;
  font-size: 18px
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, .03);
  font-weight: 900;
  font-size: 12px;
}

.price {
  font-weight: 900;
  font-size: 34px;
  letter-spacing: -.6px
}

.price small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 900;
  margin-left: 6px
}

.features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px
}

.planActions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

/* Forms */
label {
  display: block;
  font-weight: 900;
  font-size: 13px;
  margin: 10px 0 6px
}

input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  outline: none;
  font-weight: 700;
  background: #fff;
}

input:focus {
  border-color: rgba(201, 161, 74, .60);
  box-shadow: 0 0 0 4px rgba(201, 161, 74, .14);
}

/* Center card (login/register) */
.center {
  max-width: 560px;
  margin: 0 auto;
}

/* Footer row */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
}

/* Responsive */
@media (max-width: 980px) {
  .grid.plans {
    grid-template-columns: 1fr
  }

  .appbar {
    flex-direction: column;
    align-items: stretch
  }

  .actions {
    justify-content: flex-start
  }

  .brand {
    min-width: unset
  }
}