:root {
  --bg-color: #fff9f2;
  --bg-white: #ffffff;
  --orange-light: #fff1df;
  --primary: #f5873c;
  --primary-dark: #dd6a1f;
  --gold: #f5b642;
  --text-main: #332211;
  --text-muted: #7a6b5e;
  --shadow-sm: 0 4px 12px rgba(245, 135, 60, 0.08);
  --shadow-md: 0 8px 24px rgba(245, 135, 60, 0.12);
  --shadow-lg: 0 16px 40px rgba(245, 135, 60, 0.16);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --border-light: 1px solid rgba(245, 135, 60, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 249, 242, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-light);
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--text-main);
}

.brand img {
  height: 32px;
  border-radius: 6px;
}

.nav-links {
  display: none;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-download-nav {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.btn-download-nav:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-white);
  padding: 16px;
  border-bottom: var(--border-light);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-color);
  color: var(--text-main);
}

/* Hero Section */
.hero {
  padding: 40px 0;
  overflow: hidden;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-text {
  flex: 1;
}

.badge-top {
  display: inline-block;
  background-color: var(--orange-light);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-main);
}

.hero h1 span {
  color: var(--primary-dark);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(245, 135, 60, 0.3);
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(245, 135, 60, 0.4);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--primary-dark);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: bold;
  font-size: 1.1rem;
  border: 1px solid var(--primary);
  transition: all 0.3s;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--orange-light);
}

.stats-row {
  display: flex;
  gap: 24px;
}

.stat-item h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.collage-main {
  width: 180px;
  height: 320px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 10;
  border: 4px solid var(--bg-white);
  transform: rotate(-2deg);
  transition: transform 0.3s;
}

.collage-main:hover {
  transform: rotate(0deg) scale(1.02);
}

.collage-bg-1, .collage-bg-2 {
  width: 140px;
  height: 240px;
  border-radius: var(--radius-md);
  position: absolute;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--bg-white);
  opacity: 0.9;
}

.collage-bg-1 {
  transform: rotate(-12deg) translateX(-60px) translateY(20px);
  z-index: 5;
}

.collage-bg-2 {
  transform: rotate(10deg) translateX(60px) translateY(15px);
  z-index: 5;
}

.floating-badge {
  position: absolute;
  background: var(--bg-white);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 20;
  animation: float 3s ease-in-out infinite;
}

.floating-badge.top-right {
  top: 20px;
  right: 0;
  color: var(--primary-dark);
}

.floating-badge.bottom-left {
  bottom: 30px;
  left: 0;
  color: var(--text-main);
}

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

/* Section Common */
.section {
  padding: 64px 0;
}

.section-bg {
  background-color: var(--bg-white);
}

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

.section-header h2 {
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

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

/* Library Section */
.library-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.library-scroll::-webkit-scrollbar {
  height: 6px;
}

.library-scroll::-webkit-scrollbar-thumb {
  background: var(--orange-light);
  border-radius: 10px;
}

.book-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
  transition: transform 0.3s, box-shadow 0.3s;
}

.book-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.book-cover {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

.book-cover img {
  width: 100%;
  height: 100%;
  transition: transform 0.4s;
}

.book-card:hover .book-cover img {
  transform: scale(1.05);
}

.badge-score {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--gold);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
}

.badge-ep {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.book-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-tag {
  display: inline-block;
  background: var(--orange-light);
  color: var(--primary-dark);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
  text-align: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* AI Section */
.ai-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ai-content h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.ai-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ai-list li::before {
  content: "✦";
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

.ai-list strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.ai-list span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ai-flow {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: var(--border-light);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--orange-light);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.flow-step p {
  font-size: 0.95rem;
  font-weight: 500;
}

.flow-tip {
  background: var(--orange-light);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--primary-dark);
  text-align: center;
}

/* Filter Section */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.chip {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-muted);
}

.chip.active, .chip:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.content-search {
  max-width: 600px;
  margin: 0 auto 32px;
}

.content-search input {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  font-size: 1rem;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s;
}

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

.content-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.list-card {
  display: flex;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
  transition: transform 0.3s;
}

.list-card:hover {
  transform: translateY(-4px);
}

.list-img {
  width: 120px;
  height: 160px;
  flex-shrink: 0;
}

.list-img img {
  width: 100%;
  height: 100%;
}

.list-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.list-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.list-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.list-tags span {
  font-size: 0.75rem;
  background: var(--orange-light);
  color: var(--primary-dark);
  padding: 2px 8px;
  border-radius: 4px;
}

.list-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
}

.empty-tip {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
  display: none;
}

/* Experience Section */
.exp-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.exp-text {
  flex: 1;
}

.exp-text h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.exp-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.exp-item {
  background: var(--bg-white);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.exp-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.exp-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.phone-mockup {
  width: 240px;
  height: 480px;
  background: #000;
  border-radius: 32px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.phone-frame {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.phone-frame.active {
  opacity: 1;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swipe-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  animation: bounce 2s infinite;
  z-index: 10;
}

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

.dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--border-light);
  border-radius: 50%;
  transition: background 0.3s;
}

.dot.active {
  background: var(--primary);
  width: 20px;
  border-radius: 4px;
}

/* Wish Section */
.wish-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

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

.wish-info {
  flex: 1;
}

.wish-info h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.wish-bar-bg {
  width: 100%;
  height: 8px;
  background: var(--orange-light);
  border-radius: 4px;
  overflow: hidden;
}

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

.wish-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.btn-wish {
  background: var(--orange-light);
  color: var(--primary-dark);
  border: 1px solid var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-wish:hover {
  background: var(--primary);
  color: white;
}

.btn-wish.added {
  background: var(--primary);
  color: white;
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.review-content {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.review-author {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: right;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.score-big {
  font-size: 3rem;
  color: var(--primary);
  font-weight: bold;
}

.score-stars {
  color: var(--gold);
  font-size: 1.2rem;
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-q {
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-white);
  transition: background 0.2s;
}

.faq-q:hover {
  background: var(--orange-light);
}

.faq-q span {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-item.active .faq-q span {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-a {
  padding: 0 20px 20px;
  max-height: 200px;
}

/* Download CTA Section */
.download-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 48px 20px;
  margin: 40px auto;
  max-width: 1000px;
}

.download-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.download-section p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.btn-download-large {
  background: white;
  color: var(--primary-dark);
  padding: 16px 40px;
  border-radius: var(--radius-full);
  font-weight: bold;
  font-size: 1.2rem;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.btn-download-large:hover {
  transform: translateY(-4px);
}

/* Footer */
.footer {
  background: var(--bg-white);
  padding: 40px 0 20px;
  border-top: var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-brand h3 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

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

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--bg-color);
  line-height: 1.8;
}

.footer-bottom a {
  color: var(--text-muted);
}

.time-tag {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #a09080;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
  .hero-layout {
    flex-direction: row;
    align-items: center;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .exp-layout {
    flex-direction: row;
  }
  .collage-main {
    width: 220px;
    height: 380px;
  }
  .collage-bg-1, .collage-bg-2 {
    width: 180px;
    height: 300px;
  }
  .collage-bg-1 {
    transform: rotate(-12deg) translateX(-80px) translateY(20px);
  }
  .collage-bg-2 {
    transform: rotate(10deg) translateX(80px) translateY(15px);
  }
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero-visual {
    height: 500px;
  }
  .collage-main {
    width: 260px;
    height: 440px;
  }
  .collage-bg-1, .collage-bg-2 {
    width: 200px;
    height: 340px;
  }
  .collage-bg-1 {
    transform: rotate(-15deg) translateX(-100px) translateY(30px);
  }
  .collage-bg-2 {
    transform: rotate(12deg) translateX(100px) translateY(20px);
  }
  .list-img {
    width: 160px;
    height: 200px;
  }
}