/* ==========================================================================
   IKI WELLNESS BRAND DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* 1. CSS VARIABLES & SYSTEM DESIGN TOKENS */
:root {
  /* Color Palette */
  --color-ivory: #fbf8f3;
  --color-sand: #e6dfd3;
  --color-soft-olive: #8a9a86;
  --color-muted-green: #5b6957;
  --color-charcoal: #2c2d28;
  --color-white: #ffffff;
  --color-gold: #bfa580;
  
  /* Transparency States */
  --color-charcoal-10: rgba(44, 45, 40, 0.1);
  --color-charcoal-05: rgba(44, 45, 40, 0.05);
  --color-ivory-80: rgba(251, 248, 243, 0.8);
  --color-glass-fill: rgba(255, 255, 255, 0.45);
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout Constants */
  --site-width: 1200px;
  --site-width-narrow: 800px;
  
  /* Transition Presets */
  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-snappy: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. BASE RESET & ACCESSIBILITY SETUP */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-ivory);
  color: var(--color-charcoal);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.625;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-charcoal);
}

p {
  font-weight: 300;
  color: #555650;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-snappy);
}

ul {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-ivory);
}
::-webkit-scrollbar-thumb {
  background: var(--color-sand);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-soft-olive);
}

/* 3. COMMON LAYOUT CONTAINERS & UTILITIES */
.section-container {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.container-narrow {
  max-width: var(--site-width-narrow);
}

.text-center {
  text-align: center;
}

.w-full {
  width: 100%;
}

.block {
  display: block;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-soft-olive);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-headline {
  font-size: 2.25rem;
  margin-bottom: 24px;
  font-weight: 400;
}

@media (min-width: 768px) {
  .section-headline {
    font-size: 3rem;
  }
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
}

/* 4. BUTTONS & INTERACTIVE ELEMENTS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-charcoal);
  color: var(--color-ivory);
  padding: 16px 32px;
  border-radius: 40px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1px solid var(--color-charcoal);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: var(--transition-snappy);
}

.btn-primary:hover {
  background-color: var(--color-muted-green);
  border-color: var(--color-muted-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(91, 105, 87, 0.15);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--color-charcoal);
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--color-sand);
  cursor: pointer;
  transition: var(--transition-snappy);
}

.btn-secondary:hover {
  background-color: var(--color-sand);
  border-color: var(--color-soft-olive);
}

/* 5. HEADER, ANNOUNCEMENT BAR & NAVIGATION */
.announcement-bar {
  background-color: var(--color-sand);
  color: var(--color-charcoal);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 400;
  transition: transform 0.4s ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-ivory-80);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-charcoal-05);
  transition: var(--transition-snappy);
}

.header-container {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-charcoal);
}

.logo-sub {
  font-size: 0.5rem;
  letter-spacing: 0.45em;
  color: var(--color-soft-olive);
  font-weight: 600;
  margin-top: 2px;
  margin-left: 2px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: var(--color-charcoal);
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-soft-olive);
  transition: var(--transition-snappy);
}

.nav-link:hover {
  color: var(--color-soft-olive);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-btn-outline {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: var(--color-ivory);
  background-color: var(--color-muted-green);
  padding: 10px 20px;
  border-radius: 20px;
  border: 1px solid var(--color-muted-green);
}

.nav-btn-outline:hover {
  background-color: transparent;
  color: var(--color-muted-green);
}

/* Mobile Nav Toggler */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-charcoal);
  border-radius: 2px;
  transition: var(--transition-snappy);
  transform-origin: left center;
}

/* 6. HERO SECTION */
.hero-section {
  background-color: var(--color-ivory);
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

.hero-headline {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 3.5rem;
  }
}

.hero-supporting-text {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #555650;
  max-width: 540px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted-green);
  font-weight: 500;
}

.badge-icon {
  width: 16px;
  height: 16px;
}

/* Still life visual positioning */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-container {
  position: relative;
  width: 100%;
  max-width: 480px;
}

/* Floating Wabi Sabi badge */
.tradition-badge {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 90px;
  height: 90px;
  background-color: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(44, 45, 40, 0.06);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatBadge 6s ease-in-out infinite;
  filter: url(#badge-shadow);
}

.circular-text {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotateText 20s linear infinite;
}

.badge-inner-icon {
  width: 24px;
  height: 24px;
  color: var(--color-muted-green);
}

.still-life-svg {
  filter: drop-shadow(0 15px 35px rgba(44, 45, 40, 0.05));
}

/* 7. PROBLEM & PHILOSOPHY */
.problem-section {
  background-color: var(--color-sand);
  border-top: 1px solid rgba(44, 45, 40, 0.05);
  border-bottom: 1px solid rgba(44, 45, 40, 0.05);
}

.problem-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 60px 0;
  align-items: center;
  text-align: left;
}

@media (min-width: 768px) {
  .problem-split-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
  }
}

.problem-column {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: var(--transition-smooth);
}

.focus-column {
  background-color: var(--color-ivory);
  border: 1px solid var(--color-soft-olive);
}

.problem-column h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  border-bottom: 1px solid var(--color-sand);
  padding-bottom: 12px;
}

.problem-list li {
  font-size: 0.9375rem;
  color: #555650;
  margin-bottom: 14px;
  position: relative;
  padding-left: 20px;
}

.problem-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-soft-olive);
}

.problem-list li strong {
  color: var(--color-charcoal);
}

.arrow-divider {
  width: 48px;
  height: 48px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted-green);
  margin: 0 auto;
  border: 1px solid var(--color-sand);
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

@media (min-width: 768px) {
  .arrow-divider {
    transform: rotate(-90deg);
  }
}

.concept-quote {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1.4;
  max-width: 680px;
  margin: 60px auto 24px;
  position: relative;
}

@media (min-width: 768px) {
  .concept-quote {
    font-size: 2.25rem;
  }
}

.philosophy-subtext {
  font-size: 1.0625rem;
  max-width: 580px;
  margin: 0 auto;
}

/* 8. THE THREE PILLARS */
.concept-section {
  background-color: var(--color-ivory);
}

.section-header {
  margin-bottom: 60px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.pillar-card {
  background-color: var(--color-white);
  padding: 48px 32px;
  border-radius: 16px;
  border: 1px solid var(--color-sand);
  position: relative;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(44, 45, 40, 0.04);
}

.pillar-num {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-soft-olive);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--color-muted-green);
}

.pillar-visual {
  margin: 20px auto 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pillar-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
  text-align: center;
}

.pillar-desc {
  font-size: 0.9375rem;
  text-align: center;
  line-height: 1.6;
}

/* 9. BANNER QUOTE */
.banner-quote-section {
  background-color: var(--color-sand);
  border-top: 1px solid rgba(44, 45, 40, 0.05);
  border-bottom: 1px solid rgba(44, 45, 40, 0.05);
}

.quote-banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: 80px 24px;
}

@media (min-width: 992px) {
  .quote-banner-grid {
    grid-template-columns: 1.4fr 0.6fr;
  }
}

.quote-left {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.leaf-circle {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px dashed var(--color-soft-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted-green);
}

.leaf-circle svg {
  width: 24px;
  height: 24px;
}

.banner-large-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--color-charcoal);
}

@media (min-width: 768px) {
  .banner-large-text {
    font-size: 1.875rem;
  }
}

.mini-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-tag-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--color-muted-green);
}

.bullet-dot {
  color: var(--color-gold);
}

/* 10. HOW IT WORKS (FLOW TIMELINE) */
.flow-section {
  background-color: var(--color-ivory);
}

.flow-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  margin-top: 60px;
}

@media (min-width: 992px) {
  .flow-timeline {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 16px;
  }
}

.flow-step {
  text-align: center;
  background-color: var(--color-white);
  padding: 32px 24px;
  border-radius: 12px;
  border: 1px solid rgba(44, 45, 40, 0.05);
}

.flow-step-circle {
  width: 56px;
  height: 56px;
  background-color: var(--color-ivory);
  border: 1px solid var(--color-sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-muted-green);
  transition: var(--transition-snappy);
}

.flow-step:hover .flow-step-circle {
  background-color: var(--color-muted-green);
  color: var(--color-ivory);
  border-color: var(--color-muted-green);
}

.flow-step-circle svg {
  width: 24px;
  height: 24px;
}

.flow-step-title {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.flow-step-desc {
  font-size: 0.875rem;
  line-height: 1.5;
}

.flow-connector {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-sand);
  padding: 12px 0;
}

@media (min-width: 992px) {
  .flow-connector {
    transform: rotate(0);
    padding-top: 48px;
  }
}

@media (max-width: 991px) {
  .flow-connector {
    transform: rotate(90deg);
  }
}

/* 11. INTERACTIVE APP PREVIEW */
.app-section {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-sand);
  border-bottom: 1px solid var(--color-sand);
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .app-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
  }
}

.app-supporting-text {
  font-size: 1.0625rem;
  margin-bottom: 40px;
}

.app-tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tab-btn {
  background: transparent;
  border: none;
  text-align: left;
  padding: 20px 24px;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  border-left: 2px solid transparent;
  transition: var(--transition-snappy);
}

.tab-btn:hover {
  background-color: var(--color-ivory);
}

.tab-btn.active {
  background-color: var(--color-ivory);
  border-left-color: var(--color-muted-green);
}

.tab-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.tab-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-sand);
  transition: var(--transition-snappy);
}

.tab-btn.active .tab-bullet {
  background-color: var(--color-muted-green);
  transform: scale(1.5);
}

.tab-btn h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.0625rem;
}

.tab-description {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #666760;
  padding-left: 18px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.tab-btn.active .tab-description {
  max-height: 80px;
  opacity: 1;
  margin-top: 4px;
}

/* Phone Mockup Styling */
.app-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 290px;
  height: 580px;
  background-color: var(--color-charcoal);
  border: 10px solid var(--color-charcoal);
  border-radius: 36px;
  box-shadow: 0 25px 50px rgba(44, 45, 40, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phone-speaker {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #40413b;
  border-radius: 2px;
  z-index: 100;
}

.phone-camera {
  position: absolute;
  top: 10px;
  left: 38%;
  width: 8px;
  height: 8px;
  background-color: #1a1b17;
  border-radius: 50%;
  z-index: 100;
}

.phone-screen {
  flex-grow: 1;
  background-color: var(--color-ivory);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* App Screens */
.screen-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 36px 20px 20px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.screen-content.screen-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Mini App UI Elements */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(44, 45, 40, 0.05);
  padding-bottom: 10px;
}

.app-time {
  font-size: 0.6875rem;
  font-weight: 600;
}

.app-status-title {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: var(--color-soft-olive);
}

.app-profile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-name {
  font-size: 0.6875rem;
  font-weight: 500;
}

.profile-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-sand);
  border: 1px solid var(--color-soft-olive);
}

.app-greeting {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 16px;
}

.card-glass {
  background: var(--color-glass-fill);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 16px;
}

.shadow-card {
  box-shadow: 0 8px 24px rgba(44, 45, 40, 0.04);
}

.card-tag {
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-soft-olive);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.card-title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 4px;
}

.card-sub {
  font-size: 0.6875rem;
  color: #777870;
  margin-bottom: 12px;
}

.card-progress-bar {
  height: 4px;
  background-color: var(--color-sand);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}

.bar-fill {
  height: 100%;
  background-color: var(--color-muted-green);
  transition: width 1s ease;
}

.app-action-btn {
  background-color: var(--color-charcoal);
  color: var(--color-ivory);
  border: none;
  width: 100%;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-snappy);
}

.app-action-btn:hover {
  background-color: var(--color-muted-green);
}

.card-hint {
  font-style: italic;
  font-size: 0.6875rem;
  text-align: center;
  color: var(--color-soft-olive);
  margin-top: auto;
  line-height: 1.4;
  padding: 0 10px;
}

/* Guidance Timer Screen */
.timer-label {
  font-size: 0.5625rem;
  letter-spacing: 0.15em;
  color: var(--color-soft-olive);
  font-weight: 600;
}

.ritual-step-name {
  font-size: 1rem;
  margin-bottom: 20px;
}

.circular-timer-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
}

.circular-progress-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.timer-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
}

.timer-numbers {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1;
}

.timer-sub {
  font-size: 0.5rem;
  color: var(--color-soft-olive);
  text-transform: uppercase;
  margin-top: 2px;
}

.ritual-instructions {
  font-size: 0.75rem;
  color: #666760;
  line-height: 1.5;
}

/* Streaks Screen */
.streak-hero {
  margin-bottom: 20px;
}

.streak-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  display: block;
  color: var(--color-muted-green);
}

.streak-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.streak-sub {
  font-size: 0.625rem;
  color: #777870;
  padding: 0 10px;
  line-height: 1.4;
}

.progress-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.stat-box {
  background-color: var(--color-white);
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--color-sand);
}

.stat-num {
  font-size: 1rem;
  font-weight: 600;
  display: block;
  line-height: 1.2;
}

.stat-lbl {
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-soft-olive);
}

.weekly-dots {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

.day-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--color-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--color-white);
}

.day-dot.completed {
  background-color: var(--color-soft-olive);
}

.day-dot.active-dot {
  background-color: transparent;
  border: 1px solid var(--color-charcoal);
  color: var(--color-charcoal);
  animation: pulseActiveDot 2s infinite;
}

/* Content Screen */
.library-card {
  background-color: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--color-sand);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.library-img {
  background-color: var(--color-ivory);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.library-details {
  padding: 12px;
}

.library-cat {
  font-size: 0.5rem;
  text-transform: uppercase;
  color: var(--color-soft-olive);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.library-title {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.library-excerpt {
  font-size: 0.625rem;
  color: #777870;
  line-height: 1.4;
  margin-bottom: 8px;
}

.read-time {
  font-size: 0.5625rem;
  color: var(--color-soft-olive);
  font-weight: 500;
}

/* 12. WAITLIST CARD & FORM */
.waitlist-section {
  background-color: var(--color-ivory);
}

.waitlist-card {
  background-color: var(--color-white);
  padding: 40px 24px;
  border-radius: 20px;
  border: 1px solid var(--color-sand);
  box-shadow: 0 10px 30px rgba(44, 45, 40, 0.03);
  position: relative;
  overflow: hidden;
  transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (min-width: 768px) {
  .waitlist-card {
    padding: 60px 80px;
  }
}

.waitlist-supporting {
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form {
  max-width: 420px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  background-color: var(--color-ivory);
  border: 1px solid var(--color-sand);
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-charcoal);
  transition: var(--transition-snappy);
}

.form-input:focus {
  outline: none;
  background-color: var(--color-white);
  border-color: var(--color-soft-olive);
  box-shadow: 0 0 0 3px rgba(138, 154, 134, 0.15);
}

/* Form Validation Styles */
.form-input.invalid {
  border-color: #c98888;
  background-color: #fffbfb;
}

.error-message {
  display: none;
  color: #b55555;
  font-size: 0.75rem;
  margin-top: 6px;
  padding-left: 20px;
}

.form-input.invalid + .error-message {
  display: block;
}

.waitlist-card .btn-primary {
  justify-content: center;
}

/* Success Card */
.waitlist-success {
  text-align: center;
  animation: fadeInSuccess 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  max-width: 500px;
  margin: 0 auto;
}

.success-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
}

.success-check-svg {
  width: 100%;
  height: 100%;
}

.check-circle {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: drawCircle 1s ease-in-out forwards;
}

.check-mark {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheck 0.6s 0.6s ease-in-out forwards;
}

.success-title {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.success-message {
  font-size: 1.0625rem;
  margin-bottom: 20px;
}

.success-sub {
  font-style: italic;
  font-size: 0.875rem;
  color: var(--color-soft-olive);
  margin-bottom: 32px;
}

/* 13. SITE FOOTER */
.site-footer {
  background-color: var(--color-charcoal);
  color: var(--color-sand);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
  }
}

.footer-brand .logo-main {
  color: var(--color-ivory);
}

.footer-credo {
  font-size: 0.9375rem;
  color: var(--color-sand);
  opacity: 0.7;
  margin-top: 20px;
  max-width: 320px;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-links-group {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-column h5 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-white);
  margin-bottom: 24px;
  font-weight: 600;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  font-size: 0.875rem;
  opacity: 0.6;
  font-weight: 300;
}

.footer-column a:hover {
  opacity: 1;
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 24px;
  text-align: center;
}

.copyright {
  font-size: 0.75rem;
  opacity: 0.4;
  letter-spacing: 0.02em;
}

/* 14. RESPONSIVE NAVIGATION MOBILE IMPLEMENTATION */
@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: -10px 0 30px rgba(44, 45, 40, 0.05);
    padding: 100px 40px 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .nav-link {
    font-size: 1.125rem;
  }

  /* Hamburger transform when nav is open */
  .mobile-nav-toggle.open .hamburger-bar:nth-child(1) {
    transform: rotate(45deg) translate(2px, -2px);
  }
  
  .mobile-nav-toggle.open .hamburger-bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle.open .hamburger-bar:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 2px);
  }
}

/* 15. ANIMATIONS & MICRO-INTERACTIONS */
@keyframes floatBadge {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes rotateText {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

@keyframes fadeInSuccess {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseActiveDot {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(44, 45, 40, 0.2); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(44, 45, 40, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(44, 45, 40, 0); }
}

/* Scroll Reveal States */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .tradition-badge {
    animation: none;
  }
  .circular-text {
    animation: none;
  }
}
