/* BusinessNameChecker.net — Shared Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #F8F6FF;
  --white: #FFFFFF;
  --violet: #6B21A8;
  --violet-light: #8B5CF6;
  --violet-glow: rgba(107,33,168,0.08);
  --violet-border: rgba(107,33,168,0.2);
  --text: #1A0A2E;
  --muted: #7C6B99;
  --border: #E8E0F5;
  --green: #059669;
  --green-bg: rgba(5,150,105,0.08);
  --red: #DC2626;
  --red-bg: rgba(220,38,38,0.06);
  --amber: #D97706;
  --amber-bg: rgba(217,119,6,0.08);
  --radius: 14px;
  --shadow: 0 4px 40px rgba(107,33,168,0.1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--violet);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo span { color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--violet); background: var(--violet-glow); }

.nav-cta {
  margin-left: 8px;
  padding: 9px 18px !important;
  background: var(--violet) !important;
  color: white !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}
.nav-cta:hover { background: var(--violet-light) !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--text);
  padding: 4px;
}

@media (max-width: 680px) {
  nav { padding: 0 20px; }
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-cta { margin-left: 0 !important; width: 100%; text-align: center; }
}

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 72px 24px 48px;
  max-width: 680px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--violet-glow);
  border: 1px solid var(--violet-border);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--violet);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 16px;
}
.hero h1 span { color: var(--violet-light); }

.hero p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 36px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}
.btn-primary { background: var(--violet); color: white; }
.btn-primary:hover { background: var(--violet-light); }
.btn-secondary { background: var(--bg); color: var(--violet); border: 1.5px solid var(--violet-border); }
.btn-secondary:hover { background: var(--violet-glow); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.btn-ghost { background: none; color: var(--muted); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--violet-border); color: var(--violet); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
}

/* ── SEARCH BOX ── */
.search-box {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.search-input-row { display: flex; gap: 10px; }
.search-input {
  flex: 1;
  padding: 15px 18px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 17px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
  min-width: 0;
}
.search-input:focus { outline: none; border-color: var(--violet-light); background: white; }
.search-input::placeholder { color: var(--muted); font-weight: 400; }
.search-btn {
  padding: 15px 26px;
  background: var(--violet);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  white-space: nowrap;
  transition: background 0.15s;
}
.search-btn:hover { background: var(--violet-light); }

.search-meta { display: flex; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.search-meta-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.dot-green { background: var(--green); }
.dot-violet { background: var(--violet-light); }
.dot-amber { background: var(--amber); }

/* ── CHECK ROWS ── */
.check-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.check-row:last-child { border-bottom: none; }
.check-name { font-size: 14px; font-weight: 500; color: var(--text); }
.check-status { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.status-available { color: var(--green); }
.status-taken { color: var(--red); }
.status-maybe { color: var(--amber); }
.status-unknown { color: var(--muted); }
.status-loading { color: var(--muted); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-g { background: var(--green); }
.dot-r { background: var(--red); }
.dot-a { background: var(--amber); }
.dot-m { background: var(--muted); }

/* Skeleton shimmer */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.skeleton-line {
  height: 13px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--border) 25%, #f0ecff 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

/* ── AD SLOTS ── */
.ad-slot { max-width: 900px; margin: 32px auto; padding: 0 24px; }
.ad-slot-wide { max-width: 1100px; margin: 24px auto; padding: 0 24px; }

/* ── SECTION WRAPPER ── */
.section { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.section-wide { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── BLOG CARD GRID ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.blog-card:hover { box-shadow: var(--shadow); border-color: var(--violet-border); }
.blog-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  background: var(--violet-glow);
  color: var(--violet);
  margin-bottom: 12px;
}
.blog-card h2 { font-size: 17px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; color: var(--text); }
.blog-card p { font-size: 13px; color: var(--muted); line-height: 1.6; flex: 1; }
.blog-card-footer { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; }
.read-more { font-size: 13px; font-weight: 600; color: var(--violet); }
.read-time { font-size: 12px; color: var(--muted); }

/* ── ARTICLE LAYOUT ── */
.article-wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 24px 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--violet); }
.breadcrumb span { color: var(--border); }

.article-header { margin-bottom: 40px; }
.article-header h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 16px; }
.article-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); }
.article-meta span { display: flex; align-items: center; gap: 5px; }

.article-body { font-size: 16px; line-height: 1.8; color: var(--text); }
.article-body h2 { font-size: 22px; font-weight: 700; margin: 40px 0 14px; color: var(--text); }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; color: var(--text); }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 14px 0 18px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { font-weight: 600; color: var(--text); }
.article-body a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--violet-light); }

.article-cta {
  background: linear-gradient(135deg, var(--violet), #4C1D95);
  border-radius: var(--radius);
  padding: 32px;
  color: white;
  text-align: center;
  margin: 40px 0;
}
.article-cta h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.article-cta p { font-size: 14px; opacity: 0.8; margin-bottom: 20px; }
.article-cta .btn-primary { background: white; color: var(--violet); font-weight: 700; }
.article-cta .btn-primary:hover { background: #f0e7ff; }

/* ── FAQ (shared) ── */
.faq-section { margin-top: 48px; }
.faq-section h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.faq-item {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  gap: 12px;
}
.faq-q:hover { color: var(--violet); }
.faq-arrow { font-size: 11px; flex-shrink: 0; transition: transform 0.2s; color: var(--muted); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 16px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: #6B5F80;
  font-size: 12px;
  padding: 32px 24px;
  margin-top: 72px;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--violet-light); }
.footer-logo { font-size: 18px; font-weight: 800; color: white; margin-bottom: 4px; }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.page-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -0.5px; }
.page-sub { font-size: 16px; color: var(--muted); margin-top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
