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

:root {
  --brand-main: #0B1E36; /* Deep Navy */
  --brand-highlight: #EA580C; /* Vibrant Orange */
  --brand-surface: #F8FAFC; /* Off-White */
  --brand-secondary: #0284C7; /* Soft Cyan */
  
  --text-primary: #1E293B;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;
  
  --gradient-primary: linear-gradient(135deg, #0B1E36 0%, #0284C7 100%);
  --gradient-accent: linear-gradient(135deg, #EA580C 0%, #F97316 100%);
  
  --font-display: 'Oswald', sans-serif;
  --font-core: 'Open Sans', sans-serif;
  
  --spacing-base: 1rem;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-core);
  color: var(--text-primary);
  background-color: var(--brand-surface);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

/* Custom Semantic Layout Classes */
.vitality-wrapper-main {
  width: 100%;
  overflow-x: hidden;
}

.core-navigation-bar {
  background-color: var(--brand-main);
  color: var(--text-inverse);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-inner-bounds {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-identity-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-highlight);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.menu-link-items {
  display: flex;
  gap: 2rem;
}

.menu-link-items a {
  color: var(--brand-surface);
  font-weight: 600;
  transition: color 0.3s ease;
}

.menu-link-items a:hover {
  color: var(--brand-highlight);
}

.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: var(--brand-surface);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .menu-link-items {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--brand-main);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .menu-link-items.is-active {
    display: flex;
  }
  .mobile-toggle-btn {
    display: block;
  }
}

/* Buttons */
.action-trigger-btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--text-inverse);
  text-align: center;
  border-radius: 0.375rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.action-trigger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.4);
}

/* Sections */
.intro-visual-space {
  color: var(--text-inverse);
  padding: 6rem 1.5rem;
  position: relative;
}

.intro-visual-space::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 30, 54, 0.85);
  z-index: 1;
}

.intro-content-layer {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.reading-pad {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Footers */
.bottom-info-deck {
  background-color: var(--brand-main);
  color: var(--brand-surface);
  padding: 4rem 1.5rem 2rem;
  text-align: center;
}

.bottom-info-deck a {
  color: var(--brand-secondary);
  text-decoration: underline;
}

/* Cookie Banner */
#cookie-banner {
  background-color: var(--brand-main);
  color: var(--brand-surface);
  padding: 1.5rem;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-top: 4px solid var(--brand-highlight);
}

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

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

#accept-cookie {
  background-color: var(--brand-highlight);
  color: #fff;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: 600;
}

#decline-cookie {
  background-color: #4B5563;
  color: #fff;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: 600;
}

/* Specific customized grids to avoid standard names */
.habit-matrix-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .habit-matrix-layout { grid-template-columns: repeat(3, 1fr); }
}

.info-block-item {
  background: #fff;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border-bottom: 4px solid var(--brand-secondary);
}

.step-flow-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-item-box {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.step-num-badge {
  background: var(--gradient-primary);
  color: white;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: var(--font-display);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Forms */
.form-input-field {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid #CBD5E1;
  border-radius: 0.375rem;
  font-family: var(--font-core);
  margin-top: 0.5rem;
}
.form-input-field:focus {
  outline: none;
  border-color: var(--brand-secondary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

/* Numbered lists for reserve */
.numbered-bullet-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}
.numbered-bullet-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.numbered-bullet-list li::before {
  content: counter(my-counter);
  counter-increment: my-counter;
  background-color: var(--brand-highlight);
  color: white;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: bold;
}
.numbered-group-reset {
  counter-reset: my-counter;
}

.min-h-screen-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.main-flex-grow {
  flex-grow: 1;
}