/* BIM VPN v0.6 — all overrides on top of main.css */

/* ── Typography scale ── */
html { font-size: 17px; }
.section-eyebrow { font-size: 0.82rem; letter-spacing: 0.14em; }
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; }
.section-sub { font-size: 1.15rem; }

/* ── Language visibility ── */
.lang-zh-only { display: none; }
html[lang="zh"] .lang-zh-only { display: block; }
html[lang="zh"] .lang-en-only { display: none; }
.lang-en-only { display: block; }

/* ── Particle background canvas ── */
[data-particle] { position: relative; overflow: hidden; }
[data-particle] .container,
[data-particle] .cli-section__inner,
[data-particle] .why__grid,
[data-particle] .pricing__grid,
[data-particle] .download__grid,
[data-particle] .testimonials__grid,
[data-particle] .testimonials__grid--row2 { position: relative; z-index: 1; }
[data-particle] > *:not(.particle-bg-canvas) { position: relative; z-index: 1; }
.particle-bg-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; pointer-events: none; z-index: 0; }

/* ── Nav ── */
.nav__links { gap: 1.5rem; }
.nav__links a { font-size: 0.88rem; }
.nav__lang button { font-size: 0.7rem; padding: .25rem .45rem; }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(18,18,18,0.98); backdrop-filter: blur(20px);
    padding: 1.5rem; gap: 1.25rem;
    border-bottom: 1px solid rgba(245,131,0,.15); z-index: 99;
  }
  .nav__links.open a { font-size: 1rem; color: #E0E0E0; }
}

/* ── Hero canvas ── */
.hero { position: relative; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero__inner { position: relative; z-index: 1; }
.hero__tag { font-size: 1.05rem; font-weight: 700; letter-spacing: .18em; margin-bottom: .5rem; color: rgba(245,131,0,.8); }
.hero h1 { font-size: clamp(3rem, 5.5vw, 5rem); line-height: 1.05; }
.hero__sub { font-size: 1.2rem; line-height: 1.7; }

/* ── Hero app icons grid ── */
.hero__apps-grid { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; max-width: 340px; }
.hap {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.hap:hover { background: rgba(245,131,0,.12); border-color: rgba(245,131,0,.3); }
.hap--more { color: #94A3B8; font-size: .78rem; font-weight: 600; background: rgba(255,255,255,.04); padding: 0 .6rem; width: auto; }

/* ── Hero phone frame ── */
.hero__app-screen {
  position: relative; width: 300px; max-width: 100%; border-radius: 36px; overflow: hidden;
  border: 2px solid rgba(245,131,0,.25);
  box-shadow: 0 0 0 5px rgba(245,131,0,.06), 0 40px 100px rgba(0,0,0,.6), 0 0 80px rgba(245,131,0,.12);
  background: #0A0A0A;
}
.hero__app-screen-glow { position: absolute; inset: -30px; background: radial-gradient(circle at 50% 40%, rgba(245,131,0,.2) 0%, transparent 65%); pointer-events: none; z-index: 0; }
.hero__app-img { display: block; width: 100%; height: auto; position: relative; z-index: 1; }
.hero__connected-badge {
  position: absolute; top: 16px; right: 16px;
  background: rgba(0,200,80,.15); border: 1px solid rgba(0,200,80,.35); backdrop-filter: blur(8px);
  border-radius: 100px; padding: .3rem .75rem; font-size: .75rem; font-weight: 700; color: #00C850;
  display: flex; align-items: center; gap: .4rem; z-index: 2;
}
.hero__connected-dot { width: 7px; height: 7px; border-radius: 50%; background: #00C850; box-shadow: 0 0 6px #00C850; animation: dot-pulse 2s ease-in-out infinite; }
@keyframes dot-pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 6px #00C850; } 50% { opacity: .6; box-shadow: 0 0 12px #00C850; } }

/* ── Trust bar — single line ── */
.trust-item { display: flex; flex-direction: row; align-items: center; gap: .5rem; white-space: nowrap; }
.trust-item__text { white-space: nowrap; }

/* ── Pillar blocks — uniform height, no black band ── */
.pillars__grid { display: grid; gap: 0; }
.pillar-block { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.pillar-block--reverse { direction: rtl; }
.pillar-block--reverse > * { direction: ltr; }
.pillar-block__img { position: relative; overflow: hidden; min-height: 500px; }
.pillar-block__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transition: transform 0.6s ease; }
.pillar-block:hover .pillar-block__img img { transform: scale(1.03); }
.pillar-block__img-overlay {
  position: absolute; bottom: 1.5rem; left: 1.8rem;
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: rgba(255,255,255,.9);
  text-shadow: 0 2px 16px rgba(0,0,0,.7); line-height: 1.2; pointer-events: none; z-index: 2;
}
.pillar-block--reverse .pillar-block__img-overlay { left: auto; right: 1.8rem; text-align: right; }
.pillar-block__content { display: flex; flex-direction: column; justify-content: center; padding: 3.5rem 4rem; background: #111; min-height: 500px; }
.pillar-block__tag { display: inline-block; background: rgba(245,131,0,.12); color: var(--orange); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 100px; margin-bottom: 1.2rem; width: fit-content; }
.pillar-block__title { font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 800; color: #fff; margin: 0 0 1rem; line-height: 1.2; }
.pillar-block__desc { color: #94A3B8; font-size: 1rem; line-height: 1.8; margin: 0 0 1.5rem; }
.pillar-block__bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem; }
.pillar-block__bullets li { display: flex; align-items: center; gap: .85rem; font-size: .92rem; font-weight: 500; color: #CBD5E1; }
.pillar-block__bullets li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.pillar-block__bullets--fa li::before { display: none; }
.pillar-block__bullets--fa li .bi { color: var(--orange); font-size: 1.05rem; width: 22px; text-align: center; flex-shrink: 0; }
.pillar-logo-icon { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; filter: brightness(0) invert(1); opacity: .75; }
.pillar-logo-icon--bim { filter: none; opacity: 1; border-radius: 4px; }
.pillar-exchange-link { color: #CBD5E1; text-decoration: none; transition: color .2s; }
.pillar-exchange-link:hover { color: var(--orange); }

/* ── Logo constellation canvas ── */
.pillar-logo-canvas {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important;
  pointer-events: none; z-index: 1; opacity: .28;
}
/* ── Logo canvas on content/text side ── */
.pillar-block__content--canvas { position: relative; overflow: hidden; }
.pillar-block__content--canvas > *:not(.pillar-logo-canvas) { position: relative; z-index: 1; }
/* Higher contrast on the dark content background */
.pillar-block__content--canvas .pillar-logo-canvas { opacity: .38; }

/* ── Crypto friendly label ── */
.crypto-friendly-label {
  display: flex; align-items: center; gap: .5rem;
  margin-top: 1.5rem; margin-bottom: .75rem;
  font-size: .82rem; color: #94A3B8; font-weight: 500;
}
.crypto-friendly-label i { color: var(--orange); }

/* ── Crypto price table ── */
.crypto-price-table {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; overflow: hidden;
}
.cpt-row {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem 1rem; border-bottom: 1px solid rgba(255,255,255,.06);
}
.cpt-row:last-child { border-bottom: none; }
.cpt-icon { width: 20px; height: 20px; object-fit: contain; filter: brightness(0) invert(1); flex-shrink: 0; }
.cpt-name { flex: 1; font-size: .82rem; font-weight: 600; color: #E2E8F0; }
.cpt-sym { color: #64748B; font-weight: 400; margin-left: .3rem; font-size: .76rem; }
.cpt-price { font-size: .82rem; font-weight: 700; color: #fff; min-width: 80px; text-align: right; }
.cpt-change { font-size: .75rem; font-weight: 600; min-width: 55px; text-align: right; }
.cpt-change--up { color: #00C850; }
.cpt-change--down { color: #FF4444; }
.cpt-cmc-link { font-size: .78rem; color: var(--orange); text-decoration: none; white-space: nowrap; }
.cpt-cmc-link:hover { text-decoration: underline; }

/* ── Interactive Map section — Leaflet ── */
.map-section {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 500px; background: #080808; overflow: hidden;
}
.map-section__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4.5rem 3rem 4.5rem 5vw;
  align-self: stretch;
}
.map-section__title { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; color: #fff; margin: 1.5rem 0 1rem; line-height: 1.15; }
.map-section__title .orange { color: #F58300; }
.map-section__sub { color: #94A3B8; font-size: 1.05rem; margin: 0 0 1.8rem; line-height: 1.75; max-width: 440px; }
.map-section__nodes { display: flex; flex-wrap: wrap; gap: .5rem; }
.map-node { background: rgba(245,131,0,.1); border: 1px solid rgba(245,131,0,.22); color: #E2E8F0; padding: .38rem .85rem; border-radius: 100px; font-size: .8rem; font-weight: 500; }
.map-section__canvas-wrap { position: relative; overflow: hidden; min-height: 500px; }
#server-map { width: 100%; height: 100%; min-height: 500px; }
.leaflet-container { background: #080808 !important; }
.leaflet-tile-pane { filter: brightness(0.85) saturate(0.9); }

/* Leaflet server dot markers */
.smap-dot {
  width: 10px; height: 10px; background: #F58300; border-radius: 50%;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(245,131,0,.8);
}
.smap-dot--china { width: 14px; height: 14px; box-shadow: 0 0 14px rgba(245,131,0,1); }
.smap-dot--future {
  background: transparent;
  border: 2px solid rgba(245,131,0,0.7);
  width: 9px; height: 9px;
  box-shadow: 0 0 6px rgba(245,131,0,0.4);
}
.smap-pulse--future {
  background: rgba(245,131,0,0.15);
  animation-duration: 3s;
}
.smap-pulse {
  width: 18px; height: 18px; background: rgba(245,131,0,0.35); border-radius: 50%;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: smap-pulse 2.2s ease-out infinite;
}
.smap-pulse--china { width: 28px; height: 28px; }
@keyframes smap-pulse { 0% { transform: translate(-50%, -50%) scale(0.6); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; } }
.smap-arc-canvas { position: absolute; inset: 0; pointer-events: none; z-index: 500; }

/* ── Selling point blocks — uniform height, no black band ── */
.sp-block { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.sp-block--reverse { direction: rtl; }
.sp-block--reverse > * { direction: ltr; }
.sp-block__img { position: relative; overflow: hidden; min-height: 500px; }
.sp-block__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transition: transform .6s ease; }
.sp-block:hover .sp-block__img img { transform: scale(1.03); }
.sp-block__content { display: flex; flex-direction: column; justify-content: center; padding: 3.5rem 4rem; background: #0d0d0d; min-height: 500px; }
.sp-block__tag { display: inline-block; background: rgba(245,131,0,.12); color: var(--orange); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 100px; margin-bottom: 1.2rem; width: fit-content; }
.sp-block__title { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 800; color: #fff; margin: 0 0 .9rem; line-height: 1.2; }
.sp-block__desc { color: #94A3B8; font-size: 1rem; line-height: 1.8; margin: 0; }


/* ── CS section — two column ── */
.cs-section { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.cs-section__content {
  padding: 5rem 4.5rem; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, #111 0%, #1a0e00 100%); text-align: left; min-height: 500px;
}
.cs-section__img { position: relative; overflow: hidden; background: #0a0a0a; min-height: 500px; }
.cs-section__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.cs-section__tag { display: inline-block; background: rgba(245,131,0,.12); color: var(--orange); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 100px; margin-bottom: 1.2rem; }
.cs-section__title { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; color: #fff; margin: 0 0 1rem; line-height: 1.2; }
.cs-section__desc { color: #94A3B8; font-size: 1rem; line-height: 1.75; margin: 0 0 2rem; max-width: 440px; }
.cs-section .btn { font-size: 1rem; padding: .9rem 2rem; align-self: flex-start; }

/* ── Why BIM ── */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: 12px; padding: 2.2rem 1.75rem; transition: border-color .3s, transform .3s; text-align: center; }
.why-card:hover { border-color: rgba(245,131,0,.3); transform: translateY(-4px); }
.why-card__icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(245,131,0,.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; font-size: 1.3rem; color: var(--orange); }
.why-card__title { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 0 0 .7rem; }
.why-card__desc { font-size: .9rem; color: #94A3B8; line-height: 1.65; margin: 0; text-align: center; }

/* ── CLI VPN for AI Agents section ── */
.cli-section { padding: 7rem 5vw; background: #060606; border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); }
.cli-section__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; max-width: 1200px; margin: 0 auto; align-items: center; }
.cli-badge { display: inline-flex; align-items: center; gap: .55rem; background: rgba(245,131,0,.1); border: 1px solid rgba(245,131,0,.3); color: #F58300; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .38rem .9rem; border-radius: 100px; margin-bottom: 1.5rem; }
.cli-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: #F58300; animation: dot-pulse 1.5s ease-in-out infinite; }
.cli-section__title { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; color: #fff; margin: 0 0 1.2rem; line-height: 1.15; }
.cli-section__title .orange { color: #F58300; }
.cli-section__desc { color: #94A3B8; font-size: 1.05rem; line-height: 1.8; margin: 0 0 2rem; }
.cli-features { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2.5rem; }
.cli-feature { display: flex; gap: 1rem; align-items: flex-start; }
.cli-feature__icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; background: rgba(245,131,0,.1); border: 1px solid rgba(245,131,0,.2); display: flex; align-items: center; justify-content: center; color: #F58300; font-size: 1rem; }
.cli-feature__title { font-size: .95rem; font-weight: 700; color: #E2E8F0; margin: 0 0 .2rem; }
.cli-feature__desc { font-size: .88rem; color: #64748B; margin: 0; line-height: 1.5; }
.cli-agents { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.cli-agent-tag { display: flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); padding: .38rem .85rem; border-radius: 8px; font-size: .82rem; color: #94A3B8; }
.cli-agent-tag i { color: #F58300; }
.cli-section__visual { display: flex; flex-direction: column; gap: 1.5rem; }
.cli-terminal { background: #0f0f0f; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.cli-terminal__bar { background: #1a1a1a; padding: .75rem 1rem; display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.cli-terminal__bar span { width: 12px; height: 12px; border-radius: 50%; }
.cli-terminal__bar .dot-red { background: #FF5F57; }
.cli-terminal__bar .dot-yellow { background: #FEBC2E; }
.cli-terminal__bar .dot-green { background: #28C840; }
.cli-terminal__title { font-size: .75rem; color: #555; margin-left: .5rem; font-family: monospace; }
.cli-terminal__body { padding: 1.5rem; font-family: 'Courier New', monospace; font-size: .82rem; line-height: 1.9; }
.cli-comment { color: #475569; }
.cli-prompt { color: #F58300; }
.cli-cmd { color: #E2E8F0; }
.cli-ok { color: #00C850; }
.cli-line { display: block; }
.cli-server-img-wrap { position: relative; border-radius: 14px; overflow: hidden; height: 200px; }
.cli-server-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cli-server-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(245,131,0,.15) 0%, transparent 60%); pointer-events: none; }

/* ── Pricing — fix badge overlap ── */
#pricing .section-sub { margin-bottom: 0; padding-bottom: 0; }
.pricing__grid { margin-top: 3.5rem; }

/* ── Testimonials — 6 cards with avatars ── */
.testimonials-section { position: relative; padding: 6rem 0; overflow: hidden; }
.testimonials-section__bg { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; z-index: 1 !important; }
.testimonials-section .container { position: relative; z-index: 2; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.testimonials__grid--row2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; max-width: 100%; }
.testimonials__grid--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) and (min-width: 901px) { .testimonials__grid--four { grid-template-columns: repeat(2, 1fr); } }
.testimonial-card { background: rgba(255,255,255,.05); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 2rem; }
.testimonial-card__avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; margin-bottom: 1.2rem; position: relative; background: rgba(245,131,0,.12); border: 2px solid rgba(245,131,0,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testimonial-card__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.testimonial-card__avatar-initials { font-size: .85rem; font-weight: 800; color: #F58300; z-index: 0; letter-spacing: .05em; }
.testimonial-card__stars { color: #F58300; font-size: .8rem; margin-bottom: .75rem; letter-spacing: .05em; }
.testimonial-card__text { color: #E2E8F0; font-size: .95rem; line-height: 1.75; margin: 0 0 1.2rem; font-style: italic; }
.testimonial-card__name { font-weight: 700; color: #fff; font-size: .92rem; }
.testimonial-card__role { color: #64748B; font-size: .8rem; margin-top: .2rem; }

/* ── Full footer ── */
.footer-full { background: #080808; border-top: 1px solid rgba(255,255,255,.06); padding: 5rem 5vw 2.5rem; position: relative; overflow: hidden; }
.footer-full__grid, .footer-full__bottom { position: relative; z-index: 1; }
.footer-full__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-col__chat { display: inline-flex; align-items: center; margin-top: 1.5rem; }
.footer-col__brand { display: flex; align-items: center; gap: .75rem; margin-bottom: .85rem; }
.footer-col__brand img { border-radius: 6px; }
.footer-col__brand-name { font-weight: 800; font-size: 1.15rem; color: var(--orange); }
.footer-col__brand-name span { color: var(--orange); }
.footer-col__tagline { color: #64748B; font-size: .95rem; line-height: 1.65; margin: 0 0 1.75rem; }
.footer-col__social { display: flex; gap: .75rem; }
.footer-social-btn { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #64748B; transition: background .2s, border-color .2s, color .2s; text-decoration: none; }
.footer-social-btn:hover { background: rgba(245,131,0,.15); border-color: rgba(245,131,0,.3); color: var(--orange); }
.footer-col__heading { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 1.4rem; }
.footer-col__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem; }
.footer-col__links a { color: #64748B; text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer-col__links a:hover { color: #fff; }
.footer-full__bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 1.75rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-full__copy { color: #64748B; font-size: .82rem; }
.footer-full__bottom-links { display: flex; gap: 1.5rem; }
.footer-full__bottom-links a { color: #64748B; font-size: .82rem; text-decoration: none; transition: color .2s; }
.footer-full__bottom-links a:hover { color: #fff; }

/* ── Crypto price table — BIM Exchange name link ── */
.cpt-name-link { color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(245,131,0,.4); transition: color .2s, border-color .2s; }
.cpt-name-link:hover { color: var(--orange); border-color: var(--orange); }

/* ── Speed section visual ── */
.sp-block__img--speed {
  background: #060606; display: flex; align-items: center;
  justify-content: center; overflow: hidden; padding: 2.5rem 2rem;
}
.speedtest-screenshot-wrap {
  width: 100%; max-width: 340px; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(245,131,0,.22);
  box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 0 28px rgba(245,131,0,.14);
  animation: speedtest-pulse 3s ease-in-out infinite;
}
@keyframes speedtest-pulse {
  0%, 100% { box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 0 20px rgba(245,131,0,.12); border-color: rgba(245,131,0,.18); }
  50%       { box-shadow: 0 16px 55px rgba(0,0,0,.6), 0 0 55px rgba(245,131,0,.38); border-color: rgba(245,131,0,.45); }
}
.speedtest-img { display: block; width: 100%; height: auto; }
.speedtest-label {
  background: rgba(10,10,10,.85); color: #64748B; font-size: .75rem;
  text-align: center; padding: .55rem 1rem; border-top: 1px solid rgba(255,255,255,.06);
}
/* Speedometer inside content column */
.sp-block__content--speed { display: flex; flex-direction: column; justify-content: center; }
.sp-block__content--speed .speedometer-wrap { width: 100%; max-width: 260px; margin-bottom: 1.25rem; }
.speedometer-svg { width: 100%; height: auto; display: block; }

/* ── Dual content SP block (productivity + quick connect) ── */
.sp-block__content--dual {
  display: flex; flex-direction: column; justify-content: center;
  padding: 2.5rem 4rem; gap: 0; min-height: 500px;
}
.sp-dual__item { padding: 1.8rem 0; }
.sp-dual__item .sp-block__title { font-size: clamp(1.25rem, 1.9vw, 1.75rem); margin-bottom: .65rem; }
.sp-dual__item .sp-block__desc { font-size: .92rem; line-height: 1.75; }
.sp-dual__divider { height: 1px; background: rgba(255,255,255,.07); flex-shrink: 0; }

/* ── Download CTA section ── */
.dl-cta-section { background: #080808; border-top: 1px solid rgba(255,255,255,.05); }
.dl-cta-btn { font-size: 1.1rem; padding: 1rem 2.6rem; }

/* ── Reveal animation ── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .map-section, .cli-section__inner { grid-template-columns: 1fr; }
  .map-section__canvas-wrap, #server-map { min-height: 320px; }
  .map-section__text { padding: 3rem 2rem 2rem; }
  .cli-section__inner { gap: 3rem; }
}
@media (max-width: 900px) {
  .hero__app-screen { width: 240px; border-radius: 28px; }
  .hero__apps-grid { max-width: 100%; }
  .pillar-block, .sp-block, .cs-section { grid-template-columns: 1fr; }
  .pillar-block--reverse, .sp-block--reverse { direction: ltr; }
  .pillar-block__img, .sp-block__img, .cs-section__img { min-height: 300px; max-height: 380px; }
  .pillar-block__content, .sp-block__content, .cs-section__content { min-height: auto; padding: 2.5rem 1.75rem; }
  .sp-block__content--dual { padding: 1.5rem 1.75rem; }
  .sp-block__img--speed { min-height: 300px; padding: 2rem 1.5rem; }
  .speedtest-screenshot-wrap { max-width: 260px; }
  .sp-block__content--speed .speedometer-wrap { max-width: 200px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid, .testimonials__grid--row2 { grid-template-columns: 1fr; max-width: 100%; }
  .footer-full__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .why__grid { grid-template-columns: 1fr; }
  .footer-full__grid { grid-template-columns: 1fr; }
  .footer-full__bottom { flex-direction: column; align-items: flex-start; }
  .footer-full__bottom-links { flex-wrap: wrap; gap: .9rem; }
}

/* ── Theme toggle button ── */
.nav__theme-toggle {
  background: none; border: 1px solid var(--bd2); border-radius: 20px;
  padding: .3rem .55rem; cursor: pointer; display: flex; align-items: center;
  font-size: 1rem; line-height: 1; transition: border-color .2s;
}
.nav__theme-toggle:hover { border-color: var(--orange); }
[data-theme="dark"]  .nav__theme-icon--sun  { display: none; }
[data-theme="dark"]  .nav__theme-icon--moon { display: inline; }
[data-theme="light"] .nav__theme-icon--sun  { display: inline; }
[data-theme="light"] .nav__theme-icon--moon { display: none; }

/* ── Light theme ── */
[data-theme="light"] {
  --dark:    #F7F7F7;
  --dark2:   #EFEFEF;
  --surface: #E8E8E8;
  --surface2:#DEDEDE;
  --bd:      rgba(0,0,0,0.08);
  --bd2:     rgba(0,0,0,0.15);
  --fg:      #1A1A1A;
  --fg2:     #333333;
  --fg3:     #555555;
  --fg4:     #888888;
  --white:   #FFFFFF;
  --orange-dim: rgba(245,131,0,0.12);
  --orange-glow: rgba(245,131,0,0.15);
}
[data-theme="light"] body { background: var(--dark); color: var(--fg); }

/* Nav */
[data-theme="light"] .nav { background: rgba(247,247,247,0.88); border-bottom-color: rgba(0,0,0,0.07); }
[data-theme="light"] .nav.scrolled { background: rgba(247,247,247,0.98); }
[data-theme="light"] .nav__links a { color: #333; }
[data-theme="light"] .nav__links a:hover { color: #111; }
[data-theme="light"] .nav__links.open { background: rgba(247,247,247,0.98); }
[data-theme="light"] .nav__lang button { color: #555; }
[data-theme="light"] .nav__lang button.active { color: var(--orange); background: var(--orange-dim); }

/* Hero */
[data-theme="light"] .hero { background: linear-gradient(145deg, #efefef 0%, #ffffff 40%, #fef6e8 100%); }
[data-theme="light"] .hero__stats { background: rgba(220,220,220,0.7); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .hero__stats-num { color: #111; }
[data-theme="light"] .hero__h1 { color: #111; }
[data-theme="light"] .hero__sub { color: #555; }
[data-theme="light"] .hero__app-screen { background: #fff; border-color: rgba(0,0,0,0.1); box-shadow: 0 24px 64px rgba(0,0,0,0.12); }
[data-theme="light"] .trust-bar { background: var(--surface); }
[data-theme="light"] .trust-item { color: #333; }

/* Pillar blocks */
[data-theme="light"] .pillar-block__img { background: #e4e4e4; }
[data-theme="light"] .pillar-block__content { background: #fafafa; }
[data-theme="light"] .pillar-block__tag { background: var(--orange-dim); border-color: var(--orange-bd); }
[data-theme="light"] .pillar-block__title { color: #111; }
[data-theme="light"] .pillar-block__desc { color: #555; }
[data-theme="light"] .pillar-block__bullets li { color: #444; border-color: rgba(0,0,0,0.07); }

/* SP blocks */
[data-theme="light"] .sp-block__img { background: #e8e8e8; }
[data-theme="light"] .sp-block__content { background: #fafafa; }
[data-theme="light"] .sp-block__tag { background: var(--orange-dim); border-color: var(--orange-bd); }
[data-theme="light"] .sp-block__title { color: #111; }
[data-theme="light"] .sp-block__desc { color: #555; }
[data-theme="light"] .sp-block__img--speed { background: #e4e4e4; }
[data-theme="light"] .speedtest-label { background: rgba(230,230,230,.9); color: #555; border-top-color: rgba(0,0,0,0.07); }

/* Map section */
[data-theme="light"] .map-section { background: #f0f0f0; }
[data-theme="light"] .map-section__title { color: #111; }
[data-theme="light"] .map-section__sub { color: rgba(40,40,40,0.75); }
[data-theme="light"] .map-section__overlay { background: linear-gradient(to bottom, rgba(240,240,240,0.35) 0%, rgba(240,240,240,0) 40%); }
[data-theme="light"] .map-node { background: rgba(240,240,240,0.85); border-color: rgba(245,131,0,0.35); color: #222; }
[data-theme="light"] .map-node-label { color: #444; }

/* CS / Support section */
[data-theme="light"] .cs-section__img { background: #e4e4e4; }
[data-theme="light"] .cs-section__content { background: linear-gradient(135deg, #fafafa 0%, #fef6e8 100%); }
[data-theme="light"] .cs-section__title { color: #111; }
[data-theme="light"] .cs-section__desc { color: #555; }

/* Why cards */
[data-theme="light"] .why-card { background: #fff; border-color: rgba(0,0,0,0.07); }
[data-theme="light"] .why-card:hover { border-color: var(--orange-bd); }
[data-theme="light"] .why-card__title { color: #111; }
[data-theme="light"] .why-card__desc { color: #555; }

/* CLI section */
[data-theme="light"] .cli-section { background: #f2f2f2; }
[data-theme="light"] .cli-section__title { color: #111; }
[data-theme="light"] .cli-section__desc { color: #555; }
[data-theme="light"] .cli-terminal { background: #fff; border-color: rgba(0,0,0,0.1); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
[data-theme="light"] .cli-terminal__bar { background: #e8e8e8; }
[data-theme="light"] .cli-terminal__dot { background: #ccc; }
[data-theme="light"] .cli-terminal__body { color: #333; }
[data-theme="light"] .cli-terminal__prompt { color: #888; }
[data-theme="light"] .cli-terminal__comment { color: #aaa; }
[data-theme="light"] .cli-feature__title { color: #111; }
[data-theme="light"] .cli-feature__desc { color: #555; }

/* Testimonials */
[data-theme="light"] .testimonials-section { background: #F5EFE6; }
[data-theme="light"] .testimonials-section__bg { opacity: .04; }
[data-theme="light"] .testimonial-card { background: #FAF5EE; border-color: rgba(200,170,130,0.25); }
[data-theme="light"] .t-card { background: #FAF5EE; border-color: rgba(200,170,130,0.25); }
[data-theme="light"] .t-card:hover,
[data-theme="light"] .testimonial-card:hover { border-color: var(--orange-bd); }
[data-theme="light"] .testimonial-card__text,
[data-theme="light"] .t-card__quote { color: #3D3228; }
[data-theme="light"] .testimonial-card__name,
[data-theme="light"] .t-card__name { color: #1A1208; }
[data-theme="light"] .testimonial-card__role,
[data-theme="light"] .t-card__role { color: #7A6652; }

/* Download / footer */
[data-theme="light"] .download-section { background: #f7f7f7; }
[data-theme="light"] .footer-full { background: #efefef; border-top-color: rgba(0,0,0,0.08); }
[data-theme="light"] .footer-full__logo-text span { color: var(--orange); }
[data-theme="light"] .footer-full__tagline,
[data-theme="light"] .footer-full__col-title,
[data-theme="light"] .footer-full__links a,
[data-theme="light"] .footer-full__bottom { color: #555; }
[data-theme="light"] .footer-full__links a:hover { color: var(--orange); }
[data-theme="light"] .footer-full__bottom-copy { color: #888; }

/* Crypto price table */
[data-theme="light"] .crypto-price-table { background: #fff; border-color: rgba(0,0,0,0.07); }
[data-theme="light"] .cpt-row { border-bottom-color: rgba(0,0,0,0.05); }
[data-theme="light"] .cpt-name { color: #222; }
[data-theme="light"] .cpt-price { color: #111; }
[data-theme="light"] .crypto-friendly-label { color: #555; border-top-color: rgba(0,0,0,0.06); }

/* Dual SP divider */
[data-theme="light"] .sp-dual__divider { background: rgba(0,0,0,0.07); }

/* Section eyebrows & titles */
[data-theme="light"] .section-eyebrow { color: var(--orange); }
[data-theme="light"] .section-title { color: #111; }
[data-theme="light"] .section-sub { color: #555; }

/* All white text → dark in light mode */
[data-theme="light"] .nav__logo-text,
[data-theme="light"] .nav__logo-text span { color: var(--orange); }
[data-theme="light"] .nav__links a { color: #222; }
[data-theme="light"] .nav__links a:hover { color: #000; }
[data-theme="light"] .hero__h1 { color: #111; }
[data-theme="light"] .hero__stats-num { color: #111; }
[data-theme="light"] .trust-item { color: #333; }
[data-theme="light"] .pillar-block__title { color: #111; }
[data-theme="light"] .map-section__title { color: #111; }
[data-theme="light"] .map-title-accent { color: var(--orange); }
[data-theme="light"] .sp-block__title { color: #111; }
[data-theme="light"] .cs-section__title { color: #111; }
[data-theme="light"] .why-card__title { color: #111; }
[data-theme="light"] .cli-section__title { color: #111; }
[data-theme="light"] .platform-card__name { color: #111; }
[data-theme="light"] .t-card__name,
[data-theme="light"] .testimonial-card__name { color: #111; }
[data-theme="light"] .faq-item__q { color: #222; }
[data-theme="light"] .faq-item__q:hover,
[data-theme="light"] .faq-item.open .faq-item__q { color: #111; }
[data-theme="light"] .footer__brand-name,
[data-theme="light"] .footer-col__brand-name { color: var(--orange); }
[data-theme="light"] .footer-col__heading { color: #111; }
[data-theme="light"] .footer-col__links a:hover,
[data-theme="light"] .footer-full__bottom-links a:hover { color: #111; }
[data-theme="light"] .cpt-price { color: #111; }
[data-theme="light"] .faq-item__a { color: #555; }

/* Icons & SVG on dark backgrounds → adjust for light */
[data-theme="light"] .why-card__icon,
[data-theme="light"] .cli-feature__icon { filter: none; }
[data-theme="light"] .platform-card { background: #fff; border-color: rgba(0,0,0,0.09); }
[data-theme="light"] .platform-card:hover { border-color: var(--orange-bd); }
[data-theme="light"] .platform-card__icon { color: var(--orange); }
[data-theme="light"] .faq-item { border-bottom-color: rgba(0,0,0,0.07); }
[data-theme="light"] .faq-item__icon { color: var(--orange); }

/* Download section buttons */
[data-theme="light"] .download-section .btn--outline { color: #333; border-color: rgba(0,0,0,0.2); }
[data-theme="light"] .download-section .btn--outline:hover { color: var(--orange); border-color: var(--orange); }
