:root {
  --bg-main: #fffdf3;
  --bg-cream: #fff4d6;
  --brand-yellow: #ffc72c;
  --text-dark: #1d1a10;
  --accent-orange: #ff5a3c;
  --accent-mint: #3fc9a8;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 800;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 6px;
  background: var(--brand-yellow);
  margin-top: 8px;
  border-radius: 4px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p {
  margin-bottom: 16px;
  color: #4a4736;
}
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  transition: transform 0.2s, background-color 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background-color: var(--text-dark);
  color: var(--bg-main);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-color: #333;
}
.btn-secondary {
  background-color: var(--brand-yellow);
  color: var(--text-dark);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  background-color: #ffb300;
}
/* Header */
header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 253, 243, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 2px solid var(--text-dark);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
}
.logo-link img {
  height: 32px;
  width: auto;
}
.nav-links {
  display: none;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.2s;
}
.nav-links a:hover {
  background-color: var(--bg-cream);
}
.menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
/* Hero */
.hero {
  padding: 60px 0;
  background-image: radial-gradient(var(--bg-cream) 2px, transparent 2px);
  background-size: 30px 30px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  background-color: var(--accent-orange);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-orange);
}
.stat-label {
  font-size: 0.85rem;
  color: #666;
}
/* Energy Cover */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.energy-cover {
  position: relative;
  width: 260px;
  border: 6px solid var(--brand-yellow);
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--text-dark);
  transform: rotate(-2deg);
  transition: transform 0.3s;
}
.energy-cover:hover {
  transform: rotate(0deg);
}
.energy-cover img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 6px;
}
.cover-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background-color: var(--accent-orange);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 2px 2px 0 var(--text-dark);
}
.cover-ring {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border: 2px dashed var(--brand-yellow);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 20s linear infinite;
}
@keyframes rotate {
  100% { transform: rotate(360deg); }
}
/* Marquee */
.marquee {
  background-color: var(--text-dark);
  color: var(--brand-yellow);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 2px solid var(--brand-yellow);
  border-bottom: 2px solid var(--brand-yellow);
}
.marquee-content {
  display: inline-block;
  animation: scroll 20s linear infinite;
}
.marquee-content span {
  margin: 0 24px;
  font-weight: 600;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Sections */
section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2::after {
  margin: 8px auto 0;
}
.section-header p {
  max-width: 600px;
  margin: 16px auto 0;
}
/* 3 Content Types */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.content-card {
  background: #fff;
  border: 2px solid var(--text-dark);
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
  transition: transform 0.3s;
}
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--brand-yellow);
}
.card-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--bg-cream);
  line-height: 1;
}
.content-card h3 {
  margin-top: 16px;
}
.content-card .en-tag {
  font-size: 0.8rem;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
/* AI Workshop */
.ai-section {
  background-color: var(--bg-cream);
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.steps-list {
  list-style: none;
}
.steps-list li {
  position: relative;
  padding-left: 48px;
  margin-bottom: 24px;
}
.steps-list li::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--brand-yellow);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: 2px solid var(--text-dark);
}
.ai-preview {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 2px solid var(--text-dark);
  box-shadow: 6px 6px 0 var(--text-dark);
}
.ai-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
  font-weight: 800;
  color: var(--accent-orange);
}
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.pill-tag {
  background: #fff;
  border: 2px solid var(--text-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}
/* Leaderboard */
.board-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.board-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.board-item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #eee;
}
.board-rank {
  font-size: 1.5rem;
  font-weight: 800;
  width: 40px;
  color: #ccc;
}
.board-item:nth-child(1) .board-rank {
  color: var(--accent-orange);
}
.board-info {
  flex-grow: 1;
}
.board-title {
  font-weight: 700;
  font-size: 1.1rem;
}
.board-meta {
  font-size: 0.85rem;
  color: #888;
}
.board-score {
  font-weight: 800;
  color: var(--brand-yellow);
  font-size: 1.2rem;
}
.data-card {
  background: var(--text-dark);
  color: #fff;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
}
.data-card h3 {
  color: var(--brand-yellow);
  font-size: 2.5rem;
  margin-bottom: 8px;
}
.data-card p {
  color: #ccc;
}
/* Library */
.library-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.chip {
  padding: 8px 20px;
  border-radius: 20px;
  background: #fff;
  border: 2px solid var(--text-dark);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.chip.active, .chip:hover {
  background: var(--brand-yellow);
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}
.video-card:hover {
  transform: translateY(-4px);
}
.video-cover {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 12px;
}
.video-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Features */
.features-section {
  background: var(--bg-cream);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.feature-card {
  background: var(--brand-yellow);
  padding: 32px;
  border-radius: 16px;
  border: 2px solid var(--text-dark);
  box-shadow: 4px 4px 0 var(--text-dark);
}
.feature-card h3 {
  margin-bottom: 12px;
}
/* Mobile Experience */
.mobile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.phone-mockup {
  width: 280px;
  height: 560px;
  background: #111;
  border-radius: 40px;
  padding: 12px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}
.phone-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s;
}
.phone-slide.active {
  opacity: 1;
}
.swipe-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}
/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.review-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border-top: 4px solid var(--brand-yellow);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.review-card p {
  font-style: italic;
  margin-bottom: 16px;
}
.review-author {
  font-weight: 700;
  font-size: 0.9rem;
}
/* Download */
.download-banner {
  background: var(--brand-yellow);
  border-radius: 24px;
  padding: 60px 20px;
  text-align: center;
  border: 4px solid var(--text-dark);
  box-shadow: 8px 8px 0 var(--text-dark);
}
.download-banner h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.download-banner p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 32px;
}
.download-btn {
  background: var(--text-dark);
  color: #fff;
  font-size: 1.2rem;
  padding: 16px 48px;
  border-radius: 40px;
}
/* Footer */
footer {
  background: #fff;
  padding: 40px 0 20px;
  border-top: 1px solid #eee;
  font-size: 0.85rem;
  color: #888;
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: #666;
}
.copyright {
  border-top: 1px solid #eee;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}
.copyright a {
  color: #888;
}
.copyright a:hover {
  text-decoration: underline;
}
/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
details {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 16px;
}
summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent-orange);
}
details[open] summary::after {
  content: '-';
}
details p {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 8px;
  }
  .menu-toggle {
    display: none;
  }
  .hero-grid, .ai-grid, .board-grid, .mobile-grid {
    grid-template-columns: 1fr 1fr;
  }
  .content-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .library-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  h1 {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .library-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile Nav Drawer */
.mobile-menu {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-main);
  border-bottom: 2px solid var(--text-dark);
  padding: 20px;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu.open {
  display: flex;
}