/* ============================================
   Gerege Cloud — Shared Stylesheet (Light Theme)
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-muted: #f4f4f5;
  --border: #e5e7eb;
  --border-strong: #d4d4d8;

  --text: #0a0a0a;
  --text-soft: #404040;
  --text-muted: #737373;

  --brand: #4f46e5;
  --brand-dark: #4338ca;
  --brand-light: #eef2ff;
  --brand-soft: #c7d2fe;

  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --grad: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  --grad-soft: linear-gradient(135deg, #eef2ff 0%, #ecfeff 100%);

  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 8px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);

  --container: 1200px;
  --nav-h: 64px;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ===== Layout ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link.active { color: var(--brand); background: var(--brand-light); }
.nav-link.has-menu::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.7rem;
  opacity: 0.5;
}
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-cta {
  padding: 9px 18px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background .15s, transform .15s;
}
.nav-cta:hover { background: var(--brand); }
.nav-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--text-soft);
  transition: background .15s, color .15s;
}
.nav-icon-btn:hover { background: var(--bg-muted); color: var(--brand); }

/* ===== Dropdown Megamenu ===== */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 520px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s, transform .15s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background .15s;
}
.dropdown-item:hover { background: var(--bg-muted); }
.dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--brand-light);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.dropdown-item-title { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.dropdown-item-desc { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* Hamburger */
.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--text);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all .15s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary { background: var(--text); color: #fff; }
.btn-primary:hover { background: var(--brand); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg-soft); border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--text-soft); }
.btn-ghost:hover { background: var(--bg-muted); color: var(--text); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero {
  padding: 96px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(79, 70, 229, 0.06), transparent 70%),
    radial-gradient(40% 30% at 80% 20%, rgba(6, 182, 212, 0.05), transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid var(--brand-soft);
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin: 0 auto 20px;
  color: var(--text);
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.hero-meta {
  margin-top: 28px;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.stat { background: #fff; padding: 28px 20px; text-align: center; }
.stat-val {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* ===== Section header ===== */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head.left { text-align: left; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}
.section-title .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-desc { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1rem; }
.section-head.left .section-desc { margin-left: 0; }

/* ===== Service / Feature card ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .2s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--brand-soft);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); letter-spacing: -0.01em; }
.card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 14px; }
.card ul { list-style: none; margin: 0; padding: 0; }
.card ul li {
  font-size: 0.85rem;
  color: var(--text-soft);
  padding: 4px 0 4px 22px;
  position: relative;
}
.card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--success);
  font-weight: 700;
}
.card-meta {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
}
.card-price { color: var(--brand); font-weight: 600; }
.card-link {
  color: var(--text-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .15s;
}
.card-link:hover { color: var(--brand); }

/* ===== Soft section background ===== */
.bg-soft { background: var(--bg-soft); }
.bg-grad-soft { background: var(--grad-soft); }

/* ===== Why us ===== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item {
  text-align: left;
}
.why-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.why-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.why-item p { font-size: 0.88rem; color: var(--text-muted); }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: all .2s;
  position: relative;
}
.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-light), var(--shadow-lg);
  transform: translateY(-4px);
}
.price-card.featured::before {
  content: "Эрэлттэй";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.price-name { font-size: 0.9rem; font-weight: 600; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.price-tag { font-size: 0.85rem; color: var(--text-muted); margin: 4px 0 18px; }
.price-val { font-size: 2.6rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.price-val .currency { font-size: 1.4rem; font-weight: 600; vertical-align: top; }
.price-val .period { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.price-features {
  list-style: none;
  margin: 24px 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
  flex: 1;
}
.price-features li {
  font-size: 0.88rem;
  color: var(--text-soft);
  padding: 7px 0 7px 26px;
  position: relative;
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ===== Pricing calculator ===== */
.calc-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  box-shadow: var(--shadow);
}
.calc-fields { display: grid; gap: 22px; }
.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.calc-field label small { color: var(--brand); font-weight: 700; font-size: 0.85rem; }
.calc-field input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--bg-muted);
  border-radius: 100px;
  outline: none;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--brand), 0 2px 6px rgba(79, 70, 229, 0.4);
  cursor: pointer;
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--brand), 0 2px 6px rgba(79, 70, 229, 0.4);
  cursor: pointer;
}
.calc-tier-options { display: flex; gap: 8px; flex-wrap: wrap; }
.calc-tier-options button {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  background: #fff;
  color: var(--text-soft);
  font-weight: 600;
  transition: all .15s;
}
.calc-tier-options button.active,
.calc-tier-options button:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
}
.calc-summary {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.calc-summary h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-weight: 700; margin-bottom: 16px; }
.calc-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-soft);
  padding: 6px 0;
}
.calc-total {
  margin-top: auto;
  padding-top: 20px;
  border-top: 2px solid var(--border);
}
.calc-total .label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.calc-total .val { font-size: 2rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; margin: 4px 0 16px; }
.calc-total .val .period { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

/* ===== Tech grid ===== */
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tech-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  transition: all .15s;
}
.tech-item:hover { border-color: var(--brand-soft); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tech-icon { font-size: 1.6rem; margin-bottom: 6px; }
.tech-name { font-size: 0.78rem; color: var(--text-soft); font-weight: 500; }

/* ===== CTA ===== */
.cta-banner {
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 20% 0%, rgba(79, 70, 229, 0.4), transparent 60%),
    radial-gradient(40% 50% at 80% 100%, rgba(6, 182, 212, 0.3), transparent 60%);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-banner p { color: rgba(255, 255, 255, 0.7); max-width: 520px; margin: 0 auto 28px; }
.cta-banner .btn-primary { background: #fff; color: var(--text); }
.cta-banner .btn-primary:hover { background: var(--brand-light); color: var(--brand); }
.cta-banner .btn-secondary { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.cta-banner .btn-secondary:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.4); }

/* ===== Footer ===== */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 64px 0 24px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; max-width: 320px; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all .15s;
}
.footer-social a:hover { color: var(--brand); border-color: var(--brand-soft); background: var(--brand-light); }
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 5px 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--brand); }
.footer-col p { font-size: 0.85rem; color: var(--text-muted); padding: 5px 0; line-height: 1.6; }
.footer-bottom {
  max-width: var(--container);
  margin: 48px auto 0;
  padding: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--brand); }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  opacity: 0;
  transition: opacity .2s;
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.96);
  transition: transform .2s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 { font-size: 1.1rem; font-weight: 700; }
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: background .15s, color .15s;
}
.modal-close:hover { background: var(--bg-muted); color: var(--text); }
.modal-body { padding: 28px; }

/* Form elements */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-light);
}
.form-field textarea { min-height: 90px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Domain search results */
.domain-search-form { display: flex; gap: 8px; margin-bottom: 18px; }
.domain-search-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-size: 0.95rem; }
.domain-search-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light); }
.domain-results { display: grid; gap: 8px; }
.domain-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.domain-result-name { font-weight: 600; font-size: 0.92rem; }
.domain-result-name .ext { color: var(--brand); }
.domain-result-status { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.domain-result-status.taken { color: var(--danger); }
.domain-result-status.available { color: var(--success); }
.domain-result-action { display: flex; align-items: center; gap: 12px; }
.domain-result-price { font-weight: 700; font-size: 0.92rem; color: var(--text); }

/* Floating chat button */
.chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  z-index: 60;
  transition: all .2s;
  border: 2px solid #fff;
}
.chat-fab:hover { background: var(--brand); transform: scale(1.05); }
.chat-fab .badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: 50%;
  border: 2px solid #fff;
}

/* ===== Page header (sub-pages) ===== */
.page-head {
  padding: 72px 0 48px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-head h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.page-head p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: 0.4; }

/* ===== Contact page ===== */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; }
.contact-info-list { display: grid; gap: 18px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--brand-light);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 0.88rem; color: var(--text-muted); }
.contact-info-item a:hover { color: var(--brand); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .calc-wrap { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 14px; }
  .has-dropdown .dropdown { display: none; }
  .has-dropdown:hover .dropdown { display: none; }
  .hamburger { display: grid; }
  .grid-2, .grid-3, .grid-4, .pricing-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .cta-banner { padding: 40px 24px; }
}
