/* Bootstrap 5 Theme Override - QuizMaster */
:root {
  --bs-primary: #3EB8D4;
  --bs-primary-rgb: 62, 184, 212;
  --bs-secondary: #FFA14A;
  --bs-secondary-rgb: 255, 161, 74;
  --bs-link-color: #3EB8D4;
  --bs-link-hover-color: #2A9DB8;
}

body {
  padding-top: 72px;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Navbar */
.navbar {
  --bs-navbar-color: rgba(255, 255, 255, 0.85);
  --bs-navbar-hover-color: #fff;
  --bs-navbar-active-color: #fff;
  backdrop-filter: blur(12px);
}
.navbar.bg-white {
  --bs-navbar-color: rgba(0, 0, 0, 0.65);
  --bs-navbar-hover-color: #3EB8D4;
  --bs-navbar-active-color: #3EB8D4;
}
.navbar-brand {
  font-weight: 800;
  letter-spacing: -0.3px;
}

/* Hero */
.hero-gradient {
  background: linear-gradient(135deg, #2A9DB8 0%, #3EB8D4 50%, #6CCDE3 100%);
}
.hero-phone {
  max-width: 260px;
  border-radius: 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

/* Section spacing */
.section {
  padding: 80px 0;
}

/* Feature icon circles */
.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(62, 184, 212, 0.08);
  color: #3EB8D4;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* App cards */
.app-card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Footer */
.footer-brand {
  font-weight: 800;
  letter-spacing: -0.3px;
}

/* Legal pages (privacy / terms) */
.legal-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-content .warning {
  color: #d32f2f;
  font-weight: 600;
}
.legal-content li {
  margin-bottom: 0.25rem;
}

/* Screenshot phone frame - scrollable */
.screenshot-frame {
  background: #f0f2f5;
  border-radius: 24px;
  padding: 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  height: 440px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.screenshot-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}
.screenshot-frame::-webkit-scrollbar {
  width: 4px;
}
.screenshot-frame::-webkit-scrollbar-thumb {
  background: #c0c4cc;
  border-radius: 4px;
}
.screenshot-frame img {
  width: 100%;
  display: block;
  border-radius: 16px;
}
