:root {
  --bg-page: #f0eef4;
  --bg-pink: #f7c5d9;
  --bg-pink-dark: #e8a4bf;
  --bg-cream: #fdf8ef;
  --bg-purple: #dcd0eb;
  --text-main: #4a3e4d;
  --text-light: #7a6b7c;
  --accent-mint: #bce8d5;
  --accent-lavender: #d0c5eb;
  --accent-butter: #fceaa3;
  --accent-blue: #b8d8f0;
  --radius-lg: 40px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --shadow-soft: 0 12px 32px rgba(74, 62, 77, 0.08);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(240, 238, 244, 0.9);
  backdrop-filter: blur(8px);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 20px;
  color: var(--text-main);
}
.brand img {
  height: 32px;
  width: auto;
  border-radius: 8px;
}
.nav-scroll {
  display: none;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.nav-scroll::-webkit-scrollbar {
  display: none;
}
.nav-scroll a {
  white-space: nowrap;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  background: #fff;
  transition: all 0.3s;
}
.nav-scroll a:active {
  background: var(--bg-pink);
  color: var(--text-main);
}

/* Hero */
.hero {
  padding: 20px 0 40px;
}
.hero-bg {
  background: linear-gradient(135deg, var(--bg-pink) 0%, var(--bg-pink-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.hero-text {
  z-index: 2;
  position: relative;
  max-width: 100%;
}
.hero-text h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-main);
  font-weight: 800;
}
.hero-text p {
  font-size: 16px;
  margin-bottom: 24px;
  color: var(--text-main);
  font-weight: 500;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:active {
  transform: scale(0.96);
}
.btn-android {
  background-color: var(--text-main);
  color: #fff;
  box-shadow: 0 4px 12px rgba(74, 62, 77, 0.2);
}
.btn-ios {
  background-color: #fff;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(74, 62, 77, 0.1);
}
.hero-visual {
  position: relative;
  height: 260px;
  width: 100%;
}
.clay-object {
  position: absolute;
  border-radius: 50%;
  box-shadow: 4px 4px 12px rgba(0,0,0,0.1), inset -4px -4px 8px rgba(255,255,255,0.5);
}
.clay-1 {
  width: 120px; height: 120px;
  background: var(--accent-butter);
  top: 10px; right: 10px;
  z-index: 1;
}
.clay-2 {
  width: 80px; height: 80px;
  background: var(--accent-mint);
  top: 90px; right: 90px;
  z-index: 2;
}
.clay-3 {
  width: 140px; height: 140px;
  background: var(--accent-lavender);
  bottom: 0; right: 20px;
  border-radius: 40px;
  transform: rotate(-15deg);
  z-index: 3;
}
.clay-4 {
  width: 60px; height: 60px;
  background: var(--accent-blue);
  bottom: 40px; left: 20px;
  z-index: 2;
}

/* Sections */
section {
  padding: 40px 0;
}
.section-title {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 800;
  color: var(--text-main);
}
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}

/* Cream Tray */
.tray-cream {
  background-color: var(--bg-cream);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  box-shadow: var(--shadow-soft);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}
.feature-card-main img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.feature-card-main .card-info {
  padding: 16px;
}
.feature-card-main h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.feature-card-main p {
  font-size: 14px;
  color: var(--text-light);
}
.small-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.feature-card-small img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.feature-card-small .card-info {
  padding: 10px;
}
.feature-card-small h4 {
  font-size: 14px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feature-card-small p {
  font-size: 12px;
  color: var(--text-light);
}

/* Editor's Pick */
.editor-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}
.editor-row::-webkit-scrollbar {
  display: none;
}
.editor-item {
  flex: 0 0 120px;
  scroll-snap-align: start;
}
.editor-item img {
  width: 100%;
  height: 170px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.editor-item p {
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Purple Tray */
.tray-purple {
  background-color: var(--bg-purple);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  box-shadow: var(--shadow-soft);
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.compare-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.compare-card img {
  width: 80px;
  height: 100px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.compare-text h4 {
  font-size: 16px;
  margin-bottom: 6px;
}
.compare-text p {
  font-size: 13px;
  color: var(--text-light);
}
.accordion {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.accordion-item {
  border-bottom: 1px solid #f0eef4;
}
.accordion-item:last-child {
  border-bottom: none;
}
.accordion-header {
  padding: 16px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-header::after {
  content: '+';
  font-size: 18px;
  color: var(--text-light);
}
.accordion-item.active .accordion-header::after {
  content: '-';
}
.accordion-body {
  padding: 0 16px 16px;
  font-size: 14px;
  color: var(--text-light);
  display: none;
}
.accordion-item.active .accordion-body {
  display: block;
}

/* Additional Sections */
.section-bg-white {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  box-shadow: var(--shadow-soft);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.img-text-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-page);
  padding: 16px;
  border-radius: var(--radius-md);
}
.img-text-row img {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-sm);
}
.img-text-row h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.img-text-row p {
  font-size: 14px;
  color: var(--text-light);
}

/* Reviews */
.review-marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  position: relative;
}
.review-marquee::before, .review-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  z-index: 2;
}
.review-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-cream), transparent);
}
.review-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-cream), transparent);
}
.review-track {
  display: inline-block;
  animation: scroll 20s linear infinite;
}
.review-item {
  display: inline-block;
  background: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  margin-right: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Rank Board */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}
.rank-num {
  font-size: 18px;
  font-weight: 900;
  color: var(--bg-pink-dark);
  width: 24px;
  text-align: center;
}
.rank-item img {
  width: 40px;
  height: 56px;
  border-radius: 8px;
}
.rank-info {
  flex: 1;
}
.rank-info h4 {
  font-size: 14px;
  margin-bottom: 4px;
}
.rank-info p {
  font-size: 12px;
  color: var(--text-light);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.faq-item h4 {
  font-size: 15px;
  margin-bottom: 6px;
}
.faq-item p {
  font-size: 13px;
  color: var(--text-light);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-content {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  width: 100%;
  max-width: 340px;
  text-align: center;
}
.modal-content h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #d9534f;
}
.modal-content p {
  font-size: 13px;
  word-break: break-all;
  background: var(--bg-page);
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 16px;
  color: var(--text-main);
}
.modal-content button {
  background: var(--bg-pink-dark);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
}

/* Footer */
.site-footer {
  background-color: var(--bg-cream);
  padding: 30px 20px;
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-top: 40px;
}
.site-footer p {
  margin-bottom: 8px;
}
.site-footer a {
  color: var(--text-light);
  text-decoration: underline;
}
.footer-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.footer-links span {
  background: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-scroll {
    display: flex;
  }
  .hero-bg {
    flex-direction: row;
    align-items: center;
    padding: 60px 40px;
  }
  .hero-text {
    flex: 1;
    padding-right: 20px;
  }
  .hero-text h1 {
    font-size: 42px;
  }
  .hero-visual {
    flex: 1;
    height: 320px;
  }
  .clay-1 { width: 160px; height: 160px; right: 20px; top: 20px; }
  .clay-2 { width: 100px; height: 100px; right: 150px; top: 120px; }
  .clay-3 { width: 180px; height: 180px; right: 60px; bottom: 0; }
  .clay-4 { width: 80px; height: 80px; left: 40px; bottom: 60px; }
  
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card-main {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
  }
  .feature-card-main img {
    width: 50%;
    height: auto;
    object-fit: cover;
  }
  .feature-card-main .card-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .small-cards {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .compare-grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .img-text-row {
    flex-direction: row;
    align-items: center;
  }
  .img-text-row img {
    width: 40%;
    height: 160px;
  }
  .img-text-row .text-side {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 52px;
  }
  .feature-grid {
    grid-template-columns: 2fr 1fr;
  }
  .feature-card-main {
    grid-column: 1 / 2;
    flex-direction: column;
  }
  .feature-card-main img {
    width: 100%;
    height: 300px;
  }
  .small-cards {
    grid-column: 2 / 3;
    grid-template-columns: 1fr;
  }
  .feature-card-small {
    display: flex;
    flex-direction: row;
  }
  .feature-card-small img {
    width: 120px;
    height: 100%;
  }
  .feature-card-small .card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .compare-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}