:root {
  --primary-color: #f59e0b;
  --secondary-color: #d97706;
  --accent-color: #fbbf24;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --text-muted: #9ca3af;
  --bg-color: #ffffff;
  --bg-light: #f8fafc;
  --bg-accent: #fffbeb;
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;
  --plex-color: #e5a00d;
  --emby-color: #52b54b;
  --jellyfin-color: #00a4dc;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --primary-color: #fbbf24;
  --secondary-color: #f59e0b;
  --accent-color: #fcd34d;
  --text-color: #f8fafc;
  --text-light: #cbd5e1;
  --text-muted: #94a3b8;
  --bg-color: #0f172a;
  --bg-light: #1e293b;
  --bg-accent: #334155;
  --border-color: #334155;
  --border-light: #475569;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
}

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

body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: var(--transition);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  color: var(--text-color);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

h5 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 20px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.section-actions {
  text-align: center;
  margin-top: 3rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.what-are-prerolls {
  background: var(--bg-light);
  padding: 100px 0;
  border-top: 1px solid var(--border-light);
  position: relative;
}

.what-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.what-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.what-description {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-light);
}

.what-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.benefit-item p {
  color: var(--text-light);
  line-height: 1.6;
}

.what-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.what-main-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--bg-color);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.loading {
  text-align: center;
  padding: 2rem;
  color: var(--text-light);
}

.error {
  background: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
}

.success {
  background: #f0fdf4;
  color: #16a34a;
  padding: 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
}