/* === TANGHULU MASTER - MUKBANG ASMR === */
/* === PREMIUM CSS FOUNDATION === */

@import url('https://fonts.googleapis.com/css2?family=Zodiak:wght@400;700;900&family=Supreme:wght@400;500;700&display=swap');

:root {
  /* Obsidian Foundation */
  --bg: #09090b;
  --bg-offset: #121217;
  --text: #f8fafc;
  --text-muted: #94a3b8;

  /* Vivid Accent (Extracted from strawberry tanghulu) */
  --accent: #ff2e5b;
  --accent-glow: rgba(255, 46, 91, 0.5);
  --accent-surface: rgba(255, 46, 91, 0.1);

  /* System Tokens */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  --container-width: 1240px;
  --nav-height: 80px;
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* === CSS RESET & BASE === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Supreme', system-ui, sans-serif;
  line-height: 1.6;
  font-size: 18px;
  overflow-x: clip;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4 {
  font-family: 'Zodiak', serif;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

/* === BACKGROUND TEXTURE === */
.bg-texture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 40px 40px;
  z-index: -1;
  pointer-events: none;
}

/* === STRUCTURAL BASELINES === */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section {
  padding: 100px 0;
  position: relative;
}

.section-divider {
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* === PREMIUM UI BLOCKS === */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-glass);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px var(--accent-glow);
  filter: brightness(1.1);
}

.btn-tag {
  background: var(--bg-offset);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === NAVIGATION === */
.master-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-family: 'Zodiak', serif;
  font-size: 20px;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
}

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

.nav-cta .btn-primary {
  padding: 8px 20px;
  font-size: 14px;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

/* === HERO SECTION === */
.hero-arena {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #2e1018 0%, #1a080c 30%, #09090b 70%);
}

.hero-content h1 {
  font-size: clamp(48px, 8vw, 92px);
  margin-bottom: 16px;
  background: linear-gradient(to bottom, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: 22px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 32px;
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-offset);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 40px;
  font-weight: 600;
}

.hero-rating i { color: #facc15; }

.hero-mockup {
  margin-top: 60px;
  position: relative;
  display: inline-block;
}

.iphone-frame {
  width: 320px;
  height: 650px;
  background: #111;
  border: 12px solid #222;
  border-radius: 48px;
  overflow: hidden;
  box-shadow: 0 0 100px rgba(255, 46, 91, 0.2);
  position: relative;
}

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

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

/* === REVIEWS SECTION === */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.rating-header {
  text-align: center;
  margin-bottom: 60px;
}

.aggregate-badge {
  font-size: 64px;
  font-weight: 900;
  color: var(--accent);
  display: block;
}

.star-bar-chart {
  max-width: 400px;
  margin: 24px auto;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 14px;
}

.bar-bg {
  flex: 1;
  height: 8px;
  background: var(--glass-bg);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--accent);
}

.review-card {
  padding: 32px;
  border-radius: var(--radius-lg);
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
}

.stars { color: #facc15; margin-bottom: 12px; }

/* === SCREENSHOT GALLERY === */
.slider-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding: 20px 40px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider-container::-webkit-scrollbar { display: none; }

.slider-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 280px;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease;
}

.slider-item:hover { transform: scale(1.03); }

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

/* === FEATURES ACCORDION === */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.accordion-item {
  border-bottom: 1px solid var(--glass-border);
  cursor: pointer;
}

.accordion-trigger {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
}

.accordion-trigger i {
  color: var(--accent);
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-muted);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding-bottom: 24px;
}

.accordion-item.active .accordion-trigger i {
  transform: rotate(45deg);
}

.feature-visual {
  position: sticky;
  top: 120px;
}

.feature-panel {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.feature-panel.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* === COUNTER BAR === */
.stats-strip {
  background: var(--accent-surface);
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}

.stats-container {
  display: flex;
  justify-content: space-around;
  text-align: center;
  flex-wrap: wrap;
  gap: 40px;
}

.stat-item h3 {
  font-size: 56px;
  margin-bottom: 8px;
  color: var(--accent);
}

.stat-item p {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* === DOWNLOAD CTA === */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-screenshot img {
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 80px var(--accent-glow);
}

.cta-content h2 {
  font-size: 56px;
  margin-bottom: 24px;
}

/* === FOOTER === */
.photo-footer {
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.9)), url('images/app-screen-12.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand img {
  width: 24px;
  height: 24px;
  margin-bottom: 20px;
  display: inline;
  vertical-align: middle;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--accent);
}

.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a:hover { color: var(--accent); }

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.newsletter-form input {
  background: var(--bg);
  border: 1px solid var(--glass-border);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: #fff;
  flex: 1;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .feature-grid, .cta-split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-mockup { margin-top: 40px; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .master-nav { --nav-height: 70px; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--bg);
    flex-direction: column;
    padding: 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }
  .nav-links.active { transform: translateX(0); }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }

  .hero-content h1 { font-size: 48px; }
  .iphone-frame { width: 260px; height: 530px; }
  .aggregate-badge { font-size: 48px; }
  .slider-item { width: 200px; height: 350px; }
  .stat-item h3 { font-size: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-offset); border: 2px solid var(--bg); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
