/* Deckloop Static Public Pages CSS */
/* Dark theme matching SPA - uses same colors as src/index.css dark mode */

/* Import Inter font to match SPA */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Match src/index.css dark mode EXACTLY */
  --color-bg: hsl(0, 0%, 10%);           /* #1a1a1a */
  --color-bg-soft: hsl(0, 0%, 8%);       /* For footer/softer areas */
  --color-surface: hsl(0, 0%, 12%);      /* #1f1f1f */
  --color-text: hsl(0, 0%, 98%);         /* #fafafa */
  --color-text-secondary: hsl(0, 0%, 90%);
  --color-text-muted: hsl(0, 0%, 60%);   /* #999999 */
  --color-border: hsl(0, 0%, 20%);       /* #333333 */
  --color-primary: hsl(348, 100%, 62%);  /* #f44e7b - THE PINK */
  --color-primary-soft: hsla(348, 100%, 62%, 0.12);
  --color-primary-hover: hsl(348, 100%, 55%);
  --color-secondary: hsl(0, 0%, 15%);
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --radius-lg: 1.125rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px hsla(0, 0%, 0%, 0.3);
  --shadow-md: 0 4px 6px hsla(0, 0%, 0%, 0.4);
  --shadow-lg: 0 10px 25px hsla(0, 0%, 0%, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 64px; /* Compensate for fixed header */
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ===== SITE HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: hsla(0, 0%, 10%, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo styling */
.site-logo,
.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: opacity 0.15s;
}

.site-logo:hover,
.header-logo:hover {
  opacity: 0.8;
  text-decoration: none;
}

.site-logo-icon {
  height: 2rem;
  width: auto;
}

.header-logo img {
  height: 32px;
  width: auto;
}

.site-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

/* Nav links */
.site-header-nav,
.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link,
.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-link:hover,
.header-nav a:hover {
  color: var(--color-text);
  text-decoration: none;
}

.nav-link-active {
  color: var(--color-text);
}

.nav-link-primary {
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid hsla(348, 100%, 62%, 0.7);
  background: hsla(348, 100%, 62%, 0.15);
  color: var(--color-primary);
  transition: background 0.15s;
}

.nav-link-primary:hover {
  background: hsla(348, 100%, 62%, 0.25);
  color: var(--color-primary);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
}

.btn-ghost:hover {
  color: var(--color-text);
  background: hsla(0, 0%, 100%, 0.05);
}

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

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

/* CTA button - matches SPA primary button with pink glow */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px 0 hsla(348, 100%, 62%, 0.3);
  text-decoration: none;
}

.cta-button:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 hsla(348, 100%, 62%, 0.4);
  text-decoration: none;
}

/* ===== HERO SECTION (Landing) ===== */
.hero {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--color-primary-soft) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero-content {
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: var(--color-primary-soft);
  border: 1px solid hsla(348, 100%, 62%, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Landing hero image (distinct from deck hero-image) */
.landing-hero-image {
  display: none;
}

.landing-hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

/* ===== SECTIONS ===== */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* ===== AUDIENCE CHIPS ===== */
.audience-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.audience-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
}

.audience-chip span {
  font-size: 1.1rem;
}

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.feature-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== BENEFITS GRID ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.benefit-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.benefit-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== USE CASES GRID ===== */
.usecases-grid {
  display: grid;
  gap: 1rem;
}

.usecase-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.usecase-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.usecase-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.usecase-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== HOW IT WORKS ===== */
.steps-container {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: white;
  font-weight: 700;
  border-radius: 50%;
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.sources-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.source-tag {
  padding: 0.375rem 0.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.learn-more-link:hover {
  text-decoration: underline;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, hsla(348, 100%, 62%, 0.15) 0%, hsla(348, 100%, 62%, 0.05) 100%);
  border-top: 1px solid hsla(348, 100%, 62%, 0.2);
  border-bottom: 1px solid hsla(348, 100%, 62%, 0.2);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  gap: 2.5rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand img {
  height: 28px;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

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

.footer-column li {
  margin-bottom: 0.625rem;
}

.footer-column a {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Legacy footer for deck pages */
.footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 1rem;
  z-index: 1000;
  animation: cookieSlideUp 0.3s ease-out;
}

@keyframes cookieSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.cookie-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.cookie-icon {
  flex-shrink: 0;
  color: var(--color-primary);
}

.cookie-text p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

.cookie-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.25rem 0;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: hsla(0, 0%, 0%, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.cookie-modal.active {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: calc(100% - 2rem);
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  animation: modalSlideUp 0.2s ease-out;
}

@keyframes modalSlideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cookie-modal-header h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  padding: 0.25rem;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.cookie-modal-close:hover {
  color: var(--color-text);
  background: hsla(0, 0%, 100%, 0.05);
}

.cookie-modal-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.cookie-option-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.cookie-option-text {
  flex: 1;
}

.cookie-option-text h4 {
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0 0 0.25rem 0;
  color: var(--color-text);
}

.cookie-option-text p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  width: 44px;
  height: 24px;
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}

.cookie-toggle-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::after {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.cookie-modal-buttons .btn {
  flex: 1;
  min-width: 120px;
}

/* ===== DECK PAGE SPECIFIC ===== */

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.back-link:hover {
  background: var(--color-secondary);
  color: var(--color-text);
  text-decoration: none;
}

/* Hero image for deck pages */
.hero-image {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--color-surface);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Title row */
.title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.title-row h1 {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

/* Headings */
h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
}

p {
  margin-bottom: 1rem;
}

/* Deck description */
.deck-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Badges */
.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.badge-secondary {
  background: var(--color-secondary);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* Stats row */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.stats-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

/* Learning section */
.learning-section {
  margin: 2rem 0;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.learning-list {
  list-style: none;
  padding: 0;
  margin-top: 0.75rem;
}

.learning-list li {
  padding: 0.375rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-muted);
}

.learning-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* Preview section */
.preview-section {
  margin: 2rem 0;
}

.preview-subtitle {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.preview-frame {
  border-radius: var(--radius);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.preview-iframe {
  width: 100%;
  height: 4000px;
  border: none;
  display: block;
}

/* FAQ section */
.faq-section {
  margin: 2rem 0;
}

.faq-item {
  margin-bottom: 1rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.faq-question {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.faq-answer {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 0.875rem;
}

/* Deck details sections */
.deck-details {
  margin: 2rem 0;
}

.deck-details h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.deck-details p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Prose styles for legal/content pages */
.prose {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.prose h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.prose h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.prose ul,
.prose ol {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  color: var(--color-primary);
}

.prose a:hover {
  text-decoration: underline;
}

/* ===== EXPLORE PAGE SPECIFIC ===== */

/* Explore hero */
.explore-hero {
  text-align: center;
  padding: 3rem 1rem;
  margin-bottom: 3rem;
  background: linear-gradient(180deg, var(--color-surface) 0%, transparent 100%);
  border-radius: var(--radius);
}

.explore-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-text), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Explore section */
.explore-section {
  margin-bottom: 3rem;
}

.explore-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

/* Subject grid */
.subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.subject-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.subject-tile:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px hsla(348, 100%, 62%, 0.15);
  text-decoration: none;
}

.subject-tile-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.subject-tile-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.subject-tile-count {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Deck grid */
.deck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.deck-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.deck-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 30px hsla(0, 0%, 0%, 0.3);
  text-decoration: none;
}

.deck-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-secondary);
  overflow: hidden;
}

.deck-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deck-card-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.deck-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.deck-card-description {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.deck-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.deck-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Breadcrumbs */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb-nav a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb-nav .separator {
  color: var(--color-border);
}

.breadcrumb-nav .current {
  color: var(--color-text);
  font-weight: 500;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-muted);
}

.empty-state p {
  margin-bottom: 1rem;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usecases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .footer-columns {
    grid-template-columns: repeat(4, 1fr);
  }

  .cookie-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .header-nav,
  .site-header-nav {
    display: flex;
  }

  .hero {
    padding: 5rem 0 6rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section {
    padding: 5rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  h1 {
    font-size: 1.875rem;
  }
  
  h2 {
    font-size: 1.125rem;
  }
  
  .page {
    padding: 1rem;
  }
  
  .title-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .preview-iframe {
    height: 4000px;
  }

  .explore-hero {
    padding: 2rem 1rem;
  }
  
  .explore-hero h1 {
    font-size: 1.875rem;
  }
  
  .subject-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .deck-grid {
    grid-template-columns: 1fr;
  }
  
  .breadcrumb-nav {
    font-size: 0.8125rem;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .hero-content {
    text-align: left;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .hero-subtitle {
    margin: 0 0 2rem;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .hero-stats {
    justify-content: flex-start;
  }

  .landing-hero-image {
    display: block;
  }

  .footer-inner {
    grid-template-columns: 1.5fr 2fr;
  }

  .steps-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
