/* ── SimpleProxy landing page ── */

.is-hidden { display: none !important; }

#pricing { scroll-margin-top: 88px; }

#billingSwitch { margin-top: 24px; margin-bottom: 0; }

/* ── hero ── */
.hero {
  padding: 72px 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-copy { max-width: 560px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  margin-bottom: 22px;
}

.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(116, 213, 138, 0.7);
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(44px, 5.2vw, 70px);
  line-height: 1.0;
  letter-spacing: -0.04em;
}

h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #c4d4e3 20%, #74879b 60%, #526880);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

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

.btn-primary {
  background: var(--blue);
  color: var(--text);
  box-shadow: none;
  border-radius: 14px;
  font-size: 15px;
  min-height: 50px;
  padding: 0 28px;
}

.btn-primary:hover { opacity: 0.88; transform: none; box-shadow: none; }

.btn-secondary {
  border-radius: 14px;
  font-size: 15px;
  min-height: 50px;
  padding: 0 24px;
  background: rgba(116, 135, 155, 0.08);
  border: 1px solid var(--line);
  color: var(--muted);
  box-shadow: none;
}

.btn-secondary:hover { color: var(--text); opacity: 1; transform: none; }

.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.hero-tag {
  font-size: 13px;
  color: var(--muted);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
}

/* ── phone mockup ── */
.phone-wrap { display: flex; justify-content: center; align-items: center; }

.phone-frame {
  width: 272px;
  background: #1a2640;
  border: 1px solid var(--line);
  border-radius: 46px;
  padding: 14px;
  box-shadow: 0 48px 96px rgba(0,0,0,0.45), 0 0 0 1px rgba(116,135,155,0.06);
}

.phone-notch {
  width: 72px; height: 22px;
  background: #111b2e;
  border-radius: 999px;
  margin: 0 auto 14px;
}

.phone-screen {
  background: linear-gradient(180deg, #1c2740 0%, #16203a 100%);
  border-radius: 34px;
  padding: 18px 16px;
  min-height: 468px;
  display: flex;
  flex-direction: column;
}

.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.mock-brand {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; color: var(--text);
}

.mock-brand img { width: 22px; height: 22px; border-radius: 7px; }

.mock-chip {
  font-size: 10px; font-weight: 700;
  padding: 4px 9px; border-radius: 999px;
  color: var(--green);
  background: rgba(116, 213, 138, 0.10);
  border: 1px solid rgba(116, 213, 138, 0.25);
}

.mock-connect {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 20px; padding: 8px 0 20px;
}

.mock-ring {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--blue);
  display: grid; place-items: center;
  box-shadow:
    0 0 0 14px rgba(116, 135, 155, 0.10),
    0 0 0 28px rgba(116, 135, 155, 0.05);
}

.mock-ring-label {
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text);
}

.mock-status {
  font-size: 11px; font-weight: 600;
  color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}

.mock-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 5px rgba(116, 213, 138, 0.7);
}

.mock-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.mock-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

.mock-card-label { font-size: 9px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.mock-card-val   { font-size: 11px; font-weight: 600; color: var(--text); }

/* ── sections ── */
section.block { padding: 60px 0; }
section.block + section.block { border-top: 1px solid var(--line); }

.section-head h2 { color: var(--text); }
.section-head p  { color: var(--muted); max-width: 600px; }

/* ── about ── */
.about-wrap { max-width: 640px; }
.about-wrap p { margin: 0 0 12px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.about-wrap p:last-child { margin-bottom: 0; }

/* ── feature cards ── */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }

.feat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 24px;
}

.feat-icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(116, 135, 155, 0.10);
  border: 1px solid rgba(116, 135, 155, 0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

.feat-icon svg {
  width: 20px; height: 20px;
  stroke: var(--blue); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.feat-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.feat-card p  { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ── steps ── */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 40px; }

.step {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 26px 24px;
}

.step:first-child { border-radius: 20px 0 0 20px; }
.step:last-child  { border-radius: 0 20px 20px 0; }

.step-num { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.step h3  { margin: 0 0 8px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.step p   { margin: 0; font-size: 13px; line-height: 1.65; color: var(--muted); }

/* ── pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }

.plan-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: border-color 0.18s, transform 0.2s;
}

.plan-card:hover { border-color: var(--blue); transform: translateY(-4px); }

.plan-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(116, 135, 155, 0.10) 0%, var(--panel) 100%);
}

.plan-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(116, 135, 155, 0.12);
  border: 1px solid rgba(116, 135, 155, 0.25);
  color: var(--blue); align-self: flex-start; margin-bottom: 20px;
}

.plan-price-row { margin-bottom: 6px; }

.plan-amount {
  font-size: 52px; font-weight: 800; letter-spacing: -0.04em;
  line-height: 1; color: var(--text);
  font-variant-numeric: tabular-nums;
}

.plan-period { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan-year   { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.plan-title  { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin-bottom: 4px; }
.plan-sub    { font-size: 13px; color: var(--muted); margin-bottom: 22px; }

.plan-feats {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: flex; flex-direction: column; gap: 9px; flex: 1;
}

.plan-feats li {
  font-size: 14px; color: var(--muted);
  padding-left: 18px; position: relative; line-height: 1.5;
}

.plan-feats li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); opacity: 0.6;
}

.plan-cta {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 20px; border-radius: 12px;
  background: var(--blue); color: var(--text);
  font-weight: 700; font-size: 15px; transition: opacity 0.15s;
}

.plan-card:hover .plan-cta { opacity: 0.88; }

.plan-card-trial {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-color: rgba(116, 213, 138, 0.20);
}

.plan-card-trial:hover,
.plan-card-trial.is-active { border-color: rgba(116, 213, 138, 0.55); }

.plan-trial-left { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.plan-trial-mid  { flex: 1; min-width: 180px; }

.plan-card.is-active {
  border-color: rgba(116, 213, 138, 0.45);
  background: rgba(116, 213, 138, 0.05);
}

/* ── inline checkout panel ── */
.plan-checkout-panel {
  margin-top: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

#planSentView {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

#planSentView[hidden] { display: none; }

#planSentView strong { display: block; font-size: 18px; margin-bottom: 8px; }
#planSentView p      { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
#planSentView span   { color: var(--text); font-weight: 600; }

#planForm { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; }

.plan-form-field { grid-column: 1 / -1; }
.plan-form-field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.plan-form-field input {
  width: 100%;
  background: rgba(116, 135, 155, 0.06);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s;
}
.plan-form-field input:focus { border-color: rgba(116, 135, 155, 0.5); }

.plan-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  grid-column: 1;
  align-self: center;
}

.plan-consent input { width: 15px; height: 15px; accent-color: var(--blue); flex-shrink: 0; }
.plan-consent a { color: var(--text); text-underline-offset: 2px; }

.plan-error { grid-column: 1 / -1; font-size: 13px; color: #ff9090; margin: 0; }
.plan-error[hidden] { display: none; }

.plan-submit {
  padding: 13px 24px;
  border-radius: 12px;
  background: rgba(116, 135, 155, 0.15);
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0.5;
  transition: background 0.18s, opacity 0.18s, transform 0.15s;
  white-space: nowrap;
}

.plan-submit.consent-ok {
  background: var(--green);
  border-color: transparent;
  color: #0e1a2b;
  opacity: 1;
}

.plan-submit:hover  { transform: translateY(-1px); }
.plan-submit:active { transform: scale(0.98); }
.plan-submit:disabled { opacity: 0.55; cursor: wait; transform: none; }

@media (max-width: 640px) {
  #planForm { grid-template-columns: 1fr; }
  .plan-submit { width: 100%; }
}

/* ── faq ── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }

.faq-item {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px 24px;
}

.faq-item h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.faq-item p  { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ── cta bar ── */
.cta-bar {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 24px; padding: 44px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}

.cta-bar h2 { margin: 0 0 10px; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.03em; color: var(--text); }
.cta-bar p  { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.65; }

/* ── responsive ── */
@media (max-width: 1100px) {
  .phone-wrap { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
}

@media (max-width: 1024px) {
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; gap: 2px; }
  .step:first-child  { border-radius: 20px 0 0 0; }
  .step:nth-child(2) { border-radius: 0 20px 0 0; }
  .step:nth-child(3) { border-radius: 0 0 0 20px; }
  .step:last-child   { border-radius: 0 0 20px 0; }
  .cta-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .hero { padding: 40px 0 36px; gap: 28px; }
  .cards-3, .pricing-grid, .faq-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .step:first-child  { border-radius: 20px 20px 0 0; }
  .step:nth-child(2), .step:nth-child(3) { border-radius: 0; }
  .step:last-child   { border-radius: 0 0 20px 20px; }
  .cta-bar { padding: 28px; }
}
