:root {
  --bg: #f9fafb;
  --bg-card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --accent: #2563eb;
  --accent-soft: #e0ecff;
  --border: #e5e7eb;
  --danger: #b91c1c;
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.05);
  --surface: #ffffff;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.main {
  flex: 1;
  padding: 3rem 0 4rem;
}

/* Header */

.header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #111827;
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.logo span {
  font-weight: 800;
}

.logo span strong {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
}

.nav-link.active {
  color: var(--accent);
}

.nav-link:hover {
  color: #111827;
}

.nav-cta {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  background: #111827;
  color: #f9fafb;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.nav-cta:hover {
  background: #020617;
}

/* Hero */

.hero {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Domain search */

.search-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.4rem 1.7rem;
}

.search-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.search-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.search-input-wrap {
  flex: 1;
  position: relative;
}

.search-input-wrap input {
  width: 100%;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  padding-left: 2.25rem;
  font-size: 0.9rem;
}

.search-input-wrap span {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--muted);
}

.search-btn {
  border-radius: var(--radius-pill);
  border: none;
  background: var(--accent);
  color: #f9fafb;
  padding: 0.75rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.search-btn:hover {
  background: #1d4ed8;
}

.search-note {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Domains grid */

.section {
  margin-top: 2.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.2rem;
  margin: 0;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.domain-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-soft); /* мягкая базовая тень */
  border: 1px solid var(--border); /* добавляем базовый тонкий контур */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
}

.domain-card:hover {
  border-color: var(--accent); /* яркий синий обводки как фильтры .com/.net */
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18); /* мягкая синеватая тень */
  transform: translateY(-2px); /* лёгкий подъём */
  background-color: rgba(37, 99, 235, 0.03); /* тончайший синий подсвет */
}

.domain-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
}

.domain-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.domain-tag {
  font-size: 0.8rem;
  color: var(--muted);
}

.domain-meta {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Feature cards */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-top: 3.5rem; /* было 3rem */
}

.feature-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  border: 1px solid var(--border);   /* вместо тени даём аккуратную границу */
  box-shadow: none;                  /* убираем тень, чтобы они были легче */
}

/* по желанию – очень мягкий ховер, но слабее, чем у доменов */
.feature-card:hover {
  box-shadow: var(--shadow-soft);
}

.section--features {
  margin-top: 3.5rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--border);
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.feature-text {
  font-size: 0.85rem;
  color: var(--muted);
}

/* SEO cards */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.metric-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.metric-value {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.metric-change {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: #16a34a;
  background: #dcfce7;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-weight: 600;
}

.metric-bar-wrap {
  margin-top: 0.85rem;
  background: #f3f4f6;
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}

.metric-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #4f46e5);
}

/* Blog */

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.blog-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--muted);
}

.blog-title {
  font-size: 1.35rem;
  margin: 0.3rem 0 0.5rem;
}

.blog-title a {
  text-decoration: none;
}

.blog-title a:hover {
  text-decoration: underline;
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 40rem;
}

/* Article */

.article-hero {
  max-width: 680px;
  margin: 0 auto 2rem;
}

.article-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--muted);
}

.article-title {
  font-size: 2rem;
  margin: 0.4rem 0 0.9rem;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.article-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 0.96rem;
}

.article-body h2 {
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

.article-body h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.article-body p {
  margin-bottom: 0.9rem;
}

.article-body ul {
  padding-left: 1.1rem;
  margin-bottom: 0.9rem;
}

.article-body li {
  margin-bottom: 0.35rem;
}

blockquote {
  margin: 1.4rem 0;
  padding: 0.9rem 1.1rem;
  background: #eef2ff;
  border-left: 3px solid #4f46e5;
  border-radius: 0 10px 10px 0;
  font-size: 0.95rem;
}

/* Related */

.related {
  max-width: 680px;
  margin: 2.5rem auto 0;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.related a {
  font-size: 0.9rem;
}

/* Case study layout */

.case-layout {
  max-width: 860px;
  margin: 0 auto;
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.case-stats {
  display: grid;
  gap: 1rem;
}

.case-stat {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.case-stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.case-stat-value {
  font-size: 1.4rem;
  font-weight: 700;
}

.case-section {
  margin-top: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #ecfdf3;
  color: #15803d;
  font-weight: 600;
}

/* Simple pages */

.page-title {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.page-intro {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 36rem;
}

.simple-body {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  max-width: 680px;
}

/* Contact form */
.contact-form {
  max-width: 520px;
  margin-top: 1.8rem;
}
.form-row {
  margin-bottom: 1rem;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}
.form-input,
.form-textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}
.form-submit {
  margin-top: 0.7rem;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.form-submit:hover {
  background: #1d4ed8;
}
.contact-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.8rem;
}

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 2.5rem 0 2rem;
  margin-top: 3rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand-title {
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.footer-text {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 24rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-col-title {
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.footer-link {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.footer-link:hover {
  color: #111827;
}

.footer-bottom {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: left;
}

/* NEW STYLES: TLD Filters & Empty State */

.tld-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tld-filter-button {
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  background: var(--surface);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tld-filter-button:hover {
  border-color: var(--accent);
}

.tld-filter-button.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.domain-empty-state {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 0.9rem;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero {
    padding-top: 1.8rem;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .tld-filters {
    gap: 0.4rem;
  }

  .tld-filter-button {
    flex: 1 1 auto;
    text-align: center;
  }
}
.buy-now-button {
  margin-top: 0.7rem;
  padding: 0.35rem 0.7rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;

  border: 1px solid var(--accent);
  border-radius: var(--radius-md);

  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.buy-now-button:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.buy-now-button:active {
  transform: translateY(0);
}

.blog-read-link {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.7rem;
  color: var(--accent);
  text-decoration: none;

  display: inline-flex;
  align-items: center;
  gap: 0.25rem;

  transition: color 0.2s ease;
}

.blog-read-link .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.blog-read-link:hover {
  color: #1d4ed8; /* тёмно-синий hover */
}

.blog-read-link:hover .arrow {
  transform: translateX(4px); /* плавный сдвиг стрелки */
}

