:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe4ee;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --success: #0f766e;
  --warning-bg: #fff7ed;
  --warning-line: #fdba74;
  --warning-text: #9a3412;
  --danger: #b91c1c;
  --shadow: 0 16px 50px rgba(15, 23, 42, .09);
  --radius: 20px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; }
button, input, select { font: inherit; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.narrow { width: min(820px, calc(100% - 32px)); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  padding: 10px 14px;
  background: #fff;
  border-radius: 10px;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219,228,238,.85);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand span:last-child {
  display: grid;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: .78rem;
  margin-top: 4px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb, #0f766e);
  box-shadow: 0 8px 20px rgba(37,99,235,.24);
}

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

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 650;
  font-size: .95rem;
}

.main-nav a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
}

.hero {
  padding: 86px 0 64px;
  background:
    radial-gradient(circle at 90% 10%, rgba(37,99,235,.11), transparent 34%),
    radial-gradient(circle at 15% 90%, rgba(15,118,110,.09), transparent 30%);
}

.hero-grid,
.recharge-layout,
.info-grid,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 42px;
  align-items: center;
}

.hero h1 {
  margin: 12px 0 20px;
  font-size: clamp(2.45rem, 6vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -.055em;
  max-width: 760px;
}

.hero-copy > p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .78rem;
  font-weight: 800;
}

.notice {
  margin-top: 26px;
  padding: 18px 20px;
  display: grid;
  gap: 3px;
  border: 1px solid var(--warning-line);
  background: var(--warning-bg);
  color: var(--warning-text);
  border-radius: 16px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 13px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 750;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  color: #fff;
  background: var(--primary);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.full-width { width: 100%; }

.card,
.trust-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust-card { padding: 28px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #065f46;
  font-size: .82rem;
  font-weight: 750;
}

.status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.trust-card h2 {
  margin: 20px 0 10px;
  font-size: 1.65rem;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
}

.check-list.danger li::before {
  content: "×";
  color: var(--danger);
}

.section { padding: 82px 0; }
.section-alt { background: var(--surface-soft); }

.section-heading {
  margin-bottom: 32px;
  max-width: 760px;
}

.section-heading.compact { margin-bottom: 20px; }

.section-heading h2 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.section-heading p,
.muted { color: var(--muted); }

.recharge-layout { align-items: start; }

.form-card,
.summary-card,
.payment-panel,
.contact-card,
.info-grid .card {
  padding: 28px;
}

.step-label {
  color: var(--primary);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 12px;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
}

legend {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 18px;
}

label {
  display: block;
  margin: 18px 0 7px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  height: 50px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  color: var(--text);
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

.field-help,
.error-message {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .85rem;
}

.error-message { color: var(--danger); min-height: 1.2em; }

.summary-card h3 { margin: 0 0 10px; font-size: 1.5rem; }

.summary-list { margin: 0; }

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; font-weight: 800; }

.payment-panel { margin-top: 28px; }

.hidden { display: none; }

.payment-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 86px;
  padding: 16px;
  text-align: left;
  border: 1px solid #d1d5db;
  border-radius: 15px;
  background: #f3f4f6;
  color: #6b7280;
  cursor: not-allowed;
  opacity: .82;
}

.payment-option span:last-child { display: grid; }
.payment-option small { margin-top: 4px; }

.payment-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #e5e7eb;
  font-weight: 900;
}

.maintenance-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 15px;
  background: var(--warning-bg);
  border: 1px solid var(--warning-line);
  color: var(--warning-text);
}

.maintenance-box p { margin: 6px 0 0; }

.steps-grid { align-items: stretch; }

.step-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-card > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 900;
}

.step-card h3 { margin: 18px 0 8px; }
.step-card p { margin: 0; color: var(--muted); }

.info-grid,
.contact-grid { align-items: start; }

.contact-card { font-style: normal; }
.contact-card p { margin: 8px 0; }

.replace-me {
  color: #991b1b;
  background: #fee2e2;
  border-radius: 6px;
  padding: 1px 5px;
  font-weight: 800;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

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

.faq p { color: var(--muted); }

.legal-block {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-block h3 {
  font-size: 1.75rem;
  margin: 0 0 18px;
}

.legal-block h4 { margin: 24px 0 8px; }
.legal-block p { color: #334155; }

.site-footer {
  padding: 58px 0 22px;
  background: #0f172a;
  color: #e2e8f0;
}

.footer-grid {
  grid-template-columns: 1.4fr .7fr .9fr;
  align-items: start;
}

.footer-grid > div {
  display: grid;
  gap: 9px;
}

.footer-grid a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-grid p { color: #94a3b8; max-width: 520px; }

.footer-brand .brand-mark { box-shadow: none; }
.footer-brand small { color: #94a3b8; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid #334155;
  color: #94a3b8;
  font-size: .9rem;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(15,23,42,.2);
}

.cookie-banner p {
  margin: 3px 0 0;
  color: var(--muted);
}

.cookie-banner.is-hidden { display: none; }

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: grid; }
  .hero { padding-top: 54px; }
  .hero-grid,
  .recharge-layout,
  .info-grid,
  .contact-grid,
  .footer-grid,
  .payment-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .trust-card { margin-top: 10px; }
}

@media (max-width: 560px) {
  .container, .narrow { width: min(100% - 22px, 1120px); }
  .section { padding: 62px 0; }
  .hero h1 { font-size: 2.7rem; }
  .hero-actions,
  .cookie-banner,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }
  .btn { width: 100%; }
  .form-card,
  .summary-card,
  .payment-panel,
  .contact-card,
  .trust-card,
  .info-grid .card { padding: 21px; }
}
