/* ===== UTM Buddy — Clean Dark Theme (MMP-Inspired Layout) ===== */
/* Design: Pure dark bg, alternating sections, Inter font, blue accent #5b9bd5 */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, "system-ui", "Segoe UI", sans-serif;
  background: #0d0d0d;
  color: #e5e7eb;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #5b9bd5; text-decoration: none; transition: color .2s; }
a:hover { color: #7cb8e8; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; color: #fff; font-weight: 700; }
strong { color: #fff; }

/* --- Layout --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section-padded { padding: 80px 0; }

/* --- Utility --- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: #71717a; }

/* Badge pill — section labels */
.badge {
  display: inline-block; font-size: .75rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 9999px;
  background: transparent; color: #5b9bd5;
  border: 1px solid rgba(91,155,213,.35);
  margin-bottom: 14px;
}

/* Section header pattern */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  letter-spacing: -.02em; margin-bottom: 14px;
}
.section-subtitle { color: #a1a1aa; font-size: 1rem; line-height: 1.7; }

/* Section illustrations */
.section-illustration {
  display: block;
  margin: 32px auto 0;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(91, 155, 213, .12));
}
.section-illustration-lg { max-width: 400px; }

/* Split section header (illustration left, text right) */
.section-header-split {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  max-width: 900px;
}
.section-header-split .section-header-visual img {
  max-width: 260px;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .section-header-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .section-header-split .section-header-visual img {
    margin: 0 auto;
    max-width: 200px;
  }
}
/* Reverse variant: text left, illustration right */
.section-header-split-reverse {
  grid-template-columns: 1fr auto;
}
.section-header-split-reverse .section-header-text { text-align: right; }
@media (max-width: 768px) {
  .section-header-split-reverse { grid-template-columns: 1fr; }
  .section-header-split-reverse .section-header-text { text-align: center; }
}

/* Card & CTA illustrations */
.card-illustration {
  display: block;
  margin: 0 auto 16px;
  max-width: 120px;
  height: auto;
}
.cta-illustration {
  display: block;
  margin: 0 auto 24px;
  max-width: 160px;
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(91, 155, 213, .15));
}

/* Alternating section backgrounds */
.section-alt { background: #161616; }

/* ===================================================================
   NAVIGATION
   =================================================================== */
.header, .navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #2a2a2a;
}
.header-content, .navbar-content, .nav-container, .navbar-container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  height: 64px; gap: 24px;
}
.logo a, a.logo, .navbar-logo a { display: flex; align-items: center; }
.logo img, a.logo img, .navbar-logo img { height: 100px; width: auto; }

/* Nav links */
.nav-list, .nav-links, .nav-menu {
  display: flex; gap: 28px; align-items: center; list-style: none;
}
.nav-list li a, .nav-links li a, .nav-link, .nav-item a {
  color: #a1a1aa; font-size: .875rem; font-weight: 500;
  transition: color .2s; letter-spacing: .01em;
}
.nav-list li a:hover, .nav-links li a:hover,
.nav-list li a.active, .nav-links li a.active { color: #fff; }
/* Header actions: Get Started + Login side by side */
.header-actions {
  display: flex; align-items: center; gap: 16px; flex-shrink: 0;
}
.nav-login { color: #a1a1aa !important; font-size: .875rem; font-weight: 500; white-space: nowrap; }

/* Primary CTA in nav */
.nav-cta, .cta-button, .header .btn-primary,
.nav-links .btn-primary {
  display: inline-flex; align-items: center; padding: 8px 20px;
  background: #5b9bd5; color: #fff !important; border-radius: 8px;
  font-weight: 700; font-size: .8125rem; transition: background .2s, transform .15s;
  white-space: nowrap; border: none;
}
.nav-cta:hover, .cta-button:hover, .header .btn-primary:hover,
.nav-links .btn-primary:hover {
  background: #4a8ac4; transform: translateY(-1px); color: #fff !important;
}

/* Mobile nav toggle */
.hamburger, .nav__toggle {
  display: none; background: none; border: none;
  color: #fff; cursor: pointer; padding: 8px; font-size: 1.5rem;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: #fff;
  margin: 5px 0; transition: .3s;
}

@media (max-width: 768px) {
  .hamburger, .nav__toggle { display: block; }
  .nav-list, .nav-links, .nav-menu {
    position: fixed; inset: 64px 0 0 0;
    flex-direction: column; gap: 0;
    background: #0d0d0d; padding: 16px 0;
    border-top: 1px solid #2a2a2a;
    transform: translateX(100%); transition: transform .3s;
  }
  .nav-list.is-open, .nav-links.is-open, .nav-menu.is-open { transform: translateX(0); }
  .nav-list li a, .nav-links li a { padding: 14px 24px; display: block; }
  .header .btn-primary { display: none; }
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn, .cta-button-primary, .cta-button-secondary {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 28px;
  border-radius: 8px; font-weight: 700; font-size: .875rem;
  transition: all .2s; border: none; cursor: pointer;
  text-align: center; justify-content: center; letter-spacing: .01em;
}
.btn-primary, .cta-button-primary {
  background: #5b9bd5; color: #fff !important;
}
.btn-primary:hover, .cta-button-primary:hover {
  background: #4a8ac4; color: #fff !important; transform: translateY(-1px);
}
.btn-secondary, .btn-outline, .cta-button-secondary {
  background: transparent; color: #fff !important;
  border: 1px solid #2a2a2a;
}
.btn-secondary:hover, .btn-outline:hover, .cta-button-secondary:hover {
  border-color: #5b9bd5; color: #5b9bd5 !important;
  background: rgba(91,155,213,.06);
}
.btn-large, .btn-lg { padding: 14px 32px; font-size: .9375rem; }

/* ===================================================================
   HERO
   =================================================================== */
.hero, .pricing-hero, .features-hero {
  padding: 80px 0 64px; text-align: center;
}
.hero-content { max-width: 780px; margin: 0 auto; }
.hero h1, .hero-title, .pricing-hero h1, .features-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero h1 span { color: #5b9bd5; }
.hero-subtitle {
  max-width: 640px; margin: 0 auto 32px;
  font-size: 1.0625rem; color: #a1a1aa; line-height: 1.7;
}
.hero-cta, .hero-buttons, .hero-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.hero-container { max-width: 780px; margin: 0 auto; }

/* Hero — Split layout (text left, image right) */
.hero-split { text-align: left; padding: 80px 0 60px; }
.hero-split .hero-cta { justify-content: flex-start; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.hero-text { max-width: 560px; }
.hero-text .hero-subtitle { margin: 0 0 32px; max-width: none; }
.hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.hero-mascot {
  max-width: 320px; width: 100%;
  filter: drop-shadow(0 0 40px rgba(91,155,213,.15));
}

/* Hero check marks row */
.hero-checks {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 24px; font-size: .875rem; color: #a1a1aa;
}
.hero-split .hero-checks { justify-content: flex-start; }
.hero-checks span::before { content: '✓ '; color: #5b9bd5; font-weight: 700; }

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-split { text-align: center; }
  .hero-split .hero-cta { justify-content: center; }
  .hero-split .hero-checks { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-mascot { max-width: 200px; }
}

/* ===================================================================
   PROBLEM CARDS
   =================================================================== */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  background: #0d0d0d; border: 1px solid #2a2a2a;
  border-radius: 12px; padding: 28px 24px;
  transition: border-color .25s, transform .25s;
}
.problem-card:hover { border-color: rgba(91,155,213,.35); transform: translateY(-2px); }
.problem-icon { font-size: 1.5rem; margin-bottom: 12px; }
.problem-card h3 { font-size: 1rem; margin-bottom: 8px; }
.problem-card p { color: #a1a1aa; font-size: .8125rem; line-height: 1.6; }

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

/* ===================================================================
   IMPACT / WHY THIS MATTERS CARDS
   =================================================================== */
.impact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.impact-card {
  background: #161616; border: 1px solid #2a2a2a;
  border-radius: 12px; padding: 32px 28px;
  transition: border-color .25s, transform .25s;
}
.impact-card:hover { border-color: rgba(91,155,213,.35); transform: translateY(-2px); }
.impact-icon { font-size: 1.75rem; margin-bottom: 14px; }
.impact-card h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.impact-card p { color: #a1a1aa; font-size: .875rem; line-height: 1.65; }

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

/* ===================================================================
   FEATURE DETAIL CARDS (alternating text/visual)
   =================================================================== */
.features-detail-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.feature-detail-card {
  display: flex; flex-direction: column;
  background: #0d0d0d; border: 1px solid #2a2a2a;
  border-radius: 16px; padding: 28px 24px;
  transition: border-color .3s;
}
.section-alt .feature-detail-card { background: #0d0d0d; }
.feature-detail-card:hover { border-color: rgba(91,155,213,.3); }
.feature-detail-card.reverse { direction: ltr; }
.feature-detail-card.reverse > * { direction: ltr; }
.feature-detail-content { margin-bottom: 16px; }
.feature-detail-content h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-detail-content p { color: #a1a1aa; font-size: .8125rem; line-height: 1.6; margin-bottom: 12px; }
.feature-detail-visual { margin-top: auto; }
.feature-link {
  font-size: .875rem; font-weight: 600; color: #5b9bd5;
  display: inline-flex; align-items: center; gap: 4px;
}
.feature-link:hover { color: #7cb8e8; }

/* Feature mockup (simulated UI) */
.feature-mockup {
  background: #161616; border: 1px solid #2a2a2a;
  border-radius: 12px; padding: 20px 24px;
  font-size: .8125rem;
}
.mockup-header {
  font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em;
  color: #52525b; font-weight: 600; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid #2a2a2a;
}
.mockup-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid rgba(42,42,42,.5);
}
.mockup-row:last-child { border-bottom: none; }
.mockup-label { color: #71717a; font-size: .8125rem; }
.mockup-value { color: #e5e7eb; font-size: .8125rem; font-weight: 500; }
.mockup-value.accent { color: #5b9bd5; font-weight: 600; }
.mockup-badge {
  display: inline-block; padding: 5px 14px;
  background: rgba(91,155,213,.1); border: 1px solid rgba(91,155,213,.25);
  border-radius: 8px; color: #5b9bd5; font-size: .75rem; font-weight: 600;
  margin: 4px 6px 4px 0;
}
.mockup-badge.dim {
  background: rgba(255,255,255,.04); border-color: #2a2a2a;
  color: #52525b;
}

/* Before / After mockup pattern (matches MMP feature cards) */
.mockup-before-after { padding: 0; overflow: hidden; }
.mockup-example {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; font-size: .8125rem;
}
.mockup-example.mockup-warn {
  background: rgba(234,179,8,.06);
  border-bottom: 1px solid #2a2a2a;
}
.mockup-example.mockup-pass {
  background: rgba(74,222,128,.06);
}
.mockup-status-icon { font-size: 1.1rem; flex-shrink: 0; }
.mockup-code {
  flex: 1; color: #a1a1aa; font-family: 'Courier New', Courier, monospace;
  font-size: .78rem; word-break: break-all;
}
.mockup-code strong { color: #e5e7eb; font-weight: 700; }
.mockup-tag {
  flex-shrink: 0; padding: 3px 10px; border-radius: 6px;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
}
.tag-red { background: rgba(248,113,113,.15); color: #f87171; }
.tag-green { background: rgba(74,222,128,.15); color: #4ade80; }

/* QR code mockup placeholder */
.qr-mockup { text-align: center; }
.qr-placeholder {
  width: 80px; height: 80px; margin: 0 auto 16px;
  background: rgba(91,155,213,.08); border: 2px dashed rgba(91,155,213,.3);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: #5b9bd5; font-weight: 700; font-size: 1.25rem;
}

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

/* ===================================================================
   PERSONA CARDS (Who It's For)
   =================================================================== */
.persona-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.persona-card {
  background: #161616; border: 1px solid #2a2a2a;
  border-radius: 12px; padding: 36px 28px;
  text-align: center;
  transition: border-color .25s, transform .25s;
}
.persona-card:hover { border-color: rgba(91,155,213,.35); transform: translateY(-2px); }
.persona-icon { font-size: 2rem; margin-bottom: 16px; }
.persona-card h3 { font-size: 1.125rem; margin-bottom: 10px; }
.persona-card p { color: #a1a1aa; font-size: .875rem; line-height: 1.65; }

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

/* ===================================================================
   PLATFORM COMPATIBILITY
   =================================================================== */
.platform-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.platform-card {
  background: #0d0d0d; border: 1px solid #2a2a2a;
  border-radius: 12px; padding: 24px 20px;
  text-align: center;
  transition: border-color .25s, transform .25s;
}
.platform-card:hover { border-color: rgba(91,155,213,.35); transform: translateY(-2px); }
.platform-logo {
  display: block;
  margin: 0 auto 12px;
  height: auto;
}
.platform-logo-wide { width: 240px; }
.platform-logo-square { width: 112px; }
.platform-name {
  font-size: .9375rem; font-weight: 600; color: #e5e7eb;
  letter-spacing: -.01em;
}

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

/* ===================================================================
   COMPARISON TABLE
   =================================================================== */
.comparison { padding: 80px 0; }
.comparison.section-alt { background: #161616; }
.comparison-header { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.comparison-header h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 16px; letter-spacing: -.01em; }
.comparison-subtitle { color: #a1a1aa; font-size: 1rem; line-height: 1.7; }
.table-wrapper { overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid #2a2a2a; font-size: .875rem;
}
.comparison-table th {
  color: #71717a; font-weight: 600; font-size: .8125rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.comparison-table th:nth-child(2) { color: #5b9bd5; }
.yes, .compare-yes { color: #4ade80; }
.no, .compare-no { color: #f87171; }
.comparison-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison-feature-col { min-width: 240px; }
.comparison-buddy-col { color: #5b9bd5 !important; }
.comparison-table tbody tr:hover { background: rgba(91,155,213,.06); }
@media (max-width: 640px) {
  .comparison-table th, .comparison-table td { padding: 10px 12px; font-size: .8125rem; }
  .comparison-feature-col { min-width: 180px; }
}

/* ===================================================================
   FEATURE CARDS (simple grid)
   =================================================================== */
.features, .features-section { padding: 80px 0; }
.features.section-alt { background: #161616; }
.features h2, .features-section h2, .section-title {
  font-size: clamp(1.4rem, 3vw, 2rem); text-align: center;
  margin-bottom: 16px; letter-spacing: -.01em;
}
.features > .container > p { text-align: center; color: #a1a1aa; max-width: 640px; margin: 0 auto; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; margin-top: 40px;
}
.feature-card {
  background: #161616; border: 1px solid #2a2a2a;
  border-radius: 12px; padding: 28px 24px;
  transition: border-color .25s, transform .25s;
}
.section-alt .feature-card { background: #0d0d0d; }
.feature-card:hover { border-color: rgba(91,155,213,.35); transform: translateY(-2px); }
.feature-icon { font-size: 1.5rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-card p { color: #a1a1aa; font-size: .8125rem; line-height: 1.65; }

/* ===================================================================
   PRICING
   =================================================================== */
.pricing-controls { padding: 20px 0 0; text-align: center; }
.pricing-header { text-align: center; }
.billing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 20px;
}
.toggle-label { font-size: .875rem; color: #a1a1aa; }
.toggle-switch {
  position: relative; width: 52px; height: 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid #2a2a2a; border-radius: 9999px;
  cursor: pointer; padding: 0; transition: background .2s;
}
.toggle-switch.annual { background: #5b9bd5; border-color: #5b9bd5; }
.toggle-slider {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: #fff; border-radius: 50%; transition: transform .2s;
}
.toggle-switch.annual .toggle-slider { transform: translateX(24px); }
.save-badge {
  font-size: .75rem; background: rgba(74,222,128,.12);
  color: #4ade80; padding: 2px 8px; border-radius: 9999px; font-weight: 600;
}
.trial-note { max-width: 560px; margin: 0 auto; padding: 16px 0; }
.trial-note p { color: #a1a1aa; font-size: .875rem; }

/* FAQ */
/* --- SEO Prose Section --- */
.seo-prose {
  max-width: 800px; margin: 0 auto;
  font-size: .9375rem; line-height: 1.8; color: #a1a1aa;
}
.seo-prose p { margin-bottom: 20px; }
.seo-prose h3 {
  font-size: 1.125rem; font-weight: 600; color: #e5e7eb;
  margin: 36px 0 12px; letter-spacing: -.01em;
}
.seo-prose strong { color: #e5e7eb; font-weight: 600; }

/* --- Bio Card --- */
.bio-card {
  max-width: 800px; margin: 0 auto;
  display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: start;
  background: #161616; border: 1px solid #2a2a2a; border-radius: 16px;
  padding: 40px; transition: border-color .25s;
}
.bio-card:hover { border-color: rgba(91,155,213,.3); }
.bio-image img {
  width: 200px; height: auto; object-fit: contain;
  border-radius: 12px; border: 2px solid #2a2a2a;
}
.bio-card h3 { font-size: 1.375rem; margin-bottom: 4px; }
.bio-role { color: #5b9bd5; font-size: .875rem; font-weight: 600; margin-bottom: 20px; }
.bio-content p { color: #a1a1aa; font-size: .9375rem; line-height: 1.8; margin-bottom: 16px; }
.bio-links { margin-top: 24px; }
@media (max-width: 640px) {
  .bio-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .bio-image img { width: 160px; height: auto; }
}

/* --- FAQ --- */
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #161616; border: 1px solid #2a2a2a; border-radius: 12px;
  padding: 0; overflow: hidden; transition: border-color .25s;
}
.faq-item:hover { border-color: rgba(91,155,213,.3); }
.faq-item summary {
  padding: 20px 24px; font-size: .9375rem; font-weight: 600; color: #e5e7eb;
  cursor: pointer; list-style: none; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.25rem; color: #5b9bd5; flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 24px 20px; color: #a1a1aa; font-size: .875rem; line-height: 1.7; margin: 0;
}

.pricing-cards { padding: 20px 0 60px; }
.cards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pricing-card {
  background: #161616; border: 1px solid #2a2a2a;
  border-radius: 12px; padding: 36px 28px;
  display: flex; flex-direction: column;
  position: relative; transition: border-color .25s;
}
.pricing-card:hover { border-color: rgba(91,155,213,.4); }
.pricing-card.featured { border-color: #5b9bd5; }
.featured-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #5b9bd5; color: #fff; font-size: .6875rem; font-weight: 700;
  padding: 4px 16px; border-radius: 9999px;
  text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
}
.card-header h3 { font-size: 1.25rem; margin-bottom: 6px; }
.card-description { color: #a1a1aa; font-size: .8125rem; margin-bottom: 20px; min-height: 40px; }
.card-price { margin-bottom: 20px; }
.price { font-size: 2.25rem; font-weight: 800; color: #fff; }
.period { font-size: .875rem; font-weight: 400; color: #71717a; }
.savings { display: block; font-size: .8125rem; color: #4ade80; margin-top: 4px; }
.custom-price { font-size: 1.5rem; font-weight: 700; color: #fff; }
.card-features { margin-top: 24px; flex: 1; }
.card-features h4 {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .04em;
  color: #71717a; margin: 16px 0 8px;
}
.card-features h4:first-child { margin-top: 0; }
.card-features ul { list-style: none; }
.card-features li { padding: 5px 0; font-size: .8125rem; color: #a1a1aa; }
.check { color: #4ade80; margin-right: 6px; }
.cross { color: #52525b; margin-right: 6px; }
.pricing-card .cta-button-secondary { width: 100%; text-align: center; margin-top: 8px; }

/* ===================================================================
   BLOG
   =================================================================== */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px; margin-top: 40px;
}
.blog-card {
  background: #161616; border: 1px solid #2a2a2a;
  border-radius: 12px; overflow: hidden;
  transition: border-color .25s, transform .25s;
  display: flex; flex-direction: column;
}
.blog-card:hover { border-color: rgba(91,155,213,.35); transform: translateY(-2px); }
.blog-card h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card h3 a { color: #fff; }
.blog-card h3 a:hover { color: #5b9bd5; }
.blog-card p { color: #a1a1aa; font-size: .8125rem; line-height: 1.6; }

/* ===================================================================
   BLOG POST
   =================================================================== */
.post { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.post h1 { font-size: clamp(1.6rem, 4vw, 2.25rem); margin-bottom: 12px; letter-spacing: -.02em; }
.post h2 { font-size: 1.375rem; margin: 48px 0 16px; letter-spacing: -.01em; }
.post h3 { font-size: 1.1rem; margin: 32px 0 12px; }
.post h4 { font-size: 1rem; margin: 24px 0 8px; }
.post p { margin-bottom: 18px; color: #a1a1aa; }
.post ul, .post ol { margin: 0 0 18px 24px; }
.post ul { list-style: disc; }
.post ol { list-style: decimal; }
.post li { margin-bottom: 6px; color: #a1a1aa; }
.post code {
  background: rgba(255,255,255,.06); padding: 2px 7px; border-radius: 4px;
  font-size: .85em; color: #e2e8f0; font-family: "SF Mono", "Fira Code", monospace;
}
.post pre {
  background: #161616; border: 1px solid #2a2a2a;
  border-radius: 8px; padding: 18px 20px; overflow-x: auto;
  margin-bottom: 24px; font-size: .8125rem; line-height: 1.7;
}
.post pre code { background: none; padding: 0; }
.post blockquote {
  border-left: 3px solid #5b9bd5; padding: 12px 20px; margin: 0 0 18px;
  background: rgba(91,155,213,.06); border-radius: 0 8px 8px 0;
}
.post strong { color: #fff; }
.post table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.post th, .post td {
  padding: 10px 14px; border-bottom: 1px solid #2a2a2a;
  text-align: left; font-size: .875rem;
}
.post th { color: #71717a; font-weight: 600; }

/* ===================================================================
   CONTACT FORM
   =================================================================== */
.contact-section, .contact-form { max-width: 580px; margin: 0 auto; padding: 60px 24px 80px; }
.contact-section h1 { text-align: center; margin-bottom: 8px; }
.contact-section .subtitle, .contact-section > p { text-align: center; color: #a1a1aa; margin-bottom: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .8125rem; font-weight: 500; color: #a1a1aa; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; background: #161616;
  border: 1px solid #2a2a2a; border-radius: 8px; color: #e5e7eb;
  font-size: .875rem; font-family: inherit; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: #5b9bd5;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select { cursor: pointer; }
.form-group select option { background: #161616; }
.recaptcha-note { margin-top: 20px; font-size: .75rem; color: #52525b; text-align: center; }

/* ===================================================================
   NEWSLETTER
   =================================================================== */
.newsletter, .newsletter-section {
  background: #161616; padding: 56px 0; text-align: center;
  border-top: 1px solid #2a2a2a;
}
.newsletter-content { max-width: 520px; margin: 0 auto; }
.newsletter h2, .newsletter h3, .newsletter-text h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.newsletter p, .newsletter-text p { color: #a1a1aa; margin-bottom: 20px; font-size: .875rem; }
.newsletter-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.newsletter-form input[type="email"] {
  flex: 1; padding: 12px 16px; background: #0d0d0d;
  border: 1px solid #2a2a2a; border-radius: 8px;
  color: #e5e7eb; font-size: .875rem;
}
.newsletter-form input:focus { outline: none; border-color: #5b9bd5; }
.newsletter-form button { padding: 12px 24px; white-space: nowrap; }

/* ===================================================================
   CTA BANNER
   =================================================================== */
.cta-banner, .pricing-cta-banner { padding: 72px 0; text-align: center; }
.cta-banner h2, .pricing-cta-banner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 16px; letter-spacing: -.02em;
}
.cta-banner p, .pricing-cta-banner p { color: #a1a1aa; margin-bottom: 24px; font-size: 1rem; }
.cta-content { text-align: center; }

/* Final CTA — subtle gradient glow */
.cta-final {
  background: radial-gradient(ellipse at center, rgba(91,155,213,.06) 0%, transparent 70%);
}

/* ===================================================================
   FOOTER
   =================================================================== */
footer, .footer {
  border-top: 1px solid #2a2a2a; padding: 48px 0 32px;
  font-size: .8125rem; color: #52525b; background: #0d0d0d;
}
.footer-content, .footer-container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px; margin-bottom: 32px;
  max-width: 1140px; margin-left: auto; margin-right: auto; padding: 0 24px;
}
.footer-column h4, .footer-section h3, .footer-section h4 {
  color: #e5e7eb; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 14px; font-weight: 600;
}
.footer-column ul, .footer-section ul { list-style: none; }
.footer-column a, .footer-section a { display: block; padding: 4px 0; color: #71717a; font-size: .8125rem; }
.footer-column a:hover, .footer-section a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #2a2a2a; padding-top: 20px; text-align: center;
  max-width: 1140px; margin: 0 auto; padding-left: 24px; padding-right: 24px;
}

/* ===================================================================
   LEGAL PAGES
   =================================================================== */
.legal { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.legal h1 { font-size: 2rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.1875rem; margin: 36px 0 12px; color: #5b9bd5; }
.legal h3 { font-size: 1rem; margin: 24px 0 8px; }
.legal p { margin-bottom: 14px; color: #a1a1aa; }
.legal ul { margin: 0 0 14px 24px; list-style: disc; }
.legal ol { margin: 0 0 14px 24px; list-style: decimal; }
.legal li { margin-bottom: 4px; color: #a1a1aa; }
.last-updated { color: #52525b; font-size: .8125rem; }

/* ===================================================================
   ANIMATIONS
   =================================================================== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 960px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .footer-content, .footer-container { grid-template-columns: 1fr 1fr; gap: 28px; }
  .newsletter-form { flex-direction: column; }
  .cards-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero, .pricing-hero, .features-hero { padding: 60px 0 50px; }
  .hero-cta, .hero-buttons { flex-direction: column; align-items: center; }
  .section-padded { padding: 60px 0; }
}
