/* ============================================================
   ClubSoft Product Page — Styles
   ============================================================ */

/* ── Hero Section ── */


.cs-hero__badge-dot {
  width: 8px;
  height: 8px;
  background: #388329;
  border-radius: 50%;
  animation: csPulse 2s ease-in-out infinite;
}

@keyframes csPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.cs-hero__title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.cs-hero__title-accent {
  color: #388329;
}

.cs-hero__subtitle {
  font-size: 1.15rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 500;
}

.cs-hero__desc {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 32px;
}

.cs-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary.cs-btn {
  background: var(--color-highlight);
  color: #0f172a;
  border: 2px solid var(--color-highlight);
}

.btn--primary.cs-btn:hover {
  background: var(--color-highlight-hover);
  border-color: var(--color-highlight-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--color-highlight-glow);
}

.btn--outline.cs-btn {
  background: transparent;
  color: #388329;
  border: 2px solid #388329;
}

.btn--outline.cs-btn:hover {
  background: #388329;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 131, 41, 0.15);
}

/* Hero Visual / Mockup */
.cs-hero__visual {
  position: relative;
}

.cs-hero__mockup {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.cs-hero__dashboard {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.cs-hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  animation: csFloat 3s ease-in-out infinite;
}

.cs-hero__float--1 {
  top: -16px;
  right: -16px;
  animation-delay: 0s;
}

.cs-hero__float--2 {
  bottom: 24px;
  left: -24px;
  animation-delay: 1.5s;
}

@keyframes csFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Trusted By / Logo Slider ── */
.cs-logos {
  padding: 40px 0;
  background: #fff;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  overflow: hidden;
}

.cs-logos__label {
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  margin-bottom: 24px;
}

.cs-logos__track-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.cs-logos__track {
  display: flex;
  gap: 48px;
  animation: csLogoScroll 30s linear infinite;
  width: max-content;
}

.cs-logos__track:hover {
  animation-play-state: paused;
}

.cs-logos__item {
  flex-shrink: 0;
  padding: 12px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #d1d5db;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: default;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  background: #fafafa;
}

.cs-logos__item:hover {
  color: #374151;
  border-color: #e5e7eb;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@keyframes csLogoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Highlights Strip ── */
.cs-highlights {
  padding: 60px 0;
  background: #fff;
}

.cs-highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cs-highlights__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}

.cs-highlights__item:hover {
  background: #fff;
  border-color: #e5e7eb;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.cs-highlights__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8ffe3, #f0fdf0);
  border-radius: 12px;
  color: #388329;
}

.cs-highlights__item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.cs-highlights__item p {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.4;
}

/* ── Modules Section ── */
.cs-modules {
  padding: 100px 0;
  background: #f9fafb;
}

.cs-modules .section__header {
  text-align: center;
  margin-bottom: 60px;
}

.cs-modules .section__header h2 {
  color: #111827;
}

.cs-modules .section__header p {
  color: #6b7280;
  max-width: 600px;
  margin: 16px auto 0;
}

.cs-modules .section__label {
  display: inline-block;
  padding: 4px 16px;
  background: rgba(56, 131, 41, 0.08);
  color: #388329;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.cs-modules__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Module Card ── */
.cs-module-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid #f3f4f6;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.cs-module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #388329, #21ADE4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.cs-module-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: #e5e7eb;
}

.cs-module-card:hover::before {
  transform: scaleX(1);
}

.cs-module-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8ffe3, #f0fdf0);
  border-radius: 14px;
  color: #388329;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.cs-module-card:hover .cs-module-card__icon {
  background: linear-gradient(135deg, #388329, #2d6b22);
  color: #fff;
}

.cs-module-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.cs-module-card__subtitle {
  font-size: 0.82rem;
  color: #21ADE4;
  font-weight: 500;
  margin-bottom: 16px;
}

.cs-module-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.cs-module-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 8px;
}

.cs-module-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #388329;
  opacity: 0.5;
}

.cs-module-card__list li:last-child {
  margin-bottom: 0;
}

.cs-module-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #388329;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cs-module-card__cta span {
  transition: transform 0.2s ease;
}

.cs-module-card__cta:hover {
  color: #2d6b22;
}

.cs-module-card__cta:hover span {
  transform: translateX(4px);
}

/* ── CTA Section ── */
.cs-cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cs-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cs-cta__bg svg {
  width: 100%;
  height: 100%;
}

.cs-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cs-cta__content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

.cs-cta__content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cs-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--light.cs-btn {
  background: #fff;
  color: #388329;
  border: 2px solid #fff;
  font-weight: 700;
}

.btn--light.cs-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--light-outline.cs-btn {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--light-outline.cs-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ── Dark Theme Overrides ── */
[data-theme="dark"] .cs-hero {
  background: linear-gradient(135deg, #0f1b12 0%, #111827 40%, #0f172a 100%);
}

[data-theme="dark"] .cs-hero__title {
  color: #f1f5f9;
}

[data-theme="dark"] .cs-hero__subtitle {
  color: #cbd5e1;
}

[data-theme="dark"] .cs-hero__desc {
  color: #94a3b8;
}

[data-theme="dark"] .cs-hero__breadcrumb {
  color: #94a3b8;
}

[data-theme="dark"] .cs-hero__badge {
  background: rgba(56, 131, 41, 0.15);
  border-color: rgba(56, 131, 41, 0.25);
}

[data-theme="dark"] .cs-hero__dashboard {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .cs-hero__float {
  background: #1e293b;
  color: #e2e8f0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .cs-logos {
  background: #111827;
  border-color: #1e293b;
}

[data-theme="dark"] .cs-logos__item {
  color: #4b5563;
  border-color: #1e293b;
  background: #0f172a;
}

[data-theme="dark"] .cs-logos__item:hover {
  color: #e2e8f0;
  border-color: #374151;
  background: #1e293b;
}

[data-theme="dark"] .cs-highlights {
  background: #0f172a;
}

[data-theme="dark"] .cs-highlights__item {
  background: #111827;
  border-color: #1e293b;
}

[data-theme="dark"] .cs-highlights__item:hover {
  background: #1e293b;
  border-color: #374151;
}

[data-theme="dark"] .cs-highlights__icon {
  background: linear-gradient(135deg, rgba(56, 131, 41, 0.15), rgba(56, 131, 41, 0.08));
}

[data-theme="dark"] .cs-highlights__item h4 {
  color: #f1f5f9;
}

[data-theme="dark"] .cs-highlights__item p {
  color: #94a3b8;
}

[data-theme="dark"] .cs-modules {
  background: #111827;
}

[data-theme="dark"] .cs-modules .section__header h2 {
  color: #f1f5f9;
}

[data-theme="dark"] .cs-modules .section__header p {
  color: #94a3b8;
}

[data-theme="dark"] .cs-module-card {
  background: #0f172a;
  border-color: #1e293b;
}

[data-theme="dark"] .cs-module-card:hover {
  border-color: #374151;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .cs-module-card__icon {
  background: linear-gradient(135deg, rgba(56, 131, 41, 0.15), rgba(56, 131, 41, 0.08));
}

[data-theme="dark"] .cs-module-card__title {
  color: #f1f5f9;
}

[data-theme="dark"] .cs-module-card__list li {
  color: #94a3b8;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .cs-hero {
    padding: 140px 0 60px;
    min-height: auto;
  }

  .cs-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cs-hero__visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .cs-highlights__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-modules__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cs-hero {
    padding: 130px 0 50px;
  }

  .cs-hero__title {
    font-size: 2.2rem;
  }

  .cs-hero__actions {
    flex-direction: column;
  }

  .cs-btn {
    justify-content: center;
    width: 100%;
  }

  .cs-hero__float--1 {
    top: -10px;
    right: 0;
  }

  .cs-hero__float--2 {
    bottom: 10px;
    left: 0;
  }

  .cs-highlights__grid {
    grid-template-columns: 1fr;
  }

  .cs-modules {
    padding: 70px 0;
  }

  .cs-modules__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cs-module-card {
    padding: 24px;
  }

  .cs-cta {
    padding: 70px 0;
  }

  .cs-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .cs-cta__actions .cs-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .cs-logos__track {
    gap: 24px;
  }

  .cs-logos__item {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .cs-hero__title {
    font-size: 1.8rem;
  }

  .cs-hero__subtitle {
    font-size: 1rem;
  }

  .cs-hero__float {
    font-size: 0.75rem;
    padding: 8px 12px;
  }
}

/* Book a Meeting banner styles are in main.css */
