/* ==========================================================================
   AdsCat (adscat.shop) - Fintech Light Design System
   ========================================================================== */

:root {
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --surface: #ffffff;
  --surface-dark: #0f172a;
  --surface-dark-2: #1e293b;
  --text: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --accent: #ff6b35;
  --accent-dark: #ea580c;
  --accent-amber: #f59e0b;
  --accent-soft: #fff7ed;
  --accent-border: #fed7aa;

  --trust: #2563eb;
  --trust-soft: #eff6ff;
  --emerald: #10b981;
  --emerald-soft: #ecfdf5;
  --danger: #dc2626;
  --danger-soft: #fef2f2;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 4px 10px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 50px -12px rgba(15, 23, 42, 0.12), 0 8px 18px -6px rgba(15, 23, 42, 0.05);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  display: block;
}

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

button,
input,
select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ---------- Header / Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 6px 14px rgba(255, 107, 53, 0.22);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-name .dot {
  color: var(--accent);
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.16s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 10px;
  background: var(--surface-dark);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease;
}

.header-cta:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

/* ---------- Hero + Recharge Grid ---------- */
.hero-section {
  position: relative;
  padding: 36px 0 64px;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(255, 107, 53, 0.09), transparent 65%),
    radial-gradient(760px 420px at 92% 10%, rgba(37, 99, 235, 0.08), transparent 65%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
}

.hero-copy {
  padding-top: 12px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: #c2410c;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.22);
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.028em;
  color: var(--text);
}

.hero-subtitle {
  margin: 0 0 26px;
  font-size: 1.04rem;
  color: var(--text-muted);
  max-width: 52ch;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 9px;
}

.trust-icon.orange {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.trust-icon.blue {
  background: var(--trust-soft);
  color: var(--trust);
}

.trust-icon.green {
  background: var(--emerald-soft);
  color: #059669;
}

.trust-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.trust-card span {
  display: block;
  font-size: 0.77rem;
  color: var(--text-light);
  line-height: 1.4;
}

.hero-callout {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.hero-callout-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.96rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 8px;
}

.hero-callout p {
  margin: 0;
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-outline-soft {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  transition: all 0.16s ease;
}

.btn-outline-soft:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* ---------- Recharge Form Card ---------- */
.checkout-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.checkout-header h2 {
  margin: 0 0 2px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

.checkout-header p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-light);
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--trust-soft);
  color: var(--trust);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.checkout-form {
  padding: 20px 24px 24px;
}

.form-block {
  margin-bottom: 20px;
}

.block-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  margin-bottom: 13px;
}

.field:last-child {
  margin-bottom: 0;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.help-trigger {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--trust);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.help-popover {
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--trust-soft);
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: 0.8rem;
  line-height: 1.5;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  pointer-events: none;
  user-select: none;
}

.input-control {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: #ffffff;
  color: var(--text);
  font-size: 0.93rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-control.with-prefix {
  padding-left: 48px;
}

.input-control.with-dollar {
  padding-left: 30px;
  font-weight: 700;
}

.input-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3.5px rgba(255, 107, 53, 0.16);
}

.input-control.is-invalid {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.field-hint {
  margin: 5px 0 0;
  font-size: 0.75rem;
  color: var(--text-light);
}

.field-error {
  margin: 5px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--danger);
  display: none;
}

.field-error.visible {
  display: block;
}

/* Amount Presets */
.amount-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.preset-btn {
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.preset-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(255, 107, 53, 0.25);
}

/* Order Summary Box */
.summary-box {
  margin-top: 12px;
  padding: 13px 15px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
}

.summary-row.total {
  margin-top: 6px;
  padding-top: 9px;
  border-top: 1px dashed var(--border-strong);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text);
}

.summary-row.total .val {
  color: var(--accent-dark);
  font-size: 1.08rem;
}

.eta-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: #047857;
  font-size: 0.76rem;
  font-weight: 700;
}

/* Stripe Panel */
.stripe-panel {
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 15px;
  background: #fbfdff;
}

.stripe-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.stripe-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4f46e5;
}

.card-logos {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.card-badge.detected {
  border-color: #4f46e5;
  color: #4f46e5;
  background: #eef2ff;
}

.stripe-notice {
  margin-bottom: 12px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #3730a3;
  font-size: 0.77rem;
  line-height: 1.45;
}

.stripe-element-box {
  padding: 13px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: #ffffff;
}

.card-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

/* Consent Checkbox */
.consent-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 10px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}

.consent-box input[type='checkbox'] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.consent-box label {
  font-size: 0.8rem;
  color: #431407;
  line-height: 1.5;
  cursor: pointer;
}

.inline-link-btn {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  height: 50px;
  margin-top: 10px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #f97316 55%, var(--accent-amber) 100%);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 24px -6px rgba(255, 107, 53, 0.45);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

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

.submit-subnote {
  margin: 11px 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
}

.submit-subnote a {
  color: var(--accent-dark);
  font-weight: 700;
}

/* ---------- Shared Section Styling ---------- */
.section {
  padding: 68px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-head p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* ---------- Process 4-Step Grid ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-num {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- Split Billing Transparency ---------- */
.billing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.pillars-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon.safe {
  background: var(--emerald-soft);
  color: #059669;
}

.pillar-card h3 {
  margin: 0 0 5px;
  font-size: 1rem;
  font-weight: 800;
}

.pillar-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.example-card {
  background: var(--surface-dark);
  color: #f8fafc;
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}

.example-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.example-head h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
}

.example-badge {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fcd34d;
  font-size: 0.78rem;
  font-weight: 700;
}

.ledger-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ledger-row strong {
  display: block;
  font-size: 0.88rem;
  color: #f8fafc;
}

.ledger-row span {
  display: block;
  font-size: 0.76rem;
  color: #94a3b8;
}

.ledger-amount {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}

.ledger-total {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ledger-total span {
  font-size: 0.88rem;
  font-weight: 700;
  color: #a7f3d0;
}

.ledger-total strong {
  font-size: 1.02rem;
  font-weight: 800;
  color: #34d399;
}

.example-footnote {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.55;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  overflow: hidden;
  transition: border-color 0.16s ease;
}

.faq-item.open {
  border-color: var(--accent-border);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent-dark);
}

.faq-panel {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-item.open .faq-panel {
  display: block;
}

/* ---------- Support Banner ---------- */
.support-card {
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 50%, #eff6ff 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-md);
}

.support-copy {
  max-width: 620px;
}

.support-copy h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  font-weight: 800;
}

.support-copy p {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.support-hours {
  font-size: 0.82rem !important;
  font-weight: 600;
  color: var(--text-light) !important;
}

.support-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  min-width: 310px;
  box-shadow: var(--shadow-sm);
}

.support-box-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 6px;
}

.support-email-text {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  word-break: break-all;
}

.support-actions {
  display: flex;
  gap: 10px;
}

.btn-dark {
  flex: 1;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--surface-dark);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-dark:hover {
  background: #1e293b;
}

.btn-accent-outline {
  flex: 1;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface-dark);
  color: #cbd5e1;
  padding: 52px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.footer-brand span {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-desc {
  margin: 0;
  font-size: 0.85rem;
  color: #94a3b8;
  max-width: 34ch;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a,
.footer-col button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #94a3b8;
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
}

.footer-col a:hover,
.footer-col button:hover {
  color: #fbbf24;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.78rem;
  color: #64748b;
}

/* ---------- Modals & Toast ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.modal-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: #047857;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.modal-dialog h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
  font-weight: 800;
}

.modal-lead {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.order-kv-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  padding: 12px 15px;
  margin-bottom: 18px;
}

.order-kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
}

.order-kv:last-child {
  border-bottom: 0;
}

.order-kv span {
  color: var(--text-light);
}

.order-kv strong {
  color: var(--text);
  text-align: right;
  word-break: break-word;
}

.modal-actions {
  display: flex;
  gap: 10px;
}

.legal-body p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 80;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--surface-dark);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid,
  .billing-layout {
    grid-template-columns: 1fr;
  }

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

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

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

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-cta {
    display: none;
  }

  .trust-cards,
  .form-grid-2,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-row-3 {
    grid-template-columns: 1fr 1fr;
  }

  .card-row-3 .field:last-child {
    grid-column: span 2;
  }

  .checkout-header,
  .checkout-form {
    padding-left: 16px;
    padding-right: 16px;
  }

  .support-card {
    padding: 22px;
  }

  .support-box {
    min-width: 0;
  }

  .modal-actions {
    flex-direction: column;
  }
}
