/* ProductManager Website - Main Stylesheet */
/* Uses Tailwind CSS via CDN for utility classes */

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  /* Brand Colors - Hoopy Frood vintage aesthetic */
  --color-primary: #1a1a1a;
  --color-primary-dark: #000000;
  --color-primary-light: #333333;
  --color-accent: #c17f24;
  --color-accent-dark: #a66a1a;

  /* Status Colors */
  --color-success: #4a7c4e;
  --color-warning: #c17f24;
  --color-error: #a63d3d;

  /* Neutral Colors - Light Mode (Cream/Vintage) */
  --color-bg: #f5f0e6;
  --color-bg-alt: #ebe5d9;
  --color-surface: #faf8f3;
  --color-border: #d4cfc3;
  --color-text: #1a1a1a;
  --color-text-muted: #4a4a4a;
  --color-text-light: #6a6a6a;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;

  /* Spacing */
  --header-height: 64px;
}

/* Dark Mode - Inverted vintage */
[data-theme="dark"] {
  --color-bg: #1a1a1a;
  --color-bg-alt: #242424;
  --color-surface: #2a2a2a;
  --color-border: #3a3a3a;
  --color-text: #f5f0e6;
  --color-text-muted: #c0b8a8;
  --color-text-light: #8a8478;
  --color-primary: #f5f0e6;
  --color-primary-dark: #e8e0d0;
  --color-accent: #d4943a;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
}

/* ============================================
   Base Styles
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  letter-spacing: 0.02em;
}

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

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

/* ============================================
   Accessibility
   ============================================ */
/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.5rem;
  background-color: var(--color-primary);
  color: var(--color-bg);
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   Layout Components
   ============================================ */

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

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

.nav {
  display: none;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav a {
  color: var(--color-text-muted);
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-surface);
  padding: 1rem;
  z-index: 99;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 1rem;
  color: var(--color-text);
  font-size: 1.125rem;
  border-bottom: 1px solid var(--color-border);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-bg);
}

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

.btn-accent:hover {
  background-color: var(--color-accent-dark);
  color: white;
}

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

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
}

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

.btn-success:hover {
  background-color: #43A047;
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

@media (min-width: 768px) {
  .hero {
    padding-top: calc(var(--header-height) + 6rem);
    padding-bottom: 6rem;
  }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-accent);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

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

.hero-tagline {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-tagline {
    font-size: 1.5rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ============================================
   Features Section
   ============================================ */
.features {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .features {
    padding: 6rem 0;
  }
}

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

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

.feature-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 2rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: all var(--transition-normal);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-bg);
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
  padding: 4rem 0;
  background-color: var(--color-bg-alt);
}

@media (min-width: 768px) {
  .how-it-works {
    padding: 6rem 0;
  }
}

.steps {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-bg);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

/* ============================================
   CTA Section
   ============================================ */
.cta {
  padding: 4rem 0;
  text-align: center;
}

@media (min-width: 768px) {
  .cta {
    padding: 6rem 0;
  }
}

.cta-box {
  background-color: var(--color-primary);
  border-radius: 16px;
  padding: 3rem 2rem;
  color: var(--color-bg);
}

@media (min-width: 768px) {
  .cta-box {
    padding: 4rem;
  }
}

.cta-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-bg);
}

.cta-box p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box .btn {
  background-color: var(--color-accent);
  color: white;
}

.cta-box .btn:hover {
  background-color: var(--color-accent-dark);
  color: white;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 3rem 0;
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--color-text-muted);
  margin-top: 1rem;
}

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

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: var(--color-text);
}

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ============================================
   Theme Toggle
   ============================================ */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  border-radius: 8px;
  transition: background-color var(--transition-fast);
}

.theme-toggle:hover {
  background-color: var(--color-bg-alt);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  width: 20px;
  height: 20px;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-sun,
:root:not([data-theme]) .theme-toggle .icon-sun {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-moon,
:root:not([data-theme]) .theme-toggle .icon-moon {
  display: block;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

.hidden { display: none; }

@media (max-width: 767px) {
  .hidden-mobile { display: none; }
}

@media (min-width: 768px) {
  .hidden-desktop { display: none; }
}

/* ============================================
   Page Content (Inner Pages)
   ============================================ */
.page-content {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;
  min-height: calc(100vh - 300px);
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* About Page */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-section {
  margin-bottom: 3rem;
}

.about-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}

.about-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.philosophy-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.philosophy-item {
  padding: 1.5rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.philosophy-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.philosophy-item p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background-color: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.contact-info-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  color: var(--color-text-muted);
  margin: 0;
}

.contact-info-item a {
  color: var(--color-text);
}

/* ============================================
   Download Page
   ============================================ */
.download-hero {
  text-align: center;
  padding: 2rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 3rem;
}

.download-hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.download-version {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .download-buttons {
    flex-direction: row;
  }
}

.requirements-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .requirements-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.requirements-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.requirements-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.requirements-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
}

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

.requirements-card .label {
  color: var(--color-text-muted);
}

/* ============================================
   Support Page
   ============================================ */
.support-options {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .support-options {
    grid-template-columns: repeat(3, 1fr);
  }
}

.support-card {
  padding: 2rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-align: center;
}

.support-card svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.support-card h3 {
  margin-bottom: 0.75rem;
}

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

.faq-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.7;
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.legal-meta {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

/* ============================================
   404 Page
   ============================================ */
.error-page {
  text-align: center;
  padding: 4rem 0;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.error-page p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* ============================================
   Features Page
   ============================================ */
.feature-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border);
}

.feature-section:last-of-type {
  border-bottom: none;
}

.feature-section-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .feature-section-content {
    flex-direction: row;
    gap: 3rem;
  }

  .feature-section-text {
    flex: 1;
    min-width: 0;
  }

  .feature-section-image {
    flex: 0 0 45%;
    max-width: 500px;
  }

  .feature-section-reverse .feature-section-content {
    flex-direction: row-reverse;
  }
}

.feature-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.feature-section-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-section-text > p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
}

.feature-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.feature-section-image {
  width: 100%;
  text-align: center;
}

.feature-screenshot {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--color-border);
}

/* Hero layout for main product grid */
.feature-section-hero {
  text-align: center;
}

.feature-hero-text {
  max-width: 700px;
  margin: 0 auto 2rem;
}

.feature-hero-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-hero-text p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.feature-hero-image {
  margin: 0 auto 2rem;
  max-width: 100%;
}

.feature-screenshot-hero {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
}

.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

/* ============================================
   Documentation Pages
   ============================================ */
.docs-banner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-color: var(--color-primary);
  color: var(--color-bg);
  border-radius: 12px;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .docs-banner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.docs-banner h2 {
  margin-bottom: 0.5rem;
  color: var(--color-bg);
}

.docs-banner p {
  margin: 0;
  opacity: 0.9;
}

.docs-banner .btn {
  background-color: var(--color-accent);
  color: white;
  flex-shrink: 0;
}

.docs-banner .btn:hover {
  background-color: var(--color-accent-dark);
}

.docs-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .docs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.docs-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-bg);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.docs-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.docs-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.docs-links li {
  margin-bottom: 0.5rem;
}

.docs-links a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.docs-links a:hover {
  color: var(--color-primary);
}

.docs-full-manual {
  text-align: center;
  padding: 2rem;
  background-color: var(--color-bg-alt);
  border-radius: 12px;
}

.docs-full-manual h3 {
  margin-bottom: 0.5rem;
}

.docs-full-manual p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.docs-full-manual .btn {
  margin: 0 0.5rem;
}

/* Getting Started Page */
.getting-started-steps {
  max-width: 800px;
  margin: 0 auto;
}

.gs-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.gs-step:last-child {
  border-bottom: none;
}

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

.gs-step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.gs-step-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.gs-step-content ul {
  margin: 0;
  padding-left: 1.25rem;
}

.gs-step-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.gs-step-content code {
  background-color: var(--color-bg-alt);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.875em;
}

/* ============================================
   Tutorials Pages
   ============================================ */
.tutorial-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .tutorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tutorial-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tutorial-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.tutorial-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tutorial-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.tutorial-card-content {
  flex: 1;
}

.tutorial-card-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background-color: var(--color-accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.tutorial-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.tutorial-card p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.tutorial-card-time {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* Tutorial Article */
.breadcrumb {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

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

.breadcrumb span {
  margin: 0 0.5rem;
}

.tutorial-article {
  max-width: 800px;
  margin: 0 auto;
}

.tutorial-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.tutorial-header h1 {
  font-size: 2.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.tutorial-meta {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.tutorial-content {
  line-height: 1.8;
}

.tutorial-intro {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.tutorial-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.tutorial-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.tutorial-content h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.tutorial-content p {
  margin-bottom: 1rem;
}

.tutorial-content ul,
.tutorial-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.tutorial-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.tutorial-content code {
  background-color: var(--color-bg-alt);
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.875em;
}

.tutorial-content pre {
  background-color: var(--color-bg-alt);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
}

.tutorial-content pre code {
  padding: 0;
  background: none;
}

.tutorial-tip {
  padding: 1rem 1.5rem;
  background-color: var(--color-accent);
  background-color: rgba(193, 127, 36, 0.1);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

.tutorial-tip strong {
  color: var(--color-accent);
}

.tutorial-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.tutorial-table th,
.tutorial-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.tutorial-table th {
  background-color: var(--color-bg-alt);
  font-weight: 600;
}

.tutorial-table tr:last-child td {
  border-bottom: none;
}

.tutorial-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============================================
   Videos Page (Coming Soon)
   ============================================ */
.coming-soon-section {
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.coming-soon-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-alt);
  border-radius: 50%;
  color: var(--color-primary);
}

.coming-soon-section h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.coming-soon-section > p {
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.coming-soon-features {
  margin: 2rem 0;
  padding: 2rem;
  background-color: var(--color-bg);
  border-radius: 12px;
}

.coming-soon-features h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.video-preview-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .video-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .video-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-preview-card {
  padding: 1.25rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-align: left;
}

.video-preview-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.video-preview-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.video-preview-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

.coming-soon-cta {
  margin-top: 2rem;
}

.coming-soon-cta p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.coming-soon-cta .btn {
  margin: 0.25rem;
}

/* ============================================
   Coming Soon Banner (Site-wide)
   ============================================ */
.coming-soon-banner {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: white;
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: 500;
}

.coming-soon-banner a {
  color: white;
  text-decoration: underline;
}

.coming-soon-banner a:hover {
  opacity: 0.9;
}

/* Notify Form */
.notify-form {
  max-width: 450px;
  margin: 0 auto;
}

.notify-form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.notify-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 0.875rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  background-color: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--transition-fast);
}

.notify-form input[type="email"]:focus {
  border-color: var(--color-accent);
  outline: none;
}

.notify-form input[type="email"]::placeholder {
  color: var(--color-text-light);
}

.notify-form button {
  padding: 0.875rem 1.5rem;
  white-space: nowrap;
}

.notify-form-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  text-align: center;
}

/* Download Coming Soon */
.download-coming-soon {
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: 16px;
  margin-bottom: 3rem;
}

.download-coming-soon h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.download-coming-soon .tagline {
  font-size: 1.25rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.download-coming-soon p {
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
}
