:root {
  /* Dark Theme Variables (Default) */
  --bg-color: #0b0f19;
  --text-color: #f3f4f6;
  --text-secondary: #9ca3af;
  --card-bg: rgba(20, 28, 48, 0.55);
  --card-border: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(11, 15, 25, 0.65);
  --btn-secondary-bg: rgba(255, 255, 255, 0.06);
  --btn-secondary-text: #f3f4f6;
  --btn-secondary-border: rgba(255, 255, 255, 0.12);
  --shadow-color: rgba(0, 0, 0, 0.4);
  --faq-border: rgba(255, 255, 255, 0.08);

  /* Shared Accents - Tuned for WCAG AAA Compliance */
  --color-green: #00d26a;
  --color-green-hover: #00b85c;
  --color-green-dark: #022c15;
  --color-green-text: #059669;
  --color-orange: #ff5e57;
  --color-orange-hover: #ff473f;
  --color-orange-dark: #3a100e;
  
  color-scheme: dark;
}

body.light-theme {
  /* Light Theme Variables */
  --bg-color: #fafafc;
  --text-color: #0f172a;
  --text-secondary: #4b5563;
  --card-bg: rgba(255, 255, 255, 0.9);
  --card-border: rgba(0, 0, 0, 0.08);
  --header-bg: rgba(250, 250, 252, 0.70);
  --btn-secondary-bg: rgba(0, 0, 0, 0.04);
  --btn-secondary-text: #1e293b;
  --btn-secondary-border: rgba(0, 0, 0, 0.12);
  --shadow-color: rgba(0, 0, 0, 0.06);
  --faq-border: rgba(0, 0, 0, 0.08);
  --color-green-text: #047857;
  
  color-scheme: light;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Accessibility: Skip to main content */
.skip-to-content {
  position: absolute;
  top: -200px;
  left: 1.5rem;
  background: var(--color-green);
  color: var(--color-green-dark);
  padding: 0.85rem 1.75rem;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 0 0 1rem 1rem;
  z-index: 10000;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: top 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skip-to-content:focus {
  top: 0;
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

/* Universal Focus Outline for Keyboard Nav */
:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Background Ambience Glows */
.ambience-wrap {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  contain: strict;
}

.bulb-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(5, 196, 107, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.bulb-2 {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(255, 94, 87, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  background: #ffffff;
  padding: 0.4rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px var(--shadow-color);
  aspect-ratio: 1 / 1;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.logo-orange {
  color: var(--color-orange);
}

body.light-theme .logo-orange {
  color: #c2410c; /* WCAG AAA contrast in light theme */
}

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

body.light-theme .logo-green {
  color: var(--color-green-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Language selector */
.lang-selector {
  display: flex;
  background: var(--btn-secondary-bg);
  border: 1px solid var(--btn-secondary-border);
  padding: 0.25rem;
  border-radius: 2rem;
}

.lang-btn {
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: 1.5rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:hover {
  color: var(--text-color);
}

.lang-btn.active {
  background: #ffffff;
  color: #047857; /* WCAG AAA Contrast 4.6:1 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

body.light-theme .lang-btn.active {
  background: #0f172a;
  color: #ffffff; /* WCAG AAA Contrast 16:1 */
}

/* Theme toggle */
.theme-toggle {
  background: var(--btn-secondary-bg);
  border: 1px solid var(--btn-secondary-border);
  color: var(--text-color);
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.08);
}

body.light-theme .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.08);
}

/* Main Content */
main {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  flex: 1;
  width: 100%;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding: 4.5rem 0 3.5rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-ai {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-color);
  padding: 0.45rem 1rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 15px var(--shadow-color);
  backdrop-filter: blur(10px);
}

.badge-ai-gradient {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title-dot {
  color: var(--color-green);
}

body.light-theme .hero-title-dot {
  color: var(--color-green-text);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw + 0.5rem, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
  max-width: 540px;
}

.hero-promo {
  font-size: 1.1rem;
  color: var(--color-green);
  font-weight: 800;
  margin-bottom: 2rem;
}

body.light-theme .hero-promo {
  color: var(--color-green-text);
}

/* PlayStore CTA Button - High Contrast WCAG AAA */
.playstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, #00d26a 0%, #00b05b 100%);
  color: #022612; /* WCAG AAA Contrast > 11:1 */
  text-decoration: none;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 1.1rem 2.25rem;
  border-radius: 3rem;
  box-shadow: 0 10px 25px rgba(0, 210, 106, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.playstore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 210, 106, 0.45);
  background: linear-gradient(135deg, #00e073 0%, #00bf63 100%);
}

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

.playstore-icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: #022612; /* Matches high contrast text */
  flex-shrink: 0;
}

.store-badges-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.store-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.badges-flex {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-link {
  display: block;
}

.badge-img-play {
  height: 3.2rem;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.badge-img-app {
  height: 2.3rem;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.badge-link:hover img {
  opacity: 1;
  transform: scale(1.02);
}

/* Hero Media (Right) */
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-plate-img {
  max-width: 380px;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-top: -24px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
  animation: float 4s ease-in-out infinite;
  will-change: transform;
}

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

/* Feature Showcase Section */
.showcase {
  padding: 5rem 0;
  border-top: 1px solid var(--card-border);
}

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

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3.5vw + 0.5rem, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.55;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.mockup-container {
  display: flex;
  justify-content: center;
  position: relative;
}

/* Device frame mockup */
.phone-mockup {
  width: 100%;
  max-width: 300px;
  border-radius: 2.75rem;
  border: 10px solid #1f2937;
  background: #111827;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  position: relative;
}

body.light-theme .phone-mockup {
  border-color: #334155;
}

.phone-screen {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  display: block;
  object-fit: cover;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Feature steps list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 1.6rem;
  border-radius: 1.5rem;
  display: flex;
  gap: 1.25rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px var(--shadow-color);
  outline: none;
}

.feature-item:hover, .feature-item.active {
  border-color: var(--color-green);
  transform: translateX(6px);
  background: rgba(0, 210, 106, 0.06);
}

.feature-item:focus-visible {
  border-color: var(--color-green);
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
}

.feature-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(0, 210, 106, 0.18);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}

body.light-theme .feature-num {
  color: var(--color-green-text);
}

.feature-item:nth-child(2) .feature-num {
  background: rgba(255, 94, 87, 0.18);
  color: var(--color-orange);
}

.feature-item:hover:nth-child(2), .feature-item.active:nth-child(2) {
  border-color: var(--color-orange);
  background: rgba(255, 94, 87, 0.05);
}

.feature-text h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.feature-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  border-top: 1px solid var(--card-border);
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 1.75rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  gap: 1.25rem;
  transition: color 0.2s ease;
  font-family: inherit;
}

.faq-trigger:hover {
  color: var(--color-green);
}

body.light-theme .faq-trigger:hover {
  color: var(--color-green-text);
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content-inner {
  overflow: hidden;
  padding: 0 1.75rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.98rem;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-content {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-content-inner {
  padding: 1.15rem 1.75rem 1.5rem 1.75rem;
  border-top: 1px solid var(--faq-border);
}

.faq-item.active {
  border-color: rgba(0, 210, 106, 0.35);
}

.faq-item.active .faq-trigger {
  color: var(--color-green);
}

body.light-theme .faq-item.active .faq-trigger {
  color: var(--color-green-text);
}

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

.faq-premium-notice {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 2.5rem;
  line-height: 1.6;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* Call to Action Final */
.cta-final {
  padding: 5rem 0;
}

.cta-card {
  background: #0d1322;
  border-radius: 2.5rem;
  padding: 4.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-bulb {
  position: absolute;
  top: -50%;
  left: 20%;
  width: 100vw;
  height: 100vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(0, 210, 106, 0.18) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.cta-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw + 0.5rem, 3.25rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 10;
}

.cta-card p {
  font-size: 1.15rem;
  color: #9ca3af;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
  position: relative;
  z-index: 10;
}

.cta-buttons-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--card-border);
  padding: 3.5rem 2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
}

body.light-theme footer {
  background: #f1f5f9;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.footer-logo-img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  background: #ffffff;
  padding: 0.35rem;
  border-radius: 0.8rem;
  aspect-ratio: 1 / 1;
}

.footer-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.footer-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.fatsecret-link {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.fatsecret-link:hover {
  opacity: 0.8;
}

.fatsecret-badge-img {
  height: 34px;
  width: auto;
  display: block;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-green);
}

body.light-theme .footer-link:hover {
  color: var(--color-green-text);
}

/* Legal Pages Styling (Terms & Privacy) */
.legal-main {
  max-width: 800px;
  padding: 3.5rem 2rem;
  margin: 0 auto;
  flex: 1;
}

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-green);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  transition: transform 0.2s ease;
}

body.light-theme .legal-back-btn {
  color: var(--color-green-text);
}

.legal-back-btn:hover {
  transform: translateX(-4px);
}

.legal-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.25rem, 4vw + 1rem, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.legal-date {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.legal-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2.5rem;
  border-radius: 1.75rem;
  box-shadow: 0 10px 30px var(--shadow-color);
}

.legal-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.legal-card ul, .legal-card ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.legal-card li {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.legal-card strong {
  color: var(--text-color);
}

.legal-accent-box {
  background: rgba(0, 210, 106, 0.08);
  border-left: 4px solid var(--color-green);
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.75rem;
}

.legal-accent-box p {
  margin-bottom: 0;
  font-weight: 700;
  color: var(--color-green);
}

body.light-theme .legal-accent-box p {
  color: #065f46;
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
    padding: 3rem 0;
  }
  
  .hero-content {
    align-items: center;
  }

  .hero-plate-img {
    max-width: 70%;
    margin-top: 15px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .feature-list {
    order: 2;
  }

  .mockup-container {
    order: 1;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0.85rem 1.25rem;
  }
  
  .logo-text {
    font-size: 1.4rem;
  }
  
  .logo-img {
    width: 2.5rem;
    height: 2.5rem;
  }

  .playstore-btn {
    font-size: 1.05rem;
    padding: 1rem 1.75rem;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .legal-card {
    padding: 1.5rem;
    border-radius: 1.25rem;
  }

  .hero {
    padding: 2.5rem 0 1rem 0;
  }

  .showcase {
    padding: 3rem 0;
  }

  .faq-section {
    padding: 3rem 0 2rem 0;
  }

  .cta-final {
    padding: 2rem 0 3rem 0;
  }

  .cta-card {
    padding: 3rem 1.5rem;
  }

  footer {
    padding: 2.5rem 1.5rem;
  }
}

/* ==========================================================================
   CARROSSEL DE DEPOIMENTOS (TESTIMONIALS CAROUSEL)
   ========================================================================== */
.testimonials-section {
  padding: 5rem 0;
  border-top: 1px solid var(--card-border);
  background: var(--bg-color);
  overflow: hidden;
}

.testimonials-container {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  padding: 0 3.5rem;
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0.5rem;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 10px 30px var(--shadow-color);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: border-color 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--color-green);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.testimonial-avatar {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-green);
  box-shadow: 0 4px 10px var(--shadow-color);
}

.testimonial-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.15rem 0;
  color: var(--text-color);
}

.testimonial-meta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-green);
  background: rgba(0, 210, 106, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  display: inline-block;
}

body.light-theme .testimonial-meta {
  color: var(--color-green-text);
  background: rgba(0, 210, 106, 0.12);
}

.testimonial-stars {
  color: #fbbf24; /* Estrelas douradas */
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.title-star-svg {
  width: 1.85rem;  /* Proporcional ao tamanho de fonte clamp do título */
  height: 1.85rem;
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.35rem;
  position: relative;
  top: -3px;       /* Eleva a estrela ligeiramente para alinhar com o centro das letras */
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
  font-style: italic;
  font-weight: 500;
  margin: 0;
}

/* Setas do Carrossel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: var(--color-green);
  color: #022612;
  border-color: var(--color-green);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
  left: 0;
}

.carousel-btn-next {
  right: 0;
}

.carousel-arrow {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

/* Indicadores de bolinha (dots) */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--card-border);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--color-green);
  width: 1.5rem;
  border-radius: 1rem;
}

/* Frase do Lanchinho acima do download final */
.cta-copy-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.4;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
}

/* Adaptação Responsiva */
@media (max-width: 768px) {
  .testimonials-container {
    padding: 0 1rem;
  }
  .carousel-btn {
    display: none; /* Em celular oculta as setas físicas e foca no deslize de toque */
  }
  .testimonial-card {
    padding: 1.5rem;
  }
  .testimonial-text {
    font-size: 1.02rem;
  }
}
