/* ═══════════════════════════════════════════════════
   SearchPhoneNumber.com — Component Styles
   ═══════════════════════════════════════════════════ */

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(13,13,15,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}
.logo svg { flex-shrink: 0; }
.header-nav { display: flex; gap: var(--space-6); align-items: center; }
.header-nav a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}
.header-nav a:hover { color: #fff; }

/* Mobile nav */
.mobile-toggle {
  display: none;
  color: #fff;
  padding: var(--space-2);
}
@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13,13,15,0.95);
    backdrop-filter: blur(16px);
    padding: var(--space-4) var(--space-6);
    gap: var(--space-4);
  }
  .mobile-toggle { display: block; }
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--hero-bg);
  padding: var(--space-16) var(--space-6);
}

.gradient-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.gradient-mesh .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  will-change: transform;
}
.blob-1 { width:700px;height:700px;background:radial-gradient(circle,#2563EB 0%,transparent 70%);top:-15%;left:-10%;animation:drift-1 18s ease-in-out infinite; }
.blob-2 { width:600px;height:600px;background:radial-gradient(circle,#4F46E5 0%,transparent 70%);bottom:-10%;right:-8%;animation:drift-2 22s ease-in-out infinite; }
.blob-3 { width:500px;height:500px;background:radial-gradient(circle,#7C3AED 0%,transparent 70%);top:30%;left:45%;animation:drift-3 20s ease-in-out infinite; }
.blob-4 { width:550px;height:550px;background:radial-gradient(circle,#2563EB 0%,transparent 70%);top:5%;right:10%;opacity:0.25;animation:drift-4 25s ease-in-out infinite; }
.blob-5 { width:450px;height:450px;background:radial-gradient(circle,#4F46E5 0%,transparent 70%);top:55%;left:10%;opacity:0.3;animation:drift-5 24s ease-in-out infinite; }
.blob-6 { width:400px;height:400px;background:radial-gradient(circle,#7C3AED 0%,transparent 70%);top:10%;left:55%;opacity:0.2;animation:drift-6 21s ease-in-out infinite; }

@keyframes drift-1{0%,100%{transform:translate(0,0) scale(1)}25%{transform:translate(60px,40px) scale(1.1)}50%{transform:translate(20px,80px) scale(0.95)}75%{transform:translate(-40px,30px) scale(1.05)}}
@keyframes drift-2{0%,100%{transform:translate(0,0) scale(1)}25%{transform:translate(-50px,-30px) scale(1.08)}50%{transform:translate(-80px,-60px) scale(0.9)}75%{transform:translate(-20px,-80px) scale(1.05)}}
@keyframes drift-3{0%,100%{transform:translate(-50%,0) scale(1)}33%{transform:translate(-40%,-30px) scale(1.15)}66%{transform:translate(-60%,20px) scale(0.9)}}
@keyframes drift-4{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-40px,50px) scale(1.12)}}
@keyframes drift-5{0%,100%{transform:translate(0,0) scale(1)}33%{transform:translate(50px,-40px) scale(1.1)}66%{transform:translate(-30px,30px) scale(0.95)}}
@keyframes drift-6{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-60px,40px) scale(1.08)}}

#particles { position: absolute; inset: 0; z-index: 1; }
.vignette { position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse at center, transparent 50%, #0D0D0F 90%); pointer-events: none; }

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 640px;
}
.hero-content h1 {
  font-size: var(--text-hero);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--hero-text);
  margin-bottom: var(--space-4);
}
.hero-content h1 .accent {
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  color: var(--hero-muted);
  font-size: 17px;
  margin-bottom: var(--space-8);
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Search Box (shared) ─── */
.search-box {
  display: flex;
  max-width: 540px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search-box:focus-within {
  border-color: rgba(37,99,235,0.5);
  box-shadow: 0 0 30px rgba(37,99,235,0.15);
}
.search-box input {
  flex: 1;
  padding: 18px 20px;
  border: none;
  font-size: 16px;
  outline: none;
  background: transparent;
  color: #fff;
}
.search-box input::placeholder { color: rgba(255,255,255,0.35); }
.search-box button {
  padding: 18px 32px;
  background: var(--color-gradient);
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.search-box button:hover { opacity: 0.9; }

/* Light version search box (for interior pages) */
.search-box-light {
  border-color: var(--color-border);
  background: var(--color-surface);
  backdrop-filter: none;
}
.search-box-light:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 20px var(--color-glow);
}
.search-box-light input { color: var(--color-text); }
.search-box-light input::placeholder { color: var(--color-text-faint); }

/* ─── Trust Bar ─── */
.trust-bar {
  position: relative;
  z-index: 3;
  margin-top: var(--space-10);
  display: flex;
  gap: var(--space-8);
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  font-weight: 500;
}
.trust-item svg { opacity: 0.5; }

/* ─── Section: How It Works ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: var(--content-wide);
  margin: 0 auto;
}
.step-card {
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.step-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: 0 4px 20px var(--color-glow);
}
.step-num {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.2;
  margin-bottom: var(--space-3);
}
.step-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.step-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ─── Section: Area Codes ─── */
.area-codes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: var(--space-3);
}
.area-code-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), color var(--transition);
}
.area-code-chip:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 2px 12px var(--color-glow);
}

/* ─── Section: Providers ─── */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.provider-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.provider-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: 0 4px 20px var(--color-glow);
}
.provider-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.provider-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.provider-card .cta {
  display: inline-block;
  padding: var(--space-2) var(--space-6);
  background: var(--color-gradient);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.provider-card .cta:hover { opacity: 0.9; color: #fff; }

@media (max-width: 768px) {
  .providers-grid { grid-template-columns: 1fr; }
}

/* ─── Section: FAQ ─── */
.faq-list { max-width: var(--content-narrow); margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-5) 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  padding: 0;
  cursor: pointer;
}
.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
  color: var(--color-text-muted);
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: var(--space-3);
}
.faq-answer p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: var(--space-12) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
.footer-brand p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-1) 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-6);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  font-size: 13px;
  color: var(--color-text-faint);
  text-align: center;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .footer-bottom { flex-direction: column; gap: var(--space-3); }
}

/* ─── Interior Page Hero (light) ─── */
.page-hero {
  background: var(--color-bg);
  padding: calc(80px + var(--space-12)) var(--space-6) var(--space-12);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.page-hero p {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto var(--space-6);
}

/* ─── Breadcrumbs ─── */
.breadcrumbs {
  font-size: 13px;
  color: var(--color-text-faint);
  margin-bottom: var(--space-6);
}
.breadcrumbs a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs span { margin: 0 var(--space-2); }

/* ─── Content Sections ─── */
.content-section {
  padding: var(--space-12) var(--space-6);
}
.content-section h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.content-section h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.content-section p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

/* ─── Info Cards (area code pages) ─── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-5);
}
.info-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.info-card .label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}
.info-card .value {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
}
.info-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: var(--hero-bg);
  padding: var(--space-12) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.08), transparent 70%);
}
.cta-banner h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-3);
  position: relative;
}
.cta-banner p {
  color: var(--hero-muted);
  font-size: 16px;
  margin-bottom: var(--space-6);
  position: relative;
}
.cta-banner .btn {
  display: inline-block;
  padding: var(--space-3) var(--space-8);
  background: var(--color-gradient);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  transition: opacity 0.2s;
}
.cta-banner .btn:hover { opacity: 0.9; color: #fff; }

/* ─── Mobile responsive adjustments ─── */
@media (max-width: 640px) {
  .search-box { flex-direction: column; border-radius: 12px; }
  .search-box input { text-align: center; padding: 16px; }
  .search-box button { border-radius: 0; padding: 14px; }
  .trust-bar { gap: var(--space-4); }
  .trust-item { font-size: 12px; }
  .blob-1{width:400px;height:400px}.blob-2{width:350px;height:350px}.blob-3{width:300px;height:300px}.blob-4{width:320px;height:320px}.blob-5{width:280px;height:280px}.blob-6{width:250px;height:250px}
}
