/* =========================================================
   maxamind — site.css
   Shared styles for www.maxamind.com
   Fonts: load DM Sans in each page <head> (300–700).
   ---------------------------------------------------------
   1. Tokens & base
   2. Header & navigation
   3. Buttons
   4. Section headings
   5. Footer
   6. Scroll reveal
   7. Home page
   8. Blog index
   9. Blog post
  10. Responsive
   ========================================================= */


/* ── 1. TOKENS & BASE ─────────────────────────────────── */
:root {
  --primary: #4A7C9E;
  --primary-light: #6B96B5;
  --primary-dark: #2d5a78;
  --accent: #E8A87C;
  --dark: #1A1A1A;
  --light: #F8F6F2;
  --gray: #6B7280;
  --white: #FFFFFF;
  --navy: #1a2744;
  --header-h: 97px;            /* nav padding + logo height */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.plain-link { color: inherit; }


/* ── 2. HEADER & NAVIGATION ───────────────────────────── */
header {
  position: sticky;
  top: 0;
  background: rgba(248,246,242,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(74,124,158,0.1);
  animation: slideDown 0.6s ease-out;
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo {
  width: 240px; height: 65px;
  background: url('images/maxamind-logo-240x65.png') no-repeat left center;
  background-size: 240px 65px;
  flex-shrink: 0;
}
.blog-tag {
  font-size: 0.8rem;
  color: var(--gray);
  margin-left: 0.75rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(74,124,158,0.2);
}
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  border: 2px solid var(--primary);
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74,124,158,0.25) !important;
}


/* ── 3. BUTTONS ───────────────────────────────────────── */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  display: inline-flex; align-items: center; gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(74,124,158,0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74,124,158,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}
.btn-secondary:hover { background: var(--primary); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--primary);
  padding: 1rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}


/* ── 4. SECTION HEADINGS ──────────────────────────────── */
.section-label {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  display: block;
}
.section-header {
  max-width: 680px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-header h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  color: var(--dark);
}
.section-header p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.65;
}
.section-subhead { margin-top: 5rem; }


/* ── 5. FOOTER ────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 0 2rem;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-section h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--accent);
}
.footer-section a {
  display: block;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-section a:hover { color: var(--white); }
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}


/* ── 6. SCROLL REVEAL ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ── 7. HOME PAGE ─────────────────────────────────────── */

/* Hero */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 80%; height: 150%;
  background: radial-gradient(circle, rgba(74,124,158,0.07) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  33%     { transform: translate(-50px,50px) rotate(5deg); }
  66%     { transform: translate(50px,-50px) rotate(-5deg); }
}
.hero-content {
  max-width: 800px;
  position: relative; z-index: 1;
  animation: fadeInUp 0.8s ease-out both;
  animation-delay: 0.2s;
}
.hero-label {
  display: inline-block;
  background: rgba(232,168,124,0.15);
  color: var(--primary);
  padding: 0.5rem 1.1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 1.5rem 0;
  letter-spacing: 0.02em;
  animation: fadeInUp 0.8s ease-out both;
  animation-delay: 0.3s;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  max-width: 640px;
  color: var(--dark);
  letter-spacing: -0.035em;
  animation: fadeInUp 0.8s ease-out both;
  animation-delay: 0.35s;
}
.hero h1 strong { font-weight: 600; color: var(--primary); }
.hero-sub {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 580px;
  line-height: 1.7;
  font-weight: 300;
  animation: fadeInUp 0.8s ease-out both;
  animation-delay: 0.4s;
}
.hero-cta-group {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out both;
  animation-delay: 0.5s;
}
.hero-trust {
  margin-top: 1.8rem;
  font-size: 0.875rem;
  color: var(--gray);
  animation: fadeInUp 0.8s ease-out both;
  animation-delay: 0.6s;
}

/* Platform strip */
.platforms {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: nowrap;
  margin-top: 1.5rem;
  animation: fadeInUp 0.8s ease-out both;
  animation-delay: 0.7s;
}
.platforms-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
}
.platform-icons { display: flex; gap: 1rem; align-items: center; }
.platform-icon {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--gray);
}
.platform-icon svg { width: 20px; height: 20px; opacity: 0.55; }
.platforms-sync {
  font-style: italic;
  font-size: 0.82rem;
  color: var(--primary);
}

/* Views */
.views-section { padding: 6rem 0; background: var(--white); }
.views-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.view-card {
  background: var(--light);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(26,39,68,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.view-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(74,124,158,0.15);
}
.view-label {
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--primary);
  border-bottom: 1px solid rgba(74,124,158,0.1);
  background: var(--white);
}
.view-card img { width: 100%; display: block; object-fit: cover; }

/* Views: click-to-enlarge overlay (large screens) */
.view-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(22, 32, 42, 0.55);
  backdrop-filter: blur(2px);
}
.view-overlay.open { display: flex; }
.view-overlay__panel {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.97);
  transition: transform 0.18s ease;
}
.view-overlay.open .view-overlay__panel { transform: scale(1); }
.view-overlay__caption {
  flex: 0 0 auto;
  padding: 0.9rem 3rem 0.9rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.45;
  border-bottom: 1px solid #eef1f4;
}
.view-overlay__body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f8fa;
}
.view-overlay__body img {
  max-width: min(1250px, 66vw);
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.view-overlay__close {
  position: absolute;
  top: 0.6rem; right: 0.75rem;
  width: 2rem; height: 2rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #556;
}
.view-overlay__close:hover { background: #eef1f4; }

/* Features */
.features-section { padding: 6rem 0; background: var(--light); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(26,39,68,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(74,124,158,0.12);
}
.feature-icon {
  width: 46px; height: 46px;
  background: rgba(74,124,158,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.65;
  font-weight: 300;
}

/* Device split */
.device-split { padding: 6rem 0; background: var(--primary-dark); }
.device-split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.device-split-text h2 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.device-split-text h2 em { color: var(--accent); font-style: normal; }
.device-split-text p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.platform-list { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.5rem; }
.platform-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.8);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.82rem;
}
.device-split-images {
  display: flex; gap: 1.5rem;
  align-items: flex-start; justify-content: center;
}
.device-desktop {
  flex: 1.6;
  background: rgba(255,255,255,0.05);
  border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.device-bar {
  background: rgba(255,255,255,0.08);
  padding: 0.5rem 0.8rem;
  display: flex; gap: 0.4rem; align-items: center;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #28c840; }
.device-desktop img { width: 100%; display: block; }
.device-mobile {
  flex: 0.7;
  background: rgba(255,255,255,0.05);
  border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  margin-top: 2rem;
}
.device-mobile img { width: 100%; display: block; border-radius: 28px; }

/* AI */
.ai-section {
  padding: 6rem 0;
  background: var(--light);
  position: relative; overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,124,158,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.ai-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.ai-eyebrow {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  display: block;
}
.ai-text h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.ai-text h2 em { color: var(--accent); font-style: normal; }
.ai-text p {
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1rem;
}
.ai-examples {
  display: flex; flex-direction: column; gap: 0.75rem;
  margin-top: 1.5rem;
}
.ai-example {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--accent);
  padding: 0.7rem 1rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  color: var(--navy);
  font-style: italic;
}
.ai-screenshot {
  background: rgba(255,255,255,0.04);
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.ai-screenshot img { width: 100%; display: block; }

/* Story */
.story-section { padding: 6rem 0; background: var(--white); }
.story-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.story-inner h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.story-inner p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1.2rem;
}
.story-sig {
  margin-top: 2.5rem;
  display: inline-flex; align-items: center; gap: 0.8rem;
  background: var(--light);
  padding: 0.8rem 1.6rem;
  border-radius: 100px;
  font-size: 0.88rem;
  color: var(--dark);
  font-weight: 500;
}

/* Pricing */
.pricing-section { padding: 6rem 0; background: var(--light); }
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 820px;
  margin: 3.5rem auto 0;
}
.pricing-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 2px 16px rgba(26,39,68,0.07);
  border: 2px solid transparent;
  transition: border-color 0.2s;
  position: relative;
}
.pricing-card.featured { border-color: var(--primary); }
.pricing-badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
}
.pricing-plan {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.8rem;
}
.pricing-amount {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.pricing-amount span {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0;
  color: var(--gray);
}
.pricing-period {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.8rem;
}
.pricing-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.65rem;
  margin-bottom: 2rem;
}
.pricing-features li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--dark);
  line-height: 1.4;
}
.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-cta {
  display: block; text-align: center;
  padding: 0.9rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
}
.pricing-cta.primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(74,124,158,0.3);
}
.pricing-cta.primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.pricing-cta.secondary { border: 2px solid var(--primary); color: var(--primary); }
.pricing-cta.secondary:hover { background: var(--primary); color: white; }

/* Final CTA */
.final-cta {
  padding: 7rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  animation: rotate 30s linear infinite;
  pointer-events: none;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.final-cta-content {
  position: relative; z-index: 1;
  max-width: 680px; margin: 0 auto;
}
.final-cta h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}
.final-cta h2 strong { font-weight: 600; }
.final-cta p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  font-weight: 300;
}


/* ── 8. BLOG INDEX ────────────────────────────────────── */
.blog-index { padding-top: 3rem; padding-bottom: 4rem; }
.blog-index .page-header { max-width: 640px; margin-bottom: 2.5rem; }
.blog-index .page-header h1 {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.blog-index .page-header p { color: var(--gray); font-size: 1.02rem; }

.blog-index .controls { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.blog-index input.search {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(74,124,158,0.25);
  border-radius: 8px;
  min-width: 220px;
  font-family: inherit;
}
.blog-index select {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(74,124,158,0.25);
  font-family: inherit;
  background: var(--white);
}
.blog-index .clear-btn {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(74,124,158,0.25);
  background: var(--white);
  color: var(--gray);
  cursor: pointer;
  font-family: inherit;
}

.blog-index .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.blog-index .card {
  background: var(--white);
  padding: 1.6rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26,39,68,0.07);
  display: flex; flex-direction: column; gap: 0.7rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-index .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(74,124,158,0.15);
}
.blog-index .card h2 {
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1.1rem;
  color: var(--dark);
  line-height: 1.35;
}
.blog-index .card h2 a { color: inherit; text-decoration: none; }
.blog-index .card h2 a:hover { color: var(--primary); }
.blog-index .meta-row { display: flex; gap: 0.5rem; flex-wrap: wrap; color: var(--gray); font-size: 0.82rem; }
.blog-index .excerpt { color: var(--gray); font-size: 0.92rem; flex: 1; }
.blog-index .card-foot { display: flex; gap: 0.5rem; align-items: center; }
.blog-index .tags { display: inline-flex; gap: 0.4rem; flex-wrap: wrap; }
.blog-index .tag {
  background: rgba(74,124,158,0.1);
  color: var(--primary);
  padding: 0.35rem 0.7rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.75rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.blog-index .read-btn {
  margin-left: auto;
  background: var(--primary);
  color: var(--white);
  padding: 0.55rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  flex-shrink: 0;
}
.blog-index .read-btn:hover { background: var(--primary-dark); }

.blog-index .load-more-row { margin-top: 2rem; display: flex; gap: 1rem; align-items: center; }
.blog-index #loadMore {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  font-family: inherit;
}
.blog-index #loadMore:hover { background: var(--primary); color: var(--white); }
.blog-index #loadMore[hidden] { display: none; }
.blog-index #count { color: var(--gray); font-size: 0.9rem; }


/* ── 9. BLOG POST ─────────────────────────────────────── */
.post { padding: 2.5rem 0 4rem; }
.post-wrap { max-width: 760px; margin: 0 auto; padding: 0 2rem; }
.back {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}
.back:hover { text-decoration: underline; }
.post-card {
  background: var(--white);
  padding: 2.75rem 3rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26,39,68,0.07);
}
.post-card h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.post-meta {
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(74,124,158,0.12);
}
.post-card h2 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--dark);
  margin: 2.2rem 0 0.7rem;
}
.post-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--dark);
  margin: 1.6rem 0 0.5rem;
}
.post-card p,
.post-card li {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2b2f36;
}
.post-card p { margin-bottom: 1.1rem; }
.post-card ul,
.post-card ol { margin: 0 0 1.1rem 1.4rem; }
.post-card li { margin-bottom: 0.4rem; }
.post-card a { color: var(--primary); text-underline-offset: 2px; }
.post-card a:hover { color: var(--primary-dark); }
.post-card img { max-width: 100%; height: auto; border-radius: 10px; margin: 1rem 0; }
.post-card blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.2rem 0 0.2rem 1rem;
  margin: 1.2rem 0;
  color: var(--gray);
}
.post-card code {
  font-size: 0.92em;
  background: rgba(74,124,158,0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}
.post-foot { margin-top: 1.5rem; }


/* ── 10. RESPONSIVE ───────────────────────────────────── */
@media (min-width: 1024px) {
  .view-card { cursor: zoom-in; }
}

@media (max-width: 900px) {
  :root { --header-h: 78px; }
  nav { padding: 1rem 1.5rem; }
  .logo { width: 180px; height: 46px; background-size: 180px 46px; }

  .device-split .container { grid-template-columns: 1fr; gap: 3rem; }
  .views-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-inner { grid-template-columns: 1fr; gap: 3rem; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 440px; }
  .device-split { padding: 4rem 0; }
  .views-section, .features-section, .ai-section,
  .story-section, .pricing-section { padding: 4rem 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 1.2rem; }
  .nav-links li:not(:has(.nav-cta)) { display: none; }   /* keep Subscribe only */

  .views-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  .blog-index { padding-top: 2rem; }
  .blog-index .controls { flex-direction: column; align-items: stretch; }

  .post { padding-top: 1.5rem; }
  .post-wrap { padding: 0 1.2rem; }
  .post-card { padding: 1.75rem 1.4rem; }
}