:root {
  --bg-base: #F7F6F0;
  --accent-blue: #3045F5;
  --text-dark: #181A24;
  --text-muted: #5A5D6B;
  --lime-highlight: #C8FF00;
  --border-light: rgba(24, 26, 36, 0.12);
  --card-bg: #FFFFFF;
  --container-max: 1200px;
  --font-sys: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-sys);
  background-color: var(--bg-base);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(247, 246, 240, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.brand img {
  height: 32px;
  width: auto;
}

.main-nav {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-download-top {
  background-color: var(--accent-blue);
  color: #fff;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-download-top:hover {
  transform: scale(1.02);
  background-color: #2034d6;
}

/* Mobile menu button (visual only for static demo, no complex JS needed) */
.menu-toggle {
  display: none;
}

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

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-tagline {
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: #fff;
  padding: 14px 28px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  padding: 14px 28px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid var(--border-light);
  transition: background-color 0.2s ease;
}

.btn-secondary:hover {
  background-color: rgba(0,0,0,0.04);
}

.platform-support {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.platform-icon {
  width: 16px;
  height: 16px;
  background-color: var(--text-muted);
  border-radius: 50%;
  display: inline-block;
}

/* Hero Visual (The big 1) */
.hero-visual {
  position: relative;
  background-color: #E8EDFF;
  border-radius: 32px;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  overflow: hidden;
}

.big-one-bg {
  position: absolute;
  font-size: 300px;
  font-weight: 900;
  color: rgba(48, 69, 245, 0.08);
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

.hero-cover-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.main-cover-card {
  width: 200px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  position: relative;
  background: #000;
}

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

.thumb-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 80px;
}

.thumb-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.2s ease;
  aspect-ratio: 2/3;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-item.active {
  border-color: var(--lime-highlight);
}

.hero-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: #fff;
  z-index: 3;
}

.hero-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-info .meta {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.hero-info .hook {
  font-size: 13px;
  line-height: 1.4;
  color: #ddd;
}

/* Sections General */
section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Currently Hot */
.hot-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hot-main {
  flex: 1;
}

.hot-main-cover {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}

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

.hot-main-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hot-main-text p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.hot-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hot-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: transform 0.2s ease;
}

.hot-item:hover {
  transform: translateX(4px);
}

.hot-item-img {
  width: 60px;
  aspect-ratio: 2/3;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.hot-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hot-item-info {
  flex: 1;
}

.hot-item-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.hot-item-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}

.hot-item-link {
  font-size: 13px;
  color: var(--accent-blue);
  font-weight: 600;
}

/* Time Filter */
.time-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.time-btn {
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.time-btn.active {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}

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

.rec-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 16px;
}

.rec-card img {
  width: 80px;
  aspect-ratio: 2/3;
  border-radius: 8px;
}

.rec-info h4 {
  font-size: 16px;
  font-weight: 700;
}

.rec-info .tags {
  font-size: 12px;
  color: var(--accent-blue);
  margin: 6px 0;
}

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

/* Genre Filter */
.genre-filter-panel {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 24px;
}

.filter-group {
  margin-bottom: 16px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  background: var(--bg-base);
  border: 1px solid transparent;
  cursor: pointer;
}

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

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

.genre-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

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

.genre-card-info {
  padding: 12px;
}

.genre-card-info h4 {
  font-size: 14px;
  font-weight: 700;
}

.genre-card-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Recent Updates */
.updates-board {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.date-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.date-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

.update-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.update-row img {
  width: 48px;
  aspect-ratio: 2/3;
  border-radius: 4px;
}

.update-row-info h4 {
  font-size: 15px;
  font-weight: 600;
}

.update-row-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Story Focus */
.story-focus {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
}

.story-cover {
  width: 120px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}

.story-cover img {
  width: 100%;
  aspect-ratio: 2/3;
}

.story-content {
  flex: 1;
}

.story-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.story-tab {
  padding-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
}

.story-tab.active {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.story-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* App Experience */
.exp-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  position: relative;
}

.step-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--bg-base);
  position: absolute;
  top: 10px;
  right: 20px;
  line-height: 1;
}

.step-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.ui-mockup {
  background: var(--bg-base);
  padding: 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  border: 1px solid var(--border-light);
}

/* Brand History */
.history-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.history-text {
  max-width: 400px;
}

.history-text h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.history-text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.timeline {
  border-left: 2px solid var(--border-light);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: var(--accent-blue);
  border-radius: 50%;
}

.timeline-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-muted);
}

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

.faq-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-dark);
  transition: transform 0.3s;
}

.faq-icon::before { top: 9px; left: 0; width: 100%; height: 2px; }
.faq-icon::after { top: 0; left: 9px; width: 2px; height: 100%; }

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
}

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

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

/* Download Section */
.download-section {
  background-color: var(--accent-blue);
  color: #fff;
  padding: 60px 0;
  border: none;
}

.download-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
}

.download-text h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 12px;
}

.download-text p {
  font-size: 16px;
  opacity: 0.9;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 300px;
}

.btn-platform {
  background: #fff;
  color: var(--accent-blue);
  padding: 16px 24px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s;
}

.btn-platform:hover {
  transform: scale(1.02);
}

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

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

.footer-brand {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

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

.update-time {
  font-size: 12px;
  opacity: 0.7;
}

/* Responsive */
@media (min-width: 768px) {
  .main-nav {
    display: flex;
    gap: 24px;
  }
  
  .main-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s;
  }
  
  .main-nav a:hover {
    color: var(--text-dark);
  }

  .hero-grid {
    flex-direction: row;
    align-items: center;
  }
  
  .hero-text { flex: 0 0 45%; }
  .hero-visual { flex: 0 0 55%; min-height: 580px; }

  .hot-layout {
    flex-direction: row;
  }
  
  .time-content-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .genre-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .updates-board {
    flex-direction: row;
    gap: 40px;
  }
  
  .date-group {
    flex-direction: row;
    flex: 1;
  }
  
  .date-label {
    width: 100px;
    flex-shrink: 0;
    border-bottom: none;
    border-right: 1px solid var(--border-light);
    padding-right: 16px;
    padding-bottom: 0;
    text-align: right;
  }

  .story-focus {
    flex-direction: row;
    padding: 32px;
  }
  
  .story-cover { width: 180px; }

  .exp-steps {
    flex-direction: row;
  }
  
  .step-card { flex: 1; }

  .history-layout {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .history-text { flex: 0 0 45%; }
  .timeline { flex: 0 0 50%; }

  .download-grid {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .download-actions {
    flex-direction: row;
    max-width: none;
    width: auto;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 48px; }
  .hero-visual { min-height: 650px; }
  .main-cover-card { width: 260px; }
  .thumb-list { width: 100px; }
  .hero-info h3 { font-size: 22px; }
  
  .section-header h2 { font-size: 36px; }
  
  .genre-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}