.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.65rem 1.25rem; border-radius: 10px; font-weight: 600; font-size: 0.9rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand-primary), #059669); color: #042f1a; box-shadow: var(--shadow-glow); }
.btn-secondary { background: var(--bg-card); border-color: var(--border-glass); color: var(--text-main); }
.btn-ghost { background: transparent; border-color: var(--border-glass); color: var(--text-main); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.badge {
  display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
  background: rgba(16,185,129,.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,.3);
}
.glass-card {
  background: var(--bg-card); border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg); padding: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero {
  padding: 5rem 0 4rem; text-align: center;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.15; margin: 1rem 0; font-weight: 800; }
.hero p.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 540px; margin: 0 auto 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.section { padding: 4rem 0; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 { font-size: 2rem; margin: 0 0 0.5rem; }
.section-title p { color: var(--text-muted); margin: 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.service-card { padding: 1.75rem; transition: border-color .2s, box-shadow .2s; }
.service-card:hover { border-color: rgba(16,185,129,.35); box-shadow: var(--shadow-glow); }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { margin: 0 0 0.5rem; }
.service-card p { margin: 0 0 1rem; color: var(--text-muted); font-size: 0.95rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { text-align: center; padding: 1.5rem; }
.step-num {
  width: 40px; height: 40px; margin: 0 auto 1rem;
  border-radius: 50%; background: var(--brand-primary); color: #042f1a;
  font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-glass); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: inherit;
  padding: 1rem 0; font-size: 1rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-a { display: none; padding: 0 0 1rem; color: var(--text-muted); font-size: 0.95rem; }
.faq-item.open .faq-a { display: block; }
.search-bar {
  display: flex; max-width: 560px; margin: 0 auto; gap: 0.5rem;
}
.search-bar input {
  flex: 1; padding: 0.85rem 1rem; border-radius: 12px;
  border: 1px solid var(--border-glass); background: rgba(0,0,0,.35); color: var(--text-main); font-size: 1rem;
}
.domain-results, .tld-grid, .plans-grid { margin-top: 2rem; }
.domain-row, .tld-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem; border-bottom: 1px solid var(--border-glass);
}
.domain-row.unavailable { opacity: 0.55; }
.tld-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; }
.tld-chip {
  padding: 0.75rem; text-align: center; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border-glass);
}
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.plan-card { position: relative; padding: 2rem 1.5rem; display: flex; flex-direction: column; min-height: 100%; }
.plan-card .plan-desc { color: var(--text-muted); font-size: 0.9rem; margin: 0.35rem 0 0.75rem; min-height: 2.5rem; }
.plan-card .btn { margin-top: auto; width: 100%; }
.plan-card.featured { border-color: var(--brand-primary); box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.badge-popular { position: absolute; top: 1rem; right: 1rem; }
.badge-save { position: absolute; top: 1rem; left: 1rem; background: rgba(99,102,241,.2); color: #a5b4fc; border-color: rgba(99,102,241,.35); }
.loading-text { color: var(--text-muted); text-align: center; padding: 2rem; }
.plan-card .price { font-size: 2rem; font-weight: 800; margin: 0.5rem 0; }
.plan-card .price small { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.plan-features { list-style: none; padding: 0; margin: 1rem 0; font-size: 0.9rem; color: var(--text-muted); }
.plan-features li { padding: 0.25rem 0; }
.plan-features li::before { content: '✓ '; color: var(--brand-primary); }
.plan-features li.feature-disabled { opacity: 0.45; text-decoration: line-through; }
.cycle-toggle { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; }
.cycle-toggle button {
  padding: 0.5rem 1rem; border-radius: 8px; border: 1px solid var(--border-glass);
  background: transparent; color: var(--text-muted); cursor: pointer;
}
.cycle-toggle button.active { background: var(--brand-primary); color: #042f1a; border-color: transparent; }
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; padding: 2rem 0 4rem; }
.checkout-lines { display: flex; flex-direction: column; gap: 1rem; }
.checkout-line { display: flex; justify-content: space-between; align-items: center; }
.checkout-summary { position: sticky; top: 5rem; }
.alert { padding: 1rem; border-radius: 10px; margin-bottom: 1rem; font-size: 0.9rem; }
.alert-warn { background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.35); color: #fcd34d; }
.alert-error { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.35); color: #fca5a5; }
.alert-info { background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.35); color: #93c5fd; }
#payment-element { margin: 1rem 0; padding: 1rem; background: rgba(0,0,0,.2); border-radius: 10px; }
.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  padding: 0.75rem 1.25rem; border-radius: 10px;
  background: #1e293b; border: 1px solid var(--border-glass);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  animation: slideUp .3s ease;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
}
