:root {
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --border: #e2e8f0;
  --border-bright: rgba(37, 99, 235, 0.45);
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --cyan: #2563eb;
  --cyan-dark: #1d4ed8;
  --indigo: #0ea5e9;
  --emerald: #059669;
  --amber: #d97706;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.05);
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Ambient Background */
.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.45;
}

.glow-1 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14), transparent 70%);
  top: -180px;
  left: -120px;
}

.glow-2 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.14), transparent 70%);
  top: 200px;
  right: -180px;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 15%, black 20%, transparent 75%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.34);
  filter: brightness(1.05);
}

.btn-outline {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--border-bright);
  background: #f8fafc;
  color: var(--cyan);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.05);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(248, 250, 252, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand-text small {
  font-size: 0.7rem;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--cyan);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  padding: 8px 0;
  color: var(--text-muted);
  font-weight: 500;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

/* Pulse Dot */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5);
  animation: pulse 2s infinite;
  display: inline-block;
}

.pulse-dot.sm {
  width: 7px;
  height: 7px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

/* Hero */
.hero {
  padding: 72px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--cyan-dark);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 60%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-subtitle strong {
  color: var(--text);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.stat-item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.stat-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Dashboard Card (Hero Visual) */
.dashboard-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(15, 23, 42, 0.02);
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.dash-dots {
  display: flex;
  gap: 6px;
}

.dash-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.dash-dots span:first-child { background: #ef4444; }
.dash-dots span:nth-child(2) { background: #f59e0b; }
.dash-dots span:nth-child(3) { background: #10b981; }

.dash-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 999px;
}

.dash-route-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #eff6ff, #f0f9ff);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.dash-route-banner small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dash-route-banner strong {
  font-size: 0.95rem;
  color: var(--text);
}

.speed-readout {
  text-align: right;
}

.speed-val {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cyan);
}

.dash-nodes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all var(--transition);
}

.mini-node:hover,
.mini-node.active {
  border-color: var(--cyan);
  background: #eff6ff;
}

.mini-node .flag {
  font-size: 1.35rem;
}

.mini-node-info {
  flex: 1;
}

.mini-node-info strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
}

.mini-node-info small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.ping {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.ping.good {
  color: #047857;
  background: #d1fae5;
}

.ping.mid {
  color: #b45309;
  background: #fef3c7;
}

.dash-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.ping-test-btn {
  background: #eff6ff;
  color: var(--cyan);
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.ping-test-btn:hover {
  background: #dbeafe;
}

/* Unlock Strip */
.unlock-strip {
  padding: 24px 0 36px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.strip-label {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.unlock-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.unlock-pill {
  padding: 7px 15px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.section-head p {
  color: var(--text-muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon.cyan { background: #eff6ff; color: #2563eb; }
.feature-icon.indigo { background: #f0f9ff; color: #0284c7; }
.feature-icon.emerald { background: #ecfdf5; color: #059669; }
.feature-icon.violet { background: #f5f3ff; color: #7c3aed; }
.feature-icon.amber { background: #fffbeb; color: #d97706; }
.feature-icon.rose { background: #fff1f2; color: #e11d48; }

.feature-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Node Filters & Grid */
.node-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #ffffff;
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.node-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.node-card.hidden {
  display: none;
}

.node-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.node-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.node-flag {
  font-size: 1.75rem;
}

.node-top h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.node-protocol {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.node-badge {
  margin-left: auto;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}

.node-badge.online {
  color: #047857;
  background: #d1fae5;
}

.node-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.node-tags span {
  font-size: 0.76rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: var(--text-muted);
  font-weight: 500;
}

.node-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.node-meta strong {
  color: var(--cyan);
}

/* Pricing */
.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 12px;
  width: fit-content;
  margin: 0 auto 40px;
}

.billing-btn {
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}

.billing-btn.active {
  background: #ffffff;
  color: var(--cyan);
  box-shadow: var(--shadow-sm);
}

.save-badge {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 999px;
  background: #d1fae5;
  color: #047857;
}

.save-badge.hot {
  background: #fef3c7;
  color: #b45309;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.price-card.popular {
  border: 2px solid var(--cyan);
  background: #ffffff;
  box-shadow: var(--shadow), 0 12px 32px rgba(37, 99, 235, 0.12);
}

.popular-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
}

.plan-head h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.plan-head p {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 44px;
}

.plan-price {
  margin: 22px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price .currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cyan);
}

.plan-price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}

.plan-price .period {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.plan-features li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.plan-features li strong {
  color: var(--text);
}

.extra-pack-banner {
  margin-top: 28px;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.extra-pack-banner strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
}

.extra-pack-banner span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.client-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.client-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.client-os {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.client-card h4 {
  font-size: 1.08rem;
  margin-bottom: 8px;
  color: var(--text);
}

.client-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.client-tag {
  display: inline-block;
  font-size: 0.76rem;
  padding: 3px 9px;
  border-radius: 6px;
  background: #f1f5f9;
  color: var(--text-muted);
  font-weight: 500;
}

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--cyan);
  transition: transform var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-a {
  max-height: 220px;
}

.faq-a p {
  padding: 0 22px 18px;
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* CTA Banner */
.cta-banner {
  padding: 40px 0 88px;
}

.cta-box {
  text-align: center;
  padding: 52px 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #eff6ff, #f0f9ff);
  border: 1px solid #bfdbfe;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 26px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 42px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-brand strong {
  font-size: 1.05rem;
  color: var(--text);
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.status-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #047857;
  font-weight: 600;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-header h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: var(--text);
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group select {
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--text);
  font-size: 0.94rem;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--cyan);
  background: #ffffff;
}

.modal-switch {
  margin-top: 16px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.modal-switch button {
  background: none;
  border: none;
  color: var(--cyan);
  font-weight: 600;
  cursor: pointer;
  margin-left: 4px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 300;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .nodes-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .features-grid,
  .nodes-grid,
  .pricing-grid,
  .clients-grid {
    grid-template-columns: 1fr;
  }

  .extra-pack-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
