/* ===== Reckon Health Landing Page ===== */

/* ---- NAV OVERRIDE ---- */
.nav-cta-link-health {
  color: var(--health) !important;
  font-weight: 600 !important;
}

.nav-cta-link-health:hover {
  color: var(--health-on-dark) !important;
}

/* ---- HERO VARIANT ---- */
.hl-hero .hero-badge {
  background: rgba(58, 90, 140, 0.08);
  border-color: rgba(58, 90, 140, 0.18);
  color: var(--health);
}

.hl-hero .hero-badge::before {
  background: var(--health);
}

.hl-hero h1 em {
  color: var(--health);
}

.hl-hero .btn-primary {
  background: var(--health);
}

.hl-hero .btn-primary:hover {
  background: var(--health-on-dark);
}

/* ---- SHARED SECTION STYLES ---- */
.hl-section {
  padding: 7rem 2rem;
}

.hl-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.hl-section-inner h2 {
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hl-section-sub {
  max-width: 640px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--muted-foreground);
  font-weight: 300;
}

.hl-section-inner .section-label {
  margin-bottom: 1rem;
}

/* ---- DEMO SECTION ---- */
.hl-demo-section {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---- BROWSER FRAME MOCK ---- */
.demo-frame {
  max-width: 820px;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(26, 26, 26, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  text-align: left;
}

.demo-browser-bar {
  background: #e8e4dc;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.demo-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  display: block;
}

.demo-url-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  color: var(--muted-foreground);
  font-family: var(--font-family);
  max-width: 340px;
  margin: 0 auto;
}

.demo-content {
  background: #fafaf9;
  padding: 1.5rem 2rem 2rem;
}

/* ---- MOCK DATE NAV ---- */
.mock-date-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mock-date-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.mock-date-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: -0.01em;
}

/* ---- MOCK PROGRESS RINGS ---- */
.mock-rings {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}

.mock-ring-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mock-ring-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}

/* ---- MOCK ENTRY TABS ---- */
.mock-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1rem;
  gap: 0;
}

.mock-tab {
  padding: 0.6rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.mock-tab.active {
  color: var(--health);
  border-bottom-color: var(--health);
}

/* ---- MOCK FOOD LOG ---- */
.mock-food-log {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-food-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.mock-food-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--foreground);
}

.mock-food-meta {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 300;
  margin-top: 0.1rem;
}

.mock-food-cals {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--foreground);
  font-family: var(--font-family-heading);
}

.mock-food-log-meal {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  padding: 0.25rem 0;
}

.demo-caption {
  font-size: 0.82rem;
  color: var(--muted-foreground);
  font-style: italic;
  text-align: center;
}

/* ---- THREE TRACKERS SECTION ---- */
.hl-trackers-section {
  background: var(--background);
}

.trackers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
  margin-top: 0.5rem;
}

.tracker-card {
  padding: 2.25rem 2rem;
  background: white;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tracker-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}

.tracker-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.tracker-icon.food {
  background: rgba(58, 90, 140, 0.08);
  color: var(--health);
}

.tracker-icon.drinks {
  background: rgba(13, 148, 136, 0.08);
  color: #0d9488;
}

.tracker-icon.sleep {
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
}

.tracker-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.tracker-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted-foreground);
  font-weight: 300;
}

.tracker-detail {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted-foreground);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.tracker-detail-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tracker-detail-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted-foreground);
  flex-shrink: 0;
}

/* ---- AI PHOTO SECTION ---- */
.hl-photo-section {
  background: var(--foreground);
  color: var(--background);
  position: relative;
  overflow: hidden;
}

.hl-photo-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 90, 140, 0.15), transparent 70%);
  pointer-events: none;
}

.hl-photo-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hl-photo-section .section-label {
  color: var(--health-on-dark);
}

.hl-photo-section h2 {
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--background);
  margin-bottom: 1.5rem;
}

.hl-photo-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(248, 246, 241, 0.75);
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.hl-photo-section p strong {
  color: var(--background);
  font-weight: 500;
}

.photo-compare {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.photo-compare-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  border: 1px solid rgba(248, 246, 241, 0.08);
}

.photo-compare-row.header-row {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.75);
  border-color: transparent;
  padding-bottom: 0;
}

.photo-compare-app {
  font-size: 0.82rem;
  color: rgba(248, 246, 241, 0.75);
  min-width: 100px;
  text-align: right;
}

.photo-compare-rw {
  font-weight: 600;
  color: var(--health-on-dark);
  min-width: 80px;
  text-align: center;
}

.photo-compare-rw.free {
  color: #4ade80;
}

.photo-compare-feature {
  color: rgba(248, 246, 241, 0.8);
  flex: 1;
}

/* ---- HEALTH DIVIDEND SECTION ---- */
.hl-dividend-section {
  background: var(--background);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hl-dividend-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  text-align: left;
}

.hl-dividend-inner h2 {
  font-family: var(--font-family-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hl-dividend-inner p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted-foreground);
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.hl-dividend-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  background: rgba(45, 106, 79, 0.08);
  color: var(--wealth);
  border: 1px solid rgba(45, 106, 79, 0.2);
  transition: all 0.25s ease;
  margin-top: 0.5rem;
}

.hl-dividend-cta:hover {
  background: rgba(45, 106, 79, 0.15);
  transform: translateX(3px);
}

.dividend-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.dividend-card-header {
  background: var(--wealth);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dividend-card-header-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(248, 246, 241, 0.85);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dividend-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dividend-stat {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.dividend-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dividend-stat-icon.teal {
  background: rgba(13, 148, 136, 0.08);
  color: #0d9488;
}

.dividend-stat-icon.green {
  background: rgba(45, 106, 79, 0.08);
  color: var(--wealth);
}

.dividend-stat-value {
  font-family: var(--font-family-heading);
  font-size: 1.6rem;
  color: var(--foreground);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.dividend-stat-label {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  font-weight: 300;
  line-height: 1.4;
}

.dividend-divider {
  height: 1px;
  background: var(--border);
}

.dividend-link {
  font-size: 0.82rem;
  color: var(--wealth);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease;
}

.dividend-link:hover {
  gap: 0.6rem;
}

/* ---- ADVANTAGES SECTION ---- */
.hl-why-section {
  background: white;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.advantage-card {
  padding: 2rem;
  background: var(--background);
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}

.advantage-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(58, 90, 140, 0.08);
  color: var(--health);
}

.advantage-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.advantage-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted-foreground);
  font-weight: 300;
}

/* ---- COMPARISON TABLE ---- */
.hl-compare-section {
  background: var(--background);
}

.hl-compare-inner {
  max-width: 800px;
}

.compare-table {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  margin-top: 0.5rem;
  background: white;
}

.compare-header,
.compare-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
}

.compare-header {
  background: var(--foreground);
  color: var(--background);
}

.compare-header div {
  padding: 0.85rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-row {
  border-top: 1px solid var(--border);
}

.compare-row:nth-child(even) {
  background: rgba(248, 246, 241, 0.6);
}

.compare-feature {
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  color: var(--foreground);
  font-weight: 500;
  border-right: 1px solid var(--border);
}

.compare-rh {
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 400;
  border-right: 1px solid var(--border);
}

.compare-others {
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 400;
}

.compare-rh.yes {
  color: var(--health);
  font-weight: 500;
}

.compare-rh.yes::before {
  content: '✓  ';
  font-weight: 700;
}

.compare-others.no {
  color: var(--muted-foreground);
}

.compare-others.no::before {
  content: '— ';
  color: rgba(26, 26, 26, 0.25);
}

/* ---- FINAL CTA ---- */
.hl-final-cta {
  background: var(--health);
  padding: 7rem 2rem;
  text-align: center;
}

.hl-final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.hl-final-cta .section-label {
  color: rgba(255, 255, 255, 0.9);
}

.hl-final-cta h2 {
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--background);
  margin-bottom: 1rem;
}

.hl-final-cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.btn-cta-health {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 2.75rem;
  border-radius: 100px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--background);
  color: var(--health);
  transition: all 0.3s ease;
}

.btn-cta-health:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .trackers-grid {
    grid-template-columns: 1fr;
  }

  .hl-photo-inner,
  .hl-dividend-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .mock-rings {
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .demo-content {
    padding: 1.25rem 1rem 1.5rem;
  }

  .mock-rings {
    gap: 1rem;
  }

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

  .hl-section {
    padding: 5rem 1.5rem;
  }

  .photo-compare-app {
    display: none;
  }

  .photo-compare-row {
    grid-template-columns: 1fr 1fr;
  }
}
