.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 5% 5rem;
  position: relative;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 40%, rgba(0,201,167,0.11) 0%, transparent 70%),
    radial-gradient(ellipse 35% 35% at 80% 15%, rgba(58,176,240,0.09) 0%, transparent 60%),
    linear-gradient(180deg, #0f2237 0%, #070f1a 100%);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.4rem;
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.hero__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.stats-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  padding: 2.5rem 5%;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  width: 100%;
  margin-top: auto;
}
.stat__num {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--teal);
  display: block;
}
.stat__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
}
.feat-card { }
.feat-card__icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.feat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.45rem; }
.feat-card p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.toggle-switch {
  position: relative; width: 48px; height: 26px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 26px; transition: var(--transition);
}
.toggle-slider::before {
  content: ''; position: absolute;
  width: 18px; height: 18px; border-radius: 50%;
  left: 3px; top: 3px;
  background: var(--text-muted);
  transition: var(--transition);
}
.toggle-switch input:checked + .toggle-slider { background: var(--teal-dim); border-color: var(--teal); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); background: var(--teal); }
.save-badge {
  font-size: 0.68rem; font-weight: 700;
  background: var(--green-dim); color: var(--green);
  border: 1px solid rgba(108,214,63,0.3);
  border-radius: 20px; padding: 2px 8px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.plan {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}
.plan:hover { transform: translateY(-4px); }
.plan--featured { border-color: var(--teal); background: rgba(0,201,167,0.06); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #041420;
  font-family: 'DM Sans', sans-serif; font-size: 0.68rem; font-weight: 800;
  padding: 3px 14px; border-radius: 20px; white-space: nowrap;
}
.plan__name { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.plan__price { font-family: 'DM Sans', sans-serif; font-size: 2.6rem; font-weight: 800; line-height: 1; }
.plan__price sup { font-size: 2rem; vertical-align: top; margin-top: 1px; margin-bottom: 10px; display: inline-block; }
.plan__period { font-size: 0.78rem; color: var(--text-muted); margin: 0.3rem 0 1.5rem; }
.plan__btn { width: 100%; padding: 0.7rem; border-radius: var(--radius-md); font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.9rem; margin-bottom: 1.5rem; transition: all var(--transition); }
.plan--featured .plan__btn { background: var(--teal); color: #041420; border: none; }
.plan--featured .plan__btn:hover { background: var(--teal-light); }
.plan:not(.plan--featured) .plan__btn { background: transparent; color: var(--text); border: 1px solid var(--card-border); }
.plan:not(.plan--featured) .plan__btn:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); }
.plan__features { display: flex; flex-direction: column; gap: 0.6rem; }
.plan__features li { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: flex-start; gap: 8px; }
.plan__features li::before { content: '✓'; color: var(--teal); font-weight: 800; font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }
.plan__features li.no::before { content: '✕'; color: rgba(255,255,255,0.2); }
.plan__features li.no { opacity: 0.45; }

.server-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.server-dot--offline { background: rgba(255,255,255,0.2); }

.faq { max-width: 720px; margin: 3rem auto 0; }
.faq__item {
  border-bottom: 1px solid var(--card-border);
}
.faq__question {
  width: 100%; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; color: var(--text); font-size: 0.95rem; font-weight: 500;
  text-align: left; gap: 1rem;
}
.faq__question::after {
  content: '+';
  font-size: 1.4rem; color: var(--teal); flex-shrink: 0;
  transition: transform var(--transition);
}
.faq__item.open .faq__question::after { transform: rotate(45deg); }
.faq__answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq__answer p { padding: 0 0 1.2rem; font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: var(--navy-mid); border: 1px solid var(--card-border);
  color: var(--text); padding: 0.9rem 1.5rem; border-radius: var(--radius-md);
  font-size: 0.9rem; box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0; transform: translateY(10px); transition: all 0.3s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast--success { border-color: rgba(0,201,167,0.4); }
.toast--error   { border-color: rgba(255,80,80,0.4); }

.cta-section {
  background: linear-gradient(135deg, rgba(0,201,167,0.12), rgba(58,176,240,0.08));
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  text-align: center;
  padding: 5rem 5%;
}
.cta-section h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 0.75rem; }
.cta-section p  { color: var(--text-muted); margin-bottom: 2rem; }
.cta-section .btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial { }
.testimonial__stars { color: #f5c842; font-size: 0.85rem; margin-bottom: 0.75rem; }
.testimonial__text { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 1rem; }
.testimonial__author { display: flex; align-items: center; gap: 10px; }
.testimonial__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.8rem;
}
.testimonial__name { font-size: 0.85rem; font-weight: 600; }
.testimonial__role { font-size: 0.75rem; color: var(--text-muted); }

.page-hero {
  padding: 10rem 5% 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,201,167,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 1rem; }
.page-hero p  { color: var(--text-muted); max-width: 540px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }

@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-bar { gap: 2rem; }
}
