@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* 4 Modern Contrast Colors */
  --brand-main-dark: #0f172a;      /* Deep Blue */
  --brand-emerald-accent: #10b981; /* Vibrant Emerald */
  --ui-base-light: #f8fafc;        /* Soft White */
  --tone-slate-muted: #334155;     /* Dark Slate */

  /* Gradients */
  --gradient-cardio: linear-gradient(135deg, var(--brand-main-dark) 0%, var(--tone-slate-muted) 100%);
  --gradient-emerald: linear-gradient(135deg, #059669 0%, var(--brand-emerald-accent) 100%);

  /* Fonts */
  --font-heading-style: 'Playfair Display', serif;
  --font-text-style: 'Inter', sans-serif;
}

/* Base Styles */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: var(--font-text-style);
  color: var(--brand-main-dark);
  background-color: var(--ui-base-light);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading-style);
  color: var(--brand-main-dark);
}

/* Custom Semantic Classes - No generic bootstrap/tailwind names */
.cardio-nav-wrapper {
  background-color: var(--ui-base-light);
  border-bottom: 1px solid rgba(51, 65, 85, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.vital-link-item a {
  color: var(--tone-slate-muted);
  transition: color 0.3s ease;
  font-weight: 500;
}

.vital-link-item a:hover {
  color: var(--brand-emerald-accent);
}

.pulse-btn-primary {
  background: var(--gradient-emerald);
  color: var(--ui-base-light);
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  transition: opacity 0.3s ease, transform 0.2s ease;
  display: inline-block;
  text-align: center;
}

.pulse-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.pressure-intro-wrap {
  position: relative;
  overflow: hidden;
  color: var(--ui-base-light);
  padding: 6rem 1rem;
}

.pressure-intro-wrap h1 {
  color: var(--ui-base-light);
}

.health-steps-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .health-steps-grid {
    grid-template-columns: repeat(3, 1px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.habit-info-segment {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border-top: 4px solid var(--brand-emerald-accent);
}

.stat-pulse-item {
  text-align: center;
  padding: 2rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.stat-pulse-item span {
  display: block;
  font-size: 3rem;
  font-family: var(--font-heading-style);
  color: var(--brand-emerald-accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Reserve Cards with custom lists */
.methodology-block {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.methodology-block h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.method-list-styled {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.method-list-styled li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--tone-slate-muted);
}

.method-list-styled li::before {
  content: counter(my-counter);
  counter-increment: my-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--brand-emerald-accent);
  color: var(--ui-base-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

.methodology-block ol {
  counter-reset: my-counter;
}

/* Footer & Policies */
.bottom-realm-area {
  background: var(--gradient-cardio);
  color: var(--ui-base-light);
  padding: 4rem 1rem 2rem;
}

.bottom-realm-area a {
  color: #cbd5e1;
  transition: color 0.3s;
}

.bottom-realm-area a:hover {
  color: var(--brand-emerald-accent);
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--brand-main-dark);
  color: var(--ui-base-light);
  padding: 1.5rem 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  #cookie-banner {
    flex-direction: row;
    padding: 1.5rem 3rem;
  }
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

#accept-cookie {
  background-color: var(--brand-emerald-accent);
  color: var(--ui-base-light);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: opacity 0.3s;
}

#accept-cookie:hover { opacity: 0.8; }

#decline-cookie {
  background-color: #4B5563;
  color: var(--ui-base-light);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: opacity 0.3s;
}

#decline-cookie:hover { opacity: 0.8; }

/* Image covers */
.img-cover-fit {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Minimalist Form */
.education-form-wrap {
  background: var(--ui-base-light);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(51, 65, 85, 0.1);
}
.input-vital {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  font-family: var(--font-text-style);
  background: #ffffff;
}
.input-vital:focus {
  outline: none;
  border-color: var(--brand-emerald-accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}