/* ============================================================
   myvpnhosting.com — Shared Stylesheet
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Inter:wght@400;500&display=swap');

/* --- CSS Variables --- */
:root {
  --bg:        #080910;
  --bg-2:      #0d0f1a;
  --bg-card:   rgba(14, 16, 28, 0.75);
  --border:    rgba(255, 255, 255, 0.07);
  --cyan:      #00e5ff;
  --teal:      #06d6a0;
  --purple:    #7c3aed;
  --text:      #f0f4ff;
  --muted:     #6b7899;
  --success:   #10b981;
  --warning:   #f59e0b;
  --gradient:  linear-gradient(135deg, #00e5ff, #06d6a0);
  --radius:    14px;
  --radius-sm: 8px;
  --nav-h:     70px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--muted); }

.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout Helpers --- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 540px; margin: 0 auto; font-size: 1.05rem; }

/* --- Cards --- */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card-hover {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #080910;
  font-weight: 700;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: none;
  padding: 12px 16px;
}
.btn-ghost:hover { color: var(--text); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge-cyan   { background: rgba(0, 229, 255, 0.1); color: var(--cyan); border: 1px solid rgba(0, 229, 255, 0.2); }
.badge-purple { background: rgba(124, 58, 237, 0.15); color: #a78bfa; border: 1px solid rgba(124, 58, 237, 0.3); }
.badge-green  { background: rgba(16, 185, 129, 0.12); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.25); }
.badge-amber  { background: rgba(245, 158, 11, 0.12); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.25); }
.badge-blue   { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.25); }
.badge-popular {
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(13, 15, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}
.navbar.scrolled {
  background: rgba(13, 15, 26, 0.97);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  flex-shrink: 0;
}
.nav-logo svg { width: 30px; height: 30px; flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.18s ease;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active {
  color: var(--cyan);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(13, 15, 26, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.18s, background 0.18s;
}
.mobile-menu a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.mobile-menu a.active { color: var(--cyan); }
.mobile-menu .mobile-actions { display: flex; gap: 8px; margin-top: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.footer-logo svg { width: 28px; height: 28px; }
.footer-tagline { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }
.server-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--success);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}
.server-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.18s;
}
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-left { font-size: 0.85rem; color: var(--muted); }
.footer-crypto { display: flex; align-items: center; gap: 8px; }
.crypto-badge {
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--muted);
}
.footer-tagline-right { font-size: 0.85rem; color: var(--muted); }

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   PAGE HERO (shared small hero for inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,229,255,0.08);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% -20%, rgba(0,229,255,0.1) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 100%, rgba(6,214,160,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 16px; letter-spacing: -0.02em; }
.page-hero p { font-size: 1.1rem; max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ============================================================
   INDEX — HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--nav-h) 0 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('bg.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(8,9,15,0.72) 0%,
    rgba(8,9,15,0.88) 60%,
    rgba(8,9,15,1) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--cyan);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero h1 { margin-bottom: 22px; }
.hero p { font-size: 1.15rem; max-width: 540px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.stat-item {
  padding: 0 24px;
  border-right: 1px solid var(--border);
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }
.stat-value {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.85rem; color: var(--muted); }

/* --- Why Section --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card .why-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.why-card h3 { margin-bottom: 10px; }

/* --- Protocol Cards --- */
.protocol-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proto-card { padding: 32px; }
.proto-badge { margin-bottom: 16px; }
.proto-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.proto-card p { margin-bottom: 24px; font-size: 0.95rem; }
.proto-more {
  text-align: center;
  margin-top: 32px;
}
.proto-more a {
  color: var(--cyan);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.18s;
}
.proto-more a:hover { opacity: 0.75; }

/* --- Pricing Teaser --- */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.teaser-card {
  padding: 24px;
  text-align: center;
}
.teaser-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.teaser-price {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--text);
}
.teaser-price span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.teaser-cta { text-align: center; }
.teaser-cta a {
  color: var(--cyan);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.18s;
}
.teaser-cta a:hover { opacity: 0.75; }

/* --- Trust Strip --- */
.trust-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.trust-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.trust-item .check { color: var(--success); font-size: 1rem; }

/* ============================================================
   PRICING PAGE
   ============================================================ */
.toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}
.toggle-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.18s;
}
.toggle-label.active { color: var(--text); }
.toggle-switch {
  position: relative;
  width: 52px; height: 28px;
  background: rgba(255,255,255,0.1);
  border-radius: 14px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
}
.toggle-switch.on { background: linear-gradient(135deg, #00e5ff, #7c3aed); }
.toggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.toggle-switch.on .toggle-knob { transform: translateX(24px); }
.save-badge {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.plan-card { padding: 32px; position: relative; }
.plan-card.featured {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.08), 0 0 0 1px rgba(0, 229, 255, 0.15);
}
.plan-popular {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.plan-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}
.plan-price-wrap { margin-bottom: 4px; }
.plan-price {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--text);
  line-height: 1;
}
.plan-price-period { font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan-price-annual {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
  min-height: 1.4em;
}
.plan-price-annual del { color: var(--muted); opacity: 0.6; }
.plan-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}
.plan-feature .fi { flex-shrink: 0; margin-top: 2px; font-size: 0.9rem; }
.fi-yes { color: var(--success); }
.fi-no  { color: var(--muted); opacity: 0.5; }

/* Comparison Table */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table th {
  background: rgba(13, 15, 26, 0.9);
  padding: 14px 20px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.compare-table th:first-child { text-align: left; }
.compare-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
}
.compare-table td:first-child { text-align: left; color: var(--text); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .cat-row td {
  background: rgba(255,255,255,0.02);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  padding: 10px 20px;
}
.ct-yes { color: var(--success); font-size: 1rem; }
.ct-no  { color: var(--muted); opacity: 0.4; font-size: 1rem; }
.ct-feat { color: var(--cyan); font-weight: 600; font-family: 'Outfit', sans-serif; }

/* Payment methods */
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.pay-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  min-width: 150px;
  justify-content: center;
}
.pay-icon { font-size: 1.4rem; display: flex; align-items: center; justify-content: center; }
.pay-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}
.pay-note { text-align: center; font-size: 0.88rem; margin-top: 16px; }

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: var(--bg-card);
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: background 0.18s;
}
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: var(--muted);
  transition: transform 0.22s ease, border-color 0.22s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--cyan); color: var(--cyan); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   MARKETPLACE
   ============================================================ */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  max-width: 420px;
  margin: 24px auto 0;
  backdrop-filter: blur(8px);
}
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}
.search-bar input::placeholder { color: var(--muted); }
.search-icon { color: var(--muted); flex-shrink: 0; }

.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.18s;
}
.filter-tab:hover { color: var(--text); border-color: rgba(255,255,255,0.15); }
.filter-tab.active {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.3);
  color: var(--cyan);
}

.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.market-card { padding: 28px; }
.market-icon { margin-bottom: 16px; }
.market-icon svg { width: 52px; height: 52px; }
.market-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.market-card > .badge { margin-bottom: 14px; display: inline-flex; }
.market-desc { font-size: 0.9rem; margin-bottom: 18px; }
.market-includes { margin-bottom: 18px; }
.market-includes h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 10px;
}
.market-includes ul { display: flex; flex-direction: column; gap: 7px; }
.market-includes li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.86rem; color: var(--muted);
}
.market-includes li::before {
  content: '·';
  color: var(--cyan);
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.3;
}
.compat-row {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 20px;
}
.compat-item {
  font-size: 0.75rem;
  padding: 3px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}
.market-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Security hardened section */
.hardened-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hardened-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
}
.hardened-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.hardened-item h4 { margin-bottom: 4px; }
.hardened-item p { font-size: 0.87rem; }

/* Protocol Comparison Table */
.proto-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.proto-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.proto-table th {
  background: rgba(13, 15, 26, 0.9);
  padding: 14px 16px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.proto-table th:first-child { text-align: left; }
.proto-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
}
.proto-table td:first-child { text-align: left; color: var(--text); font-weight: 500; }
.proto-table tr:last-child td { border-bottom: none; }
.pt-good  { color: var(--success); font-weight: 600; }
.pt-ok    { color: var(--warning); font-weight: 600; }
.pt-low   { color: var(--muted); }
.pt-cyan  { color: var(--cyan); font-weight: 600; }

/* ============================================================
   NETWORK PAGE
   ============================================================ */
.network-map {
  position: relative;
  height: 480px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(0,229,255,0.04) 0%, transparent 65%),
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}
.map-nodes { position: absolute; inset: 0; }
.map-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translate(-50%, -50%);
}
.node-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid;
  position: relative;
}
.node-dot.live {
  background: rgba(16,185,129,0.3);
  border-color: var(--success);
}
.node-dot.live::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--success);
  animation: ring-pulse 2.5s infinite;
}
@keyframes ring-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}
.node-dot.soon {
  background: rgba(245,158,11,0.2);
  border-color: var(--warning);
}
.node-label {
  background: rgba(13,15,26,0.92);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
}
.node-ping { font-size: 0.68rem; color: var(--muted); white-space: nowrap; }
.map-legend {
  position: absolute;
  bottom: 16px; right: 20px;
  display: flex; gap: 16px;
}
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--muted); }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.legend-dot.live { background: var(--success); }
.legend-dot.soon { background: var(--warning); }
.map-lines-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Datacenter Card */
.dc-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.dc-table { width: 100%; border-collapse: collapse; }
.dc-table tr td { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.dc-table tr:last-child td { border-bottom: none; }
.dc-table td:first-child { color: var(--muted); width: 45%; }
.dc-table td:last-child { color: var(--text); font-weight: 500; }
.latency-table { width: 100%; border-collapse: collapse; }
.latency-table th {
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  padding: 0 0 12px;
  border-bottom: 1px solid var(--border);
  font-family: 'Outfit', sans-serif;
}
.latency-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}
.latency-table tr:last-child td { border-bottom: none; }
.latency-table td:first-child { color: var(--text); }
.latency-val { color: var(--cyan) !important; font-family: 'Outfit', sans-serif; font-weight: 600; text-align: right; }
.dc-title { margin-bottom: 8px; }
.dc-tier { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }

/* Peering cards */
.peering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.peer-card { padding: 24px; text-align: center; }
.peer-icon { font-size: 2rem; margin-bottom: 12px; }
.peer-card h4 { margin-bottom: 6px; }
.peer-card p { font-size: 0.88rem; }

/* Speed test */
.speed-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.speed-note { font-size: 0.88rem; margin-top: 16px; }

/* Network Features */
.net-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.net-feat-card { padding: 28px; }
.net-feat-icon { font-size: 1.8rem; margin-bottom: 16px; }
.net-feat-card h3 { margin-bottom: 10px; }

/* ============================================================
   DOCS PAGE
   ============================================================ */
.doc-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.doc-tab {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.18s;
}
.doc-tab:hover { color: var(--text); }
.doc-tab.active {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.3);
  color: var(--cyan);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.doc-card { padding: 28px; }
.doc-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.doc-tag { font-size: 0.75rem; }
.read-time {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
}
.doc-card h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.35; }
.doc-card p { font-size: 0.88rem; margin-bottom: 14px; }
.doc-steps {
  font-size: 0.82rem;
  color: var(--muted);
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  padding: 10px 14px;
  border-left: 3px solid var(--cyan);
  margin-bottom: 16px;
  font-family: 'Outfit', sans-serif;
}

/* Quick Reference */
.qref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.code-block {
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: var(--cyan);
  line-height: 1.8;
  overflow-x: auto;
}
.code-block .cm { color: var(--muted); }
.port-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.port-table th {
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  padding: 0 0 12px;
  border-bottom: 1px solid var(--border);
  font-family: 'Outfit', sans-serif;
}
.port-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.port-table tr:last-child td { border-bottom: none; }
.port-table td:first-child { color: var(--text); font-weight: 500; }
.port-num { color: var(--cyan) !important; font-family: 'Outfit', sans-serif; font-weight: 600; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-stats .stat-item { border-right: none; padding: 0; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .protocol-strip { grid-template-columns: 1fr; gap: 16px; }
  .teaser-grid { grid-template-columns: 1fr; gap: 14px; }
  .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .marketplace-grid { grid-template-columns: 1fr 1fr; }
  .dc-card { grid-template-columns: 1fr; gap: 28px; }
  .peering-grid { grid-template-columns: 1fr 1fr; }
  .hardened-grid { grid-template-columns: 1fr 1fr; }
  .net-features-grid { grid-template-columns: 1fr; }
  .qref-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }
  .marketplace-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .peering-grid { grid-template-columns: 1fr; }
  .hardened-grid { grid-template-columns: 1fr; }
  .trust-grid { justify-content: flex-start; }
  .payment-grid { flex-direction: column; align-items: center; }
  .network-map { height: 340px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .hero-ctas { flex-direction: column; }
  .speed-btns { flex-direction: column; }
  .market-actions { flex-direction: column; }
}
