/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --bg:           var(--ml-bg);
  --surface:      var(--ml-surface);
  --card:         var(--ml-card);
  --card-hover:   var(--ml-card-hover);
  --elevated:     var(--ml-elevated);
  --border-sub:   var(--ml-border-subtle);
  --border:       var(--ml-border);
  --border-str:   var(--ml-border-strong);
  --text:         var(--ml-text);
  --muted:        var(--ml-text-muted);
  --green:        var(--ml-green);
  --green-hover:  var(--ml-green-hover);
  --green-faint:  rgba(18,183,106,.12);
  --indigo:       var(--ml-indigo);
  --radius:       var(--ml-radius);
  --radius-sm:    var(--ml-radius-sm);
  --radius-lg:    var(--ml-radius-lg);
  --shadow:       0 4px 24px rgba(0,0,0,.4);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-hover); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ── Container ──────────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,13,26,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-sub);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; max-width: 1100px; margin: 0 auto; gap: 16px;
}
.site-logo {
  font-size: 16px; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.site-logo span { color: var(--green); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 7px 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color 150ms, background 150ms;
}
.site-nav a:hover { color: var(--text); background: var(--surface); }
.site-nav a.active { color: var(--text); }
.btn-wa {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: var(--radius-sm);
  background: var(--green); color: #fff; font-size: 13px; font-weight: 700;
  transition: background 150ms, opacity 150ms;
}
.btn-wa:hover { background: var(--green-hover); color: #fff; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; border: none;
  transition: opacity 150ms, background 150ms, transform 80ms;
  cursor: pointer;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); color: #fff; }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: var(--surface); color: var(--text); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border-sub); }
.btn-ghost:hover { background: var(--surface); color: var(--text); }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ── Cards ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.card-hover { transition: box-shadow 200ms, transform 200ms, border-color 200ms; }
.card-hover:hover {
  box-shadow: var(--shadow);
  border-color: var(--border);
  transform: translateY(-2px);
}

/* ── Forms ──────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--muted); margin-bottom: 7px; letter-spacing: .02em;
}
.form-control {
  width: 100%; padding: 12px 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-size: 15px; font-family: inherit;
  transition: border-color 150ms, box-shadow 150ms;
  outline: none;
}
.form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(18,183,106,.15);
}
.form-control::placeholder { color: var(--muted); opacity: .6; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%238B9EC7'%3E%3Cpath d='M0 0l6 8 6-8z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.form-error {
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3);
  border-radius: var(--radius-sm); padding: 12px 16px;
  color: #fca5a5; font-size: 14px; margin-bottom: 20px;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 88px 20px 72px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(18,183,106,.1) 0%, transparent 70%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--green-faint); border: 1px solid rgba(18,183,106,.3);
  color: var(--green); font-size: 12px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(32px, 6vw, 58px);
  font-weight: 800; line-height: 1.1;
  color: var(--text); margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero-title .accent { color: var(--green); }
.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--muted); max-width: 600px;
  margin: 0 auto 40px; line-height: 1.6;
}

/* ── Domain search bar ───────────────────────────────────────────────────── */
.search-wrap { max-width: 640px; margin: 0 auto; }
.search-bar {
  display: flex; gap: 0;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.search-bar input {
  flex: 1; padding: 18px 20px;
  background: transparent; border: none;
  color: var(--text); font-size: 17px; font-family: inherit;
  outline: none;
}
.search-bar input::placeholder { color: var(--muted); opacity: .7; }
.search-bar button {
  padding: 18px 28px;
  background: var(--green); color: #fff;
  border: none; font-size: 15px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: background 150ms;
}
.search-bar button:hover { background: var(--green-hover); }

/* ── Section ─────────────────────────────────────────────────────────────── */
.section { padding: 72px 20px; }
.section-sm { padding: 48px 20px; }
.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800; color: var(--text);
  margin-bottom: 12px; letter-spacing: -.02em;
  text-align: center;
}
.section-sub {
  color: var(--muted); font-size: 17px; text-align: center;
  max-width: 540px; margin: 0 auto 48px;
}

/* ── Grid helpers ────────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── Feature cards ───────────────────────────────────────────────────────── */
.feature-card { padding: 28px; }
.feature-icon {
  font-size: 32px; margin-bottom: 16px;
  background: var(--green-faint); border: 1px solid rgba(18,183,106,.2);
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.feature-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Plan cards ──────────────────────────────────────────────────────────── */
.plan-card { position: relative; display: flex; flex-direction: column; }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; background: var(--green); color: #fff;
  border-radius: 999px; font-size: 11px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.plan-badge-indigo { background: var(--indigo); }
.plan-name { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.plan-price {
  font-size: 38px; font-weight: 800; color: var(--text);
  margin: 12px 0 4px; letter-spacing: -.02em;
}
.plan-price span { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan-divider { border: none; border-top: 1px solid var(--border-sub); margin: 20px 0; }
.plan-features { list-style: none; flex: 1; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0; font-size: 14px; color: var(--muted);
  border-bottom: 1px solid var(--border-sub);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.plan-cta { margin-top: 24px; }
.plan-highlight { border-color: rgba(18,183,106,.4); box-shadow: 0 0 0 1px rgba(18,183,106,.3), var(--shadow); }

/* ── Steps ───────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-faint); border: 1px solid rgba(18,183,106,.3);
  color: var(--green); font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ── CTA final ───────────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #0a1428 0%, #0d1f3c 100%);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-lg); padding: 56px 40px;
  text-align: center;
}

/* ── TLD buttons ──────────────────────────────────────────────────────────── */
.tld-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tld-btn {
  padding: 8px 16px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 150ms;
}
.tld-btn:hover { border-color: var(--green); color: var(--text); }
.tld-btn.active { background: var(--green-faint); border-color: var(--green); color: var(--green); }

/* ── Availability notice ──────────────────────────────────────────────────── */
.avail-notice {
  background: rgba(18,183,106,.08); border: 1px solid rgba(18,183,106,.25);
  border-radius: var(--radius-sm); padding: 16px 20px;
  display: flex; align-items: flex-start; gap: 12px; margin: 20px 0;
}
.avail-notice-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.avail-notice-text { font-size: 14px; color: var(--muted); line-height: 1.6; }
.avail-notice-text strong { color: var(--text); }

/* ── Success page ─────────────────────────────────────────────────────────── */
.success-wrap { text-align: center; padding: 80px 20px; max-width: 520px; margin: 0 auto; }
.success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-faint); border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 28px;
}
.success-title { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.success-sub { font-size: 16px; color: var(--muted); margin-bottom: 32px; line-height: 1.6; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border-sub);
  padding: 48px 20px;
  background: var(--surface);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color 150ms; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--muted); opacity: .6; }

/* ── Nav mobile ──────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .site-nav { display: none; }
  .header-inner { padding: 12px 16px; }
}

/* ── Misc ─────────────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border-sub); margin: 0; }
.text-green { color: var(--green); }
.text-muted { color: var(--muted); }
.fw-bold { font-weight: 700; }
.mb-0 { margin-bottom: 0; }
