:root {
  --bg: #090a0c;
  --surface: #111317;
  --surface-2: #17191d;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f7f4ec;
  --muted: #9b9da4;
  --gold: #f3be56;
  --gold-light: #ffe3a1;
  --orange: #d88728;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-geist-sans), Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

main { position: relative; min-height: 100vh; overflow: hidden; background:
  radial-gradient(circle at 50% 0%, rgba(180, 120, 36, .10), transparent 34rem),
  linear-gradient(180deg, #0a0b0d 0%, #08090b 100%); }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.ambient { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.ambient-one { width: 420px; height: 420px; background: rgba(224, 145, 42, .12); right: -180px; top: 500px; }
.ambient-two { width: 360px; height: 360px; background: rgba(252, 205, 104, .06); left: -160px; top: 1200px; }

.site-header { height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 47px; display: grid; place-items: center; background: linear-gradient(145deg, #ffc95c, #a75d16); clip-path: polygon(50% 0, 93% 18%, 88% 75%, 50% 100%, 12% 75%, 7% 18%); padding: 3px; }
.brand-mark > span { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font-size: 18px; background: linear-gradient(145deg, #34363b, #111216); clip-path: inherit; text-shadow: 0 2px 8px #fff7; }
.brand-mark.mini { width: 34px; height: 38px; }
.brand-name { font-weight: 760; font-size: 18px; letter-spacing: .18em; }
.brand-name b { color: var(--gold); }
.desktop-nav { display: flex; align-items: center; gap: 36px; color: #b6b8bd; font-size: 14px; }
.desktop-nav a { transition: color .2s ease; }
.desktop-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #111216; }
.lang-switch button { border: 0; background: transparent; border-radius: 8px; min-width: 40px; padding: 7px 8px; font-size: 12px; font-weight: 700; cursor: pointer; color: #777a82; transition: .2s ease; }
.lang-switch button.active { background: #292b30; color: #fff; box-shadow: inset 0 0 0 1px #3a3d44; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 14px; transition: transform .2s ease, filter .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); filter: brightness(1.06); }
.button svg { width: 18px; height: 18px; fill: currentColor; }
.button-small { min-height: 42px; padding: 0 16px; border: 1px solid #d99937; color: #17110a; background: linear-gradient(135deg, var(--gold-light), #e09a35); }
.button-primary { color: #1b1208; background: linear-gradient(135deg, #ffdd8a 0%, #e6a13a 48%, #f2be56 100%); box-shadow: 0 14px 40px rgba(224, 153, 44, .22), inset 0 1px 0 rgba(255,255,255,.55); }
.button-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.03); color: #d6d7da; }
.arrow { margin-left: 8px; font-size: 18px; }

.hero { min-height: 690px; padding: 76px 0 78px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 62px; position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; }
.eyebrow span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; border: 1px solid rgba(242, 187, 82, .3); background: rgba(242, 187, 82, .08); }
.hero h1 { margin: 24px 0 24px; max-width: 720px; font-size: clamp(50px, 5.7vw, 82px); line-height: .97; letter-spacing: -.055em; font-weight: 720; }
.hero h1 em { font-style: normal; color: var(--gold); text-shadow: 0 12px 46px rgba(228, 157, 53, .15); }
.hero-lead { max-width: 620px; color: var(--muted); font-size: 17px; line-height: 1.72; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.trust-row { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-row div { display: flex; flex-direction: column; gap: 7px; }
.trust-row span { color: #777a81; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.trust-row strong { font-size: 14px; color: #e9e6df; }

.hero-visual { position: relative; height: 520px; display: grid; place-items: center; }
.image-frame { position: relative; width: 440px; height: 440px; border-radius: 42px; overflow: hidden; transform: rotate(2.5deg); box-shadow: 0 40px 100px #000, 0 0 0 1px rgba(255,220,150,.18), 0 0 70px rgba(223, 139, 28, .18); z-index: 3; }
.image-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 42px rgba(0,0,0,.16); border-radius: inherit; pointer-events: none; }
.image-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.13) saturate(1.06); }
.visual-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(238,183,81,.13); }
.ring-one { width: 520px; height: 520px; animation: spin 30s linear infinite; border-style: dashed; }
.ring-two { width: 600px; height: 600px; border-color: rgba(255,255,255,.05); }
@keyframes spin { to { transform: rotate(360deg); } }
.floating-chip { position: absolute; z-index: 5; display: flex; align-items: center; gap: 11px; padding: 13px 17px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(20,21,24,.86); box-shadow: 0 16px 50px #0009; backdrop-filter: blur(18px); }
.floating-chip > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #fff1c9; background: linear-gradient(135deg, #ecc16a, #a65e18); }
.floating-chip div { display: flex; flex-direction: column; gap: 3px; }
.floating-chip small { color: #8d9097; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.floating-chip strong { font-size: 14px; }
.chip-rate { left: -2px; top: 89px; }
.chip-min { right: -6px; bottom: 72px; }

.calculator-section { position: relative; z-index: 3; display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: center; padding: 90px 86px; border: 1px solid rgba(255,255,255,.09); border-radius: 34px; background: linear-gradient(135deg, rgba(27,28,32,.94), rgba(13,14,16,.98)); box-shadow: 0 35px 100px rgba(0,0,0,.35); }
.calculator-intro h2, .section-heading h2, .safety h2 { margin: 20px 0 18px; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.04em; }
.calculator-intro > p { color: var(--muted); line-height: 1.7; max-width: 480px; }
.rate-stamp { margin-top: 30px; display: inline-flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid rgba(242,190,86,.18); border-radius: 15px; background: rgba(242,190,86,.06); }
.rate-stamp > span { color: var(--gold); font-size: 24px; }
.rate-stamp div { display: flex; flex-direction: column; gap: 3px; }
.rate-stamp small { color: #81838a; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.rate-stamp strong { font-size: 15px; }
.calculator-card { padding: 30px; border-radius: 25px; border: 1px solid rgba(255,255,255,.11); background: linear-gradient(145deg, #1d1f24, #111216); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.calculator-card label { display: block; color: #a3a5ab; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.number-input { height: 74px; padding: 0 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; border: 1px solid rgba(242,190,86,.28); border-radius: 16px; background: #0d0e10; box-shadow: inset 0 0 30px rgba(0,0,0,.35); }
.input-star { font-size: 25px; color: var(--gold); }
.number-input input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 29px; font-weight: 750; }
.number-input > span:last-child { color: #797c83; font-size: 13px; }
.quick-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 12px 0 24px; }
.quick-values button { height: 39px; border: 1px solid var(--line); border-radius: 10px; background: #15161a; color: #999ba2; cursor: pointer; font-size: 12px; font-weight: 700; transition: .2s ease; }
.quick-values button:hover, .quick-values button.active { color: #1b1208; border-color: #d99b3b; background: var(--gold); }
.total-row { padding: 20px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.total-row span { color: #8c8e94; font-size: 13px; }
.total-row strong { color: var(--gold-light); font-size: 32px; letter-spacing: -.03em; }
.button-full { width: 100%; }
.button.disabled { pointer-events: none; filter: grayscale(.8); opacity: .45; }
.error-hint { margin: -7px 0 15px; color: #f0a76a; font-size: 12px; }
.bot-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; color: #74777e; font-size: 11px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #56c786; box-shadow: 0 0 12px #56c786; }

.how-section { padding: 130px 0 110px; }
.section-heading { text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.steps-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card { position: relative; min-height: 270px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(26,28,32,.78), rgba(14,15,17,.85)); overflow: hidden; }
.step-card::after { content: ""; position: absolute; width: 140px; height: 140px; right: -70px; top: -70px; border-radius: 50%; background: rgba(234,173,69,.05); filter: blur(10px); }
.step-number { position: absolute; top: 26px; right: 26px; color: #46484e; font-family: var(--font-geist-mono); font-size: 13px; }
.step-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(242,190,86,.2); border-radius: 14px; background: rgba(242,190,86,.07); font-size: 19px; font-weight: 800; }
.step-card h3 { margin: 45px 0 12px; font-size: 19px; }
.step-card p { margin: 0; color: #858890; font-size: 14px; line-height: 1.65; }

.safety { margin-bottom: 110px; padding: 42px 46px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; border: 1px solid rgba(241,185,79,.18); border-radius: 26px; background: linear-gradient(100deg, rgba(225,158,48,.10), rgba(255,255,255,.025)); }
.safety-mark { width: 78px; height: 88px; display: grid; place-items: center; background: linear-gradient(145deg, #f4c361, #8e4c13); clip-path: polygon(50% 0, 93% 18%, 88% 75%, 50% 100%, 12% 75%, 7% 18%); padding: 4px; }
.safety-mark span { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font-size: 28px; background: #1a1b1f; clip-path: inherit; }
.safety h2 { margin: 0 0 10px; font-size: 28px; }
.safety-copy p { margin: 0; max-width: 600px; color: #96989f; line-height: 1.65; font-size: 14px; }
.safety-pills { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; color: #c9c7c0; font-size: 12px; }
.safety-pills span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(0,0,0,.14); }

.footer { min-height: 130px; padding: 28px 0; display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; border-top: 1px solid var(--line); color: #7f8188; font-size: 12px; }
.footer > div { text-align: center; }
.footer p { margin: 0 0 6px; color: #aeb0b5; }
.footer small { color: #62646a; }
.footer > a:last-child { justify-self: end; color: var(--gold); font-weight: 700; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 62px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero .eyebrow { justify-content: center; }
  .trust-row { width: 100%; }
  .hero-visual { margin-top: -20px; }
  .calculator-section { grid-template-columns: 1fr; gap: 42px; padding: 64px; }
  .calculator-intro { text-align: center; }
  .calculator-intro .eyebrow { justify-content: center; }
  .calculator-intro > p { margin-inline: auto; }
  .safety { grid-template-columns: auto 1fr; }
  .safety-pills { grid-column: 2; flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 620px); }
  .site-header { height: 78px; }
  .desktop-nav, .desktop-buy { display: none; }
  .brand-name { font-size: 14px; }
  .brand-mark { width: 36px; height: 40px; }
  .hero { min-height: auto; padding: 54px 0 60px; gap: 42px; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero-lead { font-size: 15px; }
  .hero-actions { width: 100%; flex-direction: column; }
  .button { width: 100%; }
  .trust-row { grid-template-columns: 1fr; text-align: left; gap: 16px; }
  .trust-row div { padding-left: 14px; border-left: 2px solid rgba(242,190,86,.32); }
  .hero-visual { height: 390px; width: 100%; }
  .image-frame { width: min(82vw, 340px); height: min(82vw, 340px); border-radius: 30px; }
  .ring-one { width: 390px; height: 390px; }
  .ring-two { width: 450px; height: 450px; }
  .floating-chip { padding: 10px 12px; }
  .chip-rate { left: 0; top: 42px; }
  .chip-min { right: 0; bottom: 22px; }
  .calculator-section { width: 100%; border-radius: 0; border-inline: 0; padding: 60px 20px; }
  .calculator-card { padding: 21px; }
  .total-row strong { font-size: 27px; }
  .how-section { padding: 90px 0 75px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 240px; }
  .safety { margin-bottom: 78px; padding: 30px 24px; grid-template-columns: 1fr; text-align: center; }
  .safety-mark { margin-inline: auto; }
  .safety-pills { grid-column: 1; align-items: stretch; }
  .safety-pills span { text-align: left; }
  .footer { grid-template-columns: 1fr; gap: 24px; padding: 38px 0; text-align: center; }
  .footer .brand, .footer > a:last-child { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring-one { animation: none; }
  .button { transition: none; }
}
