:root {
  --bg-body: #f3f6fb;
  --bg-page: radial-gradient(circle at top, #e0f2ff 0, #f3f6fb 45%, #f3f6fb 100%);
  --surface: #ffffff;
  --surface-soft: #f9fbff;
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --primary: #0ea5e9;
  --primary-soft: #e0f2fe;
  --primary-strong: #0284c7;
  --accent: #22c55e;
  --accent-soft: #dcfce7;
  --warning: #facc15;
  --warning-soft: #fefce8;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --danger: #ef4444;
  --radius-md: 10px;
  --radius-lg: 20px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --shadow-subtle: 0 12px 30px rgba(15, 23, 42, 0.06);
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout */

.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(125, 211, 252, 0.35), transparent 60%),
    radial-gradient(circle at bottom right, rgba(252, 211, 77, 0.22), transparent 60%),
    var(--bg-page);
}

.site-header {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text-main);
}

.logo span:first-child {
  color: var(--primary-strong);
}

.logo-badge {
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  color: var(--text-muted);
  background: #ffffff;
}

.main-nav {
  display: flex;
  gap: 18px;
  font-size: 0.86rem;
}

.main-nav a {
  position: relative;
  color: var(--text-muted);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: width 0.16s ease;
}

.main-nav a:hover {
  color: var(--primary-strong);
}

.main-nav a:hover::after {
  width: 100%;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 26px 18px 52px;
}

/* Hero */

.hero {
  margin-top: 18px;
  padding: 24px 22px 22px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.11), transparent 60%),
    radial-gradient(circle at top right, rgba(52, 211, 153, 0.14), transparent 60%),
    #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
}

.hero-header {
  position: relative;
  margin-bottom: 16px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  font-size: 0.72rem;
  color: #1e40af;
  margin-bottom: 8px;
}

.hero-eyebrow span {
  color: var(--primary-strong);
  font-weight: 600;
}

.hero h1 {
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.hero-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-subtitle strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Search */

.search-shell {
  margin-top: 4px;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: flex-start;
}

.search-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-input-wrap {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 9px;
  font-size: 0.9rem;
  color: #9ca3af;
}

.search-box input[type="search"] {
  flex: 1;
  padding: 10px 12px 10px 32px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f9fbff;
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

.search-box input::placeholder {
  color: #9ca3af;
}

.search-box input:focus {
  border-color: var(--primary-strong);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
  background: #ffffff;
}

.search-box button {
  padding: 8px 15px;
  border-radius: 999px;
  border: none;
  font-size: 0.86rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #f9fafb;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.25);
}

.search-box button:hover {
  filter: brightness(1.05);
}

.search-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 6px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-subtle);
  max-height: 260px;
  overflow-y: auto;
  z-index: 20;
}

.search-result-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  font-size: 0.86rem;
  border-bottom: 1px solid #f1f5f9;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item .name {
  font-weight: 500;
}

.search-result-item .number {
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.78rem;
}

.search-result-item:hover {
  background: #f9fafb;
}

/* Hero side (chips + metrics) */

.hero-side {
  border-radius: 18px;
  padding: 12px 12px 10px;
  background: #fefefe;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-subtle);
  font-size: 0.8rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

/* Base chip */

.trust-chip {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 1) Official links only – green (safe / verified) */
.trust-chip--official {
  border: 1px solid #22c55e;
  background: rgba(34, 197, 94, 0.10);
  color: #166534;
}

/* 2) Scam awareness tips – amber (warning / caution) */
.trust-chip--scam {
  border: 1px solid #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
}

/* 3) USA‑focused brands – blue (scope / filter) */
.trust-chip--usa {
  border: 1px solid #0ea5e9;
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
}

.trust-chip span {
  font-weight: 700;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.metric {
  padding: 7px 8px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.metric-value {
  font-size: 0.94rem;
  font-weight: 600;
}

/* Sections */

.section {
  margin-top: 32px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.section h2,
.section h1 {
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.section-subtitle {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.section-link {
  font-size: 0.78rem;
  color: var(--primary-strong);
}

/* Grids & cards */

.card-grid,
.category-grid,
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 12px 13px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(125, 211, 252, 0.25), transparent 55%);
  opacity: 0;
  transition: opacity 0.12s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.card-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.card-meta {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-label {
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--primary-strong);
}

/* Directory / companies grid */

.directory {
  padding: 80px 0;
  background: #ffffff;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0b1220;
  text-align: center;
  margin-bottom: 48px;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.company-card .company-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0b1220;
  margin: 0;
  line-height: 1.3;
}

.verified-badge {
  background: #0a4d15;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.phone {
  margin: 16px 0;
}

.phone a {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  display: block;
  transition: opacity 0.2s ease;
}

.phone a:hover {
  opacity: 0.8;
}

.notes {
  color: #52607a;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 16px 0;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Buttons */

.btn-primary,
.btn-secondary {
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #0e7afe;
  color: #ffffff;
}

.btn-primary:hover {
  background: #0c6ce8;
}

.btn-secondary {
  background: transparent;
  color: #0e7afe;
  border: 1px solid #e6e9ef;
}

.btn-secondary:hover {
  background: #f7fbff;
}

/* Brand-specific card tints (optional) */

.brand-att {
  --card-bg: #e6f7ff;
}

.brand-att .phone a {
  color: #007fb2;
}

.brand-amzn {
  --card-bg: #fff4e0;
}

.brand-amzn .phone a {
  color: #ff9900;
}

.brand-bofa {
  --card-bg: #ffe6ea;
}

.brand-bofa .phone a {
  color: #9f0e18;
}

.brand-apple {
  --card-bg: #f3f4f6;
}

.brand-apple .phone a {
  color: #111;
}

.brand-medicare {
  --card-bg: #e6f0ff;
}

.brand-medicare .phone a {
  color: #005eb8;
}

.brand-att,
.brand-amzn,
.brand-bofa,
.brand-apple,
.brand-medicare {
  background: var(--card-bg);
  border-color: transparent;
}

/* No results */

.no-results {
  text-align: center;
  padding: 48px 24px;
  background: #f9fafb;
  border: 2px dashed #e6e9ef;
  border-radius: 12px;
}

.no-results h3 {
  font-size: 1.25rem;
  color: #0b1220;
  margin-bottom: 8px;
}

.no-results p {
  color: #52607a;
}

/* About */

.about {
  padding: 80px 0;
  background: #f9fafb;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.7;
}

.lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0b1220;
  margin-bottom: 24px;
}

.about-text p {
  color: #52607a;
  margin-bottom: 20px;
}

.trust-indicators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.trust-item {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e6e9ef;
}

.trust-item strong {
  display: block;
  font-size: 1.1rem;
  color: #0a4d15;
  font-weight: 600;
  margin-bottom: 8px;
}

.trust-item span {
  color: #52607a;
  font-size: 0.95rem;
}

/* Safety Tips */

.safety-tips {
  padding: 80px 0;
  background: #ffffff;
}

.section-description {
  text-align: center;
  color: #52607a;
  margin-bottom: 48px;
  font-size: 1.1rem;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.tip-card {
  background: #ffffff;
  border: 1px solid #e6e9ef;
  border-radius: 12px;
  padding: 32px 24px 24px;
  position: relative;
  transition: all 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.tip-number {
  position: absolute;
  top: -16px;
  left: 24px;
  background: #ff6b35;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.tip-card h3 {
  font-size: 1.1rem;
  color: #0b1220;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 8px;
}

.tip-card p {
  color: #52607a;
  line-height: 1.6;
}

/* Ad slot & footer */

.ad-slot {
  margin: 26px 0;
  padding: 12px;
  background: var(--warning-soft);
  border-radius: 18px;
  border: 1px dashed #facc15;
  font-size: 0.85rem;
  color: #854d0e;
  text-align: center;
}

.site-footer {
  border-top: 1px solid #e2e8f0;
  padding: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive */

@media (max-width: 900px) {
  .search-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 20px 16px 18px;
  }
}

@media (max-width: 768px) {
  main {
    padding-inline: 14px;
  }
}
/* =========================================
   SECTION VISUAL DIFFERENTIATION
========================================= */

/* Top searched brands */
#top-brands {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.08),
    rgba(14, 165, 233, 0.02)
  );
  border: 1px solid rgba(14, 165, 233, 0.15);
}

/* Categories */
#categories {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.08),
    rgba(139, 92, 246, 0.02)
  );
  border: 1px solid rgba(139, 92, 246, 0.15);
}

/* Recently updated */
#recently-updated {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.08),
    rgba(34, 197, 94, 0.02)
  );
  border: 1px solid rgba(34, 197, 94, 0.15);
}

/* Featured section */
.section-featured {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(250, 204, 21, 0.15),
    rgba(250, 204, 21, 0.05)
  );
  border: 1px solid rgba(250, 204, 21, 0.3);
}

/* =========================================
   CARD TYPE DIFFERENTIATION
========================================= */

/* Brand cards (Top + Recent) */
.brand-card {
  position: relative;
  border: 1px solid rgba(14, 165, 233, 0.15);
}

.brand-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(to right, #0ea5e9, #22c55e);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

/* Category cards */
.category-card {
  position: relative;
  padding-left: 18px;
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.category-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  background: linear-gradient(to bottom, #8b5cf6, #6366f1);
}

/* Company cards (Popular brands) */
.company-card {
  background: linear-gradient(
    180deg,
    #ffffff,
    #f8fafc
  );
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  transition: all 0.25s ease;
}

.company-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

/* Featured card highlight */
.section-featured .card {
  border: 1px solid rgba(234, 179, 8, 0.4);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(254, 240, 138, 0.25)
  );
}

/* Make directory visually distinct */
.directory {
  border-radius: 32px;
  margin-top: 40px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.05);
}

/* Improve section spacing separation */
.section + .section {
  margin-top: 50px;
}
