/* Nuvi Design Tokens & Global CSS */
:root {
  --color-forest: #0F3D2E;
  --color-leaf: #1E6B4F;
  --color-leaf-hover: #16523c;
  --color-light-green: #D8F1E4;
  --color-mint-soft: #EEF9F3;
  --color-bg: #F7FAF7;
  --color-surface: #FFFFFF;
  --color-gold: #F3C86B;
  --color-coral: #FF8A5B;
  --color-text-main: #142820;
  --color-text-muted: #566E63;
  --color-text-light: #7E938A;
  --color-border: #E1EBE5;
  --color-border-subtle: #EDF3F0;
  
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(15, 61, 46, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 61, 46, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 61, 46, 0.12);
  --shadow-xl: 0 24px 60px rgba(15, 61, 46, 0.16);
  
  --max-width: 1200px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-forest);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: var(--color-leaf);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

button, input, textarea, select {
  font: inherit;
}

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

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-forest);
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  background-color: var(--color-light-green);
  color: var(--color-forest);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.nav-link {
  font-weight: 500;
  color: var(--color-text-main);
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-leaf);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-leaf);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-forest);
  border-radius: var(--radius-sm);
}

/* Primary & Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background-color: var(--color-leaf);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(30, 107, 79, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-leaf-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 107, 79, 0.35);
}

.btn-secondary {
  background-color: var(--color-surface);
  color: var(--color-forest) !important;
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--color-mint-soft);
  border-color: var(--color-leaf);
  transform: translateY(-2px);
}

.btn-forest {
  background-color: var(--color-forest);
  color: #FFFFFF !important;
}

.btn-forest:hover {
  background-color: #08241b;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* App Store Badges */
.app-store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background-color: var(--color-forest);
  color: #FFFFFF !important;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-badge-btn:hover {
  background-color: #061c14;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.store-badge-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: currentColor;
}

.store-badge-texts {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-badge-sub {
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 3px;
}

.store-badge-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}

/* Hero Section */
.hero {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--color-light-green);
  color: var(--color-forest);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-pill-icon {
  font-size: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--color-forest);
}

.hero-title span {
  color: var(--color-leaf);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.hero-trust-avatars {
  display: flex;
  align-items: center;
}

.hero-trust-avatars img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-bg);
  margin-left: -10px;
  object-fit: cover;
}

.hero-trust-avatars img:first-child {
  margin-left: 0;
}

.hero-trust-info {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.hero-trust-rating {
  color: #D9822B;
  font-weight: 700;
}

/* Phone Mockup Frame */
.hero-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-device-frame {
  width: 100%;
  max-width: 320px;
  background: #111B16;
  border-radius: 46px;
  padding: 10px;
  box-shadow: 0 25px 60px -15px rgba(15, 61, 46, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  transition: transform var(--transition-smooth);
}

.phone-device-frame:hover {
  transform: translateY(-6px);
}

.phone-screen-img {
  width: 100%;
  border-radius: 38px;
  display: block;
  object-fit: cover;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

/* App Screenshot Carousel Section */
.screenshots-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--color-bg) 100%);
  overflow: hidden;
}

.screenshots-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 24px 40px;
  margin: 0 -24px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-light-green) transparent;
  -webkit-overflow-scrolling: touch;
}

.screenshots-slider::-webkit-scrollbar {
  height: 8px;
}

.screenshots-slider::-webkit-scrollbar-track {
  background: transparent;
}

.screenshots-slider::-webkit-scrollbar-thumb {
  background: var(--color-light-green);
  border-radius: 10px;
}

.screenshot-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.screenshot-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-leaf);
}

.screenshot-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111B16;
  aspect-ratio: 941 / 1672;
}

.screenshot-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.screenshot-card:hover .screenshot-img-wrap img {
  transform: scale(1.03);
}

.screenshot-caption {
  padding: 14px 8px 6px;
  text-align: center;
}

.screenshot-caption h4 {
  font-size: 1rem;
  color: var(--color-forest);
  margin-bottom: 4px;
}

.screenshot-caption p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.screenshot-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
  background: var(--color-leaf);
  color: #FFFFFF;
  border-color: var(--color-leaf);
  transform: scale(1.05);
}

/* Feature Graphic Showcase */
.feature-banner-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  margin: 40px 0;
  position: relative;
  background: #000;
}

.feature-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.phone-user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.phone-greeting {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.phone-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-forest);
}

.phone-buddy-mascot {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--color-mint-soft);
  padding: 4px;
}

.phone-calorie-card {
  background: linear-gradient(135deg, var(--color-forest) 0%, #164e3b 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.phone-calorie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: 10px;
}

.phone-calorie-number {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.phone-calorie-target {
  font-size: 0.8rem;
  opacity: 0.8;
}

.phone-macros-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.phone-macro-item {
  text-align: center;
}

.phone-macro-val {
  font-size: 0.9rem;
  font-weight: 700;
}

.phone-macro-label {
  font-size: 0.65rem;
  opacity: 0.8;
  text-transform: uppercase;
}

.phone-meal-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
}

.phone-meal-img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.phone-meal-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-forest);
}

.phone-meal-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.phone-meal-cal {
  margin-left: auto;
  font-weight: 700;
  color: var(--color-leaf);
  font-size: 0.9rem;
}

.floating-badge {
  position: absolute;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: float 4s ease-in-out infinite alternate;
}

.badge-top-right {
  top: 15px;
  right: -25px;
}

.badge-bottom-left {
  bottom: 25px;
  left: -30px;
  animation-delay: -2s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

.floating-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-light-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-leaf);
  font-size: 1.2rem;
}

.floating-text-sub {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.floating-text-main {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-forest);
}

/* Feature Highlights Strip */
.highlight-strip {
  background: var(--color-forest);
  color: #FFFFFF;
  padding: 40px 0;
  position: relative;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.highlight-number {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-gold);
}

.highlight-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.highlight-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

/* Section Header Styles */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-leaf);
  background: var(--color-light-green);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--color-forest);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-light-green);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-mint-soft);
  color: var(--color-leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.6rem;
  transition: background-color var(--transition-fast);
}

.feature-card:hover .feature-icon-wrap {
  background: var(--color-light-green);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-forest);
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Feature Deep-dive Layout */
.deep-dive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-top: 60px;
}

.deep-dive-reverse {
  direction: rtl;
}

.deep-dive-reverse > * {
  direction: ltr;
}

.deep-dive-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

.deep-dive-content h3 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.deep-dive-content p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-text-main);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--color-light-green);
  color: var(--color-leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* How It Works Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.step-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-light-green);
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

/* Testimonials Wall */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-rating {
  color: #D9822B;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-forest);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-forest);
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--color-mint-soft);
  color: var(--color-leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--color-light-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
}

/* Download CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--color-forest) 0%, #16523c 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 70px 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  margin: 60px auto 100px;
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: 2.5rem;
  margin-bottom: 18px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-banner-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-mascot-img {
  max-height: 280px;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
}

/* Footer */
.site-footer {
  background: var(--color-forest);
  color: #FFFFFF;
  padding: 80px 0 30px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h4 {
  color: #FFFFFF;
  font-size: 1.4rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

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

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* Legal & Policy Pages (Privacy, Terms, Account Deletion) */
.page-header {
  background: var(--color-forest);
  color: #FFFFFF;
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  color: #FFFFFF;
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.legal-content-wrap {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 50px 60px;
  margin: -40px auto 80px;
  max-width: 900px;
  position: relative;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--color-forest);
  border-bottom: 2px solid var(--color-border-subtle);
  padding-bottom: 8px;
}

.legal-section h3 {
  font-size: 1.15rem;
  margin: 18px 0 10px;
  color: var(--color-leaf);
}

.legal-section p, .legal-section li {
  color: var(--color-text-main);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-section ul, .legal-section ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-highlight-box {
  background: var(--color-mint-soft);
  border-left: 4px solid var(--color-leaf);
  padding: 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}

.legal-highlight-box p {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--color-forest);
}

.deletion-badge-warning {
  background: #FFF5F2;
  border-left: 4px solid var(--color-coral);
  padding: 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}

.deletion-badge-warning p {
  color: #8C2B0B;
  font-weight: 500;
  margin-bottom: 0;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-forest);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-main);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-leaf);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(30, 107, 79, 0.12);
}

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

.form-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* Custom Modal Styles (Never native alert) */
dialog {
  border: none;
  border-radius: var(--radius-xl);
  padding: 0;
  background: var(--color-surface);
  box-shadow: var(--shadow-xl);
  max-width: 520px;
  width: 90%;
  margin: auto;
  overflow: hidden;
}

dialog::backdrop {
  background: rgba(15, 61, 46, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  padding: 36px 32px;
  text-align: center;
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--color-light-green);
  color: var(--color-leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--color-forest);
}

.modal-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

/* Toast Message */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--color-forest);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--color-gold);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .features-grid, .steps-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 50px 30px;
  }
  .cta-banner .app-store-badges {
    justify-content: center;
  }
  .cta-banner-media {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    align-items: center;
  }
  .app-store-badges {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .features-grid, .steps-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .highlight-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .deep-dive {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .deep-dive-reverse {
    direction: ltr;
  }
  .legal-content-wrap {
    padding: 30px 20px;
    margin-top: -20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .floating-badge {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateY(-120%);
  transition: transform var(--transition-smooth);
  z-index: 99;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
}

.mobile-nav-drawer a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-forest);
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

/* Mobile Floating Sticky Download Bar */
.mobile-floating-cta {
  display: none;
}

.floating-app-icon {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.floating-store-icon {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  fill: currentColor;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .mobile-floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px max(12px, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 20px rgba(15, 61, 46, 0.12);
    animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-floating-cta.hidden {
    display: none !important;
  }

  .floating-app-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .floating-app-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
  }

  .floating-app-texts {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .floating-app-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-forest);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }

  .floating-app-sub {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }

  .floating-app-sub .stars {
    color: #D9822B;
    font-size: 0.75rem;
  }

  .floating-cta-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .floating-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.82rem;
    color: #FFFFFF !important;
    background-color: var(--color-forest);
    box-shadow: 0 4px 12px rgba(15, 61, 46, 0.25);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .floating-btn-download:active {
    transform: scale(0.97);
  }

  .floating-store-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
  }

  .floating-close-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.3rem;
    line-height: 1;
    padding: 6px;
    cursor: pointer;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.has-floating-cta {
    padding-bottom: 74px;
  }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

