/**
 * Homepage – reference: gradient #0CA48C → #036AA9, white sections, professional cards
 * Transitions and animations for a professional feel
 */

/* Professional easing */
:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0.5rem 1rem;
}

/* Keyframes for section and card animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(12, 164, 140, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(12, 164, 140, 0); }
}

@keyframes statReveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Homepage section reveal (staggered on load) – professional easing */
body.page-home .hero-section .hero-content {
  animation: fadeInUp 0.9s var(--ease-out-expo) 0.1s both;
}
body.page-home .hero-section .hero-stats {
  animation: fadeInUp 0.75s var(--ease-out-expo) 0.45s both;
}
body.page-home .hero-section .hero-stats .hero-stat {
  animation: statReveal 0.5s var(--ease-out-smooth) both;
}
body.page-home .hero-section .hero-stats .hero-stat:nth-child(1) { animation-delay: 0.55s; }
body.page-home .hero-section .hero-stats .hero-stat:nth-child(2) { animation-delay: 0.65s; }
body.page-home .hero-section .hero-stats .hero-stat:nth-child(3) { animation-delay: 0.75s; }
body.page-home .hero-section .hero-stats .hero-stat:nth-child(4) { animation-delay: 0.85s; }
body.page-home .video-section {
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}
body.page-home .our-products-section {
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.15s both;
}
body.page-home .testimonial-section {
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}
body.page-home .articles-section {
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}
body.page-home .success-story-section {
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}
body.page-home .site-footer {
  animation: fadeIn 0.7s var(--ease-out-smooth) 0.2s both;
}

/* Our Products: section title and CTA (staggered within section) */
body.page-home .our-products-section .section-title-dots {
  animation: fadeInUp 0.6s var(--ease-out-smooth) 0.25s both;
}

body.page-home .our-products-section .section-title-dots::after {
  opacity: 0;
  animation: fadeIn 0.5s var(--ease-out-smooth) 0.5s both;
}

body.page-home .our-products-section > p {
  animation: fadeInUp 0.55s var(--ease-out-smooth) 0.65s both;
}

/* Staggered product cards (Our Products) */
body.page-home .our-products-grid .product-card {
  animation: fadeInUp 0.55s var(--ease-out-smooth) both;
}
body.page-home .our-products-grid .product-card:nth-child(1) { animation-delay: 0.32s; }
body.page-home .our-products-grid .product-card:nth-child(2) { animation-delay: 0.42s; }
body.page-home .our-products-grid .product-card:nth-child(3) { animation-delay: 0.52s; }
body.page-home .our-products-grid .product-card:nth-child(4) { animation-delay: 0.62s; }

/* Staggered article cards */
body.page-home .articles-grid .article-card {
  animation: fadeInUp 0.55s var(--ease-out-smooth) both;
}
body.page-home .articles-grid .article-card:nth-child(1) { animation-delay: 0.15s; }
body.page-home .articles-grid .article-card:nth-child(2) { animation-delay: 0.25s; }
body.page-home .articles-grid .article-card:nth-child(3) { animation-delay: 0.35s; }

/* Respect user motion preference */
@media (prefers-reduced-motion: reduce) {
  :root {
    --ease-out-expo: ease-out;
    --ease-out-smooth: ease-out;
    --ease-in-out-smooth: ease-in-out;
  }
  body.page-home .hero-section .hero-content,
  body.page-home .hero-section .hero-stats,
  body.page-home .hero-section .hero-stats .hero-stat,
  body.page-home .video-section,
  body.page-home .our-products-section,
  body.page-home .our-products-section .section-title-dots,
  body.page-home .our-products-section .section-title-dots::after,
  body.page-home .our-products-section > p,
  body.page-home .testimonial-section,
  body.page-home .articles-section,
  body.page-home .success-story-section,
  body.page-home .site-footer,
  body.page-home .our-products-grid .product-card,
  body.page-home .articles-grid .article-card {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
  }
  body.page-home .our-products-section .section-title-dots::after {
    opacity: 1;
  }
  .hero-section .hero-badge {
    animation: none;
  }
}

/* Button icon spacing (Add to Cart / Buy Now) */
.product-actions .btn,
.our-products-section .product-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.product-actions .btn i,
.our-products-section .product-actions .btn i {
  font-size: 0.9em;
}
.product-actions .btn:hover,
.our-products-section .product-actions .btn:hover {
  transform: translateY(-2px);
}

/* Section title with dots (reference: green text, decorative dots underneath) */
.section-title-dots {
  text-align: center;
  margin: 0 0 1.75rem;
  padding: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: -0.02em;
}

.section-title-dots::after {
  content: '• • • • •';
  display: block;
  margin-top: 0.5rem;
  font-size: 0.45rem;
  letter-spacing: 0.5em;
  color: var(--color-teal);
  opacity: 0.9;
}

/* ── HERO: full-bleed without 100vw trick ── */
body.page-home {
  padding-top: 0;
}
body.page-home .main-content {
  padding-top: 0;
  /* Allow hero & video to break out of max-width container */
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Re-constrain non-hero sections back to max-width */
body.page-home .video-section,
body.page-home .our-products-section,
body.page-home .testimonial-section,
body.page-home .articles-section,
body.page-home .success-story-section {
  max-width: var(--max-content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  body.page-home .video-section,
  body.page-home .our-products-section,
  body.page-home .testimonial-section,
  body.page-home .articles-section,
  body.page-home .success-story-section {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  box-sizing: border-box;
}

.hero-section .hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-section .hero-video-wrap video,
.hero-section .hero-video-wrap div,
.hero-section .hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.hero-section .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 1.5rem 6rem;
  text-align: left;
  box-sizing: border-box;
}

.hero-section .hero-content {
  max-width: 600px;
  width: 100%;
}

.hero-section .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-teal);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease-out-smooth), box-shadow 0.4s ease;
  animation: heroBadgePulse 2.5s var(--ease-in-out-smooth) 1s infinite;
}
.hero-section .hero-badge:hover {
  transform: scale(1.03);
}

.hero-section .hero-badge i {
  font-size: 0.85rem;
}

.hero-section .hero-headline {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-section .hero-headline-accent {
  color: var(--color-teal);
  text-shadow: 0 0 20px rgba(12, 164, 140, 0.5);
  box-shadow: 0 3px 0 rgba(255, 193, 7, 0.5);
  display: inline-block;
  margin-top: 0.1em;
}

.hero-section .hero-typewriter-cursor {
  visibility: hidden;
  color: var(--color-teal);
  font-weight: 300;
  animation: hero-cursor-blink 0.8s step-end infinite;
}
@keyframes hero-cursor-blink {
  50% { opacity: 0; }
}

.hero-section .hero-subtext {
  margin: 0 0 1.5rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.92);
  max-width: 520px;
  line-height: 1.55;
}

.hero-section .hero-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-section .hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 200px;
  padding: 14px 24px;
  font-size: 1rem;
  background: var(--gradient);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(12, 164, 140, 0.4);
  transition: transform 0.35s var(--ease-out-smooth), box-shadow 0.35s var(--ease-out-smooth), background 0.35s ease;
}

.hero-section .hero-cta-btn:hover {
  background: var(--gradient-hover);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(12, 164, 140, 0.5);
}

.hero-section .hero-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 1rem;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.9);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s var(--ease-out-smooth), border-color 0.35s ease, box-shadow 0.35s ease;
}

.hero-section .hero-cta-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: translateY(-2px);
}

/* Stats on the hero image (bottom-left) */
.hero-section .hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  padding: 1.5rem 1.5rem 2rem;
  max-width: 900px;
  margin: 0;
  list-style: none;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-stat-value {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-top: 2px;
}

@media (min-width: 768px) {
  .hero-section .hero-overlay {
    padding: 3rem 3rem 7rem;
  }
  .hero-section .hero-stats {
    padding: 2rem 3rem 2.5rem;
    gap: 3rem;
  }
}

/* ── VIDEO SECTION: full-width background without 100vw trick ── */
.video-section.science-purity {
  width: 100%;
  box-sizing: border-box;
  padding: 3rem 20px;
  background: var(--color-bg);
}

@media (min-width: 768px) {
  .video-section.science-purity {
    padding: 3rem 24px;
  }
}

.video-section-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: var(--max-content-width);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .video-section-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 900px) {
  .video-section-inner {
    gap: 3.5rem;
  }
}

.video-section-content {
  order: 1;
}

.video-section-content .video-section-heading,
.video-section-content .video-section-text,
.video-section-content .video-section-features,
.video-section-content .video-section-cta {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-section-cta {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.video-section-cta:hover {
  transform: translateY(-2px);
}

.video-section-player-wrap {
  order: 2;
}

@media (min-width: 768px) {
  .video-section-content {
    order: 1;
  }
  .video-section-player-wrap {
    order: 2;
  }
}

.video-section-heading {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .video-section-heading {
    font-size: 2rem;
  }
}

.video-section-text {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.video-section-features {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.video-section-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 500;
}

.video-section-features .check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.video-section-cta {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  padding: 12px 24px;
}

.video-section-player-wrap {
  position: relative;
  width: 100%;
}

.video-section-player {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-surface);
  border: 2px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.video-section-player:hover {
  border-color: var(--color-teal);
  box-shadow: 0 8px 24px rgba(12, 164, 140, 0.2);
}

.video-section-player::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

.video-section-player iframe,
.video-section-player .video-section-uploaded {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: contain;
}

/* Our Products section */
.our-products-section {
  padding: 3rem 0;
}

.our-products-section .section-title-dots {
  margin-bottom: 0.5rem;
  transition: transform 0.35s var(--ease-out-smooth), color 0.3s ease;
}

.our-products-section .section-title-dots::after {
  margin-top: 0.35rem;
  transition: opacity 0.35s var(--ease-out-smooth), letter-spacing 0.35s var(--ease-out-smooth);
}

.our-products-section > p.our-products-desc,
.our-products-section > p:first-of-type {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.our-products-section > p {
  margin-top: 1rem;
  text-align: center;
}

.our-products-section > p .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.35s var(--ease-out-smooth), box-shadow 0.35s var(--ease-out-smooth), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.our-products-section > p .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(12, 164, 140, 0.2);
}

.our-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 100%;
}

@media (min-width: 600px) {
  .our-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 900px) {
  .our-products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
}

.intro-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, border-color 0.25s, border-width 0.25s;
}

.intro-card:hover {
  box-shadow: 0 8px 24px rgba(12, 164, 140, 0.15);
  border-color: var(--color-teal);
  border-width: 2px;
}

.intro-card-image-wrap {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-surface);
}

.intro-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-card .play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  padding-left: 4px;
}

.intro-card-body {
  padding: 1.25rem 1rem;
}

.intro-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
  line-height: 1.35;
}

.intro-card-body p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.intro-card-body .btn-read {
  font-size: 0.9rem;
  padding: 8px 16px;
  color: var(--color-teal);
  background: transparent;
  border: 1px solid var(--color-teal);
}

.our-products-section .product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.35s var(--ease-out-smooth), transform 0.35s var(--ease-out-smooth), border-color 0.3s ease, border-width 0.25s ease;
}

.our-products-section .product-card:hover {
  box-shadow: 0 8px 24px rgba(12, 164, 140, 0.15);
  transform: translateY(-4px);
  border-color: var(--color-teal);
  border-width: 2px;
}

.our-products-section .product-card .product-image-wrap {
  aspect-ratio: 1;
  min-height: 180px;
  background: linear-gradient(180deg, #f0f9f7 0%, #e8f4f2 100%);
  overflow: hidden;
}

.our-products-section .product-card .product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.5rem;
  transition: transform 0.5s var(--ease-out-smooth);
}
.our-products-section .product-card:hover .product-image-wrap img {
  transform: scale(1.08);
}

.our-products-section .product-card .product-info {
  padding: 0.65rem 0.85rem 0.85rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: transform 0.35s var(--ease-out-smooth);
}

.our-products-section .product-card:hover .product-info {
  transform: translateY(-1px);
}

.our-products-section .product-card .product-name {
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
  color: var(--color-text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.our-products-section .product-card .product-category {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin: 0 0 0.25rem;
}

.our-products-section .product-card .product-price {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.our-products-section .product-card .product-rating {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  color: #eab308;
  letter-spacing: 0.05em;
}

.our-products-section .product-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-top: auto;
}

.our-products-section .product-actions .btn {
  flex: 1;
  min-width: 0;
  transition: transform 0.3s var(--ease-out-smooth), box-shadow 0.3s var(--ease-out-smooth), background 0.3s ease, border-color 0.3s ease;
  padding: 6px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .our-products-section .product-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  .our-products-section .product-actions .btn {
    width: 100%;
    min-width: unset;
    justify-content: center;
  }
}

/* Testimonial */
.testimonial-section {
  padding: 2rem 0 3rem;
}

.testimonial-card {
  position: relative;
  max-width: var(--max-content-width);
  margin: 0 auto;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  padding: 2rem 3.5rem 2rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(12, 164, 140, 0.15);
  border-color: var(--color-teal);
  border-width: 2px;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.testimonial-arrow:hover {
  background: var(--color-teal);
  color: #fff;
  border-color: var(--color-teal);
}

.testimonial-prev { left: -12px; }
.testimonial-next { right: -12px; }

.testimonial-content {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex: 1;
  min-width: 0;
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-surface);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text-wrap { flex: 1; min-width: 0; }
.testimonial-text {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
}

.testimonial-text-wrap .btn-read {
  font-size: 0.9rem;
  padding: 8px 16px;
  color: var(--color-teal);
  background: transparent;
  border: 1px solid var(--color-teal);
}

/* Articles */
.articles-section {
  padding: 2rem 0 3rem;
}

.articles-section .section-title-dots {
  margin-bottom: 0.5rem;
}

.articles-section .section-title-dots::after {
  margin-top: 0.35rem;
}

.articles-section-desc {
  text-align: center;
  margin: 0.5rem auto 1.75rem;
  max-width: 560px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, border-color 0.25s, border-width 0.25s;
}

.article-card:hover {
  box-shadow: 0 8px 24px rgba(12, 164, 140, 0.15);
  border-color: var(--color-teal);
  border-width: 2px;
}

.article-card .article-image-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-surface);
}

.article-card .article-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-image-wrap img {
  transform: scale(1.05);
}

.article-card .article-title {
  padding: 1rem 1rem 0;
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
}

.article-card .article-desc {
  padding: 0 1rem 1rem;
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card .btn-read {
  display: inline-block;
  margin: 1rem;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 6px;
  text-align: center;
  transition: all 0.3s ease;
}

/* Real time success story */
.success-story-section {
  padding: 2rem 0 3rem;
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.success-story-section .section-title-dots {
  margin-bottom: 1.5rem;
}

.success-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.success-story-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s, border-color 0.2s, border-width 0.2s;
}

.success-story-card:hover {
  box-shadow: 0 8px 24px rgba(12, 164, 140, 0.15);
  border-color: var(--color-teal);
  border-width: 2px;
}

.success-story-card-img-wrap {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
}

.success-story-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.success-story-card-content {
  min-width: 0;
}

.success-story-card-name {
  margin: 0 0 0.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.success-story-card-role {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.success-story-card-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (min-width: 600px) {
  .success-story-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 900px) {
  .success-story-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .success-story-card {
    grid-template-columns: 140px 1fr;
    padding: 1.25rem;
    gap: 1.25rem;
  }
  .success-story-card-img-wrap {
    width: 140px;
    height: 140px;
  }
  .success-story-card-name {
    font-size: 1.2rem;
  }
  .success-story-card-desc {
    font-size: 0.95rem;
  }
}

/* Site footer styles (background image + layout) are in global.css */

.intro-section {
  padding: 3.5rem 0;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.intro-section .intro-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.intro-section .intro-text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.features-section {
  padding: 2rem 0 3rem;
}

.features-section .section-title-plain {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.features-section .section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(12, 164, 140, 0.3);
}

.feature-card .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: var(--color-surface);
}

.feature-card .feature-icon.icon-teal { background: rgba(12, 164, 140, 0.12); }
.feature-card .feature-icon.icon-blue { background: rgba(3, 106, 169, 0.12); }
.feature-card .feature-icon.icon-purple { background: rgba(139, 92, 246, 0.12); }
.feature-card .feature-icon.icon-orange { background: rgba(249, 115, 22, 0.12); }
.feature-card .feature-icon.icon-pink { background: rgba(236, 72, 153, 0.12); }
.feature-card .feature-icon.icon-yellow { background: rgba(234, 179, 8, 0.15); }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.featured-section .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
  max-width: 340px;
}

@media (min-width: 640px) {
  .featured-grid {
    gap: 1.25rem;
    max-width: 360px;
  }
}

@media (min-width: 900px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 380px;
  }
}

.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(12, 164, 140, 0.25);
}

.product-card .product-image-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-surface);
}

.featured-section .product-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.featured-section .product-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.featured-section .product-card .product-image-wrap {
  flex-shrink: 0;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  min-height: 200px;
  overflow: hidden;
  background: #f8fafc;
}

.featured-section .product-card .product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.featured-section .product-card .product-info {
  display: block;
  padding: 0.75rem 1rem 1rem;
  flex: 1;
  min-height: 0;
}

.featured-section .product-card .product-name {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--color-text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-section .product-card .product-price {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--color-teal);
}

.featured-section .product-card .product-price .mrp {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-muted);
  -webkit-text-fill-color: initial;
  text-decoration: line-through;
  margin-left: 0.35rem;
}

.featured-section .product-card .btn {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 8px;
  margin-top: 0.25rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.featured-section .product-card .btn:hover {
  box-shadow: 0 4px 12px rgba(12, 164, 140, 0.35);
  transform: translateY(-1px);
}

.product-card .product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .product-info {
  padding: 1.25rem;
}

.product-card .product-name {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .product-price {
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.75rem;
}

.product-card .product-price .mrp {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-left: 0.4rem;
  -webkit-text-fill-color: initial;
}

.product-card .btn {
  width: 100%;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .split-section {
    grid-template-columns: 1fr 1fr;
  }
}

.split-section .split-image {
  min-height: 260px;
  background: var(--color-surface);
}

.split-section .split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-section .split-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-section .split-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.split-section .split-content p {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.split-section .split-content .btn {
  align-self: flex-start;
}

/* Stats – full-width gradient (use negative margins safely) */
.stats-section {
  background: var(--gradient);
  padding: 3rem 1.5rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;
}

.stats-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-section {
    padding: 4rem 2rem;
  }
  .stats-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}

.stats-item .stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .stats-item .stat-value {
    font-size: 2.5rem;
  }
}

.stats-item .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  margin: 0;
  font-weight: 500;
}

.reviews-section {
  background: var(--header-bg);
  padding: 3rem 1.5rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;
}

.reviews-section .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: #fff;
  text-align: center;
  letter-spacing: -0.02em;
}

.reviews-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  max-width: var(--max-content-width);
  margin: 0 auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.reviews-scroll::-webkit-scrollbar {
  height: 6px;
}

.reviews-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}

.review-bubble {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
}

.review-bubble .review-text {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.95);
}

.review-bubble .review-meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

.review-bubble .review-meta strong {
  color: #fff;
}

.blog-section {
  padding: 3rem 0;
}

.blog-section .section-title-with-lines {
  margin-bottom: 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 0;
}

@media (min-width: 600px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  text-decoration: none;
  color: inherit;
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s;
  background: var(--color-bg);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(12, 164, 140, 0.3);
}

.blog-card .blog-thumb-wrap {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--color-surface);
  overflow: hidden;
}

.blog-card .blog-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card .read-now-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(12, 164, 140, 0.35);
}

.blog-card .blog-title {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--color-text);
  line-height: 1.4;
}

.blog-card .blog-excerpt {
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

@media (max-width: 599px) {
  .blog-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 0.5rem;
  }
  .blog-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
}

.stay-connected {
  background: var(--gradient);
  color: #fff;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 3rem 0 1rem;
  box-shadow: 0 8px 32px rgba(12, 164, 140, 0.25);
}

.stay-connected h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.stay-connected p {
  margin: 0 0 1.5rem;
  opacity: 0.95;
  font-size: 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.stay-connected .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.stay-connected .btn {
  min-width: 140px;
}

.stay-connected .btn-white {
  background: #fff;
  color: var(--color-teal);
}

.stay-connected .btn-white:hover {
  background: var(--color-surface);
  color: var(--color-blue);
}

.stay-connected .btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.9);
}

.stay-connected .btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: #fff;
}