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

:root {
  --bg:         #f5f0e8;
  --bg-section: #ede8df;
  --bg-white:   #faf7f2;
  --headline:   #7e8b5a;
  --text:       #3a2e22;
  --text-sub:   #6b5744;
  --text-muted: #a08878;
  --accent:     #7e8b5a;
  --accent-2:   #c4796a;
  --border:     rgba(90,60,30,0.1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* ── Header ── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.2px;
}

.lang-switcher {
  display: flex;
  gap: 6px;
}

.lang-switcher button {
  background: none;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.04em;
}

.lang-switcher button.active,
.lang-switcher button:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(126,139,90,0.08);
}

/* ── Hero ── */
.hero-section {
  background-image: url('assets/hero-background.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  position: relative;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text h1 {
  font-family: 'Georgia', 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--headline);
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 400px;
}

.hero-divider {
  width: 40px;
  height: 2px;
  background: var(--border);
  margin-bottom: 24px;
}

.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-sub);
}

.bullet-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(126,139,90,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bullet-check svg { display: block; }

.cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.coming-soon-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coming-soon-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.coming-soon-badges {
  display: flex;
  gap: 10px;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid rgba(126,139,90,0.35);
  color: var(--text-sub);
  padding: 9px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(126,139,90,0.06);
}

/* ── Hero visual (phone mockup placeholder) ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 260px;
  aspect-ratio: 9/19;
  background: linear-gradient(160deg, #d4c9b8 0%, #b8aa96 100%);
  border-radius: 40px;
  border: 8px solid #2a2018;
  box-shadow: 0 32px 80px rgba(40,28,12,0.22), 0 4px 16px rgba(40,28,12,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ── Mobile app preview (hidden on desktop) ── */
.mobile-app-preview {
  display: none;
}

/* ── Science section ── */
.science {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 48px;
  text-align: center;
}

.science-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.science h2 {
  font-family: 'Georgia', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  color: var(--headline);
  margin-bottom: 10px;
}

.science-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 56px;
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: left;
}

.science-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.science-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(126,139,90,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.science-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.science-item p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ── Collect section ── */
.collect-section {
  background: var(--bg);
  overflow-x: clip;
}

.collect {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.collect-text h2 {
  font-family: 'Georgia', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--headline);
  line-height: 1.2;
  margin-bottom: 18px;
}

.collect-text p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 360px;
}

.btn-journey {
  display: inline-block;
  background: var(--accent-2);
  color: #fff;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-journey:hover { opacity: 0.85; }

.collect-cards {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: center;
}

.collect-cards .mini-card-real {
  margin-left: -12px;
}

.collect-cards .mini-card-real:first-child {
  margin-left: 0;
}

.mini-card {
  width: 110px;
  aspect-ratio: 3/5;
  border-radius: 16px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 8px 24px rgba(40,28,12,0.15);
}

.mini-card p {
  font-size: 9px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  font-style: italic;
  margin-bottom: 8px;
}

.mini-card span {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
}

.mini-card-real {
  width: 140px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(40,28,12,0.22);
  flex-shrink: 0;
}

.mini-card-real:nth-child(1) {
  transform: rotate(-6deg) translateY(16px);
  z-index: 1;
}

.mini-card-real:nth-child(2) {
  transform: rotate(0deg) translateY(-8px);
  z-index: 3;
}

.mini-card-real:nth-child(3) {
  transform: rotate(5deg) translateY(16px);
  z-index: 2;
}

/* ── Footer ── */
footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 48px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-text { display: flex; align-items: center; gap: 16px; }

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(126,139,90,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-copy p:first-child {
  font-size: 14px;
  color: var(--text-sub);
  font-weight: 500;
  margin-bottom: 3px;
}

.footer-copy p:last-child {
  font-size: 13px;
  color: var(--text-muted);
}

.btn-download-footer {
  display: inline-block;
  border: 1.5px solid var(--accent-2);
  color: var(--accent-2);
  text-decoration: none;
  padding: 11px 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
  background: none;
  cursor: pointer;
}

.btn-download-footer:hover {
  background: var(--accent-2);
  color: #fff;
}

.footer-legal {
  max-width: 1100px;
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
}

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

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-legal-links a:hover { color: var(--text-sub); }

/* ── Responsive ── */
@media (max-width: 768px) {
  header { padding: 18px 24px; }
  .hero  { grid-template-columns: 1fr; padding: 48px 24px 48px; gap: 40px; }
  .hero-visual { display: none; }

  .mobile-app-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px 56px;
    gap: 20px;
    background: var(--bg);
  }

  .mobile-preview-label {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
  }

  .mobile-app-preview .phone-mockup {
    width: 200px;
  }
  .science { padding: 56px 24px; }
  .science-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .collect { grid-template-columns: 1fr; padding: 56px 24px; gap: 40px; }
  footer { padding: 40px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  /* Move illustration to bottom so text area stays clean */
  .hero-section {
    background-position: bottom center;
  }

  /* Cream overlay fading down — protects text legibility */
  .hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
      rgba(245,240,232,0.82) 0%,
      rgba(245,240,232,0.55) 60%,
      rgba(245,240,232,0) 100%
    );
    pointer-events: none;
    z-index: 0;
  }

  /* Lift header and hero content above overlay */
  header, .hero {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 480px) {
  .science-grid { grid-template-columns: 1fr; }

  /* Cards: fit 3 side-by-side with overlap inside the viewport */
  .collect-cards {
    width: 100%;
    padding: 24px 0 32px;
  }

  .mini-card-real {
    /* ~28vw each, 3 cards + overlap always fits */
    width: clamp(80px, 28vw, 120px);
  }

  .collect-cards .mini-card-real:first-child {
    margin-left: 0;
  }

  .collect-cards .mini-card-real {
    margin-left: -8px;
  }

  /* Reduce tilt slightly on small screens */
  .mini-card-real:nth-child(1) {
    transform: rotate(-5deg) translateY(14px);
  }

  .mini-card-real:nth-child(2) {
    transform: rotate(0deg) translateY(-6px);
  }

  .mini-card-real:nth-child(3) {
    transform: rotate(4deg) translateY(14px);
  }
}
