:root {
  --bg-main: #fffdf3;
  --bg-cream: #fff4d6;
  --yellow: #ffc72c;
  --ink: #1d1a10;
  --red: #ff5a3c;
  --mint: #3fc9a8;
  --white: #ffffff;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background-color: var(--bg-main);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--yellow);
  padding: 12px 28px; border-radius: 30px;
  font-weight: bold; font-size: 16px;
  transition: transform 0.2s, background 0.2s;
  border: 2px solid var(--ink);
}
.btn:hover { transform: translateY(-2px); background: #333; }
.btn-yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-yellow:hover { background: #e6b220; }
.sec-title { font-size: 32px; font-weight: 900; margin-bottom: 12px; letter-spacing: -0.5px; }
.sec-sub { font-size: 16px; color: #666; margin-bottom: 40px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 243, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 70px;
}
.logo-box { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; }
.logo-box img { height: 32px; width: auto; border-radius: 6px; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 15px; transition: color 0.2s; }
.nav-links a:hover { color: var(--red); }
.nav-right { display: flex; align-items: center; gap: 15px; }
.search-bar { display: flex; background: #eee; border-radius: 20px; padding: 6px 16px; align-items: center; }
.search-bar input { border: none; background: transparent; outline: none; font-size: 14px; width: 120px; }
.hamburger { display: none; font-size: 24px; cursor: pointer; background: none; border: none; }

/* Hero */
.hero { padding: 60px 0; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(var(--yellow) 2px, transparent 2px);
  background-size: 30px 30px; opacity: 0.2; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-block; background: var(--red); color: #fff;
  padding: 4px 12px; border-radius: 20px; font-weight: bold; font-size: 14px; margin-bottom: 20px;
}
.hero h1 { font-size: 56px; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { color: var(--red); }
.hero p { font-size: 18px; color: #444; margin-bottom: 30px; max-width: 90%; }
.hero-cta { display: flex; gap: 15px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 30px; border-top: 2px dashed #ddd; padding-top: 20px; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 28px; font-weight: 900; color: var(--ink); }
.stat-label { font-size: 13px; color: #666; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-cover-wrap {
  position: relative; width: 280px; aspect-ratio: 2/3;
  border: 6px solid var(--yellow); border-radius: 20px; overflow: hidden;
  box-shadow: 10px 10px 0 var(--ink); transform: rotate(3deg); transition: transform 0.3s;
}
.hero-cover-wrap:hover { transform: rotate(0deg) scale(1.02); }
.hero-cover-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-bolt {
  position: absolute; top: -20px; right: -20px; background: var(--red); color: #fff;
  width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
  font-size: 24px; font-weight: 900; border: 4px solid var(--ink); z-index: 2;
}
.hero-ring {
  position: absolute; top: -30px; left: -30px; width: 340px; height: 340px;
  border: 3px dashed var(--mint); border-radius: 50%; z-index: -1; animation: spin 20s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Marquee */
.marquee-wrap { background: var(--ink); color: var(--yellow); padding: 12px 0; overflow: hidden; white-space: nowrap; }
.marquee-content { display: inline-block; animation: marquee 20s linear infinite; font-weight: bold; font-size: 15px; }
.marquee-content span { margin-right: 40px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Sections General */
section { padding: 80px 0; }
.bg-cream { background-color: var(--bg-cream); }

/* Category Cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); padding: 30px;
  position: relative; transition: transform 0.2s, box-shadow 0.2s;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: 8px 8px 0 var(--ink); }
.cat-num { font-size: 40px; font-weight: 900; color: var(--yellow); line-height: 1; margin-bottom: 10px; }
.cat-icon { font-size: 30px; margin-bottom: 15px; }
.cat-card h3 { font-size: 22px; margin-bottom: 10px; }
.cat-card p { color: #555; font-size: 15px; }
.cat-en { font-size: 12px; font-weight: bold; color: var(--red); margin-top: 15px; letter-spacing: 1px; }

/* AI Workshop */
.workshop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.step-list { display: flex; flex-direction: column; gap: 20px; }
.step-item { display: flex; gap: 15px; align-items: flex-start; }
.step-dot {
  background: var(--ink); color: var(--yellow); width: 30px; height: 30px; border-radius: 50%;
  display: flex; justify-content: center; align-items: center; font-weight: bold; flex-shrink: 0; margin-top: 3px;
}
.step-text h4 { font-size: 18px; margin-bottom: 5px; }
.step-text p { color: #555; font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag { background: var(--bg-cream); border: 1px solid var(--ink); padding: 6px 14px; border-radius: 20px; font-size: 14px; font-weight: bold; }

.preview-box { background: var(--ink); border-radius: var(--radius); padding: 20px; color: #fff; }
.preview-flow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; font-weight: bold; }
.preview-flow span { color: var(--mint); }
.preview-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.preview-img-grid img { border-radius: 8px; width: 100%; aspect-ratio: 2/3; object-fit: cover; }

/* Charts */
.chart-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.chart-list { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.chart-item { display: flex; align-items: center; padding: 20px; border-bottom: 1px solid #eee; transition: background 0.2s; }
.chart-item:hover { background: var(--bg-cream); }
.chart-item:last-child { border-bottom: none; }
.chart-rank { font-size: 24px; font-weight: 900; width: 50px; color: var(--red); }
.chart-info { flex: 1; }
.chart-title { font-weight: bold; font-size: 18px; margin-bottom: 4px; }
.chart-meta { font-size: 13px; color: #777; }
.chart-score { font-size: 20px; font-weight: bold; color: var(--mint); }

.data-card {
  background: var(--yellow); border: 3px solid var(--ink); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
}
.data-card .big-num { font-size: 60px; font-weight: 900; line-height: 1; color: var(--ink); margin-bottom: 10px; }
.data-card .data-desc { font-size: 16px; font-weight: bold; margin-bottom: 20px; }
.data-card ul { text-align: left; font-size: 14px; margin-bottom: 20px; }
.data-card ul li { margin-bottom: 8px; list-style: none; position: relative; padding-left: 20px; }
.data-card ul li::before { content: '⚡'; position: absolute; left: 0; color: var(--red); }

/* Library */
.chip-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.chip { background: #fff; border: 2px solid var(--ink); padding: 8px 20px; border-radius: 20px; font-weight: bold; cursor: pointer; transition: all 0.2s; }
.chip.active, .chip:hover { background: var(--yellow); }
.library-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.lib-item { display: flex; flex-direction: column; gap: 10px; }
.lib-cover {
  width: 100%; aspect-ratio: 2/3; border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--ink); transition: transform 0.2s;
}
.lib-cover:hover { transform: translateY(-5px); }
.lib-cover img { width: 100%; height: 100%; object-fit: cover; }
.lib-title { font-weight: bold; font-size: 15px; text-align: center; }

/* Tools */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card { background: var(--yellow); border: 3px solid var(--ink); border-radius: var(--radius); padding: 30px; text-align: center; }
.tool-icon { font-size: 40px; margin-bottom: 15px; }
.tool-card h3 { font-size: 20px; margin-bottom: 10px; }
.tool-card p { font-size: 15px; color: #333; }

/* Vertical Experience */
.vert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.vert-features { display: flex; flex-direction: column; gap: 20px; }
.vert-feature { display: flex; align-items: center; gap: 15px; font-weight: bold; font-size: 18px; }
.vert-feature span { display: inline-flex; justify-content: center; align-items: center; width: 30px; height: 30px; background: var(--mint); border-radius: 50%; color: #fff; }
.phone-mockup { width: 260px; margin: 0 auto; position: relative; }
.phone-screen {
  aspect-ratio: 9/16; border: 10px solid var(--ink); border-radius: 30px; overflow: hidden;
  position: relative; background: #000;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.swipe-hint {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.6); color: #fff; padding: 6px 16px; border-radius: 20px;
  font-size: 14px; animation: bounce 2s infinite;
}
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -10px); } }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 15px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; cursor: pointer; }
.dot.active { background: var(--ink); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: #fff; border-radius: var(--radius); padding: 25px; border-top: 6px solid var(--red); }
.review-card:nth-child(2n) { border-top-color: var(--mint); }
.review-card:nth-child(3n) { border-top-color: var(--yellow); }
.review-text { font-size: 15px; margin-bottom: 15px; font-style: italic; }
.review-author { font-size: 14px; font-weight: bold; color: #555; text-align: right; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); margin-bottom: 15px; overflow: hidden; }
.faq-q { padding: 20px; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 18px; }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; color: #555; }
.faq-item.open .faq-a { padding: 0 20px 20px; max-height: 200px; }
.faq-item.open .faq-q { background: var(--bg-cream); }

/* Download CTA */
.cta-section { padding: 60px 20px; }
.cta-box {
  background: var(--yellow); border: 4px solid var(--ink); border-radius: 30px; padding: 60px 20px;
  text-align: center; box-shadow: 12px 12px 0 var(--ink); max-width: 900px; margin: 0 auto;
}
.cta-box h2 { font-size: 40px; font-weight: 900; margin-bottom: 20px; }
.cta-box p { font-size: 18px; font-weight: bold; margin-bottom: 30px; }

/* Footer */
footer { background: #fff; border-top: 2px solid var(--ink); padding: 40px 0 20px; font-size: 14px; color: #666; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-logo { font-size: 20px; font-weight: 900; color: var(--ink); margin-bottom: 10px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: #666; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { text-align: center; border-top: 1px solid #eee; padding-top: 20px; font-size: 12px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 46px; }
  .library-grid { grid-template-columns: repeat(4, 1fr); }
  .chart-grid { grid-template-columns: 1fr; }
  .workshop-grid { grid-template-columns: 1fr; }
  .vert-grid { grid-template-columns: 1fr; text-align: center; }
  .vert-features { align-items: center; }
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 38px; }
  .hero p { margin: 0 auto 30px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .nav-links, .search-bar { display: none; }
  .hamburger { display: block; }
  .cat-grid, .tools-grid, .reviews-grid { grid-template-columns: 1fr; }
  .library-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .sec-title { font-size: 26px; }
}