:root {
  --bg-light: #f4f8fa;
  --brand-blue: #1b62e8;
  --brand-blue-dark: #0d47c4;
  --text-main: #1e2630;
  --text-muted: #5b677a;
  --card-bg: #ffffff;
  --accent-red: #e64343;
  --accent-green: #38a169;
  --border-color: #d5e1ec;
  --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-light);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Progress bar */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background-color: var(--brand-blue); width: 0%; z-index: 1000;
  transition: width 0.1s;
}

/* Header */
header {
  position: sticky; top: 0; z-index: 900;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo-area { display: flex; align-items: center; gap: 8px; }
.logo-area img { height: 32px; width: auto; border-radius: 6px; }
.brand-name { font-size: 20px; font-weight: 800; color: var(--brand-blue); letter-spacing: 0.5px; }

.nav-stations { display: none; }
.nav-stations a {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  margin: 0 10px; transition: color 0.2s;
}
.nav-stations a::before {
  content: ''; display: inline-block; width: 8px; height: 8px;
  background-color: var(--border-color); border-radius: 50%;
}
.nav-stations a:hover, .nav-stations a.active { color: var(--brand-blue); }
.nav-stations a:hover::before, .nav-stations a.active::before { background-color: var(--brand-blue); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-download {
  background-color: var(--brand-blue); color: white; font-weight: bold;
  padding: 0 20px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 22px; font-size: 16px; transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 4px 12px rgba(27, 98, 232, 0.3);
}
.btn-download:hover { background-color: var(--brand-blue-dark); transform: translateY(-1px); }

/* Common Section Styles */
section { padding: 60px 24px; max-width: 1280px; margin: 0 auto; position: relative; }
.street-sign { display: inline-flex; margin-bottom: 16px; background: var(--brand-blue); color: white; border-radius: 4px; font-size: 12px; font-weight: bold; overflow: hidden; }
.street-sign span { padding: 4px 8px; }
.street-sign span:first-child { background: var(--brand-blue-dark); font-family: monospace; }
h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; color: var(--text-main); letter-spacing: -0.5px; }
h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.lead-text { font-size: 16px; color: var(--text-muted); max-width: 600px; margin-bottom: 32px; }

/* Card Grid (Video Signboards) */
.video-card {
  background: var(--card-bg); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border-color); position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.cover-wrap { position: relative; aspect-ratio: 3/4; width: 100%; background: #eee; overflow: hidden; }
.cover-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.video-card:hover .cover-wrap img { transform: scale(1.03); }
.play-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 40px; height: 40px; background: rgba(0,0,0,0.5); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.play-icon::after { content: ''; display: block; width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 12px solid white; margin-left: 4px; }
.duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.7); color: white; font-size: 12px; padding: 2px 6px; border-radius: 4px; font-family: monospace; }
.card-info { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 15px; font-weight: bold; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.creator-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-top: auto; }
.creator { display: flex; align-items: center; gap: 6px; }
.avatar { width: 20px; height: 20px; background: var(--brand-blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: bold; }
.stats { display: flex; gap: 8px; }
.tag { position: absolute; top: 8px; left: 8px; background: rgba(255,255,255,0.9); color: var(--text-main); font-size: 11px; font-weight: bold; padding: 2px 6px; border-radius: 4px; }

/* Hero Section */
.hero-section { padding-top: 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.hero-text h1 { font-size: 40px; font-weight: 900; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero-text p { font-size: 18px; color: var(--text-muted); margin-bottom: 30px; line-height: 1.6; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.trust-info { font-size: 13px; color: var(--text-muted); display: flex; gap: 16px; flex-wrap: wrap; }
.trust-info span { display: flex; align-items: center; gap: 4px; }
.trust-info span::before { content: '•'; color: var(--brand-blue); font-size: 18px; }

.hero-content-area { position: relative; }
.slider-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 16px; scrollbar-width: none; }
.slider-row::-webkit-scrollbar { display: none; }
.slider-row .video-card { min-width: 200px; flex-shrink: 0; }

/* Highlights (Vertical signboards) */
.horizontal-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scroll-snap-type: x mandatory; }
.horizontal-scroll::-webkit-scrollbar { height: 6px; }
.horizontal-scroll::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
.horizontal-scroll .video-card { min-width: 220px; scroll-snap-align: start; }

/* Features Deep Blue (Discover) */
.night-section { background-color: #0d1b2a; color: white; }
.night-section h2 { color: white; }
.night-section .lead-text { color: #a0b3c6; }
.night-section .video-card { background: #1b2a3a; border-color: #2a3b4c; }
.night-section .card-title { color: white; }
.night-section .creator-row { color: #a0b3c6; }

/* Footer */
footer {
  background-color: #fff; padding: 40px 24px 20px; border-top: 1px solid var(--border-color);
  font-size: 13px; color: var(--text-muted);
}
.footer-content { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 24px; }
.footer-brand p { margin-bottom: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a:hover { color: var(--brand-blue); }
.footer-bottom { margin-top: 24px; text-align: center; font-size: 12px; color: #888; border-top: 1px solid var(--border-color); padding-top: 16px; }
.footer-bottom a { margin: 0 4px; }
.footer-bottom a:hover { color: var(--brand-blue); }

/* Mobile sticky download */
.mobile-sticky-bar {
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: #fff; border-top: 1px solid var(--border-color);
  padding: 10px 16px; display: flex; justify-content: space-between; align-items: center;
  z-index: 900; box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}
.mobile-sticky-bar span { font-size: 14px; font-weight: bold; }
.mobile-sticky-bar .btn-download { height: 38px; font-size: 14px; }

/* Media Queries */
@media (min-width: 768px) {
  .nav-stations { display: flex; overflow-x: auto; white-space: nowrap; }
  .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .footer-content { grid-template-columns: 2fr 1fr; }
  .mobile-sticky-bar { display: none; }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 4fr 8fr; }
  .hero-text h1 { font-size: 56px; }
  .slider-row .video-card { min-width: 240px; }
  header { padding: 12px 40px; }
  section { padding: 80px 40px; }
}