:root {
  color-scheme: dark;
  --bg: #050b0d;
  --surface: #0c1619;
  --surface-2: #101d20;
  --line: rgba(160, 196, 186, .16);
  --line-strong: rgba(160, 196, 186, .28);
  --text: #f3f8f6;
  --soft: #b5c8c2;
  --muted: #839991;
  --green: #22e6a1;
  --green-deep: #00b978;
  --ink: #03120d;
  --display: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --body: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.site-loading { min-height: 100vh; display: grid; place-items: center; color: var(--muted); }
.no-script { max-width: 560px; margin: 15vh auto; padding: 30px; text-align: center; }
.no-script img { border-radius: 20px; }
.landing-shell { min-height: 100vh; overflow: hidden; background: var(--bg); }
.landing-container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.landing-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(5, 11, 13, .82); backdrop-filter: blur(18px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 9px 30px rgba(34, 230, 161, .18); }
.brand > span, .footer-brand > span { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-family: var(--display); font-size: 17px; letter-spacing: -.02em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.language-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.language-switch a { min-width: 45px; padding: 6px 10px; border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 800; text-align: center; text-decoration: none; }
.language-switch a.active { background: rgba(34, 230, 161, .14); color: var(--green); }
.home-link { display: inline-flex; align-items: center; gap: 5px; color: var(--soft); font-size: 13px; font-weight: 700; text-decoration: none; }
.home-link:hover { color: var(--green); }

.hero { position: relative; min-height: 700px; padding: 88px 0 108px; isolation: isolate; }
.hero::before { position: absolute; z-index: -2; inset: 0; background-image: linear-gradient(rgba(100, 150, 137, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 150, 137, .045) 1px, transparent 1px); background-size: 54px 54px; content: ""; mask-image: linear-gradient(to bottom, #000, transparent 92%); }
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.orb-one { top: -250px; right: -170px; width: 720px; height: 720px; background: radial-gradient(circle, rgba(34, 230, 161, .17), transparent 68%); }
.orb-two { bottom: -260px; left: -310px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0, 132, 255, .08), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr); align-items: center; gap: clamp(48px, 5vw, 76px); }
.hero-copy { position: relative; z-index: 4; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(34, 230, 161, .1); }
.hero h1 { max-width: 660px; margin: 23px 0 22px; font-family: var(--display); font-size: clamp(44px, 4.35vw, 66px); font-weight: 800; letter-spacing: -.052em; line-height: 1.08; overflow-wrap: normal; text-wrap: balance; word-break: keep-all; }
.hero-subtitle { max-width: 570px; margin: 0; color: var(--soft); font-size: clamp(16px, 1.45vw, 19px); line-height: 1.75; }
.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 34px; }
#primary-action { flex: 0 1 auto; }
.primary-download { min-width: 292px; min-height: 72px; display: flex; align-items: center; gap: 14px; padding: 10px 15px; border: 1px solid rgba(97, 255, 198, .42); border-radius: 18px; background: linear-gradient(135deg, #56efba, #13d991 62%, #00b978); color: var(--ink); box-shadow: 0 20px 50px rgba(0, 201, 138, .2); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
a.primary-download:hover { transform: translateY(-2px); box-shadow: 0 24px 60px rgba(0, 201, 138, .29); }
.primary-download.disabled { opacity: .58; filter: saturate(.55); cursor: not-allowed; box-shadow: none; }
.download-icon { width: 45px; height: 45px; flex: none; display: grid; place-items: center; border-radius: 13px; background: rgba(3, 18, 13, .12); }
.primary-download > span:nth-child(2) { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.primary-download small { font-size: 10px; font-weight: 800; letter-spacing: .06em; opacity: .72; text-transform: uppercase; }
.primary-download strong { margin-top: 2px; font-size: 16px; }
.all-platforms { color: var(--soft); font-size: 14px; font-weight: 700; text-decoration: none; }
.all-platforms:hover { color: var(--green); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 27px 0 0; padding: 0; color: var(--muted); font-size: 12px; list-style: none; }
.hero-notes li { display: inline-flex; align-items: center; gap: 6px; }
.hero-notes svg { color: var(--green); }
.qr-card { width: fit-content; display: flex; align-items: center; gap: 15px; margin-top: 28px; padding: 11px 16px 11px 11px; border: 1px solid var(--line); border-radius: 18px; background: rgba(12, 22, 25, .72); }
.qr-code { width: 116px; height: 116px; padding: 6px; border-radius: 11px; background: #fff; }
.qr-code img, .qr-code canvas { display: block; width: 104px !important; height: 104px !important; }
.qr-copy { max-width: 190px; display: flex; flex-direction: column; }
.qr-copy strong { font-size: 14px; }
.qr-copy span { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.qr-copy button { align-self: flex-start; margin: 9px 0 0; padding: 0; border: 0; background: transparent; color: var(--green); font-size: 11px; font-weight: 800; cursor: pointer; }

.device-stage { position: relative; height: 520px; perspective: 1200px; }
.stage-glow { position: absolute; inset: 30px 0 0; border-radius: 50%; background: radial-gradient(circle, rgba(34, 230, 161, .16), transparent 62%); }
.desktop-device { position: absolute; top: 54px; right: -55px; width: 490px; height: 310px; overflow: hidden; transform: rotateY(-8deg) rotateX(3deg); border: 1px solid var(--line-strong); border-radius: 22px; background: #091316; box-shadow: -15px 35px 90px rgba(0, 0, 0, .55); }
.desktop-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #0d191c; }
.desktop-bar i { width: 7px; height: 7px; border-radius: 50%; background: #31433f; }
.desktop-content { position: relative; height: calc(100% - 34px); padding: 24px; background: radial-gradient(circle at 58% 48%, rgba(34, 230, 161, .13), transparent 38%); }
.desktop-brand { display: flex; align-items: center; gap: 8px; color: var(--soft); font-size: 12px; font-weight: 800; }
.desktop-brand img { border-radius: 8px; }
.map { position: absolute; inset: 63px 45px 45px 58px; opacity: .9; }
.map::before, .map::after { position: absolute; border: 1px solid rgba(73, 196, 154, .18); border-radius: 48% 52% 55% 45%; content: ""; }
.map::before { inset: 12px 40px 30px 10px; transform: rotate(-6deg); }
.map::after { inset: 50px 5px 7px 65px; transform: rotate(9deg); }
.map .line { position: absolute; height: 1px; transform-origin: left; background: linear-gradient(90deg, var(--green), rgba(34, 230, 161, .08)); }
.line-one { top: 78px; left: 74px; width: 190px; transform: rotate(-18deg); }
.line-two { top: 80px; left: 72px; width: 140px; transform: rotate(25deg); }
.map .dot { position: absolute; width: 9px; height: 9px; border: 2px solid #07100f; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(34, 230, 161, .1); }
.dot-one { top: 73px; left: 68px; }.dot-two { top: 14px; right: 54px; }.dot-three { right: 85px; bottom: 15px; }
.desktop-status { position: absolute; right: 20px; bottom: 18px; display: flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(12, 22, 25, .88); color: var(--soft); font-size: 10px; }
.desktop-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.phone-device { position: absolute; z-index: 3; left: 2px; bottom: 0; width: 238px; height: 474px; padding: 8px; transform: rotate(-4deg); border: 1px solid rgba(200, 230, 221, .3); border-radius: 38px; background: #142124; box-shadow: 0 45px 90px rgba(0, 0, 0, .6); }
.phone-speaker { position: absolute; z-index: 2; top: 15px; left: 50%; width: 70px; height: 18px; transform: translateX(-50%); border-radius: 999px; background: #050a0c; }
.phone-screen { height: 100%; padding: 34px 17px 18px; overflow: hidden; border-radius: 31px; background: radial-gradient(circle at 50% 40%, rgba(34, 230, 161, .16), transparent 38%), #071012; }
.phone-top { display: flex; align-items: center; gap: 8px; color: #d9e6e2; font-size: 10px; font-weight: 800; }
.phone-top img { border-radius: 9px; }
.phone-top > i { width: 24px; height: 24px; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; }
.connection-ring { position: relative; width: 142px; height: 142px; display: grid; place-items: center; margin: 46px auto 19px; border: 1px solid rgba(34, 230, 161, .25); border-radius: 50%; box-shadow: inset 0 0 45px rgba(34, 230, 161, .07), 0 0 65px rgba(34, 230, 161, .08); }
.connection-ring::before { position: absolute; inset: 12px; border: 1px solid rgba(34, 230, 161, .14); border-radius: 50%; content: ""; }
.connection-ring > span { position: absolute; inset: -9px; border: 1px solid rgba(34, 230, 161, .09); border-radius: 50%; }
.connection-ring b { position: relative; z-index: 2; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #54efb9, #00c785); color: #032016; box-shadow: 0 16px 38px rgba(0, 213, 143, .27); }
.connected, .session { display: block; text-align: center; }
.connected { font-size: 15px; }
.session { margin-top: 5px; color: var(--muted); font-size: 9px; }
.location-card { display: flex; align-items: center; gap: 10px; margin-top: 42px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: rgba(16, 29, 32, .88); }
.location-card > i { width: 25px; height: 25px; flex: none; border-radius: 8px; background: linear-gradient(135deg, #ef4b55 0 50%, #fff 50%); }
.location-card > span { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.location-card small { color: var(--muted); font-size: 7px; }
.location-card strong { margin-top: 2px; font-size: 9px; }
.speed-pill { position: absolute; z-index: 5; display: flex; align-items: center; gap: 9px; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(13, 25, 28, .92); color: var(--green); box-shadow: 0 20px 40px rgba(0, 0, 0, .32); backdrop-filter: blur(12px); }
.speed-pill > span { display: flex; flex-direction: column; }
.speed-pill small { color: var(--muted); font-size: 7px; text-transform: uppercase; }
.speed-pill strong { margin-top: 1px; color: #e8f2ef; font-size: 11px; }
.speed-state { right: 8px; bottom: 91px; }
.speed-secure { top: 31px; left: 168px; font-size: 10px; font-weight: 800; }

.invite-section { position: relative; z-index: 3; margin-top: -30px; padding-bottom: 78px; }
.invite-section[hidden] { display: none; }
.invite-card { display: flex; align-items: center; gap: 18px; padding: 23px 26px; border: 1px solid rgba(34, 230, 161, .28); border-radius: 22px; background: linear-gradient(110deg, rgba(34, 230, 161, .1), rgba(12, 22, 25, .94) 38%); box-shadow: 0 22px 55px rgba(0, 0, 0, .2); }
.invite-icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 16px; background: rgba(34, 230, 161, .12); color: var(--green); }
.invite-copy { min-width: 0; flex: 1; }
.invite-copy h2 { margin: 4px 0 3px; font-size: 19px; }
.invite-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.invite-code { display: flex; flex-direction: column; align-items: center; padding: 8px 20px; border-left: 1px solid var(--line); }
.invite-code span { color: var(--muted); font-size: 9px; }
.invite-code strong { margin-top: 2px; color: var(--green); font-size: 24px; letter-spacing: .12em; }
#copy-invite, .register-link { min-height: 40px; padding: 0 15px; border-radius: 11px; font-size: 12px; font-weight: 800; cursor: pointer; text-decoration: none; }
#copy-invite { border: 1px solid var(--line-strong); background: transparent; color: var(--soft); }
.register-link { display: inline-flex; align-items: center; border: 1px solid var(--green); color: var(--green); }

.benefits-section, .platforms-section { padding: 100px 0; }
.section-heading { max-width: 650px; margin: 0 auto 48px; text-align: center; }
.section-heading h2, .steps-heading h2, .help-card h2 { margin: 13px 0; font-family: var(--display); font-size: clamp(29px, 3.6vw, 44px); line-height: 1.16; letter-spacing: -.035em; }
.section-heading p, .steps-heading p, .help-card p { margin: 0; color: var(--muted); line-height: 1.75; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-card { position: relative; min-height: 245px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(150deg, rgba(18, 33, 36, .88), rgba(8, 17, 19, .9)); }
.benefit-card::after { position: absolute; right: -45px; bottom: -55px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 230, 161, .09), transparent 70%); content: ""; }
.benefit-number { position: absolute; top: 24px; right: 25px; color: rgba(181, 200, 194, .17); font-size: 28px; font-weight: 800; }
.benefit-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(34, 230, 161, .2); border-radius: 16px; background: rgba(34, 230, 161, .08); color: var(--green); }
.benefit-card h3 { margin: 27px 0 10px; font-size: 19px; }
.benefit-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.steps-section { padding: 96px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #081113; }
.steps-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(60px, 10vw, 140px); }
.steps-heading { position: sticky; top: 40px; }
.steps-list { margin: 0; padding: 0; list-style: none; }
.steps-list li { position: relative; display: flex; gap: 22px; padding: 0 0 38px; }
.steps-list li:not(:last-child)::before { position: absolute; top: 47px; bottom: 7px; left: 23px; width: 1px; background: linear-gradient(var(--green), var(--line)); content: ""; }
.step-number { position: relative; z-index: 1; width: 47px; height: 47px; flex: none; display: grid; place-items: center; border: 1px solid rgba(34, 230, 161, .3); border-radius: 15px; background: #0d1c1e; color: var(--green); font-size: 14px; font-weight: 800; }
.step-copy { display: flex; flex-direction: column; padding-top: 2px; }
.step-copy strong { font-size: 18px; }
.step-copy span { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.7; }

.platforms-section { scroll-margin-top: 20px; }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.platform-card { display: flex; min-width: 0; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.platform-card.detected { border-color: rgba(34, 230, 161, .46); box-shadow: inset 0 0 0 1px rgba(34, 230, 161, .08), 0 22px 50px rgba(0, 0, 0, .18); }
.platform-top { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.platform-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgba(34, 230, 161, .09); color: var(--green); }
.detected-badge { padding: 5px 8px; border-radius: 999px; background: rgba(34, 230, 161, .12); color: var(--green); font-size: 9px; font-weight: 800; }
.platform-card h3 { margin: 22px 0 6px; font-size: 18px; }
.platform-card p { min-height: 40px; margin: 0 0 22px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.platform-buttons { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.platform-button { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 7px 9px; border: 1px solid transparent; border-radius: 11px; background: var(--green); color: var(--ink); font-size: 11px; font-weight: 800; text-align: center; text-decoration: none; }
.platform-button.secondary { border-color: var(--line-strong); background: transparent; color: var(--soft); }
.platform-button.disabled { background: #172326; color: var(--muted); cursor: not-allowed; }

.help-section { padding: 16px 0 100px; }
.help-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 45px 48px; border: 1px solid rgba(34, 230, 161, .24); border-radius: 26px; background: radial-gradient(circle at 82% 20%, rgba(34, 230, 161, .13), transparent 34%), linear-gradient(135deg, #0c1b1d, #081113); }
.help-card h2 { font-size: clamp(25px, 3vw, 35px); }
.support-button { min-height: 50px; display: inline-flex; align-items: center; gap: 9px; padding: 0 19px; border-radius: 13px; background: var(--green); color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; }

.landing-footer { border-top: 1px solid var(--line); background: #030809; }
.footer-inner { padding-top: 38px; padding-bottom: 34px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { border-radius: 10px; }
.footer-brand strong { font-size: 14px; }
.footer-brand small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 22px; margin: 28px 0; }
.footer-inner nav a { color: var(--soft); font-size: 11px; text-decoration: none; }
.footer-inner nav a:hover { color: var(--green); }
.company-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 30px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.6; }

@media (max-width: 980px) {
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 55px; }
  .hero-copy { max-width: 700px; }
  .device-stage { width: min(620px, 100%); margin: 0 auto; }
  .desktop-device { right: 0; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .landing-container { width: min(100% - 30px, 1160px); }
  .landing-header { background: rgba(5, 11, 13, .94); }
  .header-inner { min-height: 68px; }
  .brand img { width: 37px; height: 37px; border-radius: 11px; }
  .brand strong { font-size: 15px; }
  .brand small, .home-link { display: none; }
  .header-actions { gap: 0; }
  .hero { min-height: auto; padding: 64px 0 88px; }
  .hero::before { background-size: 42px 42px; }
  .hero h1 { margin-top: 19px; font-size: clamp(39px, 12vw, 58px); }
  .hero-subtitle { font-size: 15px; }
  #primary-action, .primary-download { width: 100%; min-width: 0; }
  .all-platforms { margin: 0 auto; }
  .hero-notes { justify-content: center; }
  .qr-card { display: none; }
  .device-stage { height: 485px; margin-top: 4px; }
  .desktop-device { top: 80px; right: -150px; width: 420px; opacity: .58; }
  .phone-device { left: 50%; transform: translateX(-50%) rotate(-3deg); }
  .speed-secure { top: 26px; left: 8px; }
  .speed-state { right: 0; }
  .invite-section { margin-top: 0; }
  .invite-card { align-items: flex-start; flex-wrap: wrap; }
  .invite-copy { flex-basis: calc(100% - 76px); }
  .invite-code { flex: 1; align-items: flex-start; padding-left: 0; border-left: 0; }
  .benefits-section, .platforms-section { padding: 76px 0; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 220px; }
  .steps-section { padding: 76px 0; }
  .steps-layout { grid-template-columns: 1fr; gap: 45px; }
  .steps-heading { position: static; }
  .help-section { padding-bottom: 76px; }
  .help-card { align-items: flex-start; flex-direction: column; padding: 32px 27px; }
  .support-button { max-width: 100%; overflow-wrap: anywhere; }
}

@media (max-width: 500px) {
  .hero h1 { font-size: clamp(37px, 11.2vw, 49px); text-wrap: wrap; word-break: normal; }
  .hero-notes { display: grid; grid-template-columns: 1fr 1fr; justify-content: start; font-size: 11px; }
  .hero-notes li:last-child { grid-column: 1 / -1; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card p { min-height: 0; }
  .device-stage { width: calc(100% + 10px); margin-left: -5px; }
  .phone-device { width: 218px; height: 446px; }
  .connection-ring { width: 132px; height: 132px; margin-top: 39px; }
  .location-card { margin-top: 34px; }
  .speed-pill { display: none; }
  .invite-icon { display: none; }
  .invite-copy { flex-basis: 100%; }
  #copy-invite, .register-link { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .phone-device { animation: phone-float 6s ease-in-out infinite; }
  .connection-ring > span { animation: ring-pulse 2.6s ease-out infinite; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@keyframes phone-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

@keyframes ring-pulse {
  0% { transform: scale(.92); opacity: .8; }
  80%, 100% { transform: scale(1.18); opacity: 0; }
}
