:root {
  --bg-color: #0f172a;
  --card-bg: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --border-color: #334155;
  --youtube-red: #ff0000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 2rem 5%;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--card-bg);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent);
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover, nav a.active {
  color: var(--text-main);
}

main {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

.hero {
  text-align: center;
  padding: 3rem 0 5rem 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.testing-notice {
  background-color: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #eab308;
  padding: 1rem;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto 1rem auto;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.lang-switcher {
  display: inline-flex;
  margin-left: 2rem;
  gap: 0.5rem;
  align-items: center;
  color: var(--text-muted);
}

.lang-switcher a {
  margin-left: 0;
  font-size: 0.9rem;
}

.lang-switcher a.active-lang {
  color: var(--text-main);
  font-weight: 700;
}

.document-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
  margin-bottom: 2rem;
}

.document-card h1 {
  margin-bottom: 0.5rem;
  font-size: 2.2rem;
}

.document-card .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  display: block;
}

.document-card h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.document-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.document-card ul {
  color: var(--text-muted);
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.document-card li {
  margin-bottom: 0.5rem;
}

.document-card a {
  color: var(--accent);
  text-decoration: none;
}

.document-card a:hover {
  text-decoration: underline;
}

.integration-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.youtube-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #fff;
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.youtube-badge:hover {
  transform: translateY(-2px);
}

.youtube-badge svg {
  fill: var(--youtube-red);
  width: 28px;
  height: 28px;
}

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav a {
    margin: 0 1rem;
  }
  
  .lang-switcher {
    margin-left: 0;
    margin-top: 1rem;
    justify-content: center;
  }

  .document-card {
    padding: 1.5rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
}

.app-preview {
  margin-top: 4rem;
  padding: 0 1rem;
}

.app-preview img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto;
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  margin-right: 0.25rem;
}