
:root {
  --primary: #7c3aed;
  --secondary: #5b21b6;
  --accent: #a78bfa;
  --background: #ffffff;
  --surface: #faf5ff;
  --text: #1e1b4b;
  --text-muted: #6b7280;
  --border: #e9d5ff;
  --success: #22c55e;
  --gradient: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --font-family: 'Poppins', sans-serif;
  --heading-font: 'Poppins', sans-serif;
  --border-radius: 16px;
  --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1em; }

.btn {
  display: inline-block;
  font-weight: 700; padding: 14px 28px; border-radius: 50px; text-transform: uppercase; letter-spacing: 1px;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.card {
  border-radius: 20px; padding: 32px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  background: var(--surface);
}

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--text);
  font-weight: 500;
}

nav a:hover {
  color: var(--primary);
}

.hero {
  background: var(--gradient);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero .btn {
  background: white;
  color: var(--primary);
}

.hero .btn:hover {
  background: var(--surface);
  transform: translateY(-2px);
}

.tldr {
  background: var(--surface);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: var(--border-radius);
}

.tldr strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.value-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 60px 0;
}

.value-block {
  text-align: center;
  padding: 2rem;
}

.value-block-image {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
}

.value-block .icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.value-block h3 {
  margin-bottom: 0.5rem;
}

.value-block p {
  color: var(--text-muted);
}

.section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.section:nth-child(even) {
  background: var(--surface);
}

.section h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.section-content {
  max-width: 800px;
}

.subsection {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}

.video-section {
  background: var(--surface);
  padding: 60px 0;
  text-align: center;
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.faq-section {
  padding: 60px 0;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-grid {
  display: grid;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
}

.faq-question:hover {
  background: var(--background);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
}

.sources-section {
  background: var(--surface);
  padding: 40px 0;
}

.sources-section h3 {
  margin-bottom: 1rem;
}

.sources-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.sources-list a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  font-size: 0.875rem;
}

.internal-links {
  padding: 40px 0;
  background: var(--background);
}

.internal-links h3 {
  margin-bottom: 1rem;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.links-grid a {
  display: block;
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--border-radius);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.links-grid a:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

footer {
  background: var(--text);
  color: var(--background);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  nav ul { gap: 1rem; }
  .value-blocks { grid-template-columns: 1fr; }
}
