/* ==========================================================================
   OurTV+ Simple & Humble Stylesheet
   Clean, readable, minimalist design
   ========================================================================== */

:root {
  --bg: #0D0F14;
  --bg-surface: #141720;
  --bg-card: #1A1D28;
  --bg-card-hover: #222634;

  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --primary: #E50914;
  --primary-hover: #F40612;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-focus: rgba(229, 9, 20, 0.5);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

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

.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.3px;
}

.version-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #FFFFFF;
}

.nav .nav-download {
  color: #FFFFFF;
  background: var(--primary);
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
}

.nav .nav-download:hover {
  background: var(--primary-hover);
}

/* Hero Section */
.hero {
  padding: 60px 0 50px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.hero-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.hero-tagline {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

/* Download Group */
.downloads-group {
  width: 100%;
  max-width: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  text-align: left;
  transition: all 0.2s ease;
}

.download-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.dl-android {
  border-color: rgba(229, 9, 20, 0.3);
}

.dl-android:hover {
  border-color: var(--primary);
}

.dl-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
}

.dl-text {
  display: flex;
  flex-direction: column;
}

.dl-label {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

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

.hero-notes {
  font-size: 13px;
  color: var(--text-dim);
}

/* Sections */
.section {
  padding: 50px 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

/* Features List */
.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.item-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  margin-top: 7px;
  flex-shrink: 0;
}

.item-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.item-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Install Guide */
.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.install-card {
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.install-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.install-card ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.install-card li {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.install-card code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: #E2E8F0;
  font-family: monospace;
}

.install-tip {
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  background: #0A0C10;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-note {
  font-size: 12px;
}

/* Responsive */
@media (max-width: 680px) {
  .downloads-group {
    grid-template-columns: 1fr;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .install-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-tagline {
    font-size: 16px;
  }

  .nav {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
