:root {
  --theme-color: #2ECB99;
  --font-family: 'Manrope', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: black;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.logo img {
  height: 32px;
  width: auto;
  display: block;
  margin-left: 200px;
}

header nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-right: 200px;
}

header nav a {
  text-decoration: none;
  color: black;
  font-weight: 600;
}

header nav .btn {
  padding: 0.5rem 1rem;
  background: var(--theme-color);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 250px;
  padding: 4rem 2rem;
  margin-left: 200px;
  margin-right: 100px;
}

.hero-text h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.0;
}

.hero-text p {
  font-size: 1.1rem;
  color: black;
  margin-bottom: 1.5rem;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 70%;
  height: auto;
  display: block;
  margin-bottom: -30px;
}

/* Buttons */
.btn-main {
  padding: 0.5rem 1rem;
  background: var(--theme-color);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
}

/* Features */
.features {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0;
}

.feature.shop .feature-content {
  flex: 1;
  min-width: 250px;
  text-align: left;
  padding: 4rem 2rem;
  margin-left: 200px;
  margin-right: 90px;
}

.feature-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.0;
}

.feature-content p {
  font-size: 1.1rem;
  color: black;
  margin-bottom: 1.5rem;
}

.feature.discover .feature-discover {
  flex: 1;
  min-width: 250px;
  text-align: left;
  padding: 4rem 2rem;
  margin-left: 200px;
  margin-right: 90px;
}

.feature-discover h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.0;
}

.feature-discover p {
  font-size: 1.1rem;
  color: black;
  margin-bottom: 1.5rem;
}
.feature.discover {
  background: #f4fef6;
  flex-direction: row;
  padding-left: 200px;
  padding-bottom: 0 !important;
}

.img-discover {
  width: 230px; 
  height: auto; 
  display: block;
  margin: 0;
  margin-top: 15px;
  margin-left: 150px;
}
.img-shop {
  max-width: 400px;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-bottom: -1px;
  flex: 1;
  margin-right: 55px;
}

/* Shop */
.feature.shop {
  flex-direction: row;
  margin-top: 50px;
  margin-bottom: 50px;
  padding-right: 150px;
}

/* CTA */
.cta {
  background: var(--theme-color);
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
}

.cta h2 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
}

.cta p {
  font-size: 1.1rem;
}

.app-buttons {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.app-buttons img {
  height: 50px;
}

/* Footer */
footer {
  background: #f9f9f9;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

footer a {
  margin: 0 0.5rem;
  color: #555;
  text-decoration: none;
}

.hamburger,
.side-menu {
  display: none;
}

@media (max-width: 768px) {

  /* Navbar */
  header {
    padding: 0.8rem 1rem;
    position: relative;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  .logo img {
    margin-left: 0;
    height: 28px;
  }

  header nav {
    display: none;
  }

  .hamburger {
    display: block;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    z-index: 110;
  }

  .side-menu {
    position: fixed;
    top: 0;
    right: -100%; 
    width: 70%;
    max-width: 280px;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 15px rgba(0,0,0,0.15);
    transition: right 0.35s ease;
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 1rem;
  }

  .side-menu.show {
    right: 0;
  }

  .side-menu-header {
    display: flex;
    justify-content: flex-end;
  }

  .close-btn {
    font-size: 24px;
    cursor: pointer;
    color: #333;
  }

  .side-nav {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .side-nav a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-align: center;
  }

  .side-menu.show .side-nav a {
    opacity: 1;
    transform: translateX(0);
  }

  .side-nav .btn {
    display: inline-block;
    background: var(--theme-color);
    color: #fff;
    border-radius: 50px;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    padding: 0.5rem 1rem !important;
    font-weight: 600;
    width: fit-content;
    margin: 0 auto; 
  }

  .side-nav .btn:hover {
    background-color: #2ECB99;
    transform: scale(1.05);
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 150;
  }

  .overlay.show {
    opacity: 1;
    pointer-events: auto;
  }

  /* Hero Section */
  .hero {
    flex-direction: column !important;
    text-align: center;
    padding: 1rem;
  }

  .hero-text {
    margin: 0 auto;
    padding: 1rem 0.5rem;
    font-size: 1.3rem;
    text-align: left;
    line-height: 1.2;
  }

  .hero-text h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: left;
  }

  .hero-text p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
  }

  .hero-text .btn-main {
    margin-bottom: 1rem;
    font-size: 1rem;
    padding: 0.7rem 1rem;
  }

  .hero-image {
    text-align: center;
  }

  .hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: -20px;
  }

  /* Features 通用 */
  .feature {
    flex-direction: column !important;
    padding: 2rem 1rem !important;
    gap: 1rem !important;
  }

  /* === Discover 专用 === */
  .feature.discover .feature-discover {
    background: #f4fef6;
    flex-direction: column !important;
    padding: 1rem;
    margin: 0;
    line-height: 1.0;
    text-align: left;
    order: 1;
  }

  .feature.discover .feature-discover h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .feature.discover .feature-discover p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .img-discover {
    width: 75%;
    max-width: 260px;
    margin: 0 auto;
    display: block;
    order: 2;
  }

  /* === Shop 专用 === */
  .feature.shop .feature-content {
    padding: 1rem;
    margin: 0;
    text-align: left;
    font-size: 1.3rem;
    line-height: 1.0;
    margin-top: -3rem;
  }

  .feature.shop .feature-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .feature.shop .feature-content p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .feature.shop .feature-content .btn-main {
    margin-bottom: 1rem;
    font-size: 1rem;
    padding: 0.7rem 1rem;
  }

  .img-shop {
    width: 90%;
    max-width: 380px;
    margin: 0 auto;
    display: block;
  }

  /* CTA */
  .cta {
    padding: 2rem 1rem;
    font-size: 1.5rem;
  }

  .cta h2 {
    font-size: 2.0rem;
    margin-bottom: 0.5rem;
  }

  .cta p {
    font-size: 1.5rem;
  }
}
