:root {
  --bg: #070b14;
  --bg-card: #0f1629;
  --bg-card-hover: #131c34;
  --bg-elevated: #182340;
  --border: rgba(148, 163, 184, 0.16);
  --border-glow: rgba(59, 130, 246, 0.55);
  --text: #f8fafc;
  --text-sub: #94a3b8;
  --text-dim: #64748b;
  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --cyan: #22d3ee;
  --emerald: #10b981;
  --amber: #f59e0b;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 11px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  background:
    radial-gradient(900px 480px at 50% -80px, rgba(37, 99, 235, 0.28), transparent 70%),
    radial-gradient(700px 420px at 85% 45%, rgba(16, 185, 129, 0.10), transparent 70%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ==================== NAVBAR ==================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.ver-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(59, 130, 246, 0.16);
  color: var(--blue-bright);
  border: 1px solid rgba(59, 130, 246, 0.32);
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-sub);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-box {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-sub);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--blue);
  color: #ffffff;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-pro {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #ffffff;
  box-shadow: 0 10px 28px -6px rgba(37, 99, 235, 0.65);
}

.btn-pro:hover {
  box-shadow: 0 14px 34px -6px rgba(14, 165, 233, 0.8);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.11);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ==================== HERO + REAL SCREENSHOT STAGE ==================== */
.hero {
  padding: 54px 0 64px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: #6ee7b7;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.55rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 820px;
  margin: 0 auto 14px;
  background: linear-gradient(180deg, #ffffff 30%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-sub);
  max-width: 610px;
  margin: 0 auto 26px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

/* Screenshot Switcher Pills */
.shot-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 18px;
}

.shot-tab {
  border: none;
  background: transparent;
  color: var(--text-sub);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.shot-tab:hover {
  color: #ffffff;
}

.shot-tab.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}

.shot-frame {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 10px;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.25), rgba(15, 23, 42, 0.6));
  box-shadow: 0 32px 80px -16px rgba(0, 0, 0, 0.78), 0 0 60px -15px rgba(37, 99, 235, 0.35);
}

.shot-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: opacity 0.16s ease;
}

.shot-caption {
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--text-sub);
}

/* ==================== VISUAL BENTO GRID (ZERO WALLS OF TEXT!) ==================== */
.bento-sec {
  padding: 58px 0 68px;
}

.sec-title {
  text-align: center;
  margin-bottom: 36px;
}

.sec-title h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.sec-title p {
  color: var(--text-sub);
  font-size: 1rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.bento-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-visual {
  background: rgba(7, 11, 20, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.bento-head h3 {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.pro-chip {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(59, 130, 246, 0.18);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.35);
  white-space: nowrap;
}

.bento-short {
  font-size: 0.88rem;
  color: var(--text-sub);
}

/* Interactive Visual Widgets inside Bento Cards */
.dns-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.dns-pill {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-sub);
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
}

.dns-pill.on {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--emerald);
  color: #6ee7b7;
}

.ping-meter {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  font-weight: 700;
}

.ping-bar-wrap {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
}

.ping-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.3s ease, background 0.3s ease;
}

.toggle-stack {
  display: grid;
  gap: 8px;
}

.vis-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 11px;
  background: var(--bg-elevated);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}

.switch-pill {
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.transfer-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: center;
}

.pc-node {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 10px;
  flex: 1;
  font-size: 0.8rem;
  font-weight: 700;
}

.beam {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cyan);
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.app-badge {
  padding: 6px 11px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
}

.app-badge i {
  font-style: normal;
  color: var(--emerald);
  margin-right: 4px;
}

.docx-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.qr-mini {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  display: grid;
  place-items: center;
  font-family: Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 1.1;
  flex-shrink: 0;
}

/* ==================== COMPACT VISUAL PRICING ==================== */
.price-sec {
  padding: 58px 0 72px;
  border-top: 1px solid var(--border);
}

.cycle-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.cycle-box {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 4px;
}

.cycle-btn {
  border: none;
  background: transparent;
  color: var(--text-sub);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
}

.cycle-btn.active {
  background: var(--blue);
  color: #ffffff;
}

.save-tag {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.22);
  color: #6ee7b7;
  font-size: 0.72rem;
}

.price-pair {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 22px;
  max-width: 940px;
  margin: 0 auto 18px;
}

.p-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.p-card.pro-featured {
  background: linear-gradient(180deg, #13203d 0%, #0f172a 100%);
  border: 2px solid var(--blue);
  box-shadow: 0 22px 60px -16px rgba(37, 99, 235, 0.45);
}

.p-tier {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-num-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.p-num {
  font-size: 2.65rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}

.p-per {
  color: var(--text-sub);
  font-size: 0.92rem;
  font-weight: 600;
}

.p-save {
  font-size: 0.82rem;
  color: #6ee7b7;
  font-weight: 700;
  min-height: 22px;
  margin-bottom: 18px;
}

.p-chips {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
}

.p-chips li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ok-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  display: inline-grid;
  place-items: center;
  font-size: 0.74rem;
  font-weight: 900;
  flex-shrink: 0;
}

.team-bar {
  max-width: 940px;
  margin: 0 auto 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.spec-toggle {
  max-width: 940px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 18px;
}

.spec-toggle summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue-bright);
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.spec-toggle summary::after { content: "+"; }
.spec-toggle[open] summary::after { content: "−"; }

.spec-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-sub);
}

.spec-cols h4 {
  color: #ffffff;
  font-size: 0.82rem;
  margin-bottom: 5px;
}

.spec-cols ul {
  list-style: none;
  display: grid;
  gap: 3px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  font-size: 0.84rem;
  color: var(--text-dim);
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* ==================== MODALS ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.76);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 200;
}

.modal-backdrop.open { display: flex; }

.modal {
  width: 100%;
  max-width: 460px;
  background: #0f172a;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 18px;
  padding: 24px;
  color: #f8fafc;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7);
  max-height: 92vh;
  overflow-y: auto;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.modal-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: #ffffff;
  cursor: pointer;
}

.field-group { margin-bottom: 14px; }
.field-group label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text-sub); margin-bottom: 5px; }
.field-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #070b14;
  color: #ffffff;
  font-size: 0.94rem;
}

.meta-box {
  background: #070b14;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.84rem;
  margin-bottom: 14px;
}

.meta-box div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.meta-box div:last-child { margin-bottom: 0; }
.mono { font-family: Consolas, monospace; font-weight: 700; color: var(--cyan); }

.qr-box {
  background: #ffffff;
  color: #0f172a;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  margin-bottom: 14px;
}
.qr-box img { max-width: 205px; width: 100%; display: block; margin: 0 auto 6px; }

@media (max-width: 900px) {
  .bento-grid,
  .price-pair,
  .spec-cols {
    grid-template-columns: 1fr;
  }
  .bento-span-2 { grid-column: span 1; }
  .nav-links { display: none; }
}
