/* ==========================================================================
   Gym Section Components
   ========================================================================== */
.gym-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 60px;
}

.gym-stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--border-subtle);
  padding-right: 24px;
}

.gym-stat-item:last-child {
  border-right: none;
  padding-right: 0;
}

.gym-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.gym-stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.gym-features-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.gym-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
}

.gym-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.gym-card-tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.gym-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.gym-card-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tags-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.feature-pill {
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.feature-pill.active {
  background: var(--accent-gold-dim);
  border-color: var(--border-accent);
  color: var(--accent-gold);
  font-weight: 600;
}

/* ==========================================================================
   Screenshot Carousel Component
   ========================================================================== */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 0 20px;
}

.carousel-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 580px;
}

.carousel-track {
  position: relative;
  width: 320px;
  height: 600px;
  margin: 0 auto;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: scale(0.85) translateX(0);
  pointer-events: none;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  pointer-events: auto;
  z-index: 10;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
}

.carousel-slide.prev {
  opacity: 0.35;
  transform: scale(0.86) translateX(-110%);
  pointer-events: none;
  z-index: 5;
}

.carousel-slide.next {
  opacity: 0.35;
  transform: scale(0.86) translateX(110%);
  pointer-events: none;
  z-index: 5;
}

.carousel-phone {
  width: 100%;
  height: 100%;
  border-radius: 42px;
  background: #18191d;
  padding: 8px;
  box-shadow: 
    inset 0 0 0 2px rgba(255, 255, 255, 0.12),
    0 25px 50px rgba(0, 0, 0, 0.7);
}

.carousel-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #000;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
}

.carousel-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-snappy);
}

.carousel-arrow:hover {
  background: var(--bg-elevated);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: scale(1.05);
}

.carousel-arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: var(--transition-snappy);
}

.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--accent-gold);
}

.carousel-caption {
  text-align: center;
  max-width: 580px;
  margin: 28px auto 0;
  min-height: 70px;
}

.carousel-caption-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.carousel-caption-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Coach Vey AI Section Components
   ========================================================================== */
.coach-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}

.coach-container::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at top right, rgba(201, 166, 107, 0.08), transparent 70%);
  pointer-events: none;
}

.coach-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.coach-header-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.coach-avatar {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  padding: 4px;
  object-fit: contain;
  box-shadow: var(--shadow-sm);
}

.coach-tags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 10px 0;
}

.coach-tag-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-md);
}

.coach-tag-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  flex-shrink: 0;
}

.coach-disclaimer-box {
  background: rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--border-accent);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Coach Vey Chat Preview */
.coach-chat-window {
  background: #0d0e12;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-lg);
}

.chat-bubble {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 88%;
}

.chat-bubble.user {
  align-self: flex-end;
}

.chat-bubble.ai {
  align-self: flex-start;
}

.bubble-sender {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.chat-bubble.user .bubble-sender {
  align-self: flex-end;
}

.bubble-body {
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.chat-bubble.user .bubble-body {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-bottom-right-radius: 4px;
}

.chat-bubble.ai .bubble-body {
  background: rgba(201, 166, 107, 0.12);
  border: 1px solid var(--border-accent);
  color: #f7f3ea;
  border-bottom-left-radius: 4px;
}

/* ==========================================================================
   To-Do & Discipline Section Components
   ========================================================================== */
.todo-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.todo-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.todo-feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition-snappy);
}

.todo-feature-card:hover {
  border-color: var(--border-medium);
  background: var(--bg-elevated);
  transform: translateX(4px);
}

.todo-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1.2;
}

.todo-card-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.todo-card-body {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.todo-ui-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.todo-ui-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.todo-streak-tag {
  background: rgba(255, 120, 40, 0.12);
  border: 1px solid rgba(255, 120, 40, 0.35);
  color: #ff9350;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.mock-task-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition-snappy);
}

.mock-task-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mock-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-checkbox.done {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.mock-checkbox.done svg {
  width: 14px;
  height: 14px;
  fill: #000;
}

.mock-task-content {
  flex-grow: 1;
}

.mock-task-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mock-task-item.completed .mock-task-title {
  text-decoration: line-through;
  color: var(--text-muted);
}

.mock-task-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   Personalization & 10 Themes Previewer
   ========================================================================== */
.personalization-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.themes-palette-selector {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.themes-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.theme-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-snappy);
}

.theme-pill:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.theme-pill.active {
  border-color: var(--accent-gold);
  color: var(--text-primary);
  background: rgba(201, 166, 107, 0.08);
  font-weight: 600;
}

.swatch-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Dynamic Live Preview Card */
.theme-preview-card {
  --card-custom-bg: #0D0E10;
  --card-custom-surface: #15171A;
  --card-custom-accent: #C9A66B;
  --card-custom-text: #F2F0EB;

  background: var(--card-custom-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  transition: background 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.preview-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-theme-badge {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--card-custom-accent);
}

.preview-surface-block {
  background: var(--card-custom-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-accent-btn {
  background: var(--card-custom-accent);
  color: #0b0c0e;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.86rem;
  width: fit-content;
  transition: background 0.3s ease;
}

/* ==========================================================================
   Pricing & Access (FREE vs VEYRO ELITE)
   ========================================================================== */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card.elite {
  background: linear-gradient(180deg, #16181e 0%, #101216 100%);
  border: 1px solid var(--border-accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 28px;
  background: var(--accent-gold);
  color: #0b0c0e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.plan-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.pricing-card.elite .plan-title {
  color: var(--accent-gold);
}

.plan-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.feature-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 800;
}

.pricing-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.98rem;
  transition: var(--transition-snappy);
  text-align: center;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
  background: var(--accent-gold);
  color: #0b0c0e;
}

.btn-primary:hover {
  background: var(--accent-gold-light);
  box-shadow: 0 8px 24px rgba(201, 166, 107, 0.35);
  transform: translateY(-1px);
}

.pricing-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 28px auto 0;
}

/* ==========================================================================
   Full Feature Overview Grid (12 Items)
   ========================================================================== */
.feature-grid-12 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.compact-feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition-snappy);
}

.compact-feature-card:hover {
  border-color: var(--border-medium);
  background: var(--bg-elevated);
}

.cf-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cf-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-accordion-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-snappy);
}

.faq-item.open {
  border-color: var(--border-medium);
  background: var(--bg-elevated);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  gap: 16px;
}

.faq-trigger:hover {
  color: var(--accent-gold);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-gold);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */
.final-cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(201, 166, 107, 0.08) 0%, transparent 60%);
}

.cta-box {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 540px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #08090a;
  padding: 80px 0 40px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer-link {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: var(--transition-snappy);
}

.footer-link:hover {
  color: var(--accent-gold);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
  font-size: 0.84rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Responsive Adjustments for Components
   ========================================================================== */
@media (max-width: 1024px) {
  .gym-stats-bar {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gym-stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 16px;
    padding-right: 0;
  }

  .gym-stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .coach-container {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 40px;
  }

  .todo-layout {
    grid-template-columns: 1fr;
  }

  .personalization-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

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

  .coach-tags-grid {
    grid-template-columns: 1fr;
  }

  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid-12 {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .carousel-stage {
    min-height: 520px;
  }

  .carousel-track {
    width: 280px;
    height: 520px;
  }

  .carousel-slide.prev {
    transform: scale(0.8) translateX(-100%);
  }

  .carousel-slide.next {
    transform: scale(0.8) translateX(100%);
  }
}
