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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: #2d2d2d;
  background: #fff5ee;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

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

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff5ee;
  z-index: 100;
}

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

.logo img {
  height: 40px;
}

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

.nav-links a {
  font-size: 16px;
  font-weight: 600;
  color: #2d2d2d;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #f4945e;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: #f4945e;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border-radius: 100px;
}

.btn-primary:hover {
  background: #e87f45;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(244, 148, 94, 0.4);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #2d2d2d;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========== Hero Section ========== */
.hero {
  padding-top: 80px;
  background: #fff5ee;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: calc(100vh - 80px);
  padding-top: 60px;
  padding-bottom: 140px;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  max-width: 520px;
}

.hero-content h1 {
  font-size: 70px;
  font-weight: 800;
  line-height: 1.15;
  color: #2d2d2d;
  margin-bottom: 20px;
}

.text-orange {
  color: #f4945e;
}

.hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: #6b6b6b;
  margin-bottom: 36px;
}

.store-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

.store-badges-center {
  justify-content: center;
}

/* App Store - dark badge */
.store-badge-dark {
  display: inline-flex;
  align-items: center;
  background: #000;
  border-radius: 12px;
  padding: 12px 16px;
  overflow: hidden;
  border: 1.5px solid #000;
  transition: transform 0.2s;
}

.store-badge-dark img {
  width: 142px;
  height: 36px;
  object-fit: contain;
}

.store-badge-dark:hover {
  transform: translateY(-1px);
}

/* Google Play - light badge */
.store-badge-light {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  overflow: hidden;
  border: 1.5px solid #d1d1d1;
  transition: transform 0.2s;
}

.store-badge-light img {
  width: 142px;
  height: 36px;
  object-fit: contain;
}

.store-badge-light:hover {
  transform: translateY(-1px);
}

.store-badge-light-on-orange {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-image img {
  max-width: 540px;
  width: 100%;
}

/* Wave behind phones */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.hero-wave img {
  width: 100%;
  display: block;
}

/* ========== Wave Separators ========== */
.wave-separator {
  width: 100%;
  line-height: 0;
  margin-top: -1px;
  margin-bottom: -1px;
  position: relative;
}

.wave-separator img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
}

/* White (above) → Orange (below) */
.wave-to-orange {
  background: linear-gradient(to bottom, #fff5ee 50%, #f4945e 50%);
}

/* Orange (above) → White (below) */
.wave-to-white-from-orange {
  background: linear-gradient(to bottom, #f4945e 50%, #fff5ee 50%);
}

/* White (above) → Orange footer (below) */
.wave-to-orange-footer {
  background: linear-gradient(to bottom, #fff5ee 50%, #f4945e 50%);
  margin-bottom: 0;
}

/* ========== Feature Sections ========== */
.feature-section {
  padding: 80px 0;
  background: #fff5ee;
}

.feature-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.feature-reverse {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.feature-image img {
  max-width: 320px;
  width: 100%;
  border-radius: 32px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.feature-content {
  flex: 1;
  max-width: 660px;
}

.feature-content h2 {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #2d2d2d;
}

.feature-content p {
  font-size: 17px;
  line-height: 1.7;
  color: #6b6b6b;
  margin-bottom: 16px;
}

.feature-content p:last-child {
  margin-bottom: 0;
}

/* ========== CTA Section ========== */
.cta-section {
  background-image: url('assets/middle-waves.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 80px 0 180px 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  min-width: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

.cta-bg-wave img {
  width: 100%;
  display: block;
}

.cta-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 160px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  font-family: 'Nunito', sans-serif;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ========== FAQ Section ========== */
.faq-section {
  padding: 80px 0;
  background: #fff5ee;
}

.faq-title {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  color: #2d2d2d;
  margin-bottom: 8px;
}

.faq-subtitle {
  font-size: 17px;
  color: #6b6b6b;
  text-align: center;
  margin-bottom: 48px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e8e8e8;
}

.faq-item:first-child {
  border-top: 1px solid #e8e8e8;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 700;
  color: #2d2d2d;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.faq-question::marker {
  display: none;
  content: '';
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  margin-left: 16px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: #6b6b6b;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

/* Horizontal line */
.faq-icon::before {
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

/* Vertical line (becomes + when closed) */
.faq-icon::after {
  top: 50%;
  left: 50%;
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

/* When open, rotate to show just horizontal (minus) */
details[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  padding: 0 0 20px;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: #6b6b6b;
}

/* ========== Policy Page ========== */
.policy-section {
  padding-top: 120px;
  padding-bottom: 80px;
  background: #fff5ee;
}

.policy-container {
  max-width: 800px;
}

.policy-container h1 {
  font-size: 48px;
  font-weight: 800;
  color: #2d2d2d;
  margin-bottom: 8px;
}

.policy-updated {
  font-size: 15px;
  color: #6b6b6b;
  margin-bottom: 32px;
}

.policy-container h2 {
  font-size: 28px;
  font-weight: 800;
  color: #2d2d2d;
  margin-top: 40px;
  margin-bottom: 16px;
}

.policy-container h3 {
  font-size: 22px;
  font-weight: 700;
  color: #2d2d2d;
  margin-top: 28px;
  margin-bottom: 12px;
}

.policy-container h4 {
  font-size: 18px;
  font-weight: 700;
  color: #2d2d2d;
  margin-top: 20px;
  margin-bottom: 10px;
}

.policy-container p {
  font-size: 16px;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 16px;
}

.policy-container ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.policy-container li {
  font-size: 16px;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 8px;
}

.policy-container a {
  color: #f4945e;
  text-decoration: underline;
}

.policy-container a:hover {
  color: #e87f45;
}

/* ========== Footer ========== */
.footer {
  background-image: url('assets/footer-waves.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 200px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-heading {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.footer-email {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.footer-email a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

.footer-email a:hover {
  color: #2d2d2d;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #fff;
}

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

.social-icon img {
  width: 40px;
  height: 40px;
  transition: transform 0.2s;
}

.social-icon:hover img {
  transform: translateY(-2px);
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 40px;
  }

  .hero-image img {
    max-width: 400px;
  }

  .feature-content h2 {
    font-size: 32px;
  }

  .feature-image img {
    max-width: 280px;
  }

  .cta-inner h2 {
    font-size: 32px;
  }

  .cta-watermark {
    font-size: 100px;
  }

  .faq-title {
    font-size: 32px;
  }

  .footer-heading {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .navbar-inner {
    height: 64px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 100px;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-description {
    font-size: 16px;
  }

  .store-badges {
    justify-content: center;
  }

  .store-badge-dark img,
  .store-badge-light img {
    height: 44px;
  }

  .hero-image img {
    max-width: 340px;
  }

  .feature-section {
    padding: 60px 0;
  }

  .feature-inner,
  .feature-reverse {
    flex-direction: column;
    text-align: center;
  }

  .feature-content {
    max-width: 100%;
  }

  .feature-content h2 {
    font-size: 28px;
  }

  .feature-content p {
    font-size: 16px;
  }

  .feature-image img {
    max-width: 260px;
  }

  .cta-section {
    padding: 60px 0;
  }

  .cta-inner h2 {
    font-size: 28px;
  }

  .cta-watermark {
    font-size: 60px;
  }

  .faq-section {
    padding: 60px 0;
  }

  .faq-title {
    font-size: 28px;
  }

  .footer-nav {
    gap: 16px;
  }

  .footer-heading {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .navbar .btn-primary {
    font-size: 12px;
    padding: 8px 20px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .store-badges {
    flex-direction: column;
  }

  .store-badges .store-badge {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .feature-content h2 {
    font-size: 24px;
  }

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