* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  color: #111;
  background-color: #fff;
}

body::-webkit-scrollbar {
  width: 10px;
  margin-right: 8px;
}

body::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 5px;
}

body::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: linear-gradient(to bottom, #87CEFA, #0078FF);
}

.menu a.active {
  font-weight: bold;
  color: #87CEFA;
  border-bottom: 2px solid #0078FF;
  padding-bottom: 2px;
  transition: all 0.25s ease;
}

header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: #f9f9f9;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid #ddd;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header .logo-img {
  width: 40px;
  height: auto;
}

header .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

header nav ul li a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #0078FF;
}

main {
  padding-top: 100px;
  padding-bottom: 150px;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

body.index-page {
  overflow-y: hidden;
}

.index-main {
  min-height: calc(100vh - 100px - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  min-height: 60vh;
  text-align: center;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s forwards;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #555;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s forwards;
  animation-delay: 0.3s;
}

.hero .cta-button {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s forwards;
  animation-delay: 0.6s;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #111;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  color: #111;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.6rem;
  color: #111;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  color: #111;
  margin-bottom: 1rem;
}

strong {
  font-weight: 700;
  color: #0078FF;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  background-color: #0078FF;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #005FCC;
}

.cta-button .btn-icon {
  width: 40px;
  height: auto;
  display: inline-block;
  filter: brightness(0) invert(1);
}

.content {
  padding: 3rem 5%;
  max-width: 800px;
  min-height: 50vh;
  color: #111 !important;
}

.content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #111 !important;
}

.quote-vertical {
  padding-left: 0.8%;
  text-align: left;
  line-height: 1.6;
  margin-bottom: 4rem;
}

.quote-vertical p {
  margin: 0;
  font-style: italic;
  color: #111;
  font-size: 1rem;
}

.quote-vertical .quote-author {
  font-weight: 300;
  color: #555;
  margin-top: 0.5rem;
}

footer {
  width: 100%;
  padding: 1.5rem 5%;
  background-color: #f9f9f9;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #ddd;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 50;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.product-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.product-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.product-card .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #FF5C5C;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  text-transform: uppercase;
}

.faq-item {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  text-align: left;
}

.faq-item .question {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-item .answer {
  color: #555;
  line-height: 1.5;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-items: center;
}

.terms-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.terms-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.terms-card .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #0078FF;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s;
}

.terms-card .cta-button:hover {
  background-color: #005FCC;
}

.terms-card .btn-icon {
  width: 24px;
  height: auto;
  filter: brightness(0) invert(1);
}

.audio-player {
  position: fixed;
  top: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(25, 25, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 0.4rem 1.2rem;
  color: #ccc;
  font-size: 0.9rem;
  z-index: 2000;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.audio-player:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.audio-player button {
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.audio-player button:hover {
  color: #fff;
  transform: scale(1.1);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.audio-player .track-title {
  margin-left: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #e0e0e0;
}

.repeat.active {
  color: #1DB954;
  text-shadow: 0 0 8px rgba(29,185,84,0.5);
}

.slide-up {
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s forwards;
}

.slide-up.title { animation-delay: 0.2s; }
.slide-up.subtitle { animation-delay: 0.4s; }
.slide-up.subtitle2 { animation-delay: 0.3s; }
.slide-up.subtitle3 { animation-delay: 0.29s; }

.product-grid .product-card.slide-up:nth-child(1) { animation-delay: 0.6s; }
.product-grid .product-card.slide-up:nth-child(2) { animation-delay: 0.8s; }
.product-grid .product-card.slide-up:nth-child(3) { animation-delay: 1s; }

.product-grid2 .product-card.slide-up:nth-child(1) { animation-delay: 1.2s; }
.product-grid2 .product-card.slide-up:nth-child(2) { animation-delay: 1.4s; }

.faq-item:nth-child(1) { animation-delay: 0.2s; }
.faq-item:nth-child(2) { animation-delay: 0.4s; }
.faq-item:nth-child(3) { animation-delay: 0.6s; }
.faq-item:nth-child(4) { animation-delay: 0.8s; }
.faq-item:nth-child(5) { animation-delay: 1s; }
.faq-item:nth-child(6) { animation-delay: 1.2s; }

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-message {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 30, 30, 0.85);
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  z-index: 3000;
  animation: fadeInOut 1.5s ease;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translate(-50%, 10px); }
  15% { opacity: 1; transform: translate(-50%, 0); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 10px); }
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-width: 1024px) {
  .terms-page .content { margin-top: 35vh; padding: 1.5rem; }
}

@media (max-width: 600px) {
  .terms-page .content { margin-top: 30vh; padding: 1rem; }
}

@media (max-width: 768px) {
  .audio-player {
    top: auto;
    bottom: 1.5rem;
    width: 90%;
    justify-content: space-around;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

header nav {
  display: flex;
  gap: 1.5rem;
}

.hamburger-btn {
  display: none;
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #111;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.35s ease;
  transform-origin: center;
}

@media (max-width: 768px) {
  .hamburger-btn {
    display: block !important;
  }

  header nav {
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #f9f9f9;
    padding: 0 1.5rem;
    border-top: 1px solid #ddd;
    gap: 0.8rem;
    z-index: 900;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: max-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.5s ease-in-out;
  }

  header nav.active {
    max-height: 700px;
    padding: 1rem 1.5rem;
  }

  .quote-vertical {
    display: none !important;
  }
}