:root {
  --bg: #020707;
  --panel: rgba(11, 30, 28, 0.72);
  --panel-strong: rgba(13, 42, 38, 0.9);
  --line: rgba(75, 255, 225, 0.2);
  --text: #f5fffc;
  --muted: rgba(245, 255, 252, 0.68);
  --muted-2: rgba(245, 255, 252, 0.48);
  --accent: #34f3d1;
  --accent-2: #00bfa6;
  --shadow: 0 0 60px rgba(0, 255, 213, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 45% 10%, rgba(0, 255, 213, 0.2), transparent 30%),
    radial-gradient(circle at 95% 35%, rgba(0, 170, 150, 0.16), transparent 32%),
    linear-gradient(135deg, #000303 0%, #04100f 45%, #000303 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  margin-top: 14px;
  background: rgba(3, 13, 12, 0.74);
  border: 1px solid rgba(67, 255, 220, 0.18);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(52, 243, 209, 0.38);
  box-shadow: 0 0 28px rgba(52, 243, 209, 0.2);
  background: #061211;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.55); }
.brand-text { display: grid; line-height: 1; }
.brand-text span { font-weight: 900; letter-spacing: -0.04em; font-size: 20px; }
.brand-text small { color: var(--accent); letter-spacing: 0.18em; text-transform: uppercase; font-size: 10px; margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--accent); }
.header-action, .primary-btn, .telegram-btn {
  border: none;
  border-radius: 16px;
  color: #00110f;
  background: linear-gradient(135deg, var(--accent), #37d69a);
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(52, 243, 209, 0.22);
}
.header-action { padding: 14px 18px; }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  padding: 72px 0 54px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 800;
  background: rgba(52, 243, 209, 0.08);
}
.eyebrow span { width: 9px; height: 9px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 22px var(--accent); }
.hero h1 {
  margin: 26px 0 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.9;
  letter-spacing: -0.075em;
  max-width: 760px;
}
.hero-lead { color: var(--muted); font-size: 19px; line-height: 1.65; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0; }
.primary-btn, .ghost-btn, .telegram-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 24px; }
.ghost-btn { border: 1px solid var(--line); border-radius: 16px; color: var(--text); font-weight: 800; background: rgba(255,255,255,0.04); }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 650px; }
.trust-row div { padding: 18px; border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; background: rgba(255,255,255,0.035); }
.trust-row strong { display: block; font-size: 18px; }
.trust-row span { display: block; margin-top: 6px; color: var(--muted-2); font-size: 13px; }

.hero-card {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(52, 243, 209, 0.22);
  border-radius: 42px;
  background: linear-gradient(160deg, rgba(52, 243, 209, 0.14), rgba(255,255,255,0.025));
  box-shadow: var(--shadow), inset 0 0 80px rgba(52, 243, 209, 0.08);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero-card img { width: min(76%, 430px); filter: drop-shadow(0 0 38px rgba(52, 243, 209, 0.32)); border-radius: 36px; }
.orb { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(52, 243, 209, 0.24); filter: blur(80px); }
.card-line { position: absolute; height: 1px; width: 80%; background: linear-gradient(90deg, transparent, rgba(52, 243, 209, 0.55), transparent); }
.card-line.top { top: 76px; }
.card-line.bottom { bottom: 76px; }

.exchange-section, .process {
  padding: 56px;
  border: 1px solid rgba(52, 243, 209, 0.18);
  border-radius: 42px;
  background: rgba(2, 13, 12, 0.56);
  box-shadow: 0 20px 90px rgba(0,0,0,0.2);
}
.section-heading { max-width: 720px; margin-bottom: 30px; }
.section-heading span, .process-copy span { color: var(--accent); font-weight: 900; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; }
.section-heading h2, .process-copy h2 { margin: 10px 0; font-size: clamp(30px, 4vw, 52px); line-height: 1; letter-spacing: -0.05em; }
.section-heading p, .process-copy p { color: var(--muted); line-height: 1.7; }
.calculator-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 24px; }
.calculator-card, .result-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px;
  padding: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(52, 243, 209, 0.07));
}
.field-label { display: block; margin: 0 0 10px; color: var(--muted-2); font-weight: 800; font-size: 13px; }
.amount-input, .select-input {
  width: 100%;
  min-height: 62px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--text);
  font: inherit;
  font-weight: 900;
  padding: 0 18px;
  outline: none;
}
.amount-input { font-size: 28px; }
.currency-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
.swap-btn {
  width: 100%;
  min-height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(52, 243, 209, 0.38);
  background: rgba(52, 243, 209, 0.1);
  color: #bafef2;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.rate-box { margin-top: 18px; padding: 20px; border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; background: rgba(0,0,0,0.18); }
.rate-box span { display: block; color: var(--muted-2); font-weight: 800; margin-bottom: 10px; }
.rate-box strong { font-size: 20px; }
.result-badge { display: inline-flex; padding: 8px 14px; border-radius: 999px; color: #bafef2; background: rgba(52, 243, 209, 0.13); font-weight: 900; }
.result-card p { color: var(--muted-2); font-weight: 800; margin-top: 22px; }
.result-value { margin: 12px 0 20px; font-size: clamp(40px, 5vw, 70px); line-height: 1; font-weight: 900; letter-spacing: -0.06em; color: var(--accent); }
.result-note { color: var(--muted); line-height: 1.7; margin-bottom: 26px; }
.telegram-btn { width: 100%; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 28px 0; }
.benefits article {
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 30px;
  background: rgba(255,255,255,0.035);
}
.benefits span { color: var(--accent); font-weight: 900; }
.benefits h3 { font-size: 23px; margin: 18px 0 10px; }
.benefits p { color: var(--muted); line-height: 1.65; }

.process { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 30px; margin-bottom: 24px; }
.steps { display: grid; gap: 14px; }
.steps div { padding: 22px; border: 1px solid rgba(255,255,255,0.09); border-radius: 24px; background: rgba(255,255,255,0.035); }
.steps b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #00110f; margin-right: 12px; }
.steps strong { font-size: 18px; }
.steps p { color: var(--muted); line-height: 1.55; margin: 12px 0 0; }
.footer { display: flex; justify-content: space-between; align-items: center; padding: 32px 0 48px; color: var(--muted); }
.footer strong { display: block; color: var(--text); }
.footer a { color: var(--accent); font-weight: 900; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero, .calculator-grid, .process { grid-template-columns: 1fr; }
  .hero { padding-top: 42px; min-height: auto; }
  .hero-card { min-height: 420px; }
  .exchange-section, .process { padding: 28px; border-radius: 30px; }
  .benefits, .trust-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 22px, 1180px); }
  .header { top: 8px; border-radius: 18px; }
  .brand-text span { font-size: 17px; }
  .header-action { display: none; }
  .hero h1 { font-size: 44px; }
  .hero-card { min-height: 340px; border-radius: 30px; }
  .currency-row { grid-template-columns: 1fr; }
  .calculator-card, .result-card, .benefits article { padding: 20px; border-radius: 24px; }
  .footer { display: grid; gap: 16px; }
}
