/* ============================================================
   OSNOVATOR — Гайд по регистрации домена (domain-guide.css)
   Дополнение к landing.css. Использует те же токены :root.
   ============================================================ */

/* ---------- Hero ---------- */
.dg-hero {
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
}

.dg-hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: 16px;
}

.dg-hero h1 {
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.dg-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

.dg-hero-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.dg-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Providers Tabs ---------- */
.dg-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.dg-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--t-base);
  backdrop-filter: blur(12px);
  font-family: var(--font-sans);
}

.dg-tab:hover {
  border-color: var(--glass-border-strong);
  color: var(--text-primary);
}

.dg-tab.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-hover);
  box-shadow: var(--shadow-glow-soft);
}

/* ---------- Content layout ---------- */
.dg-content {
  padding: 0 0 96px;
}

.dg-panel {
  display: none;
  max-width: 820px;
  margin: 0 auto;
}

.dg-panel.active {
  display: block;
  animation: dg-fade-in 400ms var(--ease-out);
}

@keyframes dg-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Article card ---------- */
.dg-article {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  padding: 48px 56px;
}

.dg-article-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}

.dg-article-header h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.dg-article-header h2 svg {
  width: 28px;
  height: 28px;
  color: var(--accent-hover);
}

.dg-article-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.dg-article-header .dg-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.dg-article-header .dg-price svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}

/* ---------- Steps ---------- */
.dg-step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--glass-border);
}

.dg-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.dg-step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-soft), var(--amber-soft));
  border: 1px solid rgba(139, 92, 246, 0.25);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-hover);
}

.dg-step-body {
  flex: 1;
  min-width: 0;
}

.dg-step-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dg-step-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.dg-step-body ul {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dg-step-body ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.dg-step-body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.dg-step-body .dg-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--amber-soft);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--amber);
  font-size: 0.85rem;
  font-weight: 500;
}

.dg-step-body .dg-hint svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.dg-step-body .dg-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--accent-hover);
  font-size: 0.85rem;
  font-weight: 500;
}

.dg-step-body .dg-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- Info box ---------- */
.dg-info {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 36px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid var(--glass-border-strong);
}

.dg-info svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--accent-hover);
  margin-top: 2px;
}

.dg-info h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.dg-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ---------- External link ---------- */
.dg-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-hover);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color var(--t-fast);
}

.dg-link:hover {
  color: var(--accent);
}

.dg-link svg {
  width: 16px;
  height: 16px;
}

/* ---------- Separator ---------- */
.dg-separator {
  text-align: center;
  margin: 0 -56px 48px;
  padding: 32px 0;
  position: relative;
}

.dg-separator::before {
  content: "";
  position: absolute;
  left: 56px;
  right: 56px;
  top: 50%;
  height: 1px;
  background: var(--glass-border);
}

.dg-separator span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Next steps ---------- */
.dg-next {
  margin-top: 48px;
  padding: 36px 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(245, 158, 11, 0.04) 100%);
  border: 1px solid var(--glass-border-strong);
  text-align: center;
}

.dg-next h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.dg-next p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 24px;
}

.dg-next-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .dg-hero {
    padding: 100px 0 40px;
  }

  .dg-article {
    padding: 32px 24px;
  }

  .dg-step {
    flex-direction: column;
    gap: 12px;
  }

  .dg-separator {
    margin-left: -24px;
    margin-right: -24px;
  }

  .dg-next {
    padding: 28px 20px;
  }

  .dg-next-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .dg-article {
    padding: 24px 16px;
    border-radius: var(--radius-lg);
  }

  .dg-step-num {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
}