:root {
  --blue: #0066FF;
  --blue-dark: #0044CC;
  --blue-light: #E5F0FF;
  --bg: #F7F9FC;
  --text: #1A1D24;
  --text-light: #5A6270;
  --border: #E2E8F0;
  --red: #FF4D4F;
  --orange: #FF8C00;
  --green: #00C49F;
  --yellow: #FFD700;
  --night: #0A1128;
  --white: #FFFFFF;
}

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

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

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
  background-color: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background-color: var(--blue-light);
}

/* Header */
header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 10px 0;
}

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

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-group img {
  height: 32px;
  width: auto;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue);
}

.nav-menu {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 20px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--border);
  transition: background-color 0.3s;
}

.nav-item:hover::before, .nav-item.active::before {
  background-color: var(--blue);
}

.nav-item:hover, .nav-item.active {
  color: var(--blue);
}

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

.header-btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 22px;
  font-size: 0.95rem;
}

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

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

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 2rem;
}

.trust-info {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero-content {
  display: flex;
  gap: 20px;
  height: 400px;
  position: relative;
}

.cover-wall {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  gap: 15px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.cover-wall-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 120px;
}

.cover-wall img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
}

.featured-videos {
  flex: 2;
  position: relative;
  z-index: 1;
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.video-card {
  width: 180px;
  aspect-ratio: 3/4;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.video-card:hover {
  transform: translateY(-5px) rotate(2deg);
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 20px 10px 10px;
  color: var(--white);
}

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

.video-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  opacity: 0.9;
}

.hot-list {
  flex: 1;
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  overflow-y: auto;
}

.hot-item {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  align-items: center;
}

.hot-item img {
  width: 48px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 6px;
}

.hot-info {
  flex: 1;
  overflow: hidden;
}

.hot-title {
  font-size: 0.85rem;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hot-tag {
  font-size: 0.7rem;
  color: var(--text-light);
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 4px;
}

/* Street Sections */
.street-section {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 30px;
}

/* UI/UX Features */
.ux-section {
  background: var(--bg);
}

.ux-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background: var(--text);
  border-radius: 36px;
  padding: 12px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

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

.player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  margin-bottom: 10px;
  position: relative;
}

.progress-fill {
  width: 40%;
  height: 100%;
  background: var(--blue);
  border-radius: 2px;
}

.ux-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.ux-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.ux-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: bold;
}

/* Entertainment Section */
.ent-section {
  background: #FFF5F5;
}

.marquee {
  background: var(--red);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 20px;
  display: inline-block;
  font-weight: bold;
  margin-bottom: 30px;
  white-space: nowrap;
}

.ent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.ent-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

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

.ent-info {
  padding: 10px;
}

.ent-title {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.ent-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Education Section */
.edu-section {
  background: #F0FDF4;
}

.edu-timetable {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.edu-card {
  display: flex;
  gap: 15px;
  background: var(--white);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #D1FAE5;
}

.edu-card img {
  width: 80px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
}

/* Life Hacks Section */
.life-section {
  background: #FFFBEB;
}

.life-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.life-card {
  display: flex;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.life-card img {
  width: 120px;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.life-content {
  padding: 20px;
  flex: 1;
}

/* Discover Section (Night Mode) */
.discover-section {
  background: var(--night);
  color: var(--white);
}

.discover-section h2 {
  color: var(--white);
}

.discover-street {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.discover-card {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

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

.discover-info {
  padding: 10px;
}

/* Share Section */
.share-section {
  background: var(--white);
}

.step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.step-card {
  text-align: center;
}

.step-card img {
  width: 200px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Community Section */
.community-section {
  background: #FDF4FF;
}

.community-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.avatar-tag {
  background: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.avatar-circle {
  width: 32px;
  height: 32px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
  background: var(--bg);
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 10px;
}

/* FAQ Section */
.faq-section {
  background: var(--white);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.faq-q {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.faq-a {
  color: var(--text-light);
}

/* Final CTA */
.final-cta {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
}

.final-cta h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.final-cta .btn {
  background: var(--white);
  color: var(--blue);
  font-size: 1.1rem;
  padding: 15px 40px;
}

/* Footer */
footer {
  background: var(--night);
  color: rgba(255,255,255,0.6);
  padding: 40px 20px;
  font-size: 0.85rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

.footer-links a {
  color: rgba(255,255,255,0.8);
}

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

/* Media Queries */
@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  
  .header-inner { padding: 0 20px; }
  .nav-menu { display: flex; }
  
  .hero-grid {
    flex-direction: row;
    align-items: center;
  }
  
  .hero-text { flex: 1; }
  .hero-content { flex: 2; height: 500px; }
  
  .ux-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  
  .edu-timetable {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .step-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .discover-street {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  section { padding: 100px 0; }
  
  .hero-content { height: 600px; }
  
  .video-card { width: 220px; }
  
  .edu-timetable {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .discover-street {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .life-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}