/* cataz.one — shared styles */
:root {
  --bg:          #0d0f14;
  --bg-card:     #13161e;
  --bg-card2:    #1a1d28;
  --border:      #252836;
  --accent:      #4f8ef7;
  --accent-dim:  #2563c4;
  --green:       #22c55e;
  --yellow:      #f59e0b;
  --red:         #ef4444;
  --text:        #e2e8f0;
  --text-muted:  #8892a4;
  --text-faint:  #4a5568;
  --radius:      10px;
  --radius-sm:   6px;
  --max-w:       900px;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,15,20,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: .65rem; font-weight: 700; font-size: 1.1rem; color: var(--text); }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav-links a { font-size: .85rem; color: var(--text-muted); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── HERO ── */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.25rem 2.5rem;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(79,142,247,.12);
  border: 1px solid rgba(79,142,247,.25);
  border-radius: 999px;
  padding: .25rem .9rem;
  font-size: .78rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 1rem;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ── SECTION ── */
section { max-width: var(--max-w); margin: 0 auto; padding: 2.5rem 1.25rem; }
section + section { padding-top: 0; }

.section-label {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -.01em;
}
h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
}
p { color: var(--text-muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

/* ── STATUS BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.badge-green { background: rgba(34,197,94,.12); color: var(--green); border: 1px solid rgba(34,197,94,.25); }
.badge-yellow { background: rgba(245,158,11,.12); color: var(--yellow); border: 1px solid rgba(245,158,11,.25); }
.badge-red { background: rgba(239,68,68,.12); color: var(--red); border: 1px solid rgba(239,68,68,.25); }
.badge-blue { background: rgba(79,142,247,.12); color: var(--accent); border: 1px solid rgba(79,142,247,.25); }

/* ── STEPS ── */
.steps { display: flex; flex-direction: column; gap: 1rem; }
.step {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  background: rgba(79,142,247,.15);
  border: 1px solid rgba(79,142,247,.3);
  color: var(--accent);
  font-weight: 800;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body h3 { margin-bottom: .35rem; }
.step-body p { font-size: .9rem; }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
thead tr { border-bottom: 1px solid var(--border); }
th {
  text-align: left;
  padding: .75rem 1rem;
  color: var(--text-faint);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,.02); }
td strong { color: var(--text); }

/* ── DOMAIN ROW ── */
.domain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}
.domain-name {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  flex: 1;
  min-width: 150px;
}
.domain-desc { font-size: .85rem; color: var(--text-muted); flex: 2; min-width: 200px; }
.domain-link {
  font-size: .83rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

/* ── FAQ ── */
details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
}
summary {
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--text-faint); font-size: 1.2rem; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 1.5rem 1.25rem; color: var(--text-muted); font-size: .93rem; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(79,142,247,.12) 0%, rgba(37,99,196,.08) 100%);
  border: 1px solid rgba(79,142,247,.25);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}
.cta-banner h3 { color: #fff; margin-bottom: .5rem; }
.cta-banner p { margin-bottom: 1.25rem; font-size: .9rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  transition: opacity .15s;
  cursor: pointer;
}
.btn:hover { opacity: .85; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }

/* ── BREADCRUMB ── */
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
  font-size: .8rem;
  color: var(--text-faint);
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--text-muted); text-decoration: none; }
.breadcrumb span { color: var(--text-muted); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--text); }
.footer-logo img { height: 22px; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: .83rem; color: var(--text-faint); }
.footer-links a:hover { color: var(--text-muted); text-decoration: none; }
.footer-copy { width: 100%; font-size: .78rem; color: var(--text-faint); border-top: 1px solid var(--border); padding-top: 1.25rem; margin-top: .5rem; }

/* ── UTILS ── */
.mono { font-family: var(--font-mono); }
.text-green { color: var(--green); }
.text-yellow { color: var(--yellow); }
.text-red { color: var(--red); }
.text-accent { color: var(--accent); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
code {
  font-family: var(--font-mono);
  font-size: .85em;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .1em .4em;
  color: var(--accent);
}

/* ── QUICK-NAV GRID (homepage) ── */
.quick-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .75rem;
  margin: 1.5rem 0;
}
.qn-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transition: border-color .15s, background .15s;
  color: var(--text);
}
.qn-card:hover { border-color: var(--accent); background: var(--bg-card2); text-decoration: none; }
.qn-icon { font-size: 1.5rem; line-height: 1; }
.qn-title { font-weight: 700; font-size: .95rem; color: var(--text); }
.qn-desc { font-size: .8rem; color: var(--text-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .domain-card { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
