/* Incentive Progress Block - Styles */

/* CSS Variables */
:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --secondary: #0F172A;
  --text: #374151;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border: #e5e7eb;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  --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);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.6;
  background: var(--bg-white);
}

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

.container--narrow {
  max-width: 800px;
}

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

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

/* Navigation */
.nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--secondary);
  text-decoration: none;
}

.nav__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 16px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav__link {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
  text-decoration: none;
}

.nav__cta {
  display: flex;
  align-items: center;
}

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

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

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

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

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

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

.btn--white:hover {
  background: var(--bg-light);
  text-decoration: none;
}

.btn--small {
  padding: 8px 16px;
  font-size: 14px;
}

.btn--large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn--full {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #ecfdf5 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.hero__note {
  font-size: 14px;
  color: var(--text-light);
}

/* Hero Preview */
.hero__preview {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.progress-demo {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
}

.progress-demo__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.progress-demo__icon {
  font-size: 20px;
}

.progress-demo__text {
  font-size: 15px;
  color: var(--text);
}

.progress-demo__bar {
  position: relative;
  height: 12px;
  background: #e5e7eb;
  border-radius: var(--radius-full);
  overflow: visible;
}

.progress-demo__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

.progress-demo__milestone {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.progress-demo__milestone-icon {
  font-size: 16px;
  background: white;
  border-radius: 50%;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}

.progress-demo__milestone-label {
  font-size: 11px;
  color: var(--text-light);
  position: absolute;
  top: 24px;
}

/* Sections */
section {
  padding: 80px 0;
}

.section__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 12px;
}

.section__subtitle {
  font-size: 18px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 48px;
}

/* Features Grid */
.features {
  background: var(--bg-white);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 32px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.feature-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.feature-card__desc {
  color: var(--text-light);
  line-height: 1.6;
}

/* Display Modes Section */
.modes {
  background: var(--bg-light);
}

.modes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.mode-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.mode-card__preview {
  height: 80px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 16px;
}

.mode-preview-bar {
  width: 100%;
  height: 12px;
  background: #e5e7eb;
  border-radius: var(--radius-full);
}

.mode-preview-fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.mode-preview-steps {
  display: flex;
  gap: 24px;
}

.mode-preview-step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.mode-preview-step.active {
  background: var(--primary);
  color: white;
}

.mode-preview-announcement {
  background: var(--primary);
  color: white;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}

.mode-preview-text {
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
}

.mode-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.mode-card__desc {
  font-size: 14px;
  color: var(--text-light);
}

/* How It Works */
.how-it-works {
  background: var(--bg-white);
}

.steps {
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  padding: 28px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
}

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

.step__title {
  font-size: 20px;
  color: var(--secondary);
  margin-bottom: 8px;
}

.step__desc {
  color: var(--text-light);
  line-height: 1.6;
}

/* Pricing */
.pricing {
  background: var(--bg-light);
}

.pricing__card {
  max-width: 450px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
}

.pricing__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
}

.pricing__price {
  margin-bottom: 8px;
}

.pricing__amount {
  font-size: 52px;
  font-weight: 800;
  color: var(--primary);
}

.pricing__period {
  font-size: 18px;
  color: var(--text-light);
}

.pricing__plan {
  font-size: 24px;
  color: var(--secondary);
  margin-bottom: 8px;
}

.pricing__tagline {
  color: var(--text-light);
  margin-bottom: 28px;
}

.pricing__features {
  text-align: left;
  margin-bottom: 28px;
}

.pricing__features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.pricing__features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  margin-right: 10px;
}

.pricing__features li:last-child {
  border-bottom: none;
}

.pricing__guarantee {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-light);
}

/* Pricing Grid for Multiple Tiers */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing__grid .pricing__card {
  max-width: none;
  margin: 0;
  padding: 32px;
}

.pricing__grid .pricing__amount {
  font-size: 42px;
}

.pricing__card--featured {
  transform: scale(1.05);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(5, 150, 105, 0.15);
}

.pricing__card--free {
  opacity: 0.95;
}

.pricing__card--free .pricing__amount {
  color: var(--text);
}

@media (max-width: 900px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }

  .pricing__card--featured {
    transform: none;
    order: -1;
  }
}

/* FAQ */
.faq {
  background: var(--bg-white);
}

.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.faq__item {
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.faq__question {
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.faq__answer {
  color: var(--text-light);
  line-height: 1.7;
}

.faq__cta {
  text-align: center;
  padding: 32px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
}

.faq__cta p {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 80px 24px;
}

.cta__title {
  font-family: var(--font-display);
  font-size: 40px;
  margin-bottom: 16px;
}

.cta__subtitle {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta__note {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.8;
}

/* Footer */
.footer {
  background: var(--secondary);
  color: white;
  padding: 48px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: white;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer__desc {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer__company {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__company a {
  color: rgba(255, 255, 255, 0.7);
}

.footer__nav h4 {
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 700;
}

.footer__nav ul li {
  margin-bottom: 10px;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: white;
}

.footer__bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 42px;
  margin-bottom: 8px;
}

.page-header p {
  font-size: 16px;
  opacity: 0.9;
}

/* Content Section */
.content-section {
  padding: 60px 0;
}

.content-section h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--secondary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.content-section h3 {
  font-size: 22px;
  color: var(--secondary);
  margin: 32px 0 16px 0;
}

.content-section h4 {
  font-size: 18px;
  color: var(--text);
  margin: 24px 0 12px 0;
}

.content-section p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-section ul,
.content-section ol {
  margin-bottom: 16px;
  padding-left: 24px;
  list-style: disc;
}

.content-section ol {
  list-style: decimal;
}

.content-section li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Demo Page Styles */
.demo-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.demo-header h1 {
  font-family: var(--font-display);
  font-size: 42px;
  margin-bottom: 12px;
}

.demo-header p {
  font-size: 18px;
  opacity: 0.9;
}

.demo-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.demo-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.demo-controls {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.demo-controls h3 {
  font-size: 20px;
  color: var(--secondary);
  margin-bottom: 24px;
}

.control-group {
  margin-bottom: 24px;
}

.control-group label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  font-size: 14px;
}

.control-hint {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 10px 12px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.radio-option:hover {
  background: #e5e7eb;
}

.radio-option input {
  accent-color: var(--primary);
}

.radio-option span {
  font-size: 14px;
  color: var(--text);
}

.slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #e5e7eb;
  outline: none;
  -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
}

.select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: white;
  cursor: pointer;
}

.color-options {
  display: flex;
  gap: 10px;
}

.color-option {
  cursor: pointer;
}

.color-option input {
  display: none;
}

.color-swatch {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}

.color-option input:checked + .color-swatch {
  border-color: var(--secondary);
  transform: scale(1.1);
}

/* Demo Preview */
.demo-preview {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.demo-preview h3 {
  font-size: 20px;
  color: var(--secondary);
  margin-bottom: 24px;
}

.preview-container {
  margin-bottom: 32px;
}

.preview-mode {
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

/* Linear Bar Preview */
.linear-bar {
  padding: 16px;
}

.linear-bar__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.linear-bar__icon {
  font-size: 20px;
}

.linear-bar__text {
  font-size: 15px;
  color: var(--text);
}

.linear-bar__track {
  position: relative;
  height: 14px;
  background: #e5e7eb;
  border-radius: var(--radius-full);
}

.linear-bar__fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.linear-bar__milestone {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.linear-bar__milestone-dot {
  width: 12px;
  height: 12px;
  background: white;
  border: 3px solid var(--primary);
  border-radius: 50%;
}

.linear-bar__milestone-label {
  position: absolute;
  top: 20px;
  font-size: 11px;
  color: var(--text-light);
  white-space: nowrap;
}

/* Stepped Bar Preview */
.stepped-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px;
}

.stepped-bar__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stepped-bar__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.3s;
}

.stepped-bar__step.active .stepped-bar__icon {
  background: var(--primary);
}

.stepped-bar__label {
  font-size: 12px;
  color: var(--text-light);
}

.stepped-bar__connector {
  width: 60px;
  height: 4px;
  background: #e5e7eb;
  margin: 0 8px;
  margin-bottom: 28px;
  transition: background 0.3s;
}

.stepped-bar__connector.active {
  background: var(--primary);
}

.stepped-bar__message {
  text-align: center;
  margin-top: 16px;
  font-size: 15px;
  color: var(--text);
}

/* Announcement Bar Preview */
.announcement-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
}

.announcement-bar__icon {
  font-size: 18px;
}

.announcement-bar__text {
  flex: 1;
  font-size: 14px;
}

.announcement-bar__progress {
  width: 80px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
}

.announcement-bar__fill {
  height: 100%;
  background: white;
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* Minimal Text Preview */
.minimal-text {
  text-align: center;
  padding: 20px;
  font-size: 16px;
  color: var(--text);
}

.minimal-text__amount {
  font-weight: 700;
  color: var(--primary);
}

.minimal-text__reward {
  font-weight: 600;
  color: var(--secondary);
}

/* Store Preview */
.preview-store {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.store-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.store-logo {
  font-weight: 700;
  color: var(--secondary);
}

.store-nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--text-light);
}

.store-cart {
  color: var(--primary);
  font-weight: 500;
}

.store-content {
  padding: 32px;
}

.store-product {
  display: flex;
  gap: 24px;
  max-width: 400px;
}

.store-product__image {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  border-radius: var(--radius-md);
}

.store-product__info h4 {
  font-size: 18px;
  color: var(--secondary);
  margin-bottom: 8px;
}

.store-product__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.store-product__btn {
  padding: 10px 20px;
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

/* Demo CTA */
.demo-cta {
  text-align: center;
  padding: 48px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.demo-cta h3 {
  font-size: 28px;
  color: var(--secondary);
  margin-bottom: 12px;
}

.demo-cta p {
  color: var(--text-light);
  margin-bottom: 24px;
}

/* Documentation Styles */
.docs-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.docs-hero h1 {
  font-family: var(--font-display);
  font-size: 42px;
  margin-bottom: 12px;
}

.docs-hero p {
  font-size: 18px;
  opacity: 0.9;
}

.docs-content {
  padding: 48px 0;
}

.docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
}

.docs-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.docs-nav h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.docs-nav ul {
  list-style: none;
}

.docs-nav li {
  margin-bottom: 6px;
}

.docs-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.docs-nav a:hover {
  color: var(--primary);
  background: var(--bg-light);
}

.docs-main {
  max-width: 800px;
}

.doc-section {
  margin-bottom: 16px;
  padding: 0; /* Override generic section padding of 80px */
}

.doc-section h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--secondary);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border);
}

.doc-section h3 {
  font-size: 18px;
  color: var(--secondary);
  margin: 16px 0 8px 0;
}

.doc-section h4 {
  font-size: 15px;
  color: var(--text);
  margin: 12px 0 6px 0;
}

.doc-section p {
  margin-bottom: 8px;
  line-height: 1.6;
}

.doc-section ul,
.doc-section ol {
  margin-bottom: 8px;
  padding-left: 20px;
  list-style: disc;
}

.doc-section ol {
  list-style: decimal;
}

.doc-section li {
  margin-bottom: 4px;
  line-height: 1.5;
}

/* Info Boxes */
.info-box {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin: 8px 0;
  border-left: 4px solid;
}

.info-box.info {
  background: #eff6ff;
  border-color: var(--info);
  color: #1e40af;
}

.info-box.success {
  background: #f0fdf4;
  border-color: var(--success);
  color: #166534;
}

.info-box.warning {
  background: #fffbeb;
  border-color: var(--warning);
  color: #92400e;
}

.info-box strong {
  display: block;
  margin-bottom: 6px;
}

.info-box code {
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 13px;
}

/* Feature Detail Cards */
.feature-detail {
  margin: 24px 0;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.feature-detail--warning {
  background: #fef2f2;
  border-left: 4px solid var(--error);
}

.feature-detail h3 {
  margin-top: 0;
  font-size: 18px;
}

/* Display Mode Cards */
.display-mode-card {
  margin: 20px 0;
  padding: 20px;
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
}

.display-mode-card h3 {
  margin-top: 0;
  color: var(--primary);
}

/* Limitation Cards */
.limitation-card {
  margin: 6px 0;
  padding: 12px;
  background: #fffbeb;
  border: 2px solid var(--warning);
  border-radius: var(--radius-md);
}

.limitation-card:first-of-type {
  margin-top: 0;
}

.limitation-card h3 {
  margin-top: 0;
  color: var(--secondary);
}

/* Setup Steps */
.setup-step {
  margin: 6px 0;
  padding: 12px;
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
}

.setup-step:first-of-type {
  margin-top: 0;
}

.setup-step {
  gap: 16px;
}

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

.setup-step h3 {
  margin-top: 0;
}

/* Testing Section */
.testing-section {
  margin: 8px 0;
}

.code-block {
  background: var(--secondary);
  color: white;
  padding: 12px;
  border-radius: var(--radius-md);
  font-family: monospace;
  margin: 8px 0;
}

.code-block code {
  color: white;
  font-size: 13px;
}

/* Customization Options */
.customization-option {
  margin: 20px 0;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.customization-option h3 {
  margin-top: 0;
  font-size: 16px;
  color: var(--primary);
}

/* Troubleshoot Items */
.troubleshoot-item {
  margin: 6px 0;
  padding: 12px;
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
}

.troubleshoot-item:first-of-type {
  margin-top: 0;
}

.troubleshoot-item h3 {
  margin-top: 0;
  font-size: 16px;
  color: var(--error);
}

/* Best Practices */
.best-practice {
  margin: 20px 0;
  padding: 16px;
  background: #f0fdf4;
  border-left: 4px solid var(--success);
  border-radius: var(--radius-md);
}

.best-practice h3 {
  margin-top: 0;
  font-size: 16px;
  color: var(--success);
}

/* Support Options */
.support-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.support-card {
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  text-align: center;
}

.support-card h3 {
  margin-top: 0;
  font-size: 16px;
}

.support-card p {
  margin: 6px 0;
  font-size: 14px;
}

.support-card small {
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__cta {
    justify-content: center;
  }

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

  .demo-layout {
    grid-template-columns: 1fr;
  }

  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
    border-bottom: 2px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 24px;
  }

  .docs-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  .hero__title {
    font-size: 36px;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .modes__grid {
    grid-template-columns: 1fr;
  }

  .faq__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section__title {
    font-size: 28px;
  }

  .step {
    flex-direction: column;
  }

  .setup-step {
    flex-direction: column;
  }

  .support-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
  }

  .hero__cta {
    flex-direction: column;
  }

  .btn--large {
    padding: 14px 24px;
  }
}

/* Video Section */
.video-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.video-wrapper {
  text-align: center;
}

.video-wrapper h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}

.video-wrapper p {
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 32px;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
  .video-section {
    padding: 40px 0;
  }

  .video-wrapper h2 {
    font-size: 24px;
  }

  .video-wrapper p {
    font-size: 16px;
  }
}
