:root {
  --bg: #030303;
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f7f7f7;
  --soft: #c8c8c8;
  --muted: #8b8b8b;
  --accent: #ffffff;
  --error: #ff8a7a;
  --success: #b8f7c5;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  touch-action: manipulation;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.96)),
    url("https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/77f55872-adf5-4910-9a7c-d21c0041bbe1_3840w.webp") center / cover,
    #030303;
}

button,
input,
textarea {
  font: inherit;
  font-size: 16px;
}

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 16px 28px;
}

.hero-card,
.result-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-card {
  min-height: calc(100vh - 44px);
  padding: 22px;
}

.result-card {
  margin-top: 14px;
  padding: 18px;
}

.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(42px);
}

.glow--left {
  left: -120px;
  top: 80px;
  width: 220px;
  height: 360px;
  background: rgba(255, 255, 255, 0.16);
}

.glow--bottom {
  right: -80px;
  bottom: -90px;
  width: 240px;
  height: 220px;
  background: rgba(255, 255, 255, 0.12);
}

.brand-pill,
.section-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--soft);
}

.brand-pill {
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.95);
}

h1 {
  position: relative;
  margin: 28px 0 0;
  color: var(--text);
  font-size: 42px;
  line-height: 0.96;
  letter-spacing: -0.08em;
}

.lead {
  position: relative;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.tariffs {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.tariff {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-align: left;
}

.tariff--active {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.tariff span,
label span {
  display: block;
  color: var(--soft);
  font-size: 14px;
}

.tariff strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.08em;
}

.tariff small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.main-button,
.ghost-button,
.copy-button {
  position: relative;
  width: 100%;
  min-height: 56px;
  margin-top: 16px;
  border-radius: 18px;
  font-weight: 700;
}

.main-button {
  color: #050505;
  background: #f8f8f8;
}

.ghost-button {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.1);
}

.copy-button {
  min-height: 48px;
  color: var(--soft);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  font-size: 14px;
}

.main-button:disabled,
.ghost-button:disabled,
.copy-button:disabled {
  opacity: 0.55;
}

.status {
  position: relative;
  min-height: 24px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.status--error {
  color: var(--error);
}

.status--success {
  color: var(--success);
}

.hidden {
  display: none;
}

.section-title {
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 14px;
}

.section-title span {
  color: var(--soft);
}

.section-title b {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.muted {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.muted a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}

.activation-note,
.activation-note a {
  color: #ff6b5f;
}

.activation-note a {
  text-decoration-color: rgba(255, 107, 95, 0.7);
}

.order-data {
  margin-top: 16px;
}

label {
  display: block;
  margin-top: 14px;
}

input,
textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
}

textarea {
  min-height: 112px;
  resize: none;
}

@media (max-width: 360px) {
  .app-shell {
    padding: 12px 10px 18px;
  }

  .hero-card {
    min-height: calc(100vh - 24px);
    padding: 18px;
  }

  h1 {
    font-size: 36px;
  }
}
