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

:root {
  --bg-base: #000000;
  --bg-surface: #0a0a0a;
  --bg-card: #111111;
  --border-color: #222222;
  --border-hover: #333333;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent: #ffffff;
  --accent-hover: #e4e4e7;
  --accent-glow: rgba(255, 255, 255, 0.1);
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color 0.3s ease;
}

.navbar.scrolled {
  border-bottom-color: var(--border-color);
}

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

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.beta-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  background: var(--border-color);
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  cursor: pointer;
}

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

.nav-cta {
  background: var(--text-primary);
  color: var(--bg-base);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity 0.2s ease;
}

.nav-cta:hover {
  opacity: 0.9;
}

/* Hero Section */
.hero {
  padding: 160px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
}

.hero-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(to bottom right, #ffffff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

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

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

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

.btn-secondary:hover {
  background: var(--border-hover);
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.feature-card {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 300px;
  max-width: calc(33.333% - 16px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

@media (max-width: 1000px) {
  .feature-card {
    flex: 1 1 calc(50% - 24px);
    max-width: calc(50% - 12px);
  }
}

@media (max-width: 650px) {
  .feature-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--border-color);
  color: var(--text-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Comparison Table */
.comparison-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9375rem;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
}

.comparison-table th {
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.comparison-table td {
  color: var(--text-secondary);
}

.table-hl {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-primary) !important;
}

.check { color: var(--success); font-weight: bold; }
.cross { color: var(--text-muted); opacity: 0.5; }
.partial { color: var(--warning); font-size: 0.8rem; }

/* Setup Steps */
.setup-steps {
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.step:last-child {
  margin-bottom: 0;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-primary);
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

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

/* FAQ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.faq-answer.open {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-icon {
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq-icon.open {
  transform: rotate(45deg);
}

/* Reviews (Keeping Original HTML exactly, adapting CSS) */
.reviews {
  padding: 120px 0;
}

.review-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  margin-bottom: 24px;
}

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

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input, .form-textarea {
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
  color: var(--text-primary);
  font-family: inherit;
  resize: vertical;
}

.form-input:focus, .form-textarea:focus {
  outline: 1px solid var(--text-primary);
  border-color: var(--text-primary);
}

.form-textarea {
  min-height: 120px;
}

.submit-btn {
  width: 100%;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.review-name {
  font-weight: 600;
  font-size: 1rem;
}

.review-text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.delete-btn {
  display: none;
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
}

.delete-btn.admin-visible {
  display: block;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px;
  background: var(--bg-base);
}

.footer-seo {
  max-width: 800px;
  margin: 0 auto 48px;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-credit {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; gap: 24px; text-align: center; }
  .hero-meta { flex-direction: column; gap: 12px; }
  .nav-links { display: none; }
}

/* Version & Edition Specific Styles */
.page-header { text-align: center; margin-bottom: 60px; }
.page-header h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.page-subtitle { font-size: 1.125rem; color: var(--text-muted); }

.edition-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-bottom: 80px; }
.edition-card { background: var(--bg-card); border: 2px solid var(--border-color); border-radius: 16px; padding: 36px 32px; text-align: center; transition: all 0.2s; display: flex; flex-direction: column; }
.edition-card:hover { transform: translateY(-4px); border-color: var(--border-hover); background: var(--bg-surface); }
.edition-badge { display: inline-block; padding: 6px 16px; border-radius: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 20px; background: var(--border-color); color: var(--text-primary); }
.edition-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.edition-version { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 20px; }
.edition-desc { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.7; }
.edition-features { text-align: left; margin-bottom: 28px; flex: 1; }
.edition-features li { font-size: 0.8125rem; color: var(--text-secondary); margin-bottom: 10px; padding-left: 22px; position: relative; list-style: none; }
.edition-features li::before { content: ''; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; background: var(--success); border-radius: 50%; }

.release-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.75fr); gap: 24px; align-items: start; margin-bottom: 72px; }
.release-layout .edition-card { text-align: left; border-radius: 12px; }
.release-layout .edition-card:hover { transform: none; }
.edition-card-primary { background: var(--bg-surface); padding: 40px; }
.edition-card-primary .edition-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }
.edition-card-compact { padding: 26px 24px; opacity: 0.86; }
.edition-card-compact .edition-badge { margin-bottom: 16px; }
.edition-card-compact .edition-title { font-size: 1.125rem; }
.edition-card-compact .edition-desc { margin-bottom: 20px; }
.edition-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 4px; }
.edition-kicker { color: var(--success); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 14px; text-transform: uppercase; }
.edition-actions { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(150px, auto); gap: 12px; margin-top: 4px; }
.edition-card-compact .edition-actions { grid-template-columns: 1fr; }
.download-meta { color: var(--text-muted); font-size: 0.8125rem; margin-top: 14px; }
.advanced-note { color: var(--text-muted); font-size: 0.8125rem; line-height: 1.6; margin-bottom: 20px; }

.version-section { margin-bottom: 64px; }
.version-section-title { font-size: 1.375rem; font-weight: 700; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--border-color); }
.version-list { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.version-entry { padding: 24px; border-bottom: 1px solid var(--border-color); }
.version-entry:last-child { border-bottom: none; }
.version-entry-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 12px; flex-wrap: wrap; gap: 12px; }
.version-entry h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 4px; }
.version-entry .date { font-size: 0.8125rem; color: var(--text-muted); }
.latest-tag { background: var(--success); color: var(--bg-base); padding: 2px 10px; border-radius: 4px; font-size: 0.6875rem; font-weight: 700; margin-left: 8px; }
.version-changes { list-style: none; padding: 0; margin: 0; }
.version-changes li { font-size: 0.875rem; color: var(--text-secondary); padding: 4px 0 4px 20px; position: relative; }
.version-changes li::before { content: ''; position: absolute; left: 6px; top: 12px; width: 5px; height: 5px; background: var(--text-muted); border-radius: 50%; }

@media (max-width: 860px) {
  .release-layout { grid-template-columns: 1fr; }
  .edition-actions { grid-template-columns: 1fr; }
  .edition-card-primary { padding: 32px 24px; }
}

.edition-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; }
.edition-tab { padding: 10px 24px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-secondary); text-decoration: none; font-size: 0.8125rem; font-weight: 600; transition: all 0.15s; }
.edition-tab:hover { background: var(--bg-surface); color: var(--text-primary); }
.edition-tab.active { background: var(--text-primary); color: var(--bg-base); border-color: var(--text-primary); }

.features-banner { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 20px 24px; margin-bottom: 36px; }
.features-title { font-size: 0.8125rem; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.features-list { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-tag { background: var(--bg-surface); padding: 6px 12px; border-radius: 6px; font-size: 0.75rem; color: var(--text-secondary); border: 1px solid var(--border-color); }

.latest-card { background: var(--bg-surface); border: 2px solid var(--border-color); border-radius: 12px; padding: 28px; margin-bottom: 40px; position: relative; overflow: hidden; }
.latest-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--text-primary); }
.latest-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 12px; flex-wrap: wrap; gap: 12px; }
.latest-title { font-size: 1.5rem; font-weight: 700; }
.latest-badge { background: var(--success); color: var(--bg-base); padding: 4px 12px; border-radius: 6px; font-size: 0.6875rem; font-weight: 700; }
.latest-date { color: var(--text-muted); font-size: 0.8125rem; margin-bottom: 16px; }
.latest-desc { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }

.version-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.version-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; padding: 16px; display: flex; justify-content: space-between; align-items: center; transition: all 0.15s; }
.version-card:hover { background: var(--bg-surface); border-color: var(--border-hover); }
.version-info h3 { font-size: 0.875rem; font-weight: 600; margin-bottom: 4px; }
.version-info span { font-size: 0.75rem; color: var(--text-muted); }
.version-link { color: var(--text-primary); font-size: 0.75rem; font-weight: 600; text-decoration: none; padding: 6px 12px; border-radius: 4px; transition: all 0.15s; }
.version-link:hover { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--text-primary); }

.older-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; padding: 16px 20px; cursor: pointer; transition: all 0.2s; color: var(--text-secondary); font-family: inherit; font-size: 0.875rem; font-weight: 600; margin-bottom: 12px; }
.older-toggle:hover { background: var(--bg-surface); border-color: var(--border-hover); color: var(--text-primary); }
.older-toggle-icon { font-size: 0.75rem; transition: transform 0.2s; }
.older-toggle-icon.open { transform: rotate(180deg); }
.older-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.older-content.open { max-height: 3000px; }

/* Demo Specific Styles */
.app-container { max-width: 520px; margin: 120px auto 40px; padding: 0; min-height: calc(100vh - 160px); }
.demo-banner { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; padding: 12px 16px; margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.demo-banner-text { flex: 1; }
.demo-banner-title { font-size: 0.75rem; font-weight: 600; color: var(--text-primary); }
.demo-banner-desc { font-size: 0.625rem; color: var(--text-muted); }
.demo-banner .btn { padding: 8px 16px; font-size: 0.6875rem; }

.section-card { margin: 0 0 16px; }
.card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 16px; }
.settings-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.setting-pill { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border-color); background: transparent; cursor: pointer; transition: all 0.15s; }
.setting-pill.active { background: var(--bg-surface); border-color: var(--text-primary); }
.setting-pill.disabled { opacity: 0.4; cursor: not-allowed; }
.setting-pill .radio { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--border-color); background: var(--bg-surface); display: flex; align-items: center; justify-content: center; }
.setting-pill.active .radio { background: var(--text-primary); }
.setting-pill.active .radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--bg-base); }
.setting-pill span { font-size: 0.625rem; color: var(--text-muted); }
.setting-pill.active span { color: var(--text-primary); }
.status-indicator { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 6px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.status-text { font-size: 0.625rem; color: var(--text-secondary); }

.combo-box { width: 100%; padding: 10px 12px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-primary); font-size: 0.75rem; font-family: inherit; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23737380' d='M3 5l3 3 3-3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.combo-box:hover { background-color: var(--bg-card); }
.combo-box:focus { outline: none; border-color: var(--text-primary); }

.btn-full { width: 100%; }
.device-row { display: flex; gap: 10px; margin-bottom: 10px; }
.device-row .combo-box { flex: 1; }

.axis-bar { display: flex; align-items: center; gap: 0; height: 24px; margin-bottom: 4px; }
.axis-label { width: 70px; font-size: 0.6875rem; font-weight: 700; color: var(--text-secondary); }
.axis-track { flex: 1; height: 8px; background: var(--bg-surface); border-radius: 4px; overflow: hidden; margin: 0 5px; }
.axis-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #333 0%, #666 50%, #999 100%); transition: width 0.05s ease-out; }
.axis-value { width: 30px; font-size: 0.625rem; color: var(--text-muted); text-align: right; }

.invert-row { display: flex; justify-content: center; gap: 20px; padding: 8px; background: var(--bg-surface); border-radius: 8px; margin-top: 10px; }
.checkbox-item { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox-box { width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--border-hover); background: transparent; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.checkbox-item.checked .checkbox-box { background: var(--text-primary); border-color: var(--text-primary); }
.checkbox-box::after { content: '✓'; font-size: 0.625rem; font-weight: 700; color: var(--bg-base); opacity: 0; }
.checkbox-item.checked .checkbox-box::after { opacity: 1; }
.checkbox-label { font-size: 0.6875rem; color: var(--text-secondary); }

.tuning-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tuning-label { width: 120px; font-size: 0.6875rem; font-weight: 700; color: var(--text-secondary); }
.slider-container { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.slider-label { width: 120px; font-size: 0.6875rem; color: var(--text-muted); }
.slider-track { flex: 1; height: 24px; background: var(--bg-surface); border-radius: 12px; position: relative; cursor: pointer; }
.slider-fill { height: 100%; border-radius: 12px; background: var(--text-primary); position: absolute; top: 0; left: 0; }
.slider-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--bg-base); border: 2px solid var(--text-primary); position: absolute; top: 50%; transform: translate(-50%, -50%); cursor: grab; }
.slider-value { width: 40px; font-size: 0.6875rem; color: var(--text-muted); }
.tuning-desc { font-size: 0.625rem; color: var(--text-muted); margin-top: 4px; }

.activate-section { padding: 0 0 24px; }
.status-row { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.status-row .status-dot { font-size: 0.75rem; }
.status-row .status-text { font-size: 0.6875rem; color: var(--text-muted); }
.btn-activate { width: 100%; height: 48px; font-size: 0.875rem; }
.btn-danger { background: var(--danger); color: white; }

.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.8); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.2s; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; width: 90%; max-width: 480px; max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; }
.modal-header { padding: 18px 20px; border-bottom: 1px solid var(--border-color); }
.modal-title { font-size: 1.125rem; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.modal-subtitle { font-size: 0.75rem; color: var(--text-muted); }
.modal-content { flex: 1; overflow-y: auto; padding: 20px; }
.modal-footer { padding: 16px 20px; border-top: 1px solid var(--border-color); display: flex; gap: 8px; }
.hidden { display: none !important; }

/* Demo custom overrides */
.footer-nav { display: none; } /* removed footer nav as we have a real footer now */
