:root {
  --bg0: #e8f3ef;
  --bg1: #f7faf8;
  --ink: #13221c;
  --muted: #5b6f66;
  --line: rgba(19, 34, 28, 0.1);
  --panel: rgba(255, 255, 255, 0.78);
  --teal: #0f766e;
  --teal-deep: #0b4f4a;
  --mint: #34d399;
  --warm: #f0b429;
  --danger: #c2410c;
  --shadow: 0 18px 50px rgba(11, 40, 36, 0.1);
  --radius: 22px;
  --font: "Sora", ui-sans-serif, system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg1);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

a {
  color: var(--teal);
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(52, 211, 153, 0.28), transparent 60%),
    radial-gradient(700px 480px at 100% 8%, rgba(15, 118, 110, 0.18), transparent 55%),
    radial-gradient(600px 420px at 50% 110%, rgba(240, 180, 41, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 42%, #eef6f2);
  animation: atmosphereDrift 14s ease-in-out infinite alternate;
}

@keyframes atmosphereDrift {
  from {
    filter: hue-rotate(0deg) saturate(1);
    transform: scale(1);
  }
  to {
    filter: hue-rotate(8deg) saturate(1.05);
    transform: scale(1.03);
  }
}

.wrap {
  width: min(460px, 100%);
  margin: 0 auto;
  min-height: 100dvh;
  padding: 18px 18px 36px;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  animation: rise 0.55s ease both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background:
    linear-gradient(145deg, var(--mint), var(--teal)),
    linear-gradient(145deg, #fff, transparent);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 8px 18px rgba(15, 118, 110, 0.28);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 6px 6px 10px 10px;
  border-top-width: 3px;
}

.lang select {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.progress {
  margin-bottom: 18px;
  animation: rise 0.6s ease 0.05s both;
}

.progress-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.bar {
  height: 7px;
  background: rgba(19, 34, 28, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.bar > i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal), var(--mint));
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.panel {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px 20px;
  backdrop-filter: blur(14px);
  animation: panelIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.panel-hero {
  padding-top: 24px;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-hero {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(2.1rem, 8vw, 2.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--teal-deep) 10%, var(--teal) 55%, #147a5f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.headline {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 5.2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.headline.sm {
  font-size: 1.25rem;
}

.sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hint {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.hint.center {
  text-align: center;
  margin-top: 12px;
}

.guarantee {
  text-align: center;
  margin: 8px 0 0;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.86rem;
}

.q {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.opts {
  display: grid;
  gap: 10px;
}

.opts-2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 380px) {
  .opts-2 {
    grid-template-columns: 1fr;
  }
}

.opt {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  padding: 14px 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    transform 0.12s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.opt:hover {
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.1);
}

.opt:active {
  transform: scale(0.985);
}

.opt.on {
  border-color: var(--teal);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.14), rgba(255, 255, 255, 0.92));
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.opt-device {
  min-height: 76px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 1rem;
}

.opt .emoji {
  margin-right: 8px;
}

.proofs {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.proofs li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.35;
}

.row-btns {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn {
  flex: 1;
  border: 0;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.btn:active {
  transform: scale(0.985);
}

.btn.primary {
  background: linear-gradient(120deg, var(--teal-deep), var(--teal) 55%, #1aa37a);
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.28);
}

.btn.primary:hover {
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.34);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn.full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.field {
  margin-bottom: 12px;
}

.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--muted);
  margin: 12px 0;
  line-height: 1.4;
}

.check input {
  margin-top: 3px;
  accent-color: var(--teal);
}

.err {
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 6px;
}

.build-steps {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.build-steps li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.25s ease;
}

.build-steps li.done {
  color: var(--ink);
}

.build-steps li .dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  flex: 0 0 auto;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.build-steps li.done .dot {
  background: var(--mint);
  border-color: var(--mint);
  color: #065f46;
}

.build-steps li.run .dot {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
  animation: pulseDot 1s ease infinite;
}

@keyframes pulseDot {
  50% {
    transform: scale(1.08);
  }
}

.plans {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.plan {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
  position: relative;
}

.plan.hot {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.1), rgba(255, 255, 255, 0.95));
}

.plan .tag {
  position: absolute;
  top: -10px;
  right: 12px;
  background: linear-gradient(120deg, var(--teal-deep), var(--teal));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}

.plan h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.plan .price {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.plan .price small {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  margin-left: 4px;
}

.plan ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.84rem;
}

.plan ul li {
  margin: 4px 0;
}

.faq {
  margin-top: 22px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.82);
  margin-top: 8px;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
}

.faq p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  margin: 8px 0 0;
}

.footer {
  margin-top: auto;
  padding-top: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
  animation: rise 0.7s ease 0.12s both;
}

.footer nav {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--muted);
}

.footer a:hover {
  color: var(--teal);
}

.hidden {
  display: none !important;
}

.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(10, 28, 24, 0.48);
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 40;
  backdrop-filter: blur(4px);
  animation: rise 0.25s ease both;
}

.modal {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
