:root {
  --bg: #ffffff;
  --bg2: #f4f3ef;
  --card: #1a1a1a;
  --card2: #242424;
  --border: #e8e6e0;
  --bdark: #2e2e2e;
  --accent: #f6bb11;
  --accent2: #d9a50e;
  --text: #0a0a0a;
  --tlight: #f4f3ef;
  --muted: #666;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* inputs never zoom on iOS */
input,
select,
textarea {
  font-size: 16px !important;
  font-family: "Inter", sans-serif;
  -webkit-appearance: none;
  appearance: none;
}

/* Header */
header {
  padding: 24px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo-suite {
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
}
.lang-wrap {
  display: flex;
  gap: 6px;
}
.lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}
.lang-btn.active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

/* Hero */
.hero {
  text-align: center;
  padding: 48px 0 40px;
}
.hero-badge {
  display: inline-block;
  background: var(--bg2);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -1px;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.hero p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 20px;
  font-size: 17px;
}
.trust-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

/* Sections */
.sec {
  margin-top: 44px;
}
.sec-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sec-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sec-title {
  font-size: 18px;
  font-weight: 600;
}

/* Cards */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.card-dark {
  background: var(--card);
  border: 1px solid var(--bdark);
  border-radius: 16px;
  padding: 24px;
}
.card-dark * {
  color: var(--tlight);
}
.card-dark .muted {
  color: #aaa !important;
}

/* Step 1 inputs */
.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 520px) {
  .input-row {
    grid-template-columns: 1fr;
  }
}
.input-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}
.input-group input {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 42px !important;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
.auto-note {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

/* Tools */
.tools-hint {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.cat-block {
  margin-bottom: 20px;
}
.cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.cat-icon {
  font-size: 15px;
}
.cat-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.cat-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--border);
  padding: 2px 7px;
  border-radius: 20px;
  margin-left: 4px;
}

.tool-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: border-color 0.12s;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}
.tool-row.active {
  border-color: var(--accent);
  background: rgba(246, 187, 17, 0.04);
}
.tool-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s;
}
.tool-dot.on {
  background: var(--text);
  border-color: var(--text);
}
.tool-dot.on::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  display: block;
}
.tool-info {
  flex: 1;
  min-width: 0;
}
.tool-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.tool-desc {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}
.tool-price-wrap {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.tool-curr {
  font-size: 12px;
  color: var(--muted);
}
.tool-price-wrap input {
  width: 72px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 7px;
  font-size: 14px !important;
  font-weight: 600;
  text-align: right;
  color: var(--text);
}
.tool-mo {
  font-size: 11px;
  color: var(--accent2);
  min-width: 72px;
  text-align: right;
  flex-shrink: 0;
  font-weight: 600;
}

/* Custom tool row */
.cust-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1.5px dashed var(--border);
  border-radius: 10px;
  margin-top: 4px;
}
.cust-row:focus-within {
  border-color: var(--accent);
  border-style: solid;
}
.cust-plus {
  font-size: 14px;
  color: var(--muted);
  flex-shrink: 0;
}
.cust-name {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px !important;
  font-weight: 500;
  color: var(--text);
  background: transparent;
}
.cust-name::placeholder {
  color: #bbb;
}
.cust-sep {
  width: 1px;
  height: 18px;
  background: var(--border);
  flex-shrink: 0;
}
.cust-billing {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 5px;
  font-size: 12px !important;
  color: var(--muted);
  background: #fff;
  flex-shrink: 0;
  outline: none;
}
.cust-curr {
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
}
.cust-price {
  width: 62px;
  border: none;
  outline: none;
  font-size: 14px !important;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  text-align: right;
}
.cust-price::placeholder {
  color: #bbb;
}
.cust-mo {
  font-size: 11px;
  color: var(--accent2);
  min-width: 60px;
  text-align: right;
  font-weight: 600;
  flex-shrink: 0;
}

/* Billing / plan */
.bill-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.bill-btn {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Inter", sans-serif;
  touch-action: manipulation;
  -webkit-appearance: none;
}
.bill-btn.active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
.bill-save {
  background: var(--accent);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
}
.plan-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.plan-tab {
  flex: 1;
  padding: 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  touch-action: manipulation;
}
.plan-tab.active {
  background: var(--card);
  border-color: var(--card);
}
.plan-tab-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.plan-tab.active .plan-tab-title {
  color: var(--tlight);
}
.plan-tab-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.plan-tab.active .plan-tab-sub {
  color: #888;
}
.rec-banner {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.pkg-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pkg-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  touch-action: manipulation;
}
.pkg-opt.active {
  background: var(--card);
  border-color: var(--card);
}
.pkg-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pkg-opt.active .pkg-dot {
  background: var(--card2);
  border-color: var(--accent);
}
.pkg-opt.active .pkg-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}
.pkg-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.pkg-opt.active .pkg-label {
  color: var(--tlight);
}
.pkg-sub {
  font-size: 11px;
  color: var(--muted);
}
.pkg-opt.active .pkg-sub {
  color: #888;
}
.pkg-price {
  margin-left: auto;
  text-align: right;
}
.pkg-price-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.pkg-opt.active .pkg-price-val {
  color: var(--accent);
}
.pkg-price-unit {
  font-size: 10px;
  color: var(--muted);
}
.pkg-opt.active .pkg-price-unit {
  color: #666;
}
.pkg-info {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* Step 4 */
.upsell-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
@media (max-width: 600px) {
  .upsell-block {
    flex-direction: column;
    gap: 12px;
  }
}
.upsell-text {
  flex: 1;
}
.upsell-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--tlight);
  margin-bottom: 3px;
}
.upsell-text span {
  font-size: 12px;
  color: #aaa;
}
.upsell-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.upsell-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.upsell-lbl {
  font-size: 12px;
  color: #aaa;
  white-space: nowrap;
}
.upsell-unit {
  font-size: 16px;
  color: var(--tlight);
  font-weight: 600;
}
.upsell-inp {
  background: var(--card2);
  border: 1px solid var(--bdark);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--tlight);
  font-size: 22px !important;
  font-weight: 700;
  text-align: right;
  width: 100px;
}
.upsell-inp.wide {
  width: 120px;
}
.upsell-computed {
  font-size: 12px;
  color: var(--accent);
  text-align: right;
  font-weight: 600;
  padding-top: 2px;
}
.upsell-divider {
  border: none;
  border-top: 1px solid #333;
  margin: 4px 0;
}

/* Results */
.res-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
@media (max-width: 860px) {
  .res-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 520px) {
  .res-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.res-card {
  background: var(--card);
  border: 1px solid var(--bdark);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
}
.res-card.hl {
  border-color: var(--accent);
}
.res-card.up {
  border-color: rgba(246, 187, 17, 0.35);
}
.res-lbl {
  font-size: 11px;
  font-weight: 600;
  color: #aaa;
  margin-bottom: 6px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
}
.res-val {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 3px;
}
.res-sub {
  font-size: 10px;
  color: #666;
}

.ann-strip {
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--bdark);
  border-radius: 12px;
  padding: 18px 12px;
  gap: 4px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.ann-item {
  text-align: center;
  padding: 6px 10px;
}
.ann-val {
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
  color: var(--tlight);
}
.ann-lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #888;
  font-weight: 600;
}
.ann-sep {
  font-size: 18px;
  color: #555;
  padding: 0 2px;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 560px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
.stat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
}
.stat-badge {
  display: inline-block;
  background: var(--card);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-num .acc {
  color: var(--accent);
}
.stat-lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* Breakdown */
.breakdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.breakdown-table th {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--border);
}
.breakdown-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
}
.breakdown-table tr:last-child td {
  border-bottom: none;
}
.td-r {
  text-align: right;
  font-weight: 600;
}
.td-tot-row td {
  border-top: 2px solid var(--border);
  font-weight: 700;
  background: var(--bg2);
}
.zero-state {
  text-align: center;
  color: var(--muted);
  padding: 24px !important;
}

/* Lead form */
.lead-card {
  background: var(--card);
  border-radius: 18px;
  padding: 32px 28px;
}
@media (max-width: 520px) {
  .lead-card {
    padding: 22px 16px;
  }
}
.lead-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--tlight);
  margin-bottom: 5px;
}
.lead-card > p {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 24px;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) {
  .lead-grid {
    grid-template-columns: 1fr;
  }
}
.lead-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lead-field.full {
  grid-column: 1/-1;
}
.lead-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.lead-req {
  color: var(--accent);
}
.lead-opt {
  color: #555;
  font-weight: 400;
  text-transform: none;
}
.lead-inp {
  background: #222;
  border: 1.5px solid #333;
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--tlight);
  font-size: 16px !important;
  width: 100%;
}
.lead-inp:focus {
  outline: none;
  border-color: var(--accent);
}
.lead-inp::placeholder {
  color: #555;
}
.lead-inp.err {
  border-color: #f44 !important;
}
.lead-err {
  font-size: 11px;
  color: #f77;
  display: none;
}
.lead-btn {
  margin-top: 18px;
  width: 100%;
  background: var(--accent);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
}
.lead-btn:active {
  background: var(--accent2);
}
.lead-ok {
  display: none;
  text-align: center;
  padding: 28px 16px;
}
.lead-ok .icon {
  font-size: 50px;
  margin-bottom: 12px;
}
.lead-ok h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--tlight);
  margin-bottom: 8px;
}
.lead-ok p {
  color: #aaa;
  font-size: 13px;
}

.disclaimer {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  padding: 0 0 32px;
  line-height: 1.6;
}
