/* Micro-Workout Plans — Cozy Home Style */
:root {
  --primary: #0087c1;
  --primary-dark: #006a99;
  --primary-light: #e8f4fa;
  --warm-bg: #faf6f1;
  --warm-alt: #f0ebe3;
  --cream: #fff9f2;
  --text: #1a2a33;
  --text-light: #3d5560;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0, 87, 193, 0.1);
  --radius: 12px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: var(--warm-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4 {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; color: var(--text-light); }

ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; color: var(--text-light); }
li { margin-bottom: 0.5rem; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Disclaimer Bar */
.disclaimer-bar {
  background: #2c3e50;
  color: #f0f0f0;
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem 1rem;
  line-height: 1.4;
}

.editorial-notice {
  background: var(--white);
  border: 1px solid rgba(0, 87, 193, 0.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 1.5rem 0;
}

.editorial-notice strong {
  color: var(--text);
}

.form-fine-print {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  line-height: 1.5;
}

.footer-trust {
  border-top: 1px solid #2d4450;
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #b8c8d0;
  line-height: 1.6;
}

.footer-trust a {
  color: #d4eaf5;
}

.footer-trust strong {
  color: var(--white);
}

.footer-compliance {
  font-size: 0.8rem;
  color: #8899a6;
  margin-bottom: 0.75rem;
}

.footer-compliance a {
  color: #b8c8d0;
}

.hero-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 480px;
  margin: 1rem auto 0;
  text-align: left;
}

.hero-consent input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.hero-consent label {
  font-size: 0.78rem;
  color: #e8f4fa;
  line-height: 1.45;
}

.hero-consent a {
  color: #fff;
  text-decoration: underline;
}

.page-compliance-note {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-link img {
  width: 42px;
  height: 42px;
}

.logo-text {
  font-family: "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  line-height: 1;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.main-nav a {
  font-family: "Segoe UI", sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 87, 193, 0.75) 0%, rgba(26, 42, 51, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.25rem;
  max-width: 720px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: #e8f4fa;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 2rem;
}

.hero-form {
  display: flex;
  gap: 0.5rem;
  max-width: 520px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-form .hero-consent {
  width: 100%;
  flex-basis: 100%;
  margin-top: 0.25rem;
}

.hero-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: "Segoe UI", sans-serif;
  background: var(--white);
  color: var(--text);
}

.hero-form input[type="email"]::placeholder {
  color: #8899a6;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-warm {
  background: var(--warm-bg);
}

.section-cream {
  background: var(--cream);
}

.section-blue {
  background: var(--primary-light);
}

.section-primary {
  background: var(--primary);
  color: var(--white);
}

.section-primary h2,
.section-primary h3 {
  color: var(--white);
}

.section-primary p,
.section-primary li {
  color: #d4eaf5;
}

.section-dark {
  background: var(--warm-alt);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.section-header p {
  font-size: 1.05rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-3px);
}

.card-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--text);
}

/* Image Blocks */
.img-block {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 87, 193, 0.12);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list i {
  color: var(--primary);
  font-size: 1.3rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Numbered Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4rem;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Timeline / Events */
.event-list {
  list-style: none;
  padding: 0;
}

.event-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.event-date {
  text-align: center;
  font-family: "Segoe UI", sans-serif;
}

.event-date .day {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.event-date .month {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
}

/* FAQ Accordion */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question i {
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* Exercise Table */
.exercise-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.exercise-table th,
.exercise-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--primary-light);
}

.exercise-table th {
  background: var(--primary);
  color: var(--white);
  font-family: "Segoe UI", sans-serif;
}

.exercise-table tr:last-child td {
  border-bottom: none;
}

/* Highlight Box */
.highlight-box {
  background: var(--white);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  margin: 1.5rem 0;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

/* Tag pills */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: "Segoe UI", sans-serif;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #d0dde3;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-light);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* Contact Info */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 0.2rem;
}

/* Success Page */
.success-wrap {
  text-align: center;
  padding: 5rem 1.25rem;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* Policy Pages */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.policy-content h1 {
  margin-bottom: 0.5rem;
}

.policy-content .updated {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.policy-content h2 {
  margin-top: 2rem;
  font-size: 1.3rem;
  color: var(--primary);
}

/* Footer */
.site-footer {
  background: #1a2a33;
  color: #b8c8d0;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: var(--white);
  font-family: "Segoe UI", sans-serif;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.5rem;
}

.footer-grid a {
  color: #b8c8d0;
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #2d4450;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  padding: 1.25rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.cookie-text a {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-buttons .btn {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal-content {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

.cookie-modal-content h3 {
  margin-bottom: 1rem;
}

.cookie-category {
  padding: 1rem 0;
  border-bottom: 1px solid var(--primary-light);
}

.cookie-category:last-of-type {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-category p {
  font-size: 0.85rem;
  margin-top: 0.4rem;
  margin-bottom: 0;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 26px;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Page Hero (inner pages) */
.page-hero {
  background: var(--primary);
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: #d4eaf5;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Comparison blocks */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.compare-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.compare-card.good {
  background: var(--white);
  border-top: 4px solid var(--primary);
}

.compare-card.neutral {
  background: var(--warm-alt);
  border-top: 4px solid #8899a6;
}

.compare-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compare-card h3 i {
  color: var(--primary);
}

/* Inner page hero with image */
.page-hero-img {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.page-hero-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 42, 51, 0.85) 0%, rgba(0, 87, 193, 0.4) 100%);
}

.page-hero-img .container {
  position: relative;
  z-index: 2;
  padding-bottom: 2.5rem;
  padding-top: 3rem;
}

.page-hero-img h1 {
  color: var(--white);
}

.page-hero-img p {
  color: #d4eaf5;
}

/* Stat blocks */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.stat-block {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-block .num {
  font-family: "Segoe UI", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-block .label {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4, .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .main-nav.open {
    max-height: 400px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1rem 1.25rem;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid var(--primary-light);
  }

  .main-nav a {
    display: block;
    padding: 0.85rem 0;
  }

  .grid-2, .compare-grid {
    grid-template-columns: 1fr;
  }

  .grid-3, .grid-4, .stat-row {
    grid-template-columns: 1fr;
  }

  .event-item {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-form {
    flex-direction: column;
  }

  .hero-form input[type="email"] {
    min-width: 100%;
  }

  .section {
    padding: 2.5rem 0;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 14px;
  }

  .header-inner {
    padding: 0.5rem 0.75rem;
  }

  .logo-text {
    font-size: 0.75rem;
  }

  .container {
    padding: 0 0.75rem;
  }

  .btn {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
  }
}
