/* HealthNest Custom CSS — custom.css — loaded LAST */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --color-primary-dark: #0C2340;
  --color-primary: #1A3A5C;
  --color-accent: #0EA5E9;
  --color-accent-light: #BAE6FD;
  --color-secondary: #6EAB8E;
  --color-bg-main: #F7FBFF;
  --color-bg-alt: #EFF6FB;
  --color-card-bg: #FFFFFF;
  --color-text-primary: #1E293B;
  --color-text-secondary: #64748B;
  --color-text-muted: #94A3B8;
  --color-border: #DBEAFE;
  --font-main: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius-card: 12px;
  --shadow-card: 0 4px 20px rgba(14,165,233,0.08);
}

/* ============================================
   INTER FONT
   ============================================ */
/* ============================================
   BASE OVERRIDES
   ============================================ */
body {
  font-family: var(--font-main);
  background-color: var(--color-bg-main);
  color: var(--color-text-primary);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--color-primary);
  font-weight: 600;
}

h1 { font-size: 48px; font-weight: 700; }
h2 { font-size: 32px; font-weight: 600; }
h3 { font-size: 22px; font-weight: 600; }

p {
  font-family: var(--font-main);
  color: var(--color-text-primary);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--color-accent);
}
a:hover, a:active, a:focus {
  color: #0284C7;
  outline: none;
}

/* ============================================
   NAVIGATION (.site-nav)
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(14,165,233,0.08);
  display: flex;
  align-items: center;
}

.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-nav .nav-brand img {
  height: 32px;
  width: auto;
}

.site-nav .nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.site-nav .nav-links li a {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.site-nav .nav-links li a:hover {
  color: var(--color-accent);
  background: var(--color-bg-alt);
}

.site-nav .nav-links li.active a {
  color: var(--color-accent);
  font-weight: 600;
}

.site-nav .nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-primary);
  font-size: 20px;
  padding: 8px;
}

/* Nav solid variant (sub-pages) */
.nav-solid {
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(14,165,233,0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  background: var(--color-bg-alt);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 14, 26, 0.85);
  z-index: 1;
  pointer-events: none;
}

#hero .hero-eyebrow {
  display: inline-block;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

#hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

#hero .hero-sub {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.hero-trust-item i {
  color: var(--color-accent);
  font-size: 14px;
}

#hero .hero-image-col img {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(14,165,233,0.12);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary-cta {
  display: inline-block;
  background: var(--color-accent);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn-primary-cta:hover, .btn-primary-cta:focus {
  background: #0284C7;
  color: #FFFFFF;
  transform: scale(1.02);
  text-decoration: none;
}

.btn-secondary-cta {
  display: inline-block;
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}
.btn-secondary-cta:hover, .btn-secondary-cta:focus {
  background: var(--color-bg-alt);
  color: var(--color-accent);
  text-decoration: none;
}

.btn-form-submit {
  display: block;
  width: 100%;
  background: var(--color-primary-dark);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-form-submit:hover, .btn-form-submit:focus {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

.btn-pricing-highlight {
  display: inline-block;
  background: #FFFFFF;
  color: var(--color-accent);
  border: none;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}
.btn-pricing-highlight:hover {
  background: var(--color-bg-alt);
  color: var(--color-accent);
  text-decoration: none;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
#features {
  background: #FFFFFF;
  padding: 100px 0;
}

#features .section-title {
  text-align: center;
  margin-bottom: 48px;
}

#features .section-title h2 {
  color: var(--color-primary);
  font-size: 32px;
  font-weight: 600;
}

#features .section-title p {
  color: var(--color-text-secondary);
}

#features .nav-tabs {
  border-bottom: 2px solid var(--color-border);
}

#features .nav-tabs > li > a {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-secondary);
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 10px 24px 10px 0;
  margin-right: 8px;
  background: transparent;
}

#features .nav-tabs > li.active > a,
#features .nav-tabs > li.active > a:focus,
#features .nav-tabs > li.active > a:hover {
  background: transparent;
  color: var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
}

#features .nav > li > a:focus,
#features .nav > li > a:hover {
  background: transparent;
  border-bottom: 3px solid var(--color-accent-light);
  color: var(--color-primary);
}

#features .tab-content {
  margin-top: 40px;
}

.feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.feature-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item-icon i {
  color: var(--color-accent);
  font-size: 18px;
}

.feature-item-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 6px;
}

.feature-item-text p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
  background: var(--color-bg-main);
  padding: 100px 0;
}

#about .section-title {
  text-align: center;
  margin-bottom: 48px;
}

#about h2 {
  color: var(--color-primary);
}

#about .about-story-img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  width: 100%;
}

#about .about-story-text {
  padding: 20px 0 0 32px;
}

#about .about-story-text h2 {
  margin-bottom: 16px;
}

#about .about-story-text p {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.stats-bar {
  display: flex;
  gap: 0;
  background: var(--color-primary-dark);
  border-radius: var(--radius-card);
  padding: 40px;
  margin: 48px 0;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-muted);
}

.values-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.value-card {
  flex: 1;
  min-width: 200px;
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  text-align: center;
}

.value-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.value-card-icon i {
  color: var(--color-accent);
  font-size: 20px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
#testimonial {
  background: var(--color-bg-alt);
  padding: 100px 0;
}

#testimonial .section-title {
  text-align: center;
  margin-bottom: 48px;
}

#testimonial h2 {
  color: var(--color-primary);
}

.testimonial-bg-col {
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
  border-radius: 16px 0 0 16px;
}

.testimonial-carousel-col {
  background: var(--color-primary-dark);
  border-radius: 0 16px 16px 0;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-item {
  padding: 16px 0;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.testimonial-item blockquote {
  border: none;
  padding: 0;
  margin: 0 0 12px;
  font-style: italic;
  color: #D1E8F5;
  font-size: 15px;
  line-height: 1.6;
}

.testimonial-item .testimonial-author {
  font-weight: 600;
  color: #FFFFFF;
  font-size: 14px;
}

.testimonial-item .testimonial-role {
  color: var(--color-text-muted);
  font-size: 13px;
}

/* ============================================
   PRICING
   ============================================ */
#pricing {
  background: #FFFFFF;
  padding: 100px 0;
}

#pricing .section-title {
  text-align: center;
  margin-bottom: 48px;
}

#pricing h2 {
  color: var(--color-primary);
}

.pricing-card {
  background: var(--color-card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  padding: 36px 28px;
  height: 100%;
}

.pricing-card.highlighted {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.02);
}

.pricing-card.highlighted h3,
.pricing-card.highlighted .pricing-price,
.pricing-card.highlighted .pricing-period,
.pricing-card.highlighted .pricing-feature {
  color: #FFFFFF;
}

.pricing-card.highlighted .pricing-feature i {
  color: rgba(255,255,255,0.8);
}

.pricing-plan-name {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.pricing-card.highlighted .pricing-plan-name {
  color: rgba(255,255,255,0.8);
}

.pricing-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.pricing-price {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-primary);
  padding: 6px 0;
  border-top: 1px solid var(--color-border);
}

.pricing-card.highlighted .pricing-feature {
  border-top-color: rgba(255,255,255,0.15);
}

.pricing-feature i {
  color: var(--color-secondary);
  font-size: 14px;
}

/* ============================================
   CTA BANNER
   ============================================ */
#cta-banner {
  background: var(--color-primary-dark);
  padding: 80px 0;
  text-align: center;
}

#cta-banner h2 {
  color: #FFFFFF;
  font-size: 32px;
  margin-bottom: 16px;
}

#cta-banner p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
#contact {
  background: var(--color-bg-main);
  padding: 100px 0;
  text-align: left;
}

#contact .section-title {
  margin-bottom: 48px;
}

.contact-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 24px;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.contact-card-icon i {
  color: var(--color-accent);
  font-size: 20px;
}

.contact-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
}

.contact-form {
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  padding: 36px;
  margin-top: 8px;
}

.contact-form .form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.contact-form .form-control {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--color-text-primary);
  background: var(--color-bg-main);
  box-shadow: none;
  height: auto;
}

.contact-form .form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
  background: #FFFFFF;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-primary-dark);
  padding: 64px 0 32px;
  text-align: left;
}

.site-footer h5 {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.site-footer p,
.site-footer address {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.7;
  font-style: normal;
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--color-text-muted);
  font-size: 14px;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--color-accent);
}

.footer-brand-name {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--color-text-muted);
  font-size: 15px;
  margin: 0;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: var(--color-accent);
  color: #FFFFFF;
}

.footer-divider {
  border-color: rgba(255,255,255,0.08);
  margin: 32px 0 20px;
}

.footer-copyright {
  color: var(--color-text-muted);
  font-size: 13px;
  text-align: center;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-primary-dark);
  border-top: 2px solid var(--color-accent);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

#cookie-banner p {
  color: #FFFFFF;
  font-size: 14px;
  margin: 0;
}

#cookie-banner a {
  color: var(--color-accent-light);
  text-decoration: underline;
}

.cookie-accept-btn {
  background: var(--color-accent);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.cookie-accept-btn:hover {
  background: #0284C7;
}

/* ============================================
   PAGE HERO (sub-pages)
   ============================================ */
.page-hero {
  background: var(--color-bg-alt);
  padding: 80px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   TEAM PAGE
   ============================================ */
#team {
  padding: 80px 0;
  background: var(--color-bg-main);
}

.ceo-card {
  background: var(--color-card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
}

.initials-circle-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.ceo-card-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ceo-card-info .ceo-title {
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.ceo-card-info p {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin: 0;
}

.team-grid {
  position: relative;
}

.team-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 24px;
}

.initials-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 auto 16px;
}

.team-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.team-card .team-title {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
}

.team-timeline {
  position: relative;
  padding-top: 16px;
}

.team-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 32px;
  background: var(--color-border);
}

/* ============================================
   BLOG
   ============================================ */
#blog {
  padding: 80px 0;
  background: var(--color-bg-main);
}

.blog-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  display: block;
}

.blog-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  flex: 1;
}

.blog-card .read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card .read-more:hover {
  color: #0284C7;
  text-decoration: underline;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
  padding: 60px 0 80px;
  background: var(--color-bg-main);
}

.legal-content h1 {
  font-size: 32px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.legal-content .legal-updated {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  display: block;
}

.legal-content h2 {
  font-size: 20px;
  color: var(--color-primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p, .legal-content li {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-back-link {
  font-size: 14px;
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}

.legal-back-link:hover {
  text-decoration: underline;
}

/* ============================================
   PRODUCT PAGE
   ============================================ */
#product-hero {
  background: var(--color-bg-main);
  padding: 100px 0 60px;
}

#product-hero img {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-top: 48px;
}

#product-features {
  padding: 80px 0;
  background: #FFFFFF;
}

#product-demo {
  background: var(--color-bg-alt);
  padding: 80px 0;
  text-align: center;
}

/* ============================================
   PRICING PAGE
   ============================================ */
.pricing-faq {
  padding: 80px 0;
  background: var(--color-bg-main);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

.faq-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  #hero h1 { font-size: 36px; }
  .stats-bar { gap: 16px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 16px 0; }
  .stat-item:last-child { border-bottom: none; }
  .ceo-card { flex-direction: column; text-align: center; }
  .testimonial-bg-col { display: none; }
  .testimonial-carousel-col { border-radius: var(--radius-card); }
  #hero .hero-image-col { margin-top: 40px; }
  #about .about-story-text { padding: 24px 0 0; }
}

@media (max-width: 767px) {
  .site-nav .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #FFFFFF; box-shadow: 0 4px 12px rgba(0,0,0,0.1); padding: 16px; gap: 4px; }
  .site-nav .nav-links.open { display: flex; }
  .site-nav .nav-toggle { display: block; }
  #hero { padding: 100px 0 60px; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row a { text-align: center; }
  .pricing-card.highlighted { transform: none; }
  .values-grid { flex-direction: column; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
}

/* === Related Articles (3-col, square images) === */
.related-articles { padding: 60px 0 80px; margin-top: 40px; border-top: 1px solid rgba(0,0,0,0.08); }
.related-articles h2 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; }
.related-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); text-decoration: none; }
.related-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.related-card-body { padding: 12px 16px 16px; }
.related-card-body h3 { font-size: 15px; font-weight: 600; line-height: 1.4; margin: 0 0 6px; }
.related-card-body .related-date { font-size: 12px; color: #94A3B8; }

/* === Prev/Next Nav (2-col) === */
.article-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(0,0,0,0.08); }
.article-nav a { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.article-nav a:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); text-decoration: none; }
.article-nav .article-nav-next { text-align: right; justify-content: flex-end; }
.article-nav img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.article-nav h4 { font-size: 15px; font-weight: 600; line-height: 1.4; margin: 4px 0 0; }
.article-nav span { font-size: 12px; color: #94A3B8; }

/* === Related Articles Fix === */
.related-card img { width: 100%; height: 180px; object-fit: cover; display: block; aspect-ratio: auto; }
.related-card-body h3 { color: #E2E8F0; }
.related-card-body .related-date { color: #94A3B8; }
.related-card { background: #1E293B; border-color: rgba(255,255,255,0.1); }

/* === Logo size control in nav === */
.site-header .nav-logo img,
.site-nav .nav-logo img,
.site-nav__logo img {
  height: 28px;
  width: auto;
  max-height: 28px;
  vertical-align: middle;
  margin-right: 8px;
}
.site-header .nav-logo,
.site-nav .nav-logo,
.site-nav__logo {
  display: flex;
  align-items: center;
  height: 64px;
  white-space: nowrap;
}

/* Hero content centered over bg image */
.hero-product-img {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(14,165,233,0.15);
}
#hero h1 {
  color: #FFFFFF;
  font-weight: 800;
  font-size: 42px;
}
#hero .hero-sub {
  color: #FFFFFF;
  font-size: 18px;
}
#hero .hero-eyebrow {
  color: #FFFFFF;
  background: rgba(14,165,233,0.9);
}
#hero .hero-trust-item {
  color: #FFFFFF;
}

/* Testimonial row equal height */
#testimonial .row {
  display: flex;
  flex-wrap: nowrap;
}
#testimonial .row > div {
  display: flex;
  flex-direction: column;
}

/* Feature block - image + text in one flex container */
.feature-block {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 48px;
}
.feature-block__content {
  flex: 1;
}
.feature-block__visual {
  flex: 0 0 45%;
}
.feature-block__visual img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.feature-block--reverse {
  flex-direction: row-reverse;
}
@media(max-width:768px) {
  .feature-block, .feature-block--reverse {
    flex-direction: column;
  }
  .feature-block__visual {
    flex: none;
    width: 100%;
  }
}

#blog .row > div {
  max-width: 100%;
  width: auto;
  flex: none;
  padding: 0;
}
#blog .blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
#blog .blog-card img {
  height: 200px;
  object-fit: cover;
}
#blog .blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
#blog .blog-card p {
  flex: 1;
}
#blog .blog-card .read-more {
  margin-top: auto;
}
@media(max-width:768px) {
  #blog .row {
    grid-template-columns: 1fr;
  }
}

.blog-grid .blog-card {
  height: 100%;
}
@media(max-width:992px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:576px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* === Universal Blog Grid (auto-adaptive) === */
/* Works with Bootstrap row+col OR custom blog-grid class */
.blog-grid,
#blog .row,
.blog-section .row,
section[id*="blog"] .row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
  float: none !important;
}
.blog-grid > *,
#blog .row > *,
.blog-section .row > *,
section[id*="blog"] .row > * {
  max-width: 100% !important;
  width: auto !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
}
.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}
.blog-card-body,
.blog-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card p,
.blog-card .card-text {
  flex: 1;
}
.blog-card .read-more,
.blog-card a:last-child {
  margin-top: auto;
}
@media(max-width:992px) {
  .blog-grid,
  #blog .row,
  .blog-section .row,
  section[id*="blog"] .row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media(max-width:576px) {
  .blog-grid,
  #blog .row,
  .blog-section .row,
  section[id*="blog"] .row {
    grid-template-columns: 1fr !important;
  }
}

/* === Blog Article Full-Width Images === */
.blog-img-full {
  text-align: center;
  margin: 32px auto;
  max-width: 100%;
}
.blog-img-full img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
