/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg:       #0a0a0f;
  --clr-surface:  #13131a;
  --clr-border:   #1e1e2e;
  --clr-accent:   #6c63ff;
  --clr-accent2:  #a78bfa;
  --clr-green:    #22c55e;
  --clr-text:     #e2e2f0;
  --clr-muted:    #8888aa;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(108,99,255,0.10);
  --font:         'Inter', system-ui, sans-serif;
  --max-w:        1120px;
}

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

body {
  font-family: var(--font);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ===========================
   UTILS
=========================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--clr-muted);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--clr-accent);
  color: #fff;
}
.btn--primary:hover { background: #5a52e0; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(108,99,255,0.35); }

.btn--outline {
  border-color: var(--clr-border);
  color: var(--clr-text);
  background: transparent;
}
.btn--outline:hover { border-color: var(--clr-accent); color: var(--clr-accent); }

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

.btn--full { width: 100%; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }

/* ===========================
   NAV
=========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.nav__logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.nav__logo span { color: var(--clr-accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav__links a {
  color: var(--clr-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--clr-text); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  gap: 16px;
  border-top: 1px solid var(--clr-border);
}
.nav__mobile a {
  color: var(--clr-muted);
  font-weight: 500;
  transition: color 0.2s;
}
.nav__mobile a:hover { color: var(--clr-text); }
.nav__mobile.open { display: flex; }

/* ===========================
   HERO
=========================== */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(108,99,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.25);
  color: var(--clr-accent2);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 span { color: var(--clr-accent); }

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--clr-muted);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--clr-muted);
}
.hero__trust span { display: flex; align-items: center; gap: 6px; }

/* ===========================
   PLANS
=========================== */
.plans {
  padding: 80px 0;
  background: var(--clr-surface);
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.plan-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.plan-card:hover { border-color: rgba(108,99,255,0.4); transform: translateY(-4px); }

.plan-card--featured {
  border-color: var(--clr-accent);
  box-shadow: 0 0 40px rgba(108,99,255,0.15);
}

.plan-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.plan-card__header { margin-bottom: 24px; }
.plan-card__header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--clr-text);
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.plan-card__price .price {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--clr-text);
  letter-spacing: -1px;
}
.plan-card__price .period { color: var(--clr-muted); font-size: 0.9rem; }

.plan-card__billing {
  font-size: 0.8rem;
  color: var(--clr-green);
  font-weight: 500;
}

.plan-card__features {
  list-style: none;
  margin-bottom: 28px;
}
.plan-card__features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.9rem;
  color: var(--clr-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-card__features li::before {
  content: '✓';
  color: var(--clr-green);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.plan-card__features li:last-child { border-bottom: none; }

.plan-card__note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--clr-muted);
  text-align: center;
  line-height: 1.4;
}

.plans__windows {
  text-align: center;
  margin-top: 36px;
  color: var(--clr-muted);
  font-size: 0.9rem;
}
.plans__windows a { color: var(--clr-accent2); }
.plans__windows a:hover { text-decoration: underline; }

/* ===========================
   DOMAINS
=========================== */
.domains {
  padding: 80px 0;
}

.domains__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.domain-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 14px 20px;
  transition: border-color 0.2s;
}
.domain-row:hover { border-color: rgba(108,99,255,0.4); }

.domain-ext {
  font-weight: 700;
  font-size: 1rem;
  color: var(--clr-accent2);
}
.domain-price {
  font-size: 0.9rem;
  color: var(--clr-muted);
}

/* ===========================
   FEATURES
=========================== */
.features {
  padding: 80px 0;
  background: var(--clr-surface);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(108,99,255,0.35); transform: translateY(-3px); }

.feature-card__icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.feature-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--clr-muted);
  line-height: 1.6;
}

/* ===========================
   CTA BOTTOM
=========================== */
.cta-bottom {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(108,99,255,0.08) 0%, transparent 60%);
  border-top: 1px solid var(--clr-border);
}

.cta-bottom__inner {
  text-align: center;
}

.cta-bottom h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.cta-bottom p {
  color: var(--clr-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: 48px 0 24px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.footer__left p {
  font-size: 0.85rem;
  color: var(--clr-muted);
  margin-top: 8px;
}
.footer__left a { color: var(--clr-accent2); }
.footer__left a:hover { text-decoration: underline; }

.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 0.88rem;
  color: var(--clr-muted);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--clr-text); }

.footer__bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: 20px;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: var(--clr-muted);
  text-align: center;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero { padding: 60px 0 56px; }
  .hero__trust { gap: 12px; }

  .plans__grid { grid-template-columns: 1fr; }
  .plan-card--featured { order: -1; }

  .features__grid { grid-template-columns: 1fr 1fr; }

  .footer__inner { flex-direction: column; }
  .footer__links { gap: 16px; }
}

@media (max-width: 480px) {
  .features__grid { grid-template-columns: 1fr; }
  .domains__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: center; }
}
