:root {
  --bg-cream: #fffaf2;
  --bg-cream-dark: #fff3e2;
  --card-bg: #ffffff;
  --primary: #ef8b34;
  --primary-dark: #d96d1c;
  --amber: #f5b53d;
  --brown: #7a4a24;
  --text-main: #4a2c16;
  --text-muted: #8c6b52;
  --shadow-sm: 0 4px 12px rgba(239, 139, 52, 0.08);
  --shadow-md: 0 8px 24px rgba(217, 109, 28, 0.15);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 250, 242, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--brown);
}

.brand img {
  height: 36px;
  width: auto;
  border-radius: 8px;
}

.nav-links {
  display: none;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--brown);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background-color: var(--primary);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  transition: background 0.3s;
}

.nav-cta:hover {
  background-color: var(--primary-dark);
}

.menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--brown);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.hero-text {
  flex: 1;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background-color: var(--bg-cream-dark);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 36px;
  line-height: 1.3;
  color: var(--brown);
  margin-bottom: 20px;
}

.hero p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(239, 139, 52, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 139, 52, 0.5);
}

.btn-secondary {
  background-color: var(--bg-cream-dark);
  color: var(--primary-dark);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-stats span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 260px;
  background: #fff;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-md);
  border: 4px solid #fff;
  position: relative;
  z-index: 2;
}

.phone-mockup img {
  border-radius: 24px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.floating-fruit {
  position: absolute;
  background: linear-gradient(135deg, var(--amber), var(--primary));
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  animation: float 3s ease-in-out infinite;
}

.fruit-1 { top: 10%; left: 0; animation-delay: 0s; }
.fruit-2 { bottom: 20%; right: 0; animation-delay: 1s; }

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

/* Common Section */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 28px;
  color: var(--brown);
  margin-bottom: 10px;
}

.section-header p {
  font-size: 15px;
  color: var(--text-muted);
}

/* Sweetness Cards */
.sweetness-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.sweet-card {
  background: var(--card-bg);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s;
  border: 1px solid var(--bg-cream-dark);
}

.sweet-card:hover {
  transform: translateY(-5px);
}

.sweet-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--primary);
}

.sweet-card h3 {
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 10px;
}

.sweet-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Library Horizontal Scroll */
.library-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.library-scroll::-webkit-scrollbar {
  display: none;
}

.drama-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
  position: relative;
}

.drama-card:hover {
  transform: translateY(-5px);
}

.drama-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.drama-info {
  padding: 12px;
}

.drama-info h4 {
  font-size: 15px;
  color: var(--brown);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drama-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.drama-tag {
  display: inline-block;
  background: var(--bg-cream-dark);
  color: var(--primary-dark);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
}

/* Genres */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.genre-btn {
  background: var(--card-bg);
  border: 1px solid var(--bg-cream-dark);
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 16px;
  color: var(--brown);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.genre-btn.active, .genre-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Content Grid */
.content-tools {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-box input {
  width: 100%;
  padding: 12px 20px;
  border-radius: 30px;
  border: 1px solid var(--bg-cream-dark);
  background: var(--card-bg);
  font-size: 15px;
  outline: none;
  color: var(--text-main);
}

.search-box input:focus {
  border-color: var(--primary);
}

.chip-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

.chip {
  padding: 6px 16px;
  background: var(--bg-cream-dark);
  border-radius: 20px;
  font-size: 14px;
  color: var(--brown);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}

.chip.active {
  background: var(--primary);
  color: #fff;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.grid-cards .drama-card {
  flex: none;
}

.no-result {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 15px;
  display: none;
}

/* Fast Experience */
.fast-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.fast-text {
  flex: 1;
}

.fast-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fast-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.fast-list li::before {
  content: "🍊";
  font-size: 20px;
  line-height: 1.5;
}

.fast-list h3 {
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 4px;
}

.fast-list p {
  font-size: 14px;
  color: var(--text-muted);
}

.fast-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.phone-demo {
  width: 240px;
  background: #000;
  border-radius: 32px;
  padding: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.phone-demo img {
  border-radius: 24px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 9/16;
  transition: opacity 0.5s;
}

.swipe-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 12px;
  background: rgba(0,0,0,0.5);
  padding: 4px 12px;
  border-radius: 12px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -5px); }
}

/* Old Story New Brew */
.brew-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brew-card {
  background: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brew-card h3 {
  font-size: 20px;
  color: var(--brown);
}

.brew-card p {
  font-size: 14px;
  color: var(--text-muted);
}

.brew-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
}

.brew-gallery img {
  width: 100%;
  border-radius: var(--radius-sm);
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* Calendar */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.cal-day {
  background: var(--card-bg);
  padding: 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--amber);
}

.cal-day h4 {
  font-size: 15px;
  color: var(--brown);
  margin-bottom: 8px;
}

.cal-day p {
  font-size: 13px;
  color: var(--text-muted);
}

.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.info-card {
  background: linear-gradient(135deg, var(--bg-cream-dark), #fff);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(239, 139, 52, 0.2);
}

.info-card h3 {
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 8px;
}

/* Wish List */
.wish-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wish-item {
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
}

.wish-item img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.wish-content {
  flex: 1;
}

.wish-content h4 {
  font-size: 16px;
  color: var(--brown);
  margin-bottom: 4px;
}

.wish-progress {
  height: 8px;
  background: var(--bg-cream-dark);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}

.wish-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--primary));
  width: 60%;
  transition: width 0.5s;
}

.wish-btn {
  background: var(--bg-cream-dark);
  color: var(--primary-dark);
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.wish-btn.done {
  background: var(--primary);
  color: #fff;
}

/* Reviews */
.review-header {
  text-align: center;
  margin-bottom: 30px;
}

.score-badge {
  display: inline-block;
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.review-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.review-user div h4 {
  font-size: 15px;
  color: var(--brown);
}

.review-user div p {
  font-size: 12px;
  color: var(--text-muted);
}

.review-text {
  font-size: 14px;
  color: var(--text-main);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-q {
  padding: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--brown);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-q::after {
  content: "+";
  font-size: 20px;
  color: var(--primary);
}

.faq-item.open .faq-q::after {
  content: "-";
}

.faq-a {
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--text-muted);
  display: none;
}

.faq-item.open .faq-a {
  display: block;
}

/* Download CTA */
.download-zone {
  background: linear-gradient(135deg, var(--bg-cream-dark), var(--bg-cream));
  border-radius: var(--radius-lg);
  padding: 60px 20px;
  text-align: center;
  margin: 60px 20px;
  border: 2px dashed rgba(239, 139, 52, 0.3);
}

.download-zone h2 {
  font-size: 32px;
  color: var(--brown);
  margin-bottom: 16px;
}

.download-zone p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download-zone .btn-primary {
  font-size: 18px;
  padding: 16px 40px;
}

/* Footer */
.site-footer {
  background-color: var(--bg-cream-dark);
  padding: 40px 20px 20px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid rgba(122, 74, 36, 0.1);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.footer-brand h3 {
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 8px;
}

.footer-brand p {
  max-width: 400px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 12px;
  color: #a88c75;
}

.footer-bottom p {
  margin-bottom: 8px;
}

.footer-bottom a {
  color: #a88c75;
  text-decoration: underline;
}

/* Responsive */
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    text-align: left;
    padding: 80px 20px;
  }
  
  .hero-text {
    text-align: left;
  }
  
  .hero p {
    margin-left: 0;
  }
  
  .hero-actions {
    justify-content: flex-start;
  }
  
  .hero-stats {
    justify-content: flex-start;
  }
  
  .sweetness-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .drama-card {
    flex: 0 0 200px;
  }
  
  .grid-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .fast-wrap {
    flex-direction: row;
  }
  
  .brew-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .calendar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .info-cards {
    grid-template-columns: 1fr 1fr;
  }
  
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .sweetness-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .drama-card {
    flex: 0 0 220px;
  }
  
  .grid-cards {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .calendar-grid {
    grid-template-columns: repeat(7, 1fr);
  }
  
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}