/* === MY OWN PACE — Website Styles === */

/* Fonts */
@import url('../assets/fonts/fonts.css');

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Variables */
:root {
  --cream: #F7F4EE;
  --cream-warm: #F5F0E8;
  --green-dark: #1E3320;
  --green-header: #3D5A2E;
  --accent-green: #ADBE56;
  --accent-green-hover: #9AAD45;
  --tan: #8B7355;
  --text-dark: #1A1A1A;
  --text-muted: #6B6B6B;
  --text-light: #9B9B9B;
  --border: #E8E4DC;
  --card-bg: #FFFFFF;
  --gold: #D4A843;
  --font-body: 'Nunito', sans-serif;
  --font-slogan: 'Montserrat', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  font-size: 16px;
}

@media (min-width: 901px) {
  html {
    font-size: clamp(13px, 0.55vw + 5.5px, 18px);
  }
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(247, 244, 238, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

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

.nav-logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--green-dark);
  letter-spacing: -0.019rem;
}

.nav-logo span {
  color: var(--accent-green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 2rem);
  list-style: none;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--tan);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--green-dark);
}

.nav-cta {
  background: var(--accent-green);
  color: var(--green-dark) !important;
  padding: 0.625rem 1.5rem;
  border-radius: 999px;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--accent-green-hover);
  transform: translateY(-1px);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--green-dark);
  margin: 0.375rem 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7.5rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(173, 190, 86, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 70rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(173, 190, 86, 0.15);
  color: var(--green-header);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.031rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.0625rem;
}

.hero-slogan {
  font-family: var(--font-slogan);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--tan);
  max-width: 30rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-green);
  color: var(--green-dark);
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(173, 190, 86, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--green-dark);
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--accent-green);
  transform: translateY(-2px);
}

/* Hero visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ===== iPHONE FRAME ANIMATION ===== */
.iphone-frame {
  width: min(18.75rem, 26vw);
  aspect-ratio: 300 / 620;
  background: #1A1A1A;
  border-radius: 44px;
  padding: 0.75rem;
  position: relative;
  box-shadow:
    0 0 0 2px #333,
    0 20px 60px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  flex-shrink: 0;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: #F7F4EE;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}

.dynamic-island {
  position: absolute;
  top: 0.625rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5.625rem;
  height: 1.625rem;
  background: #1A1A1A;
  border-radius: 20px;
  z-index: 100;
}

.status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 1.5rem 0.375rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Nunito', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #1A1A1A;
  z-index: 90;
}

.status-bar-right {
  display: flex;
  gap: 0.1875rem;
  align-items: center;
}

.status-bar-right svg { display: block; }

.tab-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3.5rem;
  background: #F5F0E8;
  border-top: 1px solid #E8E4DC;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: 0.125rem;
  z-index: 50;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.0625rem;
}

.tab-item img {
  width: 1.625rem;
  height: 1.625rem;
  object-fit: contain;
  opacity: 0.35;
  filter: grayscale(50%);
  transition: all 0.3s ease;
}

.tab-item.active img {
  opacity: 1;
  filter: grayscale(0%);
}

.tab-item span {
  font-size: 0.5625rem;
  font-weight: 700;
  color: #8B7355;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.tab-item.active span {
  color: #ADBE56;
  opacity: 1;
}

.screens-container {
  position: absolute;
  top: 3rem;
  left: 0;
  right: 0;
  bottom: 3.5rem;
  overflow: hidden;
}

.screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #F7F4EE;
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow-y: hidden;
  padding: 1rem;
  text-align: left;
}

.screen.active { opacity: 1; }

/* Journey screen */
.journey-title {
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: left;
}
.journey-title .dark { color: #1E3320; }
.journey-title .green { color: #ADBE56; }

.sheldon-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 1.25rem;
  margin-top: 0.75rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sheldon-img {
  width: 6.25rem;
  height: 6.25rem;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  transition: opacity 0.6s ease;
}

.sheldon-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1E3320;
  margin-top: 0.5rem;
}

.sheldon-subtitle {
  font-size: 0.75rem;
  color: #8B7355;
  margin-top: 0.125rem;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 0.75rem;
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-item:first-child {
  border-right: 1px solid #E8E4DC;
}

.stat-number {
  font-size: 1.375rem;
  font-weight: 800;
  color: #1E3320;
}

.stat-label {
  font-size: 0.625rem;
  color: #8B7355;
  line-height: 1.2;
}

.tab-toggle {
  display: flex;
  gap: 0;
  margin-top: 0.75rem;
}

.tab-toggle-btn {
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.6875rem;
  font-weight: 700;
  border: none;
}

.tab-toggle-btn.active {
  background: #ADBE56;
  color: white;
}

.tab-toggle-btn.inactive {
  background: transparent;
  color: #8B7355;
}

.journey-quote {
  font-size: 0.75rem;
  font-style: italic;
  color: #8B7355;
  text-align: center;
  margin-top: 0.875rem;
}

.energy-title {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.094rem;
  color: #1E3320;
  margin-top: 1rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.625rem;
}

.category-tile {
  border-radius: 12px;
  padding: 0.625rem 0.375rem;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.category-tile.visible {
  opacity: 1;
  transform: translateY(0);
}

.category-tile img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.category-tile span {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  color: #1E3320;
  margin-top: 0.25rem;
}

.cat-mind { background: #F5E6A3; }
.cat-body { background: #C8E6C0; }
.cat-social { background: #F5CCC8; }
.cat-growth { background: #FFD4A8; }
.cat-environment { background: #B8D8E8; }
.cat-unwind { background: #DDD5F3; }

.journey-scroll-content {
  transition: transform 0.8s ease;
}

/* Today screen */
.today-greeting {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: left;
}
.today-greeting .dark { color: #1E3320; }
.today-greeting .green { color: #ADBE56; }

.today-date {
  font-size: 0.6875rem;
  color: #8B7355;
  margin-top: 0.125rem;
}

.sheldon-bubble {
  background: #FFFFFF;
  border: 1.5px solid #E8E4DC;
  border-radius: 12px;
  padding: 0.75rem;
  margin-top: 0.625rem;
}

.sheldon-bubble-name {
  font-size: 0.6875rem;
  font-weight: 800;
  color: #ADBE56;
  margin-bottom: 0.25rem;
}

.sheldon-bubble-text {
  font-size: 0.6875rem;
  color: #1E3320;
  line-height: 1.4;
}

.add-habit {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ADBE56;
  margin-top: 0.625rem;
}

.day-selector {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.625rem;
}

.day-circle {
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: #1E3320;
  border: 1px solid #E8E4DC;
  background: white;
}

.day-circle.active {
  background: #ADBE56;
  color: white;
  border-color: #ADBE56;
}

.habit-card {
  border-radius: 14px;
  padding: 0.75rem;
  margin-top: 0.5rem;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

.habit-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.habit-category {
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.031rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.habit-category .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
}

.habit-name {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #1E3320;
  margin-top: 0.125rem;
}

.habit-status {
  font-size: 0.625rem;
  color: #5a5a5a;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.habit-check-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  opacity: 0.4;
}

.habit-unwind { background: #DDD5F3; }
.habit-unwind .dot { background: #7C6BC4; }
.habit-unwind .habit-category { color: #7C6BC4; }
.habit-unwind .habit-check-btn { background: #c9bfea; }

.habit-body { background: #C8E6C0; }
.habit-body .dot { background: #4A8C3F; }
.habit-body .habit-category { color: #4A8C3F; }
.habit-body .habit-check-btn { background: #a8d8a0; }

.habit-mind { background: #F5E6A3; }
.habit-mind .dot { background: #C4A835; }
.habit-mind .habit-category { color: #C4A835; }
.habit-mind .habit-check-btn { background: #edd97a; }

/* Check-in bottom sheet */
.bottom-sheet-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.bottom-sheet-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -100%;
  background: white;
  border-radius: 20px 20px 0 0;
  padding: 0.75rem 1.25rem 1.5rem;
  z-index: 70;
  transition: bottom 0.4s ease;
  text-align: center;
}

.bottom-sheet.active { bottom: 0; }

.sheet-handle {
  width: 2.25rem;
  height: 4px;
  background: #D0CBC3;
  border-radius: 2px;
  margin: 0 auto 1rem;
}

.sheet-icon {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.sheet-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #1E3320;
  margin-top: 0.625rem;
}

.sheet-accent {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ADBE56;
  margin-top: 0.25rem;
}

.sheet-body {
  font-size: 0.75rem;
  color: #8B7355;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.sheet-sheldon {
  background: #F7F4EE;
  border-radius: 12px;
  padding: 0.75rem;
  margin-top: 0.75rem;
  text-align: left;
}

.sheet-sheldon-name {
  font-size: 0.625rem;
  font-weight: 800;
  color: #1E3320;
  letter-spacing: 0.031rem;
}

.sheet-sheldon-text {
  font-size: 0.6875rem;
  color: #1E3320;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.sheet-btn {
  background: #ADBE56;
  color: white;
  border: none;
  border-radius: 24px;
  padding: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  width: 100%;
  margin-top: 0.875rem;
}

/* Friends screen */
.friends-title {
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: left;
}
.friends-title .dark { color: #1E3320; }
.friends-title .green { color: #ADBE56; }

.friends-bell {
  position: absolute;
  top: 1rem;
  right: 1rem;
  line-height: 0;
}

.friends-illustration {
  width: 11.25rem;
  height: 11.25rem;
  object-fit: contain;
  display: block;
  margin: 1.5rem auto 0;
}

.friends-heading {
  font-size: 1.125rem;
  font-weight: 800;
  color: #1E3320;
  text-align: center;
  margin-top: 1rem;
}

.friends-body {
  font-size: 0.75rem;
  color: #8B7355;
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.5;
  padding: 0 0.5rem;
}

.friends-btn {
  background: #ADBE56;
  color: #1E3320;
  border: none;
  border-radius: 28px;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 800;
  width: 100%;
  margin-top: 1.25rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === SECTION SHARED === */
.section {
  padding: clamp(4rem, 8vw, 6.25rem) 1.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.094rem;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.031rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--tan);
  max-width: 35rem;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* === PHILOSOPHY === */
.philosophy {
  background: var(--accent-green);
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(173, 190, 86, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.philosophy-inner {
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.philosophy .section-label {
  color: var(--green-dark);
}

.philosophy .section-title {
  color: var(--green-dark);
}

.philosophy-text {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--green-dark);
  line-height: 1.8;
  margin-top: 1.5rem;
  opacity: 0.8;
}

.philosophy-text strong {
  color: var(--green-dark);
  font-weight: 700;
}

.philosophy-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}

.philosophy-value {
  padding: 2rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.philosophy-value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.philosophy-value h3 {
  color: var(--green-dark);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.philosophy-value p {
  color: var(--tan);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* === FEATURES === */
.features-inner {
  max-width: 70rem;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(30, 51, 32, 0.06);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.feature-icon.green { background: rgba(173, 190, 86, 0.15); }
.feature-icon.gold { background: rgba(212, 168, 67, 0.15); }
.feature-icon.tan { background: rgba(139, 115, 85, 0.12); }
.feature-icon.dark { background: rgba(30, 51, 32, 0.08); }

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 1.0625rem;
  color: var(--tan);
  line-height: 1.6;
}

/* Feature highlight (large card) */
.feature-highlight {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--border);
}

.feature-highlight-content h3 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 0.75rem;
}

.feature-highlight-content p {
  font-size: 1rem;
  color: var(--tan);
  line-height: 1.7;
}

.feature-highlight-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-highlight-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--cream-warm);
  border-radius: var(--radius-sm);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 600;
}

/* === HOW IT WORKS === */
.how-it-works {
  background: var(--cream-warm);
}

.how-inner {
  max-width: 70rem;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(33.33% - 20px);
  right: calc(33.33% - 20px);
  height: 2px;
  background: var(--border);
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: clamp(4rem, 6vw, 5rem);
  height: clamp(4rem, 6vw, 5rem);
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-green);
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 1.0625rem;
  color: var(--tan);
  line-height: 1.6;
  max-width: 17.5rem;
  margin: 0 auto;
}

/* === FAQ === */
.faq-inner {
  max-width: 45rem;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(30, 51, 32, 0.04);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green-dark);
  text-align: left;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-green);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 1.0625rem;
  color: var(--tan);
  line-height: 1.7;
}

/* === CTA === */
.cta {
  background: var(--accent-green);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(173, 190, 86, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: 40rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta .section-title {
  color: var(--green-dark);
}

.cta p {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--green-dark);
  opacity: 0.8;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.store-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badges img {
  display: block;
  height: 40px;
  width: auto;
  transition: transform 0.2s;
}

.store-badges a:hover img {
  transform: translateY(-2px);
}

/* === FOOTER === */
.footer {
  background: var(--cream-warm);
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 70rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--green-dark);
}

.footer-brand span {
  color: var(--accent-green);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tan);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green-dark);
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-light);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--white);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  color: var(--accent-green);
  border-color: var(--accent-green);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social a:nth-child(2) svg,
.footer-social a:nth-child(3) svg {
  fill: currentColor;
  stroke: none;
}

.footer-articles h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

/* === LEGAL PAGES (Privacy, Terms, Support) === */
.legal-page {
  padding: 7.5rem 1.5rem 5rem;
}

.legal-inner {
  max-width: 45rem;
  margin: 0 auto;
}

.legal-inner h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.legal-inner .legal-updated {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.legal-inner h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-inner h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal-inner h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}

.legal-inner p {
  font-size: 1rem;
  color: var(--tan);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-inner ul {
  margin: 0 0 1rem 1.5rem;
  color: var(--tan);
  font-size: 1rem;
  line-height: 1.8;
}

.legal-inner a {
  color: var(--accent-green);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(173, 190, 86, 0.4);
  text-underline-offset: 3px;
}

.legal-inner a:hover {
  text-decoration-color: var(--accent-green);
}

/* Support page specific */
.support-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 2rem;
}

.support-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.support-card p {
  margin-bottom: 0.5rem;
}

.support-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--green-dark);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* === ARTICLE PAGES (long-form content) === */
.article-page {
  padding: 8rem 1.5rem 6rem;
  background: var(--cream);
}

.article-inner {
  max-width: 44rem;
  margin: 0 auto;
}

.article-meta {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 2rem;
  font-weight: 600;
}

.article-inner h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--green-dark);
  margin-bottom: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.article-inner h1 + p {
  font-size: 1.375rem;
  line-height: 1.6;
  color: var(--green-dark);
  margin-bottom: 3rem;
  font-weight: 500;
}

.article-inner h1 + p strong:first-child {
  display: inline;
  font-weight: 700;
}

.article-inner h2 {
  font-size: 2rem;
  line-height: 1.3;
  color: var(--green-dark);
  margin-top: 5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 0.75rem;
}

.article-inner h2::after {
  content: "";
  display: block;
  width: 44rem;
  max-width: 100%;
  height: 3px;
  background: var(--accent-green);
  margin-top: 0.75rem;
  border-radius: 2px;
}

.article-inner p {
  font-size: 1.1875rem;
  line-height: 1.75;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
}

.article-inner ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.article-inner ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.25rem;
  font-size: 1.1875rem;
  line-height: 1.75;
  color: var(--green-dark);
}

.article-inner ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.625rem;
  height: 0.625rem;
  background: var(--accent-green);
  border-radius: 50%;
}

.article-pullquote {
  font-size: 1.75rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--green-dark);
  border-left: 4px solid var(--accent-green);
  padding: 0.5rem 0 0.5rem 2rem;
  margin: 2.5rem 0;
  font-style: italic;
  letter-spacing: -0.01em;
}

.article-divider {
  border: none;
  border-top: 1px solid var(--border);
  width: 4rem;
  margin: 3rem auto;
}

.article-cta {
  background: #FFFFFF;
  border: 2px solid var(--accent-green);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin-top: 5rem;
  text-align: center;
}

.article-cta h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.article-cta h2::after {
  display: none;
}

.article-cta p {
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

@media (max-width: 640px) {
  .article-page {
    padding: 6rem 1.25rem 4rem;
  }

  .article-inner h1 {
    font-size: 2.25rem;
  }

  .article-inner h1 + p {
    font-size: 1.1875rem;
  }

  .article-inner h2 {
    font-size: 1.625rem;
    margin-top: 3.5rem;
  }

  .article-inner p,
  .article-inner ul li {
    font-size: 1.0625rem;
  }

  .article-pullquote {
    font-size: 1.375rem;
    padding-left: 1.25rem;
    margin: 3rem 0;
  }

  .article-cta {
    padding: 2rem 1.5rem;
  }
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid items */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .iphone-frame {
    width: 260px;
    aspect-ratio: 300 / 620;
    border-radius: 38px;
    padding: 10px;
  }

  .iphone-screen {
    border-radius: 30px;
  }

  .philosophy-values {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .feature-highlight {
    grid-column: span 1;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps::before {
    display: none;
  }

  .philosophy-value p,
  .feature-card p,
  .step p {
    font-size: 0.9375rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 64px 20px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
