/**
 * PasteAnywhere Official Website Stylesheet
 * Technology: Plain CSS with custom properties
 * Typography: System font stack
 * Color scheme: Slate / Navy & Royal Blue accent
 * Zero inline styles requirement
 */

:root {
  /* Slate & Navy palette */
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  /* Accent Blue palette (consistent with Windows app WPF theme) */
  --blue-600:  #2563eb;
  --blue-700:  #1d4ed8;
  --blue-800:  #1e40af;
  --blue-500:  #3b82f6;
  --blue-100:  #dbeafe;
  --blue-50:   #eff6ff;

  /* Semantic status colors */
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;

  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-100: #fef3c7;
  --amber-50:  #fffbeb;

  --red-600:   #dc2626;
  --red-100:   #fee2e2;

  /* Dynamic theme variables (Light default) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --nav-bg: rgba(255, 255, 255, 0.92);
  --nav-border: #e2e8f0;

  --card-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 12px 20px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --elevated-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);

  /* Spacing & Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --container-max: 1200px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0b1120;
    --bg-secondary: #0f172a;
    --bg-tertiary: #1e293b;
    --bg-card: #131d31;
    --bg-card-hover: #17233b;
    --border-color: #1e293b;
    --border-subtle: #17233b;

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-inverse: #0f172a;

    --nav-bg: rgba(11, 17, 32, 0.92);
    --nav-border: #1e293b;

    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.25);
    --card-shadow-hover: 0 12px 20px -3px rgba(0, 0, 0, 0.35);
    --elevated-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.45);

    --blue-50: #172554;
    --blue-100: #1e3a8a;
  }
}

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

html {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
}

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

a:hover {
  color: var(--blue-700);
  text-decoration: underline;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
}

/* Accessibility Focus Ring */
:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

.container-medium {
  max-width: 960px;
}

/* Skip link for screen readers & keyboard nav */
.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  background: var(--blue-600);
  color: #ffffff;
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-link:hover {
  text-decoration: none;
}

.brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.brand-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  background-color: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid var(--blue-100);
  letter-spacing: 0.04em;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-item a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.nav-item a:hover {
  color: var(--blue-600);
  text-decoration: none;
}

.nav-item a.active {
  color: var(--blue-600);
  font-weight: 600;
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

.mobile-nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1.25;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--blue-600);
  color: #ffffff;
  border-color: var(--blue-600);
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background-color: var(--blue-700);
  border-color: var(--blue-700);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-color);
}

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

.btn-sm {
  font-size: 0.8125rem;
  padding: 0.45rem 0.875rem;
}

.btn-lg {
  font-size: 1.0625rem;
  padding: 0.875rem 1.625rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.btn:disabled, .btn[aria-disabled="true"], .btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
              radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.03) 0%, transparent 40%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero-tag svg {
  width: 0.875rem;
  height: 0.875rem;
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--blue-600);
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-action-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.trust-badge-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--green-600);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Section & Typography Styles
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-hero-sub {
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

.section-404 {
  padding: 6rem 0;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3.5rem;
}

.section-header-left {
  text-align: left;
  max-width: 100%;
  margin-bottom: 2.5rem;
}

.section-kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue-600);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-title-lg {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Utility Layout Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3.5rem; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }
.mb-lg { margin-bottom: 3.5rem; }

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  box-shadow: var(--card-shadow);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--blue-500);
}

.feature-icon-wrapper {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background-color: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon-wrapper-compact {
  margin-bottom: 0;
}

.feature-icon-wrapper svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ==========================================================================
   Steps / How It Works
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  box-shadow: var(--card-shadow);
}

.step-number {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: var(--blue-600);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Sync Direction Choices Box
   ========================================================================== */
.sync-directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.sync-direction-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sync-direction-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sync-direction-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sync-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.sync-badge-default {
  background-color: var(--green-50);
  color: var(--green-600);
  border: 1px solid var(--green-100);
}

.sync-direction-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Callout / Notice Box
   ========================================================================== */
.callout {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.download-status-callout {
  max-width: 860px;
  margin: 0 auto 2.5rem;
}

.callout-warning {
  border-left-color: var(--amber-600);
  background-color: var(--amber-50);
}

@media (prefers-color-scheme: dark) {
  .callout-warning {
    background-color: rgba(180, 83, 9, 0.15);
  }
}

.callout-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.callout-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--amber-600);
  flex-shrink: 0;
}

.callout-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--card-shadow);
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--blue-500);
}

.faq-question {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--blue-600);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ==========================================================================
   Download Cards
   ========================================================================== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--elevated-shadow);
  display: flex;
  flex-direction: column;
}

.download-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.download-platform-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.download-platform-icon {
  width: 2.5rem;
  height: 2.5rem;
}

.download-platform-title h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.download-meta-table {
  width: 100%;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
}

.download-meta-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.download-meta-table td {
  padding: 0.6rem 0;
}

.download-meta-label {
  color: var(--text-muted);
  width: 42%;
  font-weight: 500;
}

.download-meta-value {
  color: var(--text-primary);
  font-weight: 600;
}

/* Checksum Box */
.checksum-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.875rem;
  margin-bottom: 1.5rem;
}

.checksum-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.checksum-copy-btn {
  background: none;
  border: none;
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.checksum-copy-btn:hover {
  background-color: var(--slate-200);
}

.checksum-value {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  word-break: break-all;
  user-select: all;
  background: var(--bg-card);
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  display: block;
}

.download-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.download-warning-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1rem;
}

/* Verification Guide Box */
.verification-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 2rem;
}

/* ==========================================================================
   Documentation / Guide Styles
   ========================================================================== */
.guide-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.guide-sidebar {
  position: sticky;
  top: 6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--card-shadow);
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}

.guide-sidebar-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.guide-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.guide-nav-list a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.guide-nav-list a:hover {
  background-color: var(--bg-tertiary);
  color: var(--blue-600);
}

.guide-nav-list a.active {
  background-color: var(--blue-50);
  color: var(--blue-700);
  font-weight: 600;
}

.guide-content {
  min-width: 0;
}

.guide-section {
  padding-bottom: 3.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-color);
}

.guide-section:last-child {
  border-bottom: none;
}

.guide-section h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.guide-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 1.75rem 0 0.75rem;
}

.guide-section p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.guide-section ol, .guide-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.guide-section li {
  margin-bottom: 0.5rem;
}

.code-block {
  background: var(--slate-900);
  color: #e2e8f0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-600);
  margin-top: 1rem;
}

/* Status Badges */
.status-supported {
  color: var(--green-600);
  font-weight: 700;
}

.status-unsupported {
  color: var(--red-600);
  font-weight: 700;
}

.status-limit {
  color: var(--blue-600);
  font-weight: 700;
}

/* Tables */
.data-table-container {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.data-table th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: top;
}

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

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--elevated-shadow);
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cta-desc {
  color: var(--slate-300);
  max-width: 38rem;
  margin: 0 auto 2.25rem;
  font-size: 1.125rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-white {
  color: var(--slate-900);
  background: #ffffff;
}

/* External Link with subtle indicator */
.external-link::after {
  content: " ↗";
  font-size: 0.75em;
  opacity: 0.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  font-size: 0.875rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.footer-brand-title {
  font-size: 1.125rem;
  color: var(--text-primary);
  font-weight: 700;
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 24rem;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--blue-600);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Toast Feedback */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background-color: var(--slate-900);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--elevated-shadow);
  opacity: 0;
  transform: translateY(1rem);
  transition: all var(--transition-normal);
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .guide-sidebar {
    position: static;
    margin-bottom: 2rem;
    max-height: none;
  }

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.125rem;
  }

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

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

  .nav-menu {
    position: absolute;
    top: 4.5rem;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    display: none;
    box-shadow: var(--elevated-shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

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

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

  .hero-actions {
    flex-direction: column;
  }

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

/* Reduced Motion preference */
@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;
  }
}

/* ==========================================================================
   Product Interface Preview (Homepage) & Screenshot Figures (Guide)
   ========================================================================== */

.preview-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .preview-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl, 16px);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.preview-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--elevated-shadow);
}

.preview-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1.25rem;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
}

.preview-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-800);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.preview-card-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
}

.preview-img-wrapper {
  background: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex: 1;
}

.preview-img-wrapper-mobile {
  background: #0f172a;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.preview-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.preview-card-mobile img {
  max-width: 260px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.preview-card-caption {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  line-height: 1.5;
}

/* Guide Screenshots */
.screenshot-figure {
  margin: 1.75rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.screenshot-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border-color);
  background: #0f172a;
}

.screenshot-figure figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--slate-600);
  background: var(--bg-card);
  text-align: center;
  font-style: normal;
  border-top: 1px solid var(--border-color);
  line-height: 1.4;
}

.screenshot-figure-mobile {
  max-width: 320px;
  margin: 1.75rem auto;
}

.screenshot-figure-mobile img {
  border-radius: 8px 8px 0 0;
}

.screenshot-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.75rem 0;
  align-items: start;
}

@media (max-width: 768px) {
  .screenshot-grid-2 {
    grid-template-columns: 1fr;
  }
}

