/* ═══════════════════════════════════════════════════════════════════════════
   Lejavu Landing Page — Design System
   Colors matched to the Lejavu mobile app dark theme.
   ═══════════════════════════════════════════════════════════════════════════ */

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

:root {
  --primary: #CCFF00;
  --primary-light: #D9FF33;
  --primary-dark: #A3CC00;
  --secondary: #00E5FF;
  --secondary-dark: #00B7CC;
  --bg: #0F0F14;
  --surface: #1A1A24;
  --surface-light: #242433;
  --surface-elevated: #2D2D3D;
  --border: #2D2D3D;
  --border-light: #3D3D52;
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --danger: #EF4444;
  --success: #10B981;
  --warning: #F59E0B;
  --protein: #EF4444;
  --carbs: #F59E0B;
  --fat: #3B82F6;
  --overlay: rgba(0,0,0,0.7);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 15, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(45, 45, 61, 0.5);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--bg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg) !important;
  padding: 10px 24px;
  border-radius: var(--radius-lg);
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(204, 255, 0, 0.3);
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(204, 255, 0, 0.3);
}

.btn-lg { padding: 20px 40px; font-size: 18px; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 60px 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(204, 255, 0, 0.1);
  border: 1px solid rgba(204, 255, 0, 0.2);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 16px; margin-bottom: 16px; }

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Hero Image ─────────────────────────────────────────────────────────── */
.hero-phone {
  display: flex;
  justify-content: center;
}

.hero-img {
  max-width: 340px;
  width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite;
}

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


/* ── Features ───────────────────────────────────────────────────────────── */
.features {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(204, 255, 0, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── AI Section ─────────────────────────────────────────────────────────── */
.ai-section {
  padding: 120px 0;
  background: var(--surface);
}

.ai-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ai-badge {
  display: inline-block;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--secondary);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.ai-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.ai-check {
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
}

/* AI Card */
.ai-visual { display: flex; justify-content: center; }

.ai-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 320px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.ai-card-header {
  padding: 16px 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}

.ai-card-body { padding: 20px; }

.ai-card-photo {
  width: 100%;
  height: 120px;
  background: var(--surface);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin-bottom: 16px;
}

.ai-card-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-result {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
}

.ai-result .lime { color: var(--primary); font-family: 'Space Grotesk', monospace; font-weight: 700; }
.ai-result .red { color: var(--protein); font-family: 'Space Grotesk', monospace; font-weight: 700; }
.ai-result .orange { color: var(--carbs); font-family: 'Space Grotesk', monospace; font-weight: 700; }
.ai-result .blue { color: var(--fat); font-family: 'Space Grotesk', monospace; font-weight: 700; }

.ai-card-status {
  padding: 12px 20px;
  font-size: 12px;
  color: var(--primary);
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ── Privacy Section ────────────────────────────────────────────────────── */
.privacy-section {
  padding: 120px 0;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.privacy-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 500;
}

.privacy-card.yes {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.privacy-card.no {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.privacy-card.yes .privacy-icon {
  color: var(--success);
  font-size: 18px;
  font-weight: 700;
}

.privacy-card.no .privacy-icon {
  color: var(--danger);
  font-size: 18px;
  font-weight: 700;
}

/* ── FAQ Section ────────────────────────────────────────────────────────── */
.faq-section {
  padding: 120px 0;
  background: var(--surface);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: rgba(204, 255, 0, 0.25);
}

.faq-item summary {
  padding: 20px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item summary:hover {
  color: var(--primary);
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-item a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.faq-item a:hover {
  color: var(--primary-light);
}

.faq-more {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 32px;
}

.faq-more a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Download CTA ───────────────────────────────────────────────────────── */
.download-section {
  padding: 120px 0;
  background: var(--surface);
}

.download-inner {
  text-align: center;
}

.download-inner .btn {
  margin: 32px auto 16px;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 64px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.footer-company {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary); }

.footer-address {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.footer-social-icon:hover {
  background: rgba(204, 255, 0, 0.1);
  border-color: rgba(204, 255, 0, 0.3);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(204, 255, 0, 0.12);
}

/* ── Animations ─────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content { animation: fadeInUp 0.8s ease-out; }
.hero-phone { animation: fadeInUp 1s ease-out 0.2s both; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 968px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-note { text-align: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-inner { grid-template-columns: 1fr; text-align: center; }
  .ai-features { align-items: center; }
  .ai-content .section-subtitle { text-align: center !important; }
  .privacy-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: 40px; }
}

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-title { font-size: 36px; letter-spacing: -1px; }
  .features-grid { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .hero-img { max-width: 260px; }
  .ai-card { width: 100%; }
  .footer-links { flex-direction: column; gap: 32px; }
}

/* Screenshots Section */
.screenshots-section {
  padding: 100px 0;
  overflow: hidden;
}

.screenshots-wrapper {
  position: relative;
  margin-top: 60px;
}

.screenshots-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 0 24px 24px;
  scrollbar-width: none;
}

.screenshots-grid::-webkit-scrollbar {
  display: none;
}

.screenshot-item {
  flex: 0 0 calc(25% - 18px);
  min-width: 220px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
  background: var(--surface);
}

.screenshot-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(163, 230, 53, 0.15);
  border-color: rgba(163, 230, 53, 0.3);
}

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

.screenshot-caption {
  text-align: center;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Arrow Buttons — desktop only */
.screenshots-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: rgba(15, 15, 20, 0.85);
  color: var(--primary);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(8px);
}

.screenshots-arrow:hover {
  background: var(--primary);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.3);
}

.screenshots-arrow:active {
  transform: translateY(-50%) scale(0.92);
}

.screenshots-arrow-left {
  left: -8px;
}

.screenshots-arrow-right {
  right: -8px;
}

@media (max-width: 1024px) {
  .screenshot-item {
    flex: 0 0 calc(33.33% - 16px);
    min-width: 200px;
  }

  .screenshots-arrow-left { left: 4px; }
  .screenshots-arrow-right { right: 4px; }
}

@media (max-width: 600px) {
  .screenshot-item {
    flex: 0 0 70%;
    min-width: 240px;
  }

  .screenshots-grid {
    gap: 16px;
  }

  /* Hide arrows on mobile — swipe works natively */
  .screenshots-arrow {
    display: none;
  }
}


