/* YT Repeater Pro - Official Site Styles */
:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --text: #202124;
  --text-light: #5f6368;
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --border: #dadce0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

/* Header & Navigation */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Main Content */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.tagline {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--primary);
  color: white !important;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}

.cta-button:hover {
  background: var(--primary-dark);
}

/* Sections */
section {
  margin-bottom: 4rem;
}

section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text);
}

section h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.intro p, .features p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Video */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.demo-video h2 {
  margin-bottom: 1.5rem;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature {
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Screenshots */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.screenshot-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.screenshot-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 1rem;
}

/* Purchase CTA */
.purchase {
  text-align: center;
  padding: 3rem;
  background: var(--bg-alt);
  border-radius: 8px;
}

.purchase p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

footer p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Legal Pages (Privacy, Terms, About, Contact) */
.legal-page, .content-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
}

.legal-page h1, .content-page h1 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.legal-page h2, .content-page h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.legal-page p, .content-page p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.legal-page ul, .content-page ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-page li, .content-page li {
  margin-bottom: 0.5rem;
}

.legal-page a, .content-page a {
  color: var(--primary);
}

/* Contact - Email */
.email-link {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--primary);
  text-decoration: none;
  margin: 1rem 0;
}

.email-link:hover {
  text-decoration: underline;
}

code {
  background: var(--bg-alt);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Responsive */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}
