/* ============================================
   CEVOSY LANDING PAGES — SHARED STYLES
   Adapted from Blissy template, branded for Cevosy
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --color-primary: #a04d63;
  --color-primary-dark: #8a3d53;
  --color-primary-light: #f0dde3;
  --color-text: #1a1a1a;
  --color-text-light: #555555;
  --color-text-muted: #888888;
  --color-bg: #ffffff;
  --color-bg-warm: #f8f4ee;
  --color-bg-light: #fafafa;
  --color-star: #f5a623;
  --color-border: #e8e8e8;
  --color-success: #2ecc71;
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1100px;
  --banner-height: 56px;
  --border-radius: 12px;
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 24px rgba(0, 0, 0, 0.12);
  --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  padding-top: var(--banner-height);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   1. STICKY PROMO BANNER
   ============================================ */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.promo-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.promo-banner__text {
  letter-spacing: 1px;
}

.promo-banner__divider {
  opacity: 0.6;
  margin: 0 4px;
}

.promo-banner__highlight {
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ============================================
   2. HERO SECTION
   ============================================ */
.hero {
  text-align: left;
  padding: 100px 20px 80px;
  background: var(--color-bg-warm);
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero--has-bg {
  background: #1a1a1a;
  color: #fff;
}

.hero--has-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: 75% center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Desktop: fade from dark-left to clear-right so image shows on right */
.hero--has-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(26, 26, 26, 0.95) 0%,
    rgba(26, 26, 26, 0.92) 30%,
    rgba(26, 26, 26, 0.75) 50%,
    rgba(26, 26, 26, 0.35) 70%,
    rgba(26, 26, 26, 0.1) 85%,
    rgba(26, 26, 26, 0.0) 100%
  );
  z-index: 1;
}

.hero--has-bg .container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  width: 100%;
}

.hero__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star-icon {
  width: 20px;
  height: 20px;
  color: var(--color-star);
}

.hero__review-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-light);
}

.hero__headline {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 750px;
  margin: 0 auto 16px;
  color: var(--color-text);
}

.hero--has-bg .hero__headline {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-left: 0;
  max-width: 600px;
}

.hero__subheadline {
  font-size: 18px;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero--has-bg .hero__subheadline {
  color: rgba(255, 255, 255, 0.85);
  margin-left: 0;
  max-width: 500px;
}

.hero--has-bg .hero__review-count {
  color: rgba(255, 255, 255, 0.9);
}

.hero--has-bg .star-icon {
  color: var(--color-star);
}

.hero--has-bg .hero__rating {
  justify-content: flex-start;
}

.hero--has-bg .hero__badges-list {
  justify-content: flex-start;
}

.hero__badges {
  margin-top: 48px;
}

.hero__badges-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.hero__badges-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.authority-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(160, 77, 99, 0.08);
  border-radius: 20px;
}

.authority-badge__icon {
  font-size: 16px;
}

.hero--has-bg .authority-badge {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero--has-bg .btn--outline {
  color: #fff;
  border-color: #fff;
}

.hero--has-bg .btn--outline:hover {
  background: #fff;
  color: var(--color-primary);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  border: none;
  font-family: var(--font-family);
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(160, 77, 99, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--large {
  padding: 18px 48px;
  font-size: 18px;
}

.btn--full {
  width: 100%;
  display: block;
}

.btn--text {
  background: transparent;
  color: var(--color-primary);
  padding: 8px 0;
  font-weight: 600;
  font-size: 15px;
}

.btn--text:hover {
  color: var(--color-primary-dark);
}

/* ============================================
   3. EXPERT QUOTES CAROUSEL
   ============================================ */
.press-quotes {
  padding: 60px 20px;
  background: var(--color-bg);
}

.carousel {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.carousel__track {
  position: relative;
  min-height: 160px;
}

.carousel__slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.carousel__slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.carousel__source {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.carousel__quote {
  font-size: 18px;
  font-style: italic;
  color: var(--color-text-light);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  transition: background var(--transition);
  padding: 0;
}

.carousel__dot.active {
  background: var(--color-primary);
}

/* ============================================
   4. REASONS SECTION
   ============================================ */
.reasons {
  padding: 80px 20px;
  background: var(--color-bg);
}

.reasons__title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: var(--color-text);
}

.reason {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 64px;
}

.reason:last-child {
  margin-bottom: 0;
}

.reason__image {
  flex: 1;
  min-width: 0;
}

.reason__image img {
  border-radius: var(--border-radius);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.reason__content {
  flex: 1;
  min-width: 0;
}

.reason__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.reason__heading {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--color-text);
}

.reason__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* ============================================
   5. CUSTOMER TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 80px 20px;
  background: var(--color-bg-warm);
}

.testimonials__title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}

.testimonial-card__stars {
  color: var(--color-star);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.testimonial-card__author strong {
  color: var(--color-text);
}

.testimonial-card__breed {
  font-size: 12px;
  color: var(--color-text-muted);
}

.verified-badge {
  font-size: 12px;
  color: var(--color-success);
  font-weight: 600;
}

/* ============================================
   6. PRODUCT SHOWCASE
   ============================================ */
.product-showcase {
  padding: 80px 20px;
  background: var(--color-bg);
  text-align: center;
}

.product-showcase__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.product-showcase__subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature Icons Grid */
.features-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 48px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.feature-item__icon {
  width: 48px;
  height: 48px;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-light);
}

/* Product Image */
.product-showcase__image {
  max-width: 400px;
  margin: 0 auto 32px;
}

.product-showcase__image img {
  border-radius: var(--border-radius);
  width: 100%;
}

.product-showcase__cta {
  margin-top: 16px;
}

/* ============================================
   7. EXTENDED TESTIMONIALS
   ============================================ */
.extended-testimonials {
  padding: 80px 20px;
  background: var(--color-bg-warm);
  text-align: center;
}

.extended-testimonials__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
}

.extended-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.ext-review {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 28px;
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition);
}

.ext-review:hover {
  box-shadow: var(--shadow-hover);
}

.ext-review__stars {
  color: var(--color-star);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.ext-review__heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.ext-review__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.ext-review__author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

/* ============================================
   8. CTA SECTION
   ============================================ */
.limited-offer {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f4ee 0%, #f0dde3 50%, #e0b8c4 100%);
  text-align: center;
}

.limited-offer__content {
  max-width: 600px;
  margin: 0 auto;
}

.limited-offer__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.limited-offer__subtitle {
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ============================================
   9. TRUST BADGES
   ============================================ */
.trust-badges {
  padding: 60px 20px;
  background: var(--color-bg);
}

.trust-badges__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.trust-badge {
  padding: 24px;
}

.trust-badge__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.trust-badge__text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ============================================
   10. FOOTER
   ============================================ */
.footer {
  padding: 40px 20px;
  background: #2a2a2a;
  color: #fff;
  text-align: center;
}

.footer__logo {
  margin-bottom: 20px;
}

.footer__logo-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer__links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: #fff;
}

.footer__copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   PRESS / SOCIAL PROOF LOGOS
   ============================================ */
.press-logos {
  padding: 48px 20px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.press-logos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.press-logos__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.press-logos__logo {
  height: 40px;
  max-width: 220px;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity var(--transition), filter var(--transition);
}

.press-logos__item:hover .press-logos__logo {
  opacity: 1;
  filter: grayscale(0%);
}

.press-logos__quote {
  font-size: 14px;
  font-style: italic;
  color: var(--color-text-light);
  line-height: 1.6;
  max-width: 280px;
}

/* ============================================
   FOOTER LOGO IMAGE
   ============================================ */
.footer__logo-img {
  max-width: 150px;
  height: auto;
  margin: 0 auto;
}

/* ============================================
   BOTTOM STICKY CTA BAR (Desktop + Mobile)
   ============================================ */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-primary);
  padding: 12px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.sticky-cta-bar--visible {
  transform: translateY(0);
}

.sticky-cta-bar__content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.sticky-cta-bar__icon {
  font-size: 22px;
}

.sticky-cta-bar__button {
  display: inline-block;
  padding: 10px 28px;
  background: #fff;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition);
  font-family: var(--font-family);
  white-space: nowrap;
}

.sticky-cta-bar__button:hover {
  background: var(--color-bg-warm);
  transform: translateY(-1px);
}

.sticky-cta-bar__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
}

/* Old mobile-only sticky CTA (kept for backwards compat) */
.sticky-cta {
  display: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
  .hero__headline {
    font-size: 34px;
  }

  .reason {
    gap: 32px;
  }

  .extended-testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
  :root {
    --banner-height: 60px;
  }

  .promo-banner {
    font-size: 12px;
    padding: 8px 12px;
  }

  .hero {
    padding: 50px 16px 40px;
    text-align: center;
    min-height: 400px;
  }

  /* Mobile: flip gradient to top-to-bottom, image visible at bottom */
  .hero--has-bg::before {
    background-position: center bottom;
  }

  .hero--has-bg::after {
    background: linear-gradient(
      180deg,
      rgba(26, 26, 26, 0.95) 0%,
      rgba(26, 26, 26, 0.92) 35%,
      rgba(26, 26, 26, 0.7) 55%,
      rgba(26, 26, 26, 0.3) 75%,
      rgba(26, 26, 26, 0.0) 100%
    );
  }

  .hero--has-bg .hero__headline,
  .hero--has-bg .hero__subheadline {
    max-width: 100%;
  }

  .hero--has-bg .hero__rating,
  .hero--has-bg .hero__badges-list {
    justify-content: center;
  }

  .hero__headline {
    font-size: 28px;
  }

  .hero__subheadline {
    font-size: 16px;
  }

  .hero__badges-list {
    gap: 12px;
  }

  .authority-badge {
    font-size: 11px;
    padding: 6px 12px;
  }

  .reasons {
    padding: 60px 16px;
  }

  .reasons__title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .reason {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
  }

  .reason--img-right {
    flex-direction: column;
  }

  .reason--img-right .reason__content {
    order: 2;
  }

  .reason--img-right .reason__image {
    order: 1;
  }

  .reason__heading {
    font-size: 20px;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .product-showcase {
    padding: 60px 16px;
  }

  .features-grid {
    gap: 20px;
  }

  .extended-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .press-logos__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trust-badges__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .limited-offer__title {
    font-size: 28px;
  }

  .btn--large {
    padding: 16px 32px;
    font-size: 16px;
  }

  .sticky-cta-bar__content {
    flex-wrap: wrap;
    gap: 8px;
  }

  .sticky-cta-bar__text {
    font-size: 12px;
    text-align: center;
    width: 100%;
    order: 2;
  }

  .sticky-cta-bar__icon {
    display: none;
  }

  body {
    padding-bottom: 70px;
  }

  .footer {
    padding-bottom: 80px;
  }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
  :root {
    --banner-height: 70px;
  }

  .promo-banner__divider {
    display: none;
  }

  .promo-banner__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__headline {
    font-size: 24px;
  }

  .hero__badges-list {
    flex-direction: column;
    gap: 8px;
  }

  .carousel__quote {
    font-size: 16px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reason {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reason.visible {
  opacity: 1;
  transform: translateY(0);
}
