/* ============================================
   Heather App - Main Stylesheet
   ============================================ */

/* ============================================
   CSS VARIABLES
============================================ */
:root {
  /* Heather Brand Colors */
  --forest-deep: #0A3A32;
  --forest-teal: #0F4C45;
  --jade: #0C5240;
  --highlight: #1B6F5D;
  --glass-shimmer: #89D0C0;
  --accent: #E1A65F;
  --accent-soft: #D7C69A;

  /* Text Colors */
  --text-main: #F3F3F0;      /* Defaulting to light text for contrast against world */
  --text-secondary: #D6D7D3;
  --text-muted: #A8B0AC;

  /* Glass Panes */
  --glass: rgba(15, 40, 40, 0.65); /* Darker glass for better contrast */
  --glass-border: rgba(255, 255, 255, 0.1);
  --card-radius: 24px;
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  --border-color: rgba(255, 255, 255, 0.15);

  --transition-speed: 0.45s;
}

/* DARK MODE OVERRIDES (Optional tweaks if needed) */
body.dark-mode {
  --text-main: #ffffff;
  --glass: rgba(0, 0, 0, 0.75);
}

/* ============================================
   BASE STYLES
============================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  /* BACKGROUND IS NOW TRANSPARENT TO SHOW THE WORLD STAGE */
  background: transparent; 
  color: var(--text-main);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  transition: color var(--transition-speed);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

/* Improve text readability against dynamic skies */
h1, h2, h3, h4 {
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

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

/* ============================================
   IMMERSIVE WORLD LAYER (The Background)
============================================ */
#world-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1; /* Behind everything */
  overflow: hidden;
  background: #0A3A32; /* Fallback color */
}

.sky-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    var(--sky-top, #051923) 0%, 
    var(--sky-bottom, #004d40) 100%
  );
  transition: background 0.1s linear; /* Smooth linear update from JS */
}

.sun {
  position: absolute;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, #FFD700 20%, rgba(255, 215, 0, 0) 70%);
  border-radius: 50%;
  box-shadow: 0 0 60px 20px rgba(255, 215, 0, 0.3);
  
  /* Set by JS */
  left: 50%;
  bottom: var(--sun-y, -150px); 
  transform: translateX(-50%);
  transition: bottom 0.1s linear, opacity 0.5s ease;
  opacity: var(--sun-opacity, 0);
}

.rain-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--rain-opacity, 0);
  transition: opacity 1.5s ease;
}

.raindrop {
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  width: 1px;
  height: 20px;
  top: -25px;
  animation: fall linear infinite;
}

@keyframes fall {
  to { transform: translateY(110vh); }
}

/* ============================================
   NAVIGATION
============================================ */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.2); /* Slight tint for nav legibility */
  transition: box-shadow 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-logo {
  opacity: 0;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  transform: translateY(-8px);
  transition: opacity .4s, transform .4s, color .2s;
}

.nav-logo.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  background: #fff;
  color: var(--forest-deep) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff !important;
}

#theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform .25s;
  margin-left: 1rem;
}

#theme-toggle:hover {
  transform: scale(1.1);
}

#mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(10, 58, 50, 0.95); /* Solid backing for readability */
  backdrop-filter: blur(20px);
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  z-index: 1999;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: #fff;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.mobile-menu a:hover {
  background: rgba(255,255,255,0.1);
}

/* ============================================
   HERO (SCROLLYTELLING)
============================================ */
.hero-container {
  height: 180vh; /* Long scroll area to control sunrise speed */
  position: relative;
}

.sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Ensure clicks pass through empty space if needed, 
     but usually we want text selectable */
}

#welcome-pill {
  position: absolute;
  top: 15%;
  background: rgba(225, 166, 95, 0.15);
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: 40px;
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 5;
  transition: opacity .3s;
  backdrop-filter: blur(4px);
}

#main-logo {
  width: 360px;
  max-width: 80%;
  z-index: 10;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
  transition: transform .35s, opacity .35s;
}

#hero-text {
  position: absolute;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .45s, transform .45s;
  text-align: center;
  padding: 0 1rem;
  z-index: 20;
}

#hero-text h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  /* Make text pop */
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  margin: 0 0 1rem;
  background: none; 
  -webkit-text-fill-color: initial;
}

.hero-tagline {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
============================================ */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.cta-button.primary {
  background: #fff;
  color: var(--forest-deep);
}

.cta-button.primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(225, 166, 95, 0.4);
}

.cta-button.secondary {
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}

.cta-button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,0,0,0.5);
}

/* ============================================
   CONTENT SECTIONS
============================================ */
.content-section {
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 10;
}

/* Removed 'alt-bg' background color to allow transparency */
.content-section.alt-bg {
  background: transparent;
}

.container {
  max-width: 980px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 3rem;
  font-weight: 700;
  color: #fff;
}

/* ============================================
   BENTO GRID & CARDS
============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* Unified Card Style for Glassmorphism */
.card, .step-card, .activity-item, .value-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 40px 30px;
  backdrop-filter: blur(20px);
  box-shadow: var(--card-shadow);
  transition: transform .35s, border-color .35s;
}

.card:hover, .step-card:hover, .activity-item:hover {
  transform: scale(1.03);
  border-color: var(--glass-shimmer);
}

.card i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.card p {
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   STEPS GRID (How It Works)
============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.step-card p {
  color: var(--text-secondary);
}

/* ============================================
   ACTIVITIES GRID
============================================ */
.activities-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.activity-item {
  text-align: center;
  padding: 1.5rem;
  min-width: 140px;
}

.activity-item i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.activity-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.activity-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   CTA CONTAINER
============================================ */
.cta-container {
  padding: 4rem;
  border-radius: 30px;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

.cta-container h2 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.cta-subtitle {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.download-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  color: var(--forest-deep);
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

.store-button i {
  font-size: 2rem;
}

.store-button div {
  text-align: left;
}

.store-label {
  font-size: 0.75rem;
  display: block;
  opacity: 0.8;
}

.store-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.store-button.disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background: #e0e0e0;
}

.beta-note {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ============================================
   FOOTER
============================================ */
footer {
  /* Glass footer to not cut off the world */
  background: rgba(5, 25, 35, 0.85); 
  backdrop-filter: blur(20px);
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 20;
}

.footer-content {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.footer-brand p {
  color: var(--text-muted);
  margin: 0;
}

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

.footer-column h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 980px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-bottom i {
  color: var(--accent);
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ============================================
   ANIMATIONS
============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s, transform .7s;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   LEGAL PAGES - ENHANCED STYLING
   Replaces sterile bullet points with
   intuitive, engaging visual design
============================================ */
.page-header {
  padding: calc(80px + 4rem) 1.5rem 3rem;
  text-align: center;
  background: transparent;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
  color: #fff;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

.legal-content, .story-content {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 3rem;
  margin-bottom: 4rem;
  border: 1px solid var(--glass-border);
}

/* Enhanced Intro Box */
.legal-intro {
  background: linear-gradient(135deg, rgba(137, 208, 192, 0.08) 0%, rgba(225, 166, 95, 0.05) 100%);
  border: 1px solid rgba(137, 208, 192, 0.15);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.legal-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--glass-shimmer), var(--accent));
  border-radius: 4px 0 0 4px;
}

.legal-intro p {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.legal-intro p:last-child {
  margin-bottom: 0;
}

/* Quick Navigation */
.legal-toc {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-toc h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-toc h4::before {
  content: '☰';
  font-size: 1rem;
}

.legal-toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-toc-list li {
  padding: 0;
  background: none;
  border: none;
}

.legal-toc-list li::before {
  display: none;
}

.legal-toc-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 25px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  text-decoration: none;
  border: 1px solid transparent;
}

.legal-toc-list a:hover {
  background: rgba(137, 208, 192, 0.12);
  color: var(--glass-shimmer);
  border-color: rgba(137, 208, 192, 0.2);
  transform: translateY(-1px);
}

.legal-toc-list a .toc-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.8;
}

/* Section Styling */
.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #fff;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(137, 208, 192, 0.25);
}

.legal-section h2 .section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(137, 208, 192, 0.15);
  border-radius: 10px;
  color: var(--glass-shimmer);
  font-size: 1rem;
}

.legal-section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--glass-shimmer);
  margin: 1.75rem 0 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-section h3::before {
  content: '›';
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
}

.legal-section > p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1rem;
}

/* Enhanced List Styling - No More Sterile Bullets! */
.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 1.125rem;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  line-height: 1.65;
  transition: all 0.25s ease;
}

.legal-section ul li:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(137, 208, 192, 0.15);
  transform: translateX(4px);
}

.legal-section ul li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background: rgba(137, 208, 192, 0.12);
  color: var(--glass-shimmer);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Bold labels in list items */
.legal-section ul li strong {
  color: #fff;
  font-weight: 600;
}

/* "We Do NOT" / Negative Lists */
.dont-list li::before {
  content: '✕' !important;
  background: rgba(255, 138, 138, 0.12) !important;
  color: #ff9b9b !important;
}

/* Warning/Acceptable Use Lists */
.warning-list li::before {
  content: '!' !important;
  background: rgba(225, 166, 95, 0.15) !important;
  color: var(--accent) !important;
  font-weight: 800 !important;
}

/* Info/Feature Lists */
.feature-list li::before {
  content: '◆' !important;
  background: rgba(137, 208, 192, 0.12) !important;
  color: var(--glass-shimmer) !important;
  font-size: 0.5rem !important;
}

/* Control/Settings Lists */
.control-list li {
  background: rgba(137, 208, 192, 0.04);
  border-color: rgba(137, 208, 192, 0.1);
}

.control-list li::before {
  content: '⚙' !important;
  background: rgba(137, 208, 192, 0.15) !important;
  color: var(--glass-shimmer) !important;
  font-size: 0.75rem !important;
}

/* Service Provider Lists */
.service-list li::before {
  content: '→' !important;
  background: rgba(225, 166, 95, 0.12) !important;
  color: var(--accent) !important;
}

/* Privacy Do/Don't Cards */
.privacy-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.privacy-card {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.privacy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.privacy-card.do-card::before {
  background: linear-gradient(90deg, var(--glass-shimmer), transparent);
}

.privacy-card.dont-card::before {
  background: linear-gradient(90deg, #ff9b9b, transparent);
}

.privacy-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.privacy-card-header i {
  font-size: 1.1rem;
}

.privacy-card.do-card .privacy-card-header {
  color: var(--glass-shimmer);
}

.privacy-card.dont-card .privacy-card-header {
  color: #ff9b9b;
}

.privacy-card-header h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.privacy-card ul {
  margin: 0;
  gap: 0.4rem;
}

.privacy-card ul li {
  padding: 0.625rem 0.875rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.02);
}

.privacy-card.do-card ul li::before {
  content: '✓';
  background: rgba(137, 208, 192, 0.15);
  color: var(--glass-shimmer);
  min-width: 18px;
  height: 18px;
  font-size: 0.6rem;
}

.privacy-card.dont-card ul li::before {
  content: '✕';
  background: rgba(255, 138, 138, 0.12);
  color: #ff9b9b;
  min-width: 18px;
  height: 18px;
  font-size: 0.6rem;
}

/* Numbered Steps List */
.numbered-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.numbered-steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  counter-increment: step-counter;
  transition: all 0.25s ease;
}

.numbered-steps li:hover {
  background: rgba(137, 208, 192, 0.06);
  border-color: rgba(137, 208, 192, 0.15);
}

.numbered-steps li::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  background: rgba(137, 208, 192, 0.15);
  color: var(--glass-shimmer);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.numbered-steps li strong {
  color: #fff;
}

/* Info Callout Boxes */
.info-box {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  margin: 1.5rem 0;
  border-left: 4px solid;
  align-items: flex-start;
}

.info-box.tip {
  background: linear-gradient(135deg, rgba(137, 208, 192, 0.08) 0%, rgba(137, 208, 192, 0.03) 100%);
  border-left-color: var(--glass-shimmer);
}

.info-box.warning {
  background: linear-gradient(135deg, rgba(225, 166, 95, 0.08) 0%, rgba(225, 166, 95, 0.03) 100%);
  border-left-color: var(--accent);
}

.info-box.important {
  background: linear-gradient(135deg, rgba(255, 138, 138, 0.06) 0%, rgba(255, 138, 138, 0.02) 100%);
  border-left-color: #ff9b9b;
}

.info-box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.info-box.tip .info-box-icon {
  background: rgba(137, 208, 192, 0.15);
  color: var(--glass-shimmer);
}

.info-box.warning .info-box-icon {
  background: rgba(225, 166, 95, 0.15);
  color: var(--accent);
}

.info-box.important .info-box-icon {
  background: rgba(255, 138, 138, 0.12);
  color: #ff9b9b;
}

.info-box-content p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.info-box-content p strong {
  color: #fff;
}

/* Disclaimer Styling */
.disclaimer-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.disclaimer-box p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.disclaimer-box p:last-child {
  margin-bottom: 0;
}

/* Contact CTA Enhancement */
.legal-section .cta-button {
  margin-top: 1.25rem;
}

.legal-section .cta-button.primary {
  background: linear-gradient(135deg, var(--glass-shimmer), var(--accent));
  color: var(--forest-deep);
  border: none;
  padding: 1rem 2rem;
  font-weight: 600;
}

.legal-section .cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(137, 208, 192, 0.25);
}

/* Rights Grid */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.right-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.25s ease;
}

.right-item:hover {
  background: rgba(137, 208, 192, 0.08);
  border-color: rgba(137, 208, 192, 0.15);
}

.right-item i {
  color: var(--glass-shimmer);
  font-size: 0.9rem;
}

.right-item span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Responsive Legal Styles */
@media (max-width: 768px) {
  .legal-content {
    padding: 1.5rem;
    border-radius: 20px;
  }
  
  .legal-intro {
    padding: 1.5rem;
  }
  
  .legal-section ul li {
    padding: 0.75rem 0.875rem;
  }
  
  .legal-toc {
    padding: 1.25rem;
  }
  
  .legal-toc-list {
    gap: 0.4rem;
  }
  
  .legal-toc-list a {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .privacy-split {
    grid-template-columns: 1fr;
  }
  
  .rights-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .legal-section h2 .section-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

/* ============================================
   ABOUT PAGE STYLING
============================================ */

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

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

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.value-icon.premium { background: rgba(225, 166, 95, 0.2); color: var(--accent); }
.value-icon.minimal { background: rgba(137, 208, 192, 0.2); color: var(--glass-shimmer); }
.value-icon.private { background: rgba(225, 166, 95, 0.2); color: var(--accent); }
.value-icon.useful  { background: rgba(137, 208, 192, 0.2); color: var(--glass-shimmer); }

.value-card h3 { margin-bottom: 0.5rem; color: #fff; }

/* Team Section */
.team-section {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.team-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.team-section p { margin-bottom: 1.5rem; color: var(--text-secondary); }

/* CTA Section (gradient) override for Glass */
.cta-section {
  background: transparent;
}
.cta-section .container {
  background: linear-gradient(135deg, rgba(137, 208, 192, 0.8) 0%, rgba(225, 166, 95, 0.8) 100%);
  padding: 4rem;
  border-radius: 30px;
  color: #000;
}
.cta-section h2, .cta-section p { color: #051923; }
.cta-section .cta-button.primary {
  background: #051923;
  color: #fff;
}

/* ============================================
   ABOUT PAGE: DYNAMIC ELEMENTS
============================================ */

/* The Split Layout for Story */
.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .story-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .story-text {
    text-align: center;
  }
  .story-text h2 {
    text-align: center !important;
  }
}

/* Floating "Doubt" Bubbles */
.doubt-cloud {
  position: relative;
  height: 300px;
  width: 100%;
}

.doubt-bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 20px;
  border-radius: 50px;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  animation: floatBubble 4s ease-in-out infinite;
}

/* Individual Bubble Positioning & Timing */
.b1 { top: 10%; left: 5%; animation-delay: 0s; font-size: 0.9rem; }
.b2 { top: 25%; right: 10%; animation-delay: 1.5s; font-size: 1.1rem; border-color: var(--accent); color: var(--accent); }
.b3 { top: 50%; left: 15%; animation-delay: 0.5s; font-size: 1rem; }
.b4 { top: 60%; right: 5%; animation-delay: 2s; font-size: 0.95rem; }
.b5 { top: 80%; left: 40%; animation-delay: 1s; font-size: 0.9rem; }

@keyframes floatBubble {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* The Solution Box */
.solution-box {
  background: linear-gradient(135deg, rgba(27, 111, 93, 0.4), rgba(10, 58, 50, 0.8));
  border: 1px solid var(--accent);
  border-radius: 30px;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(225, 166, 95, 0.15);
}

.solution-content {
  position: relative;
  z-index: 2;
}

.solution-content h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.solution-ui {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  color: var(--forest-deep);
  padding: 15px 25px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform: rotate(-2deg);
  transition: transform 0.3s;
}

.solution-ui:hover {
  transform: rotate(0deg) scale(1.05);
}

.solution-ui i {
  color: var(--highlight);
  font-size: 1.4rem;
}

/* Enhanced Bento Grid for About Page */
.bento-grid .card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* ============================================
   MOBILE RESPONSIVENESS
============================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  #mobile-menu-toggle { display: block; }
  #theme-toggle { margin-left: 0.5rem; }
  
  .content-section { padding: 3rem 1rem; }
  
  .hero-cta { flex-direction: column; align-items: center; }
  .cta-button { width: 100%; max-width: 280px; justify-content: center; }
  
  .cta-container { padding: 2.5rem 1.5rem; }
  .cta-container h2 { font-size: 1.75rem; }
  
  .footer-content, .footer-links { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .activities-grid { gap: 1rem; }
  .activity-item { min-width: 100px; padding: 1rem; }
}

@media (max-width: 480px) {
  #main-logo { width: 280px; }
  #hero-text h1 { font-size: 2.5rem; }
  .section-title { font-size: 1.75rem; }
}