/* css/styles.css — component styles */

/* Buttons (shared) */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #0a0a14; }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3); }
.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover { background: rgba(0, 212, 255, 0.1); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 30, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand { font-size: 1.4rem; font-weight: 800; color: var(--heading); }
.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text); font-weight: 500; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-links a.btn-primary { color: #0a0a14; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--heading);
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #12122a 0%, var(--bg) 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black, transparent 70%);
}
.hero-content { position: relative; z-index: 1; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 span { color: var(--accent); }
.hero-sub {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: 1.2rem;
  color: var(--text-muted);
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Section heading */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; }

/* Domain grid + cards */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.12);
}
.card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); margin-bottom: 16px; }
.card-example {
  display: block;
  font-size: 0.85rem;
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: 10px;
}

/* How It Works */
.how { background: #0c0c18; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step { text-align: center; padding: 0 12px; }
.step-num {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-muted); }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature { padding: 8px; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--text-muted); }

/* CTA */
.cta {
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1), transparent 70%),
    var(--bg);
}
.cta-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.cta h2 { margin-bottom: 16px; }
.cta p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 32px; }

/* Footer */
.site-footer {
  background: #0a0a14;
  border-top: 1px solid var(--border);
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand p { color: var(--text-muted); margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-muted); margin-bottom: 10px; font-weight: 500; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.9rem; }
