:root {
  color-scheme: dark;
  --bg: #05091a;
  --bg-deep: #030615;
  --surface: #0b1328;
  --surface-2: #101b35;
  --surface-soft: rgba(15, 27, 52, .72);
  --text: #f7f9ff;
  --muted: #9ba9c7;
  --line: #22355d;
  --green: #24df7e;
  --green-strong: #14bd67;
  --cyan: #24b9cf;
  --purple: #7447ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, .32);
  --radius: 24px;
  --shell: min(1180px, calc(100% - 40px));
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f1f6ff;
  --bg-deep: #e8f0ff;
  --surface: #ffffff;
  --surface-2: #f6f9ff;
  --surface-soft: rgba(255, 255, 255, .78);
  --text: #0a1430;
  --muted: #61708e;
  --line: #d6e1f2;
  --shadow: 0 24px 70px rgba(37, 54, 92, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif; line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(circle at 78% 4%, rgba(36, 223, 126, .11), transparent 28%), radial-gradient(circle at 12% 32%, rgba(116, 71, 255, .12), transparent 30%); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.section-shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 1000; padding: 10px 14px; border-radius: 10px; background: var(--green); color: #03120a; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent); background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(18px); }
.nav-shell { width: var(--shell); min-height: 82px; margin-inline: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.brand { width: 168px; height: 66px; overflow: hidden; border-radius: 11px; background: #030713; text-decoration: none; }
.brand img { width: 100%; height: 100%; padding: 3px 8px; object-fit: contain; }
.main-nav { display: flex; justify-content: center; gap: 30px; }
.main-nav a { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.control-button, .nav-login { min-height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); color: var(--text); font: inherit; font-size: 14px; font-weight: 750; text-decoration: none; cursor: pointer; }
.control-button { padding: 0 14px; }
.icon-control { width: 42px; padding: 0; font-size: 19px; }
.nav-login { padding: 0 18px; }
.menu-toggle { display: none; }

.hero { min-height: 680px; padding-block: 92px 72px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); align-items: center; gap: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 13px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { max-width: 740px; margin: 16px 0 22px; font-size: clamp(46px, 6vw, 78px); line-height: 1.04; letter-spacing: -.045em; }
.hero-description { max-width: 660px; margin: 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 13px; }
.button { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 13px; font-weight: 850; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--green), var(--cyan)); color: #04150c; box-shadow: 0 14px 30px rgba(36, 223, 126, .19); }
.button-secondary { background: var(--surface-soft); border-color: var(--line); color: var(--text); }
.availability { max-width: 620px; margin: 20px 0 0; display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 13px; }
.availability > span:first-child { color: var(--green); font-size: 9px; margin-top: 5px; }

.hero-visual { min-height: 460px; position: relative; display: grid; place-items: center; }
.brand-stage { width: min(100%, 430px); aspect-ratio: 1.12; position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 36px; background: linear-gradient(145deg, #07111f, #030713); box-shadow: var(--shadow); transform: rotate(2deg); }
.brand-stage::before { content: ""; position: absolute; width: 290px; height: 290px; border: 1px solid rgba(36, 223, 126, .22); border-radius: 50%; box-shadow: 0 0 80px rgba(36, 223, 126, .12); }
.brand-stage img { position: relative; z-index: 2; width: 82%; border-radius: 18px; }
.signal { position: absolute; border-radius: 50%; border: 1px solid rgba(116, 71, 255, .26); }
.signal-one { width: 370px; height: 370px; }
.signal-two { width: 500px; height: 500px; }
.floating-card { position: absolute; z-index: 4; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--line) 80%, white 8%); border-radius: 16px; background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.floating-card span, .floating-card small { display: block; color: var(--muted); font-size: 12px; }
.floating-card strong { display: block; margin: 3px 0; font-size: 23px; }
.card-points { inset-block-start: 34px; inset-inline-start: -16px; min-width: 155px; }
.card-status { inset-block-end: 38px; inset-inline-end: -8px; display: flex; align-items: center; gap: 11px; }
.card-status strong { font-size: 14px; }
.status-dot { width: 11px; height: 11px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(36, 223, 126, .12); }

.trust-strip { width: var(--shell); margin-inline: auto; padding: 22px 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-soft); }
.trust-strip div { display: flex; align-items: baseline; justify-content: center; gap: 9px; text-align: center; }
.trust-strip strong { color: var(--green); }
.trust-strip span { color: var(--muted); font-size: 13px; }

.section { padding-block: 110px; }
.section-soft { border-block: 1px solid color-mix(in srgb, var(--line) 74%, transparent); background: color-mix(in srgb, var(--surface) 38%, transparent); }
.section-heading { max-width: 720px; margin-bottom: 45px; }
.section-heading h2, .wallet-copy h2, .cta h2 { margin: 12px 0 14px; font-size: clamp(34px, 4.5vw, 53px); line-height: 1.1; letter-spacing: -.035em; }
.section-heading p, .wallet-copy > p, .cta p { margin: 0; color: var(--muted); font-size: 17px; }
.steps-grid, .security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card, .security-card, .opportunity-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 15px 40px rgba(0,0,0,.08); }
.step-card { min-height: 260px; padding: 30px; border-radius: var(--radius); }
.step-card::after { content: ""; position: absolute; width: 130px; height: 130px; inset-block-end: -70px; inset-inline-end: -55px; border-radius: 50%; background: rgba(36, 223, 126, .08); }
.step-number { color: var(--green); font-weight: 900; letter-spacing: .12em; }
.step-card h3, .opportunity-card h3, .security-card h3 { margin: 34px 0 10px; font-size: 22px; }
.step-card p, .opportunity-card p, .security-card p { margin: 0; color: var(--muted); }

.opportunity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.opportunity-card { min-height: 285px; padding: 27px; border-radius: 22px; transition: transform .22s ease, border-color .22s ease; }
.opportunity-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--green) 55%, var(--line)); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(36, 223, 126, .1); color: var(--green); font-size: 25px; font-weight: 800; }
.opportunity-card h3 { margin-top: 26px; }

.wallet-panel { padding: 64px; display: grid; grid-template-columns: 1fr minmax(330px, .8fr); align-items: center; gap: 70px; overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(140deg, var(--surface), color-mix(in srgb, var(--surface-2) 84%, var(--purple) 16%)); box-shadow: var(--shadow); }
.check-list { margin: 27px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-inline-start: 30px; color: var(--text); font-weight: 650; }
.check-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--green); font-weight: 900; }
.wallet-preview { min-height: 320px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #2d3f69; border-radius: 25px; background: linear-gradient(145deg, #111d3b, #080f23); color: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.3); transform: rotate(-3deg); }
[dir="rtl"] .wallet-preview { transform: rotate(3deg); }
.wallet-top, .wallet-meta { display: flex; justify-content: space-between; gap: 18px; }
.wallet-preview small { display: block; color: #9ba9c7; }
.wallet-preview > div > strong { display: block; margin-top: 7px; font-size: 38px; }
.wallet-meta span { flex: 1; padding: 14px; border: 1px solid #26385f; border-radius: 13px; background: rgba(255,255,255,.035); }
.wallet-meta b { display: block; margin-top: 5px; }

.security-card { min-height: 235px; padding: 28px; border-radius: 20px; }
.security-card > span { color: var(--green); font-size: 12px; font-weight: 900; }
.security-card h3 { margin-top: 30px; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 76px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.faq-list summary { padding: 20px 23px; position: relative; list-style: none; cursor: pointer; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; inset-inline-end: 22px; color: var(--green); font-size: 22px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 23px 21px; color: var(--muted); }

.cta { margin-block: 90px; padding: 48px 54px; display: flex; align-items: center; justify-content: space-between; gap: 35px; border: 1px solid rgba(36,223,126,.34); border-radius: 28px; background: linear-gradient(120deg, rgba(36,223,126,.1), rgba(116,71,255,.13)); }
.cta h2 { font-size: clamp(30px, 4vw, 44px); }
.cta .button { flex: 0 0 auto; }

.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-grid { padding-block: 54px; display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 70px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--green); }
.footer-grid span { color: var(--muted); font-size: 13px; }
.footer-brand img { width: 180px; height: 74px; padding: 4px 8px; object-fit: contain; border-radius: 10px; background: #030713; }
.footer-brand p { max-width: 410px; margin: 5px 0 0; color: var(--muted); }
.footer-bottom { padding-block: 18px 30px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-bottom a { text-decoration: none; }

.access-dialog { width: min(92%, 470px); padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); text-align: center; }
.access-dialog::backdrop { background: rgba(2, 6, 18, .72); backdrop-filter: blur(7px); }
.access-dialog[open] { animation: dialog-in .22s ease both; }
.dialog-close { position: absolute; inset-block-start: 12px; inset-inline-end: 14px; width: 38px; height: 38px; border: 0; background: transparent; color: var(--muted); font-size: 28px; cursor: pointer; }
.dialog-icon { width: 58px; height: 58px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 18px; background: rgba(36, 223, 126, .12); color: var(--green); font-size: 28px; }
.access-dialog h2 { margin: 0; font-size: 28px; line-height: 1.2; }
.access-dialog p { margin: 14px 0 26px; color: var(--muted); }
.access-dialog .button { width: 100%; cursor: pointer; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .button, .opportunity-card { transition: none; } }

@media (max-width: 1040px) {
  .nav-shell { grid-template-columns: auto auto 1fr; }
  .menu-toggle { width: 42px; height: 42px; display: grid; align-content: center; gap: 5px; padding: 0 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); cursor: pointer; }
  .menu-toggle span:not(.sr-only) { height: 2px; border-radius: 2px; background: var(--text); }
  .main-nav { position: absolute; inset-block-start: 82px; inset-inline: 20px; padding: 18px; display: none; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 12px; }
  .nav-actions { justify-self: end; }
  .hero { grid-template-columns: 1fr 1fr; gap: 34px; }
  .opportunity-grid { grid-template-columns: repeat(2, 1fr); }
  .wallet-panel { padding: 45px; gap: 38px; }
}

@media (max-width: 780px) {
  :root { --shell: min(100% - 24px, 1180px); }
  .nav-shell { min-height: 72px; gap: 10px; }
  .brand { width: 138px; height: 54px; }
  .main-nav { inset-block-start: 72px; inset-inline: 12px; }
  .nav-login { display: none; }
  .control-button { min-height: 40px; padding: 0 10px; }
  .icon-control { width: 40px; }
  .hero { min-height: auto; padding-block: 62px 55px; grid-template-columns: 1fr; gap: 52px; }
  .hero h1 { font-size: clamp(40px, 12vw, 59px); }
  .hero-visual { min-height: 380px; }
  .brand-stage { width: min(88%, 410px); }
  .card-points { inset-inline-start: 0; }
  .card-status { inset-inline-end: 0; }
  .trust-strip { grid-template-columns: 1fr; padding: 22px; }
  .trust-strip div { justify-content: space-between; }
  .section { padding-block: 76px; }
  .steps-grid, .security-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 220px; }
  .wallet-panel { padding: 31px 22px; grid-template-columns: 1fr; }
  .wallet-preview { min-height: 285px; transform: none; }
  [dir="rtl"] .wallet-preview { transform: none; }
  .faq-layout { grid-template-columns: 1fr; gap: 10px; }
  .cta { margin-block: 62px; padding: 35px 24px; flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 540px) {
  .nav-actions { gap: 6px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 330px; }
  .floating-card { padding: 12px 14px; }
  .card-points { inset-block-start: 8px; min-width: 130px; }
  .card-status { inset-block-end: 9px; }
  .opportunity-grid { grid-template-columns: 1fr; }
  .opportunity-card { min-height: 230px; }
  .footer-bottom { flex-direction: column; }
}
