@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --color-sage: #87A96B;
  --color-sage-light: #A3C08A;
  --color-sage-dark: #5A7D4A;
  --color-sage-bg: #EEF4E7;
  --color-cream: #F5F1E8;
  --color-cream-dark: #EBE4D4;
  --color-white: #FFFFFF;
  --color-dark: #2D2D2D;
  --color-text: #3A3A3A;
  --color-text-light: #6B6B6B;
  --color-border: #E0DCD3;
  --color-success: #4CAF50;
  --color-danger: #E57373;
  --color-warning: #FFB74D;
  --color-info: #64B5F6;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.12);

  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-cream);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-dark);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

a {
  color: var(--color-sage-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-sage);
}

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

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  outline: none;
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAVIGATION */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-dark);
  text-decoration: none;
}

.nav-brand svg {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-sage-dark);
  background: var(--color-sage-bg);
}

.nav-links .btn-nav {
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.btn-nav-primary {
  background: var(--color-sage);
  color: var(--color-white) !important;
}

.btn-nav-primary:hover {
  background: var(--color-sage-dark) !important;
  color: var(--color-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(135, 169, 107, 0.35);
}

.btn-nav-outline {
  border: 2px solid var(--color-sage);
  color: var(--color-sage-dark) !important;
}

.btn-nav-outline:hover {
  background: var(--color-sage) !important;
  color: var(--color-white) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* HERO SECTION */
.hero {
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--color-sage-bg);
  color: var(--color-sage-dark);
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.3px;
}

.hero h1 {
  max-width: 700px;
  margin: 0 auto 1rem;
}

.hero h1 span {
  color: var(--color-sage);
}

.hero p {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-sage);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(135, 169, 107, 0.35);
  color: var(--color-white);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-sage-dark);
  border: 2px solid var(--color-sage);
}

.btn-secondary:hover {
  background: var(--color-sage);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-sage-dark);
}

.btn-white:hover {
  background: var(--color-cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-sage-dark);
}

.btn-danger {
  background: var(--color-danger);
  color: var(--color-white);
}

.btn-danger:hover {
  background: #D32F2F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 115, 115, 0.35);
  color: var(--color-white);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* SECTIONS */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.05rem;
}

.section-badge {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  background: var(--color-sage-bg);
  color: var(--color-sage-dark);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.step-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-sage-bg);
  color: var(--color-sage-dark);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.step-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* FEATURE CARDS */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-sage-bg);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.93rem;
}

.feature-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.75rem;
}

.badge-free {
  background: var(--color-sage-bg);
  color: var(--color-sage-dark);
}

.badge-premium {
  background: #FFF3E0;
  color: #E65100;
}

/* PRICING CARDS */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--color-sage);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.05);
}

.pricing-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: var(--color-sage);
  color: var(--color-white);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--color-dark);
  margin: 0.75rem 0 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.pricing-subtitle {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text);
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 16px;
  height: 16px;
  background: var(--color-sage-bg);
  border-radius: 50%;
}

.pricing-features li::after {
  content: '✓';
  position: absolute;
  left: 3px;
  top: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-sage-dark);
}

/* COMPARISON TABLE */
.comparison-table {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto 0;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  background: var(--color-sage-bg);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.95rem;
}

.comparison-table td {
  font-size: 0.93rem;
  color: var(--color-text);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.check-icon { color: var(--color-sage); font-weight: 700; }
.cross-icon { color: #ccc; }
.premium-tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: #FFF3E0;
  color: #E65100;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* CARDS */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

/* FORMS */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-dark);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-text);
  transition: all 0.2s ease;
  font-size: 1rem;
}

.form-input:focus {
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(135, 169, 107, 0.15);
}

.form-input::placeholder {
  color: #BDBDBD;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--color-sage);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.5;
}

.form-checkbox label a {
  color: var(--color-sage-dark);
  text-decoration: underline;
}

.form-link {
  font-size: 0.9rem;
  color: var(--color-sage-dark);
  text-decoration: underline;
  font-weight: 500;
}

.form-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.93rem;
  color: var(--color-text-light);
}

.form-footer a {
  color: var(--color-sage-dark);
  font-weight: 500;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  color: var(--color-danger);
  font-size: 0.82rem;
  margin-top: 0.3rem;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 2rem) 1.5rem 2rem;
}

.auth-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.auth-card .auth-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* DASHBOARD */
.dashboard-page {
  padding-top: calc(var(--header-height) + 1.5rem);
  padding-bottom: 3rem;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.dashboard-header h1 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.dashboard-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.dashboard-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--color-sage-dark);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 0.2rem;
}

/* HABIT LIST */
.habit-list {
  list-style: none;
}

.habit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--color-border);
  gap: 0.75rem;
}

.habit-item:last-child {
  border-bottom: none;
}

.habit-info {
  flex: 1;
  min-width: 0;
}

.habit-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark);
}

.habit-meta {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-top: 2px;
}

.habit-streak {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  background: #FFF3E0;
  color: #E65100;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.habit-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-size: 1rem;
}

.habit-check.done {
  background: var(--color-sage);
  border-color: var(--color-sage);
  color: var(--color-white);
}

/* CALENDAR */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day-header {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-light);
  padding: 0.3rem 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  cursor: default;
  background: var(--color-cream);
  color: var(--color-text-light);
}

.calendar-day.today {
  border: 2px solid var(--color-sage);
  font-weight: 600;
  color: var(--color-sage-dark);
}

.calendar-day.done {
  background: var(--color-sage);
  color: var(--color-white);
  font-weight: 500;
}

.calendar-day.empty {
  background: transparent;
}

/* TABS */
.tabs-nav {
  display: flex;
  gap: 0.25rem;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.tab-btn {
  padding: 0.6rem 1.2rem;
  background: none;
  border: none;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text-light);
  position: relative;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}

.tab-btn.active {
  color: var(--color-sage-dark);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-sage);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ALERT / NOTIFICATION */
.alert {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.alert-success {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
}

.alert-info {
  background: #E3F2FD;
  color: #1565C0;
  border: 1px solid #BBDEFB;
}

/* FAQ */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}

.faq-question {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  padding: 0;
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--color-sage);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding-top: 0.75rem;
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
}

.contact-info-list {
  list-style: none;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-info-item:first-child {
  padding-top: 0;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--color-sage-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* POLICY PAGES */
.policy-content {
  max-width: 750px;
  margin: 0 auto;
}

.policy-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.policy-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.policy-content p,
.policy-content li {
  color: var(--color-text);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.policy-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-content .last-updated {
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 2rem;
}

/* FOOTER */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer h4 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-sage-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.footer-legal a:hover {
  color: var(--color-sage-light);
}

/* CTA SECTION */
.cta-section {
  background: var(--color-sage-bg);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.cta-section h2 {
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: var(--color-text-light);
  max-width: 500px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

/* SETTINGS PAGE */
.settings-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}

.settings-sidebar {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.settings-nav {
  list-style: none;
}

.settings-nav li a {
  display: block;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.settings-nav li a:hover,
.settings-nav li a.active {
  background: var(--color-sage-bg);
  color: var(--color-sage-dark);
}

.settings-content {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.settings-section {
  margin-bottom: 2.5rem;
}

.settings-section:last-child {
  margin-bottom: 0;
}

.settings-section h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.toggle-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.toggle-switch:last-child {
  border-bottom: none;
}

.toggle-label h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.toggle-label p {
  font-size: 0.82rem;
  color: var(--color-text-light);
}

.toggle-input {
  display: none;
}

.toggle-track {
  width: 44px;
  height: 24px;
  background: #ccc;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.toggle-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.toggle-input:checked + .toggle-track {
  background: var(--color-sage);
}

.toggle-input:checked + .toggle-track::after {
  transform: translateX(20px);
}

/* PAGE HEADER */
.page-header {
  padding: calc(var(--header-height) + 2.5rem) 0 2rem;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ABOUT PAGE */
.about-story {
  max-width: 750px;
  margin: 0 auto;
}

.about-story p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.about-illustration {
  text-align: center;
  padding: 2rem;
  font-size: 4rem;
}

/* MOBILE NAV OVERLAY */
.nav-overlay {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 260px;
    height: calc(100vh - var(--header-height));
    background: var(--color-white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    display: block;
    padding: 0.7rem 1rem;
  }

  .nav-links .btn-nav {
    text-align: center;
    margin-top: 0.5rem;
  }

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

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

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

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

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

@media (max-width: 480px) {
  .hero {
    padding-top: calc(var(--header-height) + 1.5rem);
  }

  .auth-card {
    padding: 1.5rem;
  }

  .pricing-card {
    padding: 1.75rem 1.5rem;
  }
}

/* UTILITIES */
.text-center { text-align: center; }
.text-green { color: var(--color-sage); }
.text-dark-green { color: var(--color-sage-dark); }
.text-muted { color: var(--color-text-light); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

/* DARK MODE - applied via class on body */
body.dark-mode {
  --color-cream: #1E1E1E;
  --color-cream-dark: #2A2A2A;
  --color-white: #2A2A2A;
  --color-dark: #E0E0E0;
  --color-text: #D0D0D0;
  --color-text-light: #A0A0A0;
  --color-border: #3A3A3A;
  --color-sage-bg: #2C3A24;
  background-color: #1E1E1E;
}

body.dark-mode .navbar {
  background: rgba(30, 30, 30, 0.92);
}

body.dark-mode .nav-links a {
  color: #D0D0D0;
}

body.dark-mode .nav-links a:hover,
body.dark-mode .nav-links a.active {
  color: var(--color-sage-light);
  background: #2C3A24;
}

body.dark-mode .stat-value {
  color: var(--color-sage-light);
}

body.dark-mode .calendar-day {
  background: #1E1E1E;
  color: #A0A0A0;
}

body.dark-mode .calendar-day.done {
  background: var(--color-sage);
  color: #fff;
}

body.dark-mode .footer {
  background: #151515;
}

body.dark-mode .comparison-table th {
  background: #2C3A24;
}

body.dark-mode .btn-white {
  background: #3A3A3A;
  color: #E0E0E0;
}

body.dark-mode .btn-white:hover {
  background: #4A4A4A;
}

body.dark-mode .toggle-track {
  background: #555;
}

body.dark-mode .hamburger span {
  background: #E0E0E0;
}

body.dark-mode .btn-nav-outline {
  color: var(--color-sage-light) !important;
  border-color: var(--color-sage);
}

body.dark-mode .form-input {
  background: #333;
  border-color: #444;
  color: #D0D0D0;
}

body.dark-mode .form-input:focus {
  border-color: var(--color-sage);
}

body.dark-mode .pricing-card {
  background: #2A2A2A;
}

body.dark-mode .pricing-card.featured {
  background: #1E1E1E;
}

body.dark-mode .btn-secondary {
  background: #3A3A3A;
  color: var(--color-sage-light);
}

body.dark-mode .alert-success {
  background: #1B3A1B;
  color: #81C784;
  border-color: #2E5A2E;
}

body.dark-mode .alert-info {
  background: #1A2E40;
  color: #64B5F6;
  border-color: #2A4A60;
}

body.dark-mode .cal-heatmap-day {
  background: #333;
}

body.dark-mode .cal-heatmap-day[data-level="1"] { background: #1B3A1B; }
body.dark-mode .cal-heatmap-day[data-level="2"] { background: #2E5A2E; }
body.dark-mode .cal-heatmap-day[data-level="3"] { background: #4A7A3A; }
body.dark-mode .cal-heatmap-day[data-level="4"] { background: #6B9A4A; }
