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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #FAFAF2;
  color: #333;
  overflow-x: hidden;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  z-index: 100;
}

.nav-logo-container {
  height: 40px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid #E0DDD4;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nav-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-actions {
  display: flex;
  gap: 12px;
}

/* ── Buttons ── */
.btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  padding: 12px 26px;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.btn-outline {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #ddd;
}

.btn-outline:hover {
  border-color: #aaa;
  background: #fafafa;
}

.btn-dark {
  background: #1a1a1a;
  color: #fff;
}

.btn-dark:hover {
  background: #333;
}

.btn-dark:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Sections ── */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ── Hero Section ── */
.section-hero {
  padding-top: 80px;
  background: linear-gradient(180deg, #F5F3E0 0%, #FAFAF2 35%);
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 24px 20px;
  max-width: 900px;
  width: 100%;
}

/* ── Hero Text ── */
.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: 3.8rem;
  line-height: 1.1;
  color: #1a1a1a;
  text-align: center;
  font-weight: 400;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #777;
  text-align: center;
  margin-bottom: 32px;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  margin-top: 32px;
  margin-bottom: 8px;
  animation: bounce 2s ease-in-out infinite;
  transition: opacity 0.4s ease;
  opacity: 1;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ── Email Form ── */
.email-form {
  width: 100%;
  max-width: 480px;
}

.form-group {
  display: flex;
  align-items: center;
  border: 1px solid #E0DDD4;
  border-radius: 50px;
  background: #F8F7F2;
  padding: 4px;
}

.form-group input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  background: transparent;
  color: #333;
  outline: none;
  min-width: 0;
}

.form-group input::placeholder {
  color: #aaa;
}

.form-btn {
  white-space: nowrap;
  padding: 13px 24px;
  flex-shrink: 0;
}

.form-btn .arrow {
  margin-left: 4px;
}

.form-error {
  color: #D32F2F;
  font-size: 0.82rem;
  margin-top: 10px;
  text-align: center;
}

/* ── Section Footer ── */
.section-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 40px;
  font-size: 0.78rem;
  color: #aaa;
}

.section-footer strong {
  font-weight: 700;
  color: #888;
}

.footer-note {
  max-width: 400px;
  text-align: center;
  line-height: 1.4;
}

/* ── Floating Food Items ── */
.floating-foods {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}

.food-item {
  position: absolute;
  transition: transform 0.3s ease;
}

.food-tomato {
  left: -50px;
  bottom: 10%;
  transform: rotate(15deg);
}

.food-lemon {
  left: -10px;
  top: 28%;
  transform: rotate(-5deg);
}

.food-leaf {
  left: 24%;
  top: 14%;
  transform: rotate(10deg);
  animation: gentle-float 6s ease-in-out infinite;
}

.food-kiwi {
  right: -20px;
  top: 10%;
  transform: rotate(-10deg);
}

.food-cherry {
  right: 11%;
  top: 36%;
  transform: rotate(5deg);
  animation: gentle-float 5s ease-in-out infinite 1s;
}

.food-onion {
  right: -60px;
  top: 3%;
  transform: rotate(8deg);
}

.food-cucumber {
  right: -30px;
  bottom: 5%;
  transform: rotate(-8deg);
}

.food-pepper {
  left: -40px;
  top: 2%;
  transform: rotate(-12deg);
}

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

/* ── Features Section ── */
.section-features {
  background: #FAFAF2;
}

.features-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
  max-width: 900px;
  width: 100%;
}

.features-title {
  font-family: 'DM Serif Display', serif;
  font-size: 3.8rem;
  line-height: 1.1;
  color: #1a1a1a;
  text-align: center;
  font-weight: 400;
  margin-bottom: 14px;
}

.features-subtitle {
  font-size: 1.1rem;
  color: #777;
  text-align: center;
  margin-bottom: 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 80px;
  margin-bottom: 64px;
  width: 100%;
  max-width: 780px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: #EDECD8;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.feature-text p {
  font-size: 0.88rem;
  color: #888;
  line-height: 1.55;
}

/* ── Modals ── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #aaa;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  line-height: 1;
}

.modal-close:hover {
  background: #f5f5f0;
  color: #666;
}

.modal-heading {
  font-family: 'DM Serif Display', serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.modal-body p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #555;
  margin-bottom: 14px;
}

.modal-form {
  margin-top: 8px;
}

.story-body p {
  font-size: 0.92rem;
}

.story-signature {
  margin-top: 28px;
  padding-top: 20px;
}

.sig-name {
  font-weight: 600;
  color: #333 !important;
  margin-bottom: 2px !important;
  font-style: italic;
}

.sig-role {
  font-size: 0.85rem !important;
  color: #888 !important;
}

.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 12px;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}

.btn-share:hover {
  background: #333;
}

.btn-share-whatsapp {
  background: #25D366;
}

.btn-share-whatsapp:hover {
  background: #1ebe57;
}

.btn-share-snapchat {
  background: #FFFC00;
  color: #1a1a1a;
}

.btn-share-snapchat:hover {
  background: #e6e300;
}

.share-note {
  font-size: 0.78rem !important;
  color: #bbb !important;
  font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .features-grid {
    gap: 36px 48px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 16px 20px;
  }

  .nav-logo {
    font-size: 1.3rem;
  }

  .btn {
    padding: 10px 18px;
    font-size: 0.82rem;
  }

  .hero-title,
  .features-title {
    font-size: 2.4rem;
  }

  .hero-subtitle,
  .features-subtitle {
    font-size: 0.98rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 400px;
  }

  .floating-foods .food-item {
    display: none;
  }

  .floating-foods .food-leaf,
  .floating-foods .food-cherry {
    display: block;
    opacity: 0.45;
    transform: scale(0.7);
  }

  .floating-foods .food-leaf {
    left: -5px;
    top: 8%;
  }

  .floating-foods .food-cherry {
    right: 2%;
    top: auto;
    bottom: 12%;
  }

  .section-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 16px 20px;
  }

  .form-group {
    flex-direction: column;
    border-radius: 16px;
    gap: 0;
  }

  .form-group input {
    padding: 14px 20px;
    text-align: center;
  }

  .form-btn {
    width: calc(100% - 8px);
    margin: 0 4px 4px;
    text-align: center;
    padding: 14px 24px;
    border-radius: 50px !important;
  }

  .modal-card {
    padding: 28px;
    border-radius: 20px;
  }

  .modal-heading {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 14px 16px;
  }

  .hero-title,
  .features-title {
    font-size: 2rem;
  }

  .hero-content {
    padding: 10px 16px 16px;
  }

  .features-content {
    padding: 60px 16px 30px;
  }

  .section-footer {
    font-size: 0.72rem;
    padding: 12px 16px;
  }

  .modal-card {
    padding: 24px;
  }

  .modal-heading {
    font-size: 1.3rem;
    margin-bottom: 18px;
  }

  .modal-body p {
    font-size: 0.88rem;
  }
}
