:root {
  --bg: #f6fbff;
  --bg-2: #edf7ff;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --border: rgba(39, 113, 166, 0.16);
  --border-strong: rgba(23, 93, 150, 0.26);
  --text: #0b1f33;
  --heading: #06172a;
  --muted: #52677d;
  --soft: #23445f;
  --accent: #00b894;
  --accent-2: #1677ff;
  --accent-3: #6d5dfc;
  --warning: #ff8a00;
  --shadow: 0 24px 70px rgba(31, 83, 126, 0.14);
  --shadow-soft: 0 14px 40px rgba(31, 83, 126, 0.1);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% -10%, rgba(0, 184, 148, 0.16), transparent 30rem),
    radial-gradient(circle at 92% 0%, rgba(22, 119, 255, 0.16), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #eef7ff 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(22, 119, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 119, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0%, rgba(0, 184, 148, 0.08) 45%, transparent 62%),
    radial-gradient(circle at 50% 115%, rgba(109, 93, 252, 0.12), transparent 36rem);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--heading);
  color: #fff;
  font-weight: 800;
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(23, 93, 150, 0.12);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 30px rgba(33, 88, 136, 0.08);
}
.nav-shell, .section, .footer-inner, .hero-grid { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.nav-shell { display: flex; align-items: center; gap: 12px; min-height: 72px; width: min(1240px, calc(100% - 32px)); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; max-width: 252px; }
.brand img { height: 60px; width: auto; max-width: 100%; filter: drop-shadow(0 8px 18px rgba(22, 119, 255, 0.12)); }
.brand-mark { display: none; width: 38px; height: 38px; border-radius: 13px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 900; place-items: center; }
.nav-toggle { display: none; margin-left: auto; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-strong); border-radius: 14px; background: #fff; color: var(--heading); cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease; }
.nav-toggle:hover, .nav-toggle:focus-visible { outline: none; border-color: rgba(22, 119, 255, 0.35); box-shadow: 0 10px 24px rgba(22, 119, 255, 0.12); }
.nav-toggle:active { transform: scale(0.97); }
.nav-toggle-icon { position: relative; display: block; width: 18px; height: 14px; }
.nav-toggle-icon span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 999px; background: var(--heading); transition: transform 0.28s ease, top 0.28s ease, opacity 0.2s ease; }
.nav-toggle-icon span:nth-child(1) { top: 0; }
.nav-toggle-icon span:nth-child(2) { top: 6px; }
.nav-toggle-icon span:nth-child(3) { top: 12px; }
.site-header.is-open .nav-toggle-icon span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.site-header.is-open .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle-icon span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.nav-backdrop { display: none; }
.nav-panel-head,
.nav-close { display: none; }
body.nav-locked { overflow: hidden; }
.nav-content { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 1px; flex: 1; flex-wrap: nowrap; min-width: 0; }
.nav-link { border-radius: 999px; padding: 7px 7px; color: var(--muted); font-size: 12.5px; font-weight: 800; white-space: nowrap; transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease; }
.nav-link:hover, .nav-link:focus-visible, .nav-link.is-active { color: var(--accent-2); background: rgba(22, 119, 255, 0.08); outline: none; transform: translateY(-1px); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.portal-link, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 900; white-space: nowrap; }
.portal-link { min-height: 34px; padding: 7px 11px; font-size: 12.5px; background: rgba(0, 184, 148, 0.1); color: #087f68; border: 1px solid rgba(0, 184, 148, 0.24); }
.button { min-height: 48px; padding: 13px 18px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.82); color: var(--heading); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); outline: none; border-color: rgba(22, 119, 255, 0.35); box-shadow: 0 16px 36px rgba(22, 119, 255, 0.15); }
.button-primary { border: 0; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 16px 36px rgba(22, 119, 255, 0.22); }
.button-ghost { background: rgba(255, 255, 255, 0.7); }

.hero { position: relative; overflow: hidden; padding: 28px 0 36px; }
.hero > .section,
.hero > .hero-grid { padding: 0; }
.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.72)),
    var(--hero-image, url("../images/banner_bg.png")) center / cover;
  opacity: 0.9;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: 42px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 12px; border: 1px solid rgba(0, 184, 148, 0.24); border-radius: 999px; background: rgba(0, 184, 148, 0.08); color: #087f68; font-size: 13px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.eyebrow::before { width: 8px; height: 8px; border-radius: 999px; background: currentColor; box-shadow: 0 0 18px currentColor; content: ""; }
.hero h1 { margin: 0; max-width: 780px; color: var(--heading); font-size: clamp(42px, 7vw, 82px); line-height: 0.98; letter-spacing: -0.065em; }
.hero h1 span { display: block; background: linear-gradient(135deg, #06172a, #135fa8 48%, #00a98b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-subtitle { max-width: 780px; margin: 22px 0 0; color: var(--soft); font-size: clamp(18px, 2vw, 25px); line-height: 1.38; font-weight: 850; }
.hero-description { max-width: 750px; margin: 16px 0 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-panel { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(236,248,255,0.9)); box-shadow: var(--shadow); }
.hero-panel::before { position: absolute; inset: -50% -20% auto; height: 260px; background: conic-gradient(from 180deg, transparent, rgba(0, 184, 148, 0.2), transparent, rgba(22, 119, 255, 0.18), transparent); content: ""; animation: spin 14s linear infinite; }
.network-card { position: relative; padding: 26px; }
.network-screen { border: 1px solid rgba(23, 93, 150, 0.14); border-radius: 22px; padding: 20px; background: rgba(255, 255, 255, 0.78); }
.screen-header { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.screen-header span { width: 9px; height: 9px; border-radius: 999px; background: var(--accent); opacity: 0.9; }
.screen-header span:nth-child(2) { background: var(--accent-2); }
.screen-header span:nth-child(3) { background: var(--accent-3); }
.node-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.node { min-width: 0; min-height: 96px; border: 1px solid rgba(23, 93, 150, 0.12); border-radius: 18px; padding: 12px; background: radial-gradient(circle at 75% 15%, rgba(0, 184, 148, 0.16), transparent 40px), #fff; box-shadow: 0 12px 26px rgba(31, 83, 126, 0.08); }
.node strong { display: block; color: var(--heading); font-size: 12px; line-height: 1.25; }
.node span { display: block; margin-top: 10px; color: var(--accent-2); font-size: clamp(11px, 1.15vw, 15px); font-weight: 950; line-height: 1.25; overflow-wrap: break-word; hyphens: auto; }
.traffic-line { position: relative; height: 8px; margin: 24px 0 6px; overflow: hidden; border-radius: 999px; background: rgba(22, 119, 255, 0.1); }
.traffic-line::before { position: absolute; inset: 0; width: 45%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); content: ""; animation: pulse-line 3.4s ease-in-out infinite; }

.section { padding: 72px 0; }
.section.compact { padding-top: 42px; }
.section-header { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 30px; align-items: end; margin-bottom: 34px; }
.section-kicker { margin: 0 0 10px; color: var(--accent-2); font-size: 13px; font-weight: 950; letter-spacing: 0.12em; text-transform: uppercase; }
.section-title { margin: 0; color: var(--heading); font-size: clamp(30px, 5vw, 54px); line-height: 1; letter-spacing: -0.045em; }
.section-copy { margin: 0; color: var(--muted); font-size: 17px; }
.metrics-grid, .feature-grid, .service-grid, .tool-grid, .step-grid, .plan-grid, .extras-grid, .contact-grid { display: grid; gap: 18px; }
.metrics-grid { grid-template-columns: repeat(4, 1fr); }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.service-grid { grid-template-columns: repeat(4, 1fr); }
.step-grid { grid-template-columns: repeat(3, 1fr); }
.plan-grid { grid-template-columns: repeat(3, 1fr); }
.extras-grid { grid-template-columns: repeat(2, 1fr); }
.tool-grid { grid-template-columns: repeat(3, 1fr); }
.contact-grid { grid-template-columns: 1.15fr 0.85fr; }

.metric-card, .feature-card, .service-card, .plan-card, .tool-card, .contact-card, .step-card, .visual-card { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--panel); box-shadow: var(--shadow-soft); }
.metric-card, .feature-card, .service-card, .tool-card, .contact-card, .step-card, .visual-card { padding: 22px; }
.metric-card::before, .feature-card::before, .service-card::before, .plan-card::before, .step-card::before, .visual-card::before { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(0, 184, 148, 0.1), transparent 45%); content: ""; }
.metric-card strong { position: relative; display: block; color: var(--heading); font-size: clamp(24px, 4vw, 36px); line-height: 1; }
.metric-card span { position: relative; display: block; margin-top: 8px; color: var(--muted); font-weight: 800; }
.feature-index, .service-icon, .plan-icon, .step-index { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; margin-bottom: 18px; border-radius: 14px; background: rgba(22, 119, 255, 0.09); color: var(--accent-2); font-weight: 950; }
.feature-card h3, .service-card h3, .step-card h3, .tool-card h3, .contact-card h3 { position: relative; margin: 0 0 10px; color: var(--heading); font-size: 21px; line-height: 1.2; }
.feature-card p, .service-card p, .step-card p, .tool-card p, .contact-card p { position: relative; margin: 0; color: var(--muted); }
.service-card { min-height: 260px; display: flex; flex-direction: column; transition: transform .18s ease, border-color .18s ease; }
.service-card:hover, .tool-card:hover { transform: translateY(-3px); border-color: rgba(22,119,255,.28); }
.service-card img { width: 100%; height: 94px; margin-top: auto; object-fit: contain; opacity: 0.95; filter: drop-shadow(0 16px 20px rgba(31,83,126,.12)); }
.visual-card img { width: 100%; max-height: 330px; object-fit: contain; margin: 0 auto; }
.content-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: stretch; }
.showcase-images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.showcase-images img { width: 100%; height: auto; aspect-ratio: 800 / 560; object-fit: contain; border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(180deg, #fff, #f4fbff); }
.showcase-images img:first-child { grid-column: 1 / -1; }

.plan-section + .plan-section { margin-top: 28px; }
.plan-section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.plan-section-header h2, .plan-section-header h3 { margin: 0; color: var(--heading); font-size: clamp(28px, 4.8vw, 50px); line-height: 1; letter-spacing: -0.045em; }
.plan-section-header p { max-width: 650px; margin: 0; color: var(--muted); }
.plan-group { margin-top: 22px; }
.plan-group-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--soft); font-size: 18px; }
.plan-group-title::before { width: 32px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); content: ""; }
.plan-card { display: flex; flex-direction: column; background: rgba(255,255,255,.92); }
.plan-card-header { position: relative; padding: 24px; border-bottom: 1px solid var(--border); }
.plan-card-header h4 { margin: 0; color: var(--heading); font-size: 20px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.plan-price strong { color: var(--heading); font-size: 36px; line-height: 1; }
.plan-price span { color: var(--muted); }
.spec-list { position: relative; display: grid; gap: 0; margin: 0; padding: 10px 24px 24px; }
.spec-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid rgba(23,93,150,.1); }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { color: var(--muted); font-weight: 800; }
.spec-row dd { margin: 0; color: var(--heading); font-weight: 950; text-align: right; }
.tool-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: transform .18s ease, border-color .18s ease; }
.tool-card span { position: relative; color: var(--accent-2); font-weight: 950; }
.contact-panel { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; background: radial-gradient(circle at 0% 0%, rgba(0,184,148,.11), transparent 22rem), var(--panel-strong); box-shadow: var(--shadow); }
.contact-list { display: grid; gap: 10px; margin-top: 18px; }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 10px; color: #087f68; font-weight: 950; }
.page-content > * + * { margin-top: 34px; }
.footer { padding: 48px 0 28px; border-top: 1px solid rgba(23, 93, 150, 0.12); color: var(--muted); background: rgba(255,255,255,.45); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner--extended { flex-direction: column; align-items: stretch; gap: 0; }
.footer-grid { display: grid; grid-template-columns: 0.9fr 1fr 1.4fr; gap: 28px 40px; padding-bottom: 28px; border-bottom: 1px solid rgba(23, 93, 150, 0.1); margin-bottom: 20px; }
.footer-col--brand { display: flex; align-items: flex-start; }
.footer-brand { display: inline-flex; align-items: center; max-width: 220px; }
.footer-brand img { height: 48px; width: auto; max-width: 100%; filter: drop-shadow(0 8px 18px rgba(22, 119, 255, 0.12)); }
.footer-label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--accent-2); font-size: 12px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-label .footer-icon { color: var(--accent-2); opacity: 0.9; }
.footer-contact-list { display: grid; gap: 10px; }
.footer-contact-link { display: inline-flex; align-items: center; gap: 10px; color: #087f68; font-weight: 800; font-size: 14px; line-height: 1.4; text-decoration: none; transition: color 0.15s ease; }
.footer-contact-link:hover { color: var(--accent); }
.footer-icon { flex-shrink: 0; opacity: 0.85; }
.footer-location { display: grid; gap: 8px; }
.footer-address { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.footer-address-label { color: var(--soft); font-weight: 800; }
.footer-bottom { display: flex; justify-content: center; text-align: center; font-size: 13px; }
.hidden { display: none !important; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-line { 0%,100% { transform: translateX(-30%); } 50% { transform: translateX(150%); } }

@media (max-width: 1080px) {
  .site-header.is-open { z-index: 80; }
  .nav-shell { flex-wrap: nowrap; width: min(1180px, calc(100% - 40px)); }
  .nav-toggle { display: inline-flex; position: relative; z-index: auto; }
  .site-header.is-open .nav-toggle {
    z-index: 75;
    border-color: rgba(22, 119, 255, 0.28);
    box-shadow: 0 10px 24px rgba(22, 119, 255, 0.14);
    background: #fff;
  }
  .site-header.is-open .nav-toggle:not(:focus-visible) {
    box-shadow: 0 8px 20px rgba(22, 119, 255, 0.1);
  }
  .site-header.is-open .nav-toggle-icon span:nth-child(1) { top: 0; transform: none; }
  .site-header.is-open .nav-toggle-icon span:nth-child(2) { opacity: 1; }
  .site-header.is-open .nav-toggle-icon span:nth-child(3) { top: 12px; transform: none; }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 60;
    border: 0;
    padding: 0;
    background: rgba(6, 23, 42, 0.28);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, backdrop-filter 0.28s ease;
  }
  .site-header.is-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-content {
    position: fixed;
    top: calc(72px + 12px);
    right: clamp(12px, 3vw, 20px);
    left: clamp(12px, 3vw, 20px);
    z-index: 70;
    display: flex;
    width: auto;
    max-width: 380px;
    max-height: calc(100dvh - 96px);
    margin-left: auto;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(22, 119, 255, 0.14);
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.95)),
      radial-gradient(circle at 100% 0%, rgba(255, 122, 26, 0.08), transparent 42%);
    box-shadow:
      0 28px 80px rgba(31, 83, 126, 0.22),
      0 12px 32px rgba(22, 119, 255, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-10px) scale(0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.24s ease,
      visibility 0s linear 0.32s;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-header.is-open .nav-content {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.24s ease,
      visibility 0s linear 0s;
  }
  .nav-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 6px 8px;
    border-bottom: 1px solid rgba(23, 93, 150, 0.1);
  }
  .nav-panel-title {
    margin: 0;
    color: var(--heading);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(22, 119, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--heading);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }
  .nav-close span,
  .nav-close span::before {
    display: block;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
  }
  .nav-close span { position: relative; transform: rotate(45deg); }
  .nav-close span::before { position: absolute; inset: 0; transform: rotate(90deg); }
  .nav-close:hover,
  .nav-close:focus-visible {
    outline: none;
    border-color: rgba(22, 119, 255, 0.3);
    box-shadow: 0 8px 20px rgba(22, 119, 255, 0.12);
    transform: scale(1.04);
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
    padding: 2px 0;
  }
  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 14px;
    white-space: normal;
    transform: none;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.55);
  }
  .nav-link:hover,
  .nav-link:focus-visible {
    border-color: rgba(22, 119, 255, 0.14);
    background: rgba(22, 119, 255, 0.06);
    box-shadow: none;
  }
  .nav-link.is-active {
    color: var(--vivid-ink, var(--heading));
    border-color: rgba(22, 119, 255, 0.18);
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.1), rgba(22, 119, 255, 0.1));
    box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.08);
  }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
    margin-top: 4px;
    padding: 10px 4px 4px;
    border-top: 1px solid rgba(23, 93, 150, 0.1);
  }
  .language-select-wrap,
  .language-select {
    width: 100%;
    max-width: none;
  }
  .portal-link {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    font-size: 14px;
    padding: 10px 14px;
  }
  .hero-grid, .section-header, .content-split, .contact-grid { grid-template-columns: 1fr; }
  .service-grid, .tool-grid { grid-template-columns: repeat(2, 1fr); }
  html[dir="rtl"] .nav-content {
    right: clamp(12px, 3vw, 20px);
    left: clamp(12px, 3vw, 20px);
    margin-left: 0;
    margin-right: auto;
  }
}
@media (max-width: 820px) {
  .metrics-grid, .feature-grid, .step-grid, .plan-grid, .extras-grid { grid-template-columns: 1fr; }
  .hero { padding: 20px 0 28px; }
  .node-map { grid-template-columns: 1fr; }
  .showcase-images { grid-template-columns: 1fr; }
  .plan-section-header { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .nav-shell, .section, .footer-inner { width: min(100% - 24px, 1180px); }
  .brand { max-width: 220px; }
  .brand img { height: 50px; }
  .service-grid, .tool-grid { grid-template-columns: 1fr; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-col--brand { justify-content: center; align-items: center; width: 100%; }
  .footer-brand { max-width: 200px; margin: 0 auto; }
  .footer-brand img { height: 42px; }
  .button, .portal-link { width: 100%; }
}

/* V3 exploration: brighter edge-network SaaS visual language. */
:root {
  --vivid-orange: #ff7a1a;
  --vivid-cyan: #00d4ff;
  --vivid-pink: #ff4ecd;
  --vivid-ink: #081827;
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 122, 26, 0.18), transparent 26rem),
    radial-gradient(circle at 78% 0%, rgba(0, 212, 255, 0.2), transparent 30rem),
    radial-gradient(circle at 92% 58%, rgba(255, 78, 205, 0.12), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 38%, #edf8ff 100%);
}

body::after {
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 122, 26, 0.08) 26%, transparent 43%),
    linear-gradient(238deg, transparent 18%, rgba(0, 212, 255, 0.11) 49%, transparent 66%),
    radial-gradient(circle at 50% 115%, rgba(109, 93, 252, 0.14), transparent 36rem);
}

.site-header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76)),
    rgba(255, 255, 255, 0.84);
}

.site-header::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.55), rgba(22, 119, 255, 0.58), transparent);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--vivid-ink);
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.12), rgba(22, 119, 255, 0.12));
  box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.1);
}

.portal-link {
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.11), rgba(0, 184, 148, 0.12));
  color: #0a7b68;
}

.button-primary {
  background: linear-gradient(135deg, var(--vivid-orange), var(--accent-2) 55%, var(--accent-3));
}

.button-primary {
  box-shadow: 0 18px 42px rgba(22, 119, 255, 0.26), 0 10px 22px rgba(255, 122, 26, 0.12);
}

.hero {
  padding: 32px 0 40px;
}

.hero::before {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.68) 33%, transparent 62%),
    linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.64)),
    var(--hero-image, url("../images/banner_bg.png")) center / cover;
}

.hero::after {
  position: absolute;
  inset: 8% 6% auto auto;
  z-index: -1;
  width: min(38vw, 520px);
  height: min(38vw, 520px);
  border-radius: 999px;
  pointer-events: none;
  content: "";
  background: conic-gradient(from 90deg, rgba(255, 122, 26, 0.22), rgba(0, 212, 255, 0.24), rgba(109, 93, 252, 0.18), rgba(255, 122, 26, 0.22));
  filter: blur(42px);
  opacity: 0.78;
  animation: aurora-float 9s ease-in-out infinite;
}

.eyebrow {
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.1), rgba(0, 184, 148, 0.1));
  color: #0c7a6b;
}

.hero h1 span {
  background: linear-gradient(120deg, #06172a, #135fa8 36%, #00a98b 64%, #ff7a1a);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  color: #183b5a;
}

.hero-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(238,248,255,0.9)),
    radial-gradient(circle at 20% 0%, rgba(255, 122, 26, 0.12), transparent 16rem);
  box-shadow: 0 32px 90px rgba(31, 83, 126, 0.18), 0 18px 42px rgba(0, 212, 255, 0.1);
}

.metric-card,
.feature-card,
.service-card,
.plan-card,
.tool-card,
.contact-card,
.step-card,
.visual-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 252, 255, 0.82));
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.metric-card:hover,
.feature-card:hover,
.service-card:hover,
.plan-card:hover,
.tool-card:hover,
.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 119, 255, 0.32);
  box-shadow: 0 28px 72px rgba(31, 83, 126, 0.16), 0 14px 28px rgba(255, 122, 26, 0.08);
}

.service-icon,
.feature-index,
.plan-icon,
.step-index {
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.12), rgba(22, 119, 255, 0.12));
  color: #0d5da8;
}

.service-card img,
.visual-card img {
  transition: transform 0.24s ease, filter 0.24s ease;
}

.service-card:hover img,
.visual-card:hover img {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 22px 24px rgba(31, 83, 126, 0.16));
}

.plan-card-header {
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.07), rgba(0, 212, 255, 0.07));
}

.footer {
  background:
    linear-gradient(180deg, rgba(255,255,255,.45), rgba(239,248,255,.76));
}

@keyframes aurora-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-18px, 18px, 0) scale(1.08); }
}

/* Modern page banners: each product page gets a lightweight visual theme. */
body[data-page="product"] .hero::before {
  background:
    radial-gradient(circle at 78% 28%, rgba(0, 184, 148, 0.16), transparent 18rem),
    linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.66)),
    var(--hero-image, url("../images/banner_bg.png")) center / cover;
}

body[data-page="cdn"] .hero::before,
body[data-page="server"] .hero::before {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 122, 26, 0.18), transparent 18rem),
    radial-gradient(circle at 92% 42%, rgba(0, 212, 255, 0.16), transparent 20rem),
    linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.62)),
    var(--hero-image, url("../images/banner_bg.png")) center / cover;
}

body[data-page="sdk"] .hero::before,
body[data-page="live"] .hero::before {
  background:
    radial-gradient(circle at 76% 26%, rgba(109, 93, 252, 0.18), transparent 18rem),
    radial-gradient(circle at 92% 44%, rgba(0, 212, 255, 0.14), transparent 20rem),
    linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.64)),
    var(--hero-image, url("../images/banner_bg.png")) center / cover;
}

body[data-page="dns"] .hero::before,
body[data-page="domain"] .hero::before,
body[data-page="redirect"] .hero::before,
body[data-page="contact"] .hero::before {
  background:
    radial-gradient(circle at 78% 24%, rgba(0, 184, 148, 0.14), transparent 18rem),
    radial-gradient(circle at 92% 44%, rgba(255, 122, 26, 0.13), transparent 18rem),
    linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.66)),
    var(--hero-image, url("../images/banner_bg.png")) center / cover;
}

.page-visual-card {
  min-height: 390px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 26px;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 250, 255, 0.84)),
    radial-gradient(circle at 80% 8%, rgba(0, 212, 255, 0.16), transparent 14rem);
}

.page-visual-card::after {
  position: absolute;
  inset: auto -18% -28% 32%;
  z-index: -1;
  height: 230px;
  border-radius: 999px;
  pointer-events: none;
  content: "";
  background: conic-gradient(from 80deg, rgba(255, 122, 26, 0.24), rgba(0, 212, 255, 0.24), rgba(109, 93, 252, 0.2), rgba(255, 122, 26, 0.24));
  filter: blur(34px);
  animation: aurora-float 8s ease-in-out infinite;
}

.visual-eyebrow {
  position: relative;
  width: fit-content;
  margin: 0;
  border: 1px solid rgba(22, 119, 255, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #0d5da8;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-visual-card img {
  position: relative;
  width: min(92%, 520px);
  max-height: 250px;
  object-fit: contain;
  justify-self: center;
  filter: drop-shadow(0 26px 28px rgba(31, 83, 126, 0.16));
}

.visual-chip-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.visual-chip-row span {
  border: 1px solid rgba(22, 119, 255, 0.14);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--vivid-ink);
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(31, 83, 126, 0.08);
}

.visual-orbit {
  position: absolute;
  inset: 22px;
  z-index: -1;
  border-radius: 28px;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(rgba(22, 119, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 119, 255, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
}

.visual-orbit span {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 8px rgba(22, 119, 255, 0.08), 0 0 24px rgba(22, 119, 255, 0.34);
}

.visual-orbit span:nth-child(1) { left: 14%; top: 20%; background: var(--vivid-orange); }
.visual-orbit span:nth-child(2) { right: 16%; top: 28%; background: var(--vivid-cyan); }

.page-visual-cdn .visual-chip-row span:first-child,
.page-visual-server .visual-chip-row span:first-child {
  background: rgba(255, 122, 26, 0.12);
}

.page-visual-sdk .visual-chip-row span:first-child,
.page-visual-live .visual-chip-row span:first-child {
  background: rgba(109, 93, 252, 0.12);
}

@media (max-width: 820px) {
  .page-visual-card { min-height: 320px; }
  .page-visual-card img { max-height: 220px; }
}

.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;
}

.language-select-wrap { display: inline-flex; align-items: center; }
.language-select {
  min-height: 38px;
  padding: 7px 32px 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(239, 248, 255, 0.86) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2352677d' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  appearance: none;
  max-width: 160px;
}

html[dir="rtl"] .nav-shell,
html[dir="rtl"] .hero-grid,
html[dir="rtl"] .content-split,
html[dir="rtl"] .section-header,
html[dir="rtl"] .contact-grid,
html[dir="rtl"] .footer-inner {
  direction: rtl;
}

html[dir="rtl"] .language-select {
  padding: 7px 12px 7px 32px;
  background-position: left 12px center;
}

html[dir="rtl"] .spec-row {
  text-align: right;
}
