:root {
  --ink: #0b1730;
  --ink-soft: #40506c;
  --navy: #071225;
  --navy-2: #0b1a35;
  --panel: #102344;
  --line: rgba(16, 38, 73, .12);
  --white: #fff;
  --paper: #f4f7fb;
  --cyan: #38add5;
  --cyan-bright: #56d4f4;
  --magenta: #d94392;
  --green: #58dda7;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(9, 28, 59, .13);
  --shell: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, select { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 18px; background: white; border-radius: 12px; }
.skip-link:focus { top: 14px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: white;
  background: rgba(7, 18, 37, .74);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
}
.nav-shell { min-height: 76px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 760; letter-spacing: -.025em; white-space: nowrap; }
.brand strong { color: var(--cyan-bright); font-weight: 760; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.brand-mark img { width: 26px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.primary-nav a { color: #bec9da; font-size: .91rem; text-decoration: none; transition: color .2s ease; }
.primary-nav a:hover { color: white; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.language-control { height: 40px; display: flex; align-items: center; gap: 5px; padding: 0 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: #cbd5e4; }
.language-control select { border: 0; outline: 0; color: white; background: transparent; cursor: pointer; }
.language-control option { color: var(--ink); }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 9px; margin-left: auto; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: transparent; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: white; border-radius: 2px; transition: transform .2s, opacity .2s; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; font-weight: 720; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 40px; padding-inline: 16px; color: #071225; background: white; font-size: .88rem; }
.button-primary { color: #061021; background: linear-gradient(135deg, #6ee1fa, var(--cyan)); box-shadow: 0 13px 30px rgba(56,173,213,.22); }
.button-primary:hover { box-shadow: 0 17px 38px rgba(56,173,213,.34); }
.button-primary svg { width: 19px; height: 19px; fill: currentColor; }
.button-secondary { color: white; border-color: rgba(255,255,255,.19); background: rgba(255,255,255,.06); }
.dark-outline { color: var(--ink); border-color: rgba(11,23,48,.2); background: transparent; }
.text-link { color: var(--ink); font-weight: 700; text-decoration: none; }

.section-dark { position: relative; overflow: hidden; color: white; background: var(--navy); }
.hero { min-height: 760px; padding: 150px 0 84px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 86%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(20px); pointer-events: none; }
.hero-glow-one { width: 460px; height: 460px; top: -160px; left: -130px; background: rgba(56,173,213,.12); }
.hero-glow-two { width: 400px; height: 400px; right: -100px; bottom: -170px; background: rgba(217,67,146,.10); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; gap: 70px; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow { width: fit-content; display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid rgba(92,221,169,.22); border-radius: 999px; color: #a9f4d3; background: rgba(88,221,167,.08); font-size: .78rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(88,221,167,.11); }
.hero h1 { max-width: 760px; margin: 23px 0 22px; font-size: clamp(3.3rem, 6.1vw, 6.15rem); line-height: .93; letter-spacing: -.068em; }
.hero h1 span { color: transparent; background: linear-gradient(100deg, var(--cyan-bright), #99e8f8 45%, #e464aa); -webkit-background-clip: text; background-clip: text; }
.hero-lead { max-width: 625px; margin: 0; color: #aab8cd; font-size: clamp(1rem, 1.6vw, 1.17rem); line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; gap: 34px; margin-top: 42px; }
.hero-proof span { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.hero-proof b { grid-row: 1 / 3; font-size: 1.75rem; line-height: 1; }
.hero-proof small { max-width: 84px; color: #8293ad; font-size: .71rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .05em; }

.network-card { position: relative; min-height: 540px; padding: 25px; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 32px; background: linear-gradient(155deg, rgba(23,48,88,.92), rgba(9,24,49,.78)); box-shadow: 0 36px 100px rgba(0,0,0,.34); }
.network-card::before { content: ""; position: absolute; width: 250px; height: 250px; top: 120px; right: 80px; border-radius: 50%; background: rgba(56,173,213,.08); filter: blur(3px); }
.network-topbar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: start; }
.network-topbar > div { display: flex; flex-direction: column; gap: 5px; }
.mini-label { color: #7589a9; font-size: .66rem; font-weight: 800; letter-spacing: .15em; }
.network-topbar strong { font-size: 1.17rem; }
.secure-badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 999px; color: #9ff0cc; background: rgba(88,221,167,.08); font-size: .7rem; font-weight: 750; text-transform: uppercase; }
.secure-badge > span:first-child { color: var(--green); }
.map-stage { position: absolute; inset: 94px 14px auto; }
.map-line { fill: none; stroke: url(#mapStroke); stroke-width: 2; stroke-dasharray: 5 7; }
.glow-line { stroke-width: 12; opacity: .28; }
.map-node circle:first-child { fill: #0f2548; stroke: #51caed; stroke-width: 2; }
.map-node circle:nth-child(2) { fill: white; }
.map-node text { fill: #8194b3; font-size: 11px; text-anchor: middle; font-weight: 800; }
.connect-orbit { position: absolute; left: 50%; top: 49%; width: 150px; height: 150px; display: grid; place-items: center; transform: translate(-50%, -50%); border: 1px solid rgba(80,207,238,.16); border-radius: 50%; background: radial-gradient(circle, rgba(56,173,213,.18), rgba(56,173,213,.02) 64%, transparent 65%); box-shadow: 0 0 60px rgba(56,173,213,.13); }
.connect-orbit::before, .connect-orbit::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.connect-orbit::before { inset: -29px; }
.connect-orbit::after { inset: -61px; }
.connect-orbit img { width: 58px; height: auto; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }
.selected-server { position: absolute; inset: auto 25px 25px; display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; padding: 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(5,16,34,.72); backdrop-filter: blur(12px); }
.selected-server .flag { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.06); font-size: 1.45rem; }
.selected-server > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.selected-server small { color: #8293ad; }
.latency { color: var(--green); font-size: .68rem; font-weight: 800; letter-spacing: .09em; }

.trust-strip { color: white; background: #0a1830; border-top: 1px solid rgba(255,255,255,.06); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { min-height: 100px; display: flex; align-items: center; gap: 14px; padding: 20px 26px; border-right: 1px solid rgba(255,255,255,.07); }
.trust-grid div:first-child { border-left: 1px solid rgba(255,255,255,.07); }
.trust-grid span { color: var(--cyan); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; }
.trust-grid p { margin: 0; color: #b5c1d3; font-size: .88rem; }

.section { padding: 110px 0; }
.section-light { background: var(--paper); }
.section-navy { color: white; background: var(--navy-2); }
.section-heading { max-width: 710px; margin: 0 auto 54px; text-align: center; }
.section-heading h2, .apps-copy h2, .final-cta h2 { margin: 10px 0 15px; font-size: clamp(2.25rem, 4.5vw, 4.2rem); line-height: 1.03; letter-spacing: -.055em; }
.section-heading p, .apps-copy > p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.section-navy .section-heading p { color: #9babbe; }
.kicker { color: #218fb5; font-size: .72rem; font-weight: 850; letter-spacing: .17em; }
.section-navy .kicker, .section-dark .kicker { color: var(--cyan-bright); }
.heading-split { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; text-align: left; }
.heading-split h2 { max-width: 650px; }
.heading-split p { padding-bottom: 10px; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: steps; }
.step-card { position: relative; min-height: 330px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 14px 46px rgba(15,36,71,.06); }
.step-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -48px; bottom: -55px; border-radius: 50%; background: linear-gradient(135deg, rgba(56,173,213,.12), rgba(217,67,146,.06)); }
.step-number { color: #91a0b6; font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.step-icon { width: 68px; height: 68px; display: grid; place-items: center; margin: 42px 0 29px; border-radius: 21px; color: #185e79; background: #e7f8fd; font-size: 2rem; font-weight: 700; }
.telegram-step { color: #273773; background: #edf0ff; }
.step-card:nth-child(2) .step-icon { color: #a32669; background: #fcecf5; }
.step-card h3 { margin: 0 0 10px; font-size: 1.32rem; letter-spacing: -.025em; }
.step-card p { margin: 0; color: var(--ink-soft); line-height: 1.65; }

.locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.location-card { display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; padding: 20px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(255,255,255,.035); transition: border .2s, transform .2s, background .2s; }
.location-card:hover { transform: translateY(-3px); border-color: rgba(86,212,244,.25); background: rgba(255,255,255,.055); }
.location-card > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.06); font-size: 1.6rem; }
.location-card h3 { margin: 0 0 4px; font-size: 1rem; }
.location-card p { margin: 0; color: #7589a8; font-size: .84rem; }
.location-card i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(88,221,167,.08); }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price-card { position: relative; min-height: 190px; display: flex; flex-direction: column; justify-content: center; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: white; color: inherit; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.price-card > span { color: var(--ink-soft); font-weight: 700; }
.price-card strong { margin: 8px 0 12px; font-size: 2.35rem; letter-spacing: -.055em; }
.price-card small { color: #7e8ba0; }
.price-card.featured { color: white; border-color: transparent; background: linear-gradient(145deg, #112a51, #0a1830); box-shadow: 0 24px 50px rgba(9,27,55,.22); }
.price-card.featured > span, .price-card.featured small { color: #b7c5da; }
.popular { position: absolute; top: 17px; right: 17px; padding: 6px 9px; border-radius: 999px; color: #d8f8ff; background: rgba(56,173,213,.14); font-size: .6rem; font-weight: 850; letter-spacing: .12em; }
.pricing-cta { display: flex; justify-content: space-between; align-items: center; gap: 26px; margin-top: 18px; padding: 27px 30px; border: 1px solid rgba(56,173,213,.18); border-radius: 20px; background: #eaf8fc; }
.pricing-cta p { margin: 0; color: var(--ink-soft); }
.pricing-cta p b { color: var(--ink); }
.pricing-cta > div { display: flex; align-items: center; gap: 20px; }

.apps-section { color: white; background: linear-gradient(135deg, #12294f, #0a1831 62%, #151c3d); }
.apps-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.apps-copy > p { color: #9eb0c8; }
.device-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 34px; }
.device-pills span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; color: #b9c6d8; background: rgba(255,255,255,.04); font-size: .78rem; }
.apps-copy .dark-outline { color: white; border-color: rgba(255,255,255,.2); }
.app-stack { position: relative; display: grid; gap: 12px; }
.app-stack::before { content: ""; position: absolute; inset: 10% 15%; background: rgba(56,173,213,.18); filter: blur(70px); }
.app-stack article { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 17px; align-items: center; padding: 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(255,255,255,.055); backdrop-filter: blur(12px); }
.app-stack article:nth-child(2) { transform: translateX(28px); }
.app-symbol { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; font-weight: 900; }
.app-symbol.happ { color: #c9effb; background: #207a9b; }
.app-symbol.hiddify { color: #ffc9e4; background: #8a285e; }
.app-symbol.v2ray { color: #dfe5ff; background: #35478e; }
.app-stack h3 { margin: 0 0 5px; }
.app-stack p { margin: 0; color: #91a3bc; font-size: .88rem; }
.app-stack article > span { color: #7085a5; }

.faq-shell { max-width: 880px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 18px; background: white; }
.faq-list summary { position: relative; padding: 22px 58px 22px 24px; cursor: pointer; list-style: none; font-weight: 750; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 50%; color: #257da0; background: #e9f7fb; font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0; padding: 0 58px 24px 24px; color: var(--ink-soft); line-height: 1.7; }

.final-cta { padding: 82px 0; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 10%, rgba(56,173,213,.14), transparent 35%), radial-gradient(circle at 82% 90%, rgba(217,67,146,.12), transparent 35%); }
.final-cta-inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: center; }
.final-cta h2 { max-width: 720px; margin-bottom: 0; font-size: clamp(2.4rem, 4.4vw, 4rem); }
.final-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.final-actions > a:last-child { color: #a9b7cb; font-size: .9rem; font-weight: 650; text-decoration: none; }

.site-footer { color: #a1b0c5; background: #050d1c; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 70px; padding: 72px 0 50px; }
.footer-grid .brand { color: white; }
.footer-brand p { max-width: 300px; margin: 20px 0 0; line-height: 1.6; }
.footer-grid h3 { margin: 0 0 17px; color: white; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid > div:not(:first-child) a { margin: 0 0 11px; color: #93a3ba; text-decoration: none; font-size: .9rem; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.07); font-size: .8rem; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .primary-nav { gap: 15px; }
  .primary-nav a:nth-child(4), .primary-nav a:nth-child(5) { display: none; }
  .hero-grid { gap: 34px; }
  .network-card { min-height: 480px; }
  .hero-proof { gap: 18px; }
  .apps-grid { gap: 55px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 680px); }
  .site-header { background: rgba(7,18,37,.92); }
  .nav-shell { min-height: 68px; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 68px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 16px 22px; background: #081326; border-bottom: 1px solid rgba(255,255,255,.1); }
  .primary-nav.open { display: flex; }
  .primary-nav a, .primary-nav a:nth-child(4), .primary-nav a:nth-child(5) { display: block; padding: 13px 12px; color: white; }
  .nav-actions .button { display: none; }
  .hero { min-height: auto; padding: 120px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .eyebrow { margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .network-card { min-height: 500px; margin-top: 20px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid div:nth-child(3) { border-left: 1px solid rgba(255,255,255,.07); }
  .steps-grid, .locations-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .heading-split { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .heading-split h2 { margin-inline: auto; }
  .apps-grid { grid-template-columns: 1fr; }
  .app-stack { max-width: 560px; }
  .pricing-cta { align-items: flex-start; }
  .pricing-cta, .pricing-cta > div { flex-direction: column; }
  .final-cta-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .final-actions { flex-direction: row; justify-content: center; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }
  .brand { font-size: .92rem; }
  .brand-mark { width: 38px; height: 38px; }
  .nav-actions { gap: 7px; }
  .language-control { padding-inline: 7px; }
  .hero h1 { font-size: clamp(3.15rem, 15vw, 4.7rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-proof span { display: flex; flex-direction: column; gap: 6px; padding: 12px 5px; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; background: rgba(255,255,255,.025); }
  .hero-proof small { max-width: 80px; text-align: center; }
  .network-card { min-height: 420px; padding: 18px; border-radius: 24px; }
  .network-topbar strong { font-size: .98rem; }
  .secure-badge { font-size: .58rem; }
  .map-stage { inset: 93px 4px auto; }
  .connect-orbit { top: 52%; width: 110px; height: 110px; }
  .connect-orbit::before { inset: -22px; }
  .connect-orbit::after { inset: -43px; }
  .selected-server { inset: auto 18px 18px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div, .trust-grid div:nth-child(3) { min-height: 74px; border-left: 1px solid rgba(255,255,255,.07); }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .apps-copy h2 { font-size: 2.45rem; }
  .steps-grid, .locations-grid, .pricing-grid { grid-template-columns: 1fr; }
  .step-card { min-height: auto; }
  .step-icon { margin: 30px 0 22px; }
  .price-card { min-height: 160px; }
  .pricing-cta .button { width: 100%; }
  .app-stack article:nth-child(2) { transform: none; }
  .final-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
