/* The SEO Shoppe — SEO Tools & Digital Marketing Services */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

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

:root {
  --navy: #0F1B3D;
  --navy-mid: #1A2F5C;
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --blue-pale: #EFF6FF;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --gray-700: #334155;
  --gray-900: #0F172A;
  --green: #10B981;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- HEADER / NAV ---- */
header {
  background: var(--navy);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
}

.brand svg { width: 32px; height: 32px; flex-shrink: 0; }

.brand span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
  text-decoration: none;
  color: var(--gray-300);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,27,61,0.92) 0%, rgba(37,99,235,0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 3rem;
  max-width: 640px;
}

.hero-content h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.85;
  color: var(--gray-300);
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.8rem;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border-radius: 6px;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover { background: var(--blue-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  margin-left: 0.8rem;
}

.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }

/* ---- SECTIONS ---- */
section { padding: 5rem 0; }

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1rem;
  margin-bottom: 3rem;
}

.bg-light { background: var(--off-white); }
.bg-blue { background: var(--blue-pale); }

/* ---- PRODUCT/SERVICE GRID ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
  box-shadow: 0 12px 32px rgba(15,23,42,0.08);
  transform: translateY(-2px);
}

.product-card img { width: 100%; height: 220px; object-fit: cover; }

.product-card-body { padding: 1.5rem; }

.product-card-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.product-card-body p { color: var(--gray-500); font-size: 0.92rem; }

.product-card-body .price {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  font-size: 1.1rem;
}

/* ---- TWO-COL FEATURE ---- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.feature-row img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  aspect-ratio: 4/3;
}

.feature-row h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.feature-row p { color: var(--gray-500); margin-bottom: 1rem; }

/* ---- STATS ROW ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}

.stat-item h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.3rem;
}

.stat-item p { font-size: 0.9rem; color: var(--gray-500); }

/* ---- ARTICLE ---- */
.article-header {
  text-align: center;
  padding: 4rem 1.5rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.article-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.article-header .meta {
  color: var(--gray-500);
  font-size: 0.88rem;
}

.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.article-body h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 2.5rem 0 0.8rem;
}

.article-body p { margin-bottom: 1.2rem; color: var(--gray-700); }

.article-body img {
  width: 100%;
  border-radius: 8px;
  margin: 2rem 0;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.2rem 1.5rem;
  color: var(--gray-700);
}

.article-body li { margin-bottom: 0.5rem; }

.article-body blockquote {
  border-left: 3px solid var(--blue);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--navy-mid);
  background: var(--blue-pale);
  border-radius: 0 6px 6px 0;
}

/* ---- TESTIMONIAL ---- */
.testimonial-section {
  background: var(--navy-mid);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.testimonial-section blockquote {
  font-size: 1.4rem;
  font-style: italic;
  max-width: 640px;
  margin: 0 auto 1rem;
  line-height: 1.6;
}

.testimonial-section cite {
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ---- CTA ---- */
.cta-section {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.cta-section p { opacity: 0.9; max-width: 480px; margin: 0 auto 1.5rem; }

.cta-section .btn { background: var(--white); color: var(--blue); }
.cta-section .btn:hover { background: var(--gray-100); }

/* ---- FOOTER ---- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

footer p { font-size: 0.88rem; margin-bottom: 0.5rem; }

footer a { color: var(--blue-light); text-decoration: none; }
footer a:hover { text-decoration: underline; }

footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.8rem; }

footer ul { list-style: none; }
footer li { margin-bottom: 0.4rem; font-size: 0.88rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 0.8rem;
  }

  .nav-links.open { display: flex; }

  .hero { min-height: 400px; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content { padding: 2rem 1.5rem; }

  .feature-row { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 1.5rem; }

  .btn-outline { margin-left: 0; margin-top: 0.5rem; display: inline-block; }
}

.brand-icon { width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; margin-right: 6px; }
