:root {
  color-scheme: dark;
  --bg: #090e11;
  --panel: #131c22;
  --panel2: #1c2b36;
  --line: #2b3d4a;
  --ink: #f0f4f8;
  --muted: #8ba5a4;
  --accent: #b9eb88;
  --accent-hover: #98d062;
  --warning: #efc28c;
  --success: #63d392;
  font-family: 'Inter', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

/* Hide scrollbars but allow scrolling */
::-webkit-scrollbar {
  display: none;
}
* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden; /* Lock vertical scrolling on body */
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

/* Utilities */
.w-100 { width: 100%; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.text-muted { color: var(--muted); }
.text-warning { color: var(--warning); }
.text-success { color: var(--success); }
.text-center { text-align: center; }

/* Minimal Navbar for Brand Only */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  pointer-events: none; /* Let clicks pass through empty space */
}
.nav-container {
  pointer-events: auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.nav-btn svg {
  width: 16px;
  height: 16px;
}
.nav-btn:hover {
  background: var(--bg);
  border-color: var(--accent);
}
.like-btn.liked {
  color: #ff5f56;
}
.like-btn.liked svg {
  fill: #ff5f56;
  stroke: #ff5f56;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  pointer-events: auto; /* Re-enable clicks on the logo itself */
  background: rgba(9, 14, 17, 0.6);
  padding: 8px 16px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.05);
}
.brand img { border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #0d151a; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* Horizontal Layout */
.scroll-wrapper {
  width: 100vw;
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: none;
}

.horizontal-container {
  display: flex;
  height: 100vh;
  width: max-content;
}

.panel {
  width: 100vw;
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto; /* allow vertical scroll within a panel if content is tall */
  padding-top: 60px; /* space for the floating brand header */
}

.panel-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* Hero Section */
.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(185, 235, 136, 0.1);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  border: 1px solid rgba(185, 235, 136, 0.2);
}
.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}
h1 { font-size: clamp(48px, 6vw, 72px); line-height: 1.1; letter-spacing: -0.04em; margin: 0 0 24px; }
.highlight { color: var(--accent); }
.lead { font-size: 18px; color: var(--muted); max-width: 600px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 24px; }
.hero-note { font-size: 13px; color: #556b6a; }

.scroll-indicator {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  opacity: 0.6;
  animation: bounceRight 2s infinite;
}

@keyframes bounceRight {
  0%, 20%, 50%, 80%, 100% { transform: translateY(-50%) translateX(0); }
  40% { transform: translateY(-50%) translateX(10px); }
  60% { transform: translateY(-50%) translateX(5px); }
}


/* Section Shared */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 36px; margin: 0 0 16px; letter-spacing: -0.02em; }
.section-header p { color: var(--muted); font-size: 18px; margin: 0; }

/* Interactive Demo */
.demo-section { background: var(--bg); }
.demo-container {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
/* App Replica Styles (Simulated UI) */
.app-replica {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Segoe UI', system-ui, sans-serif; /* Windows look */
}

.app-replica-header {
  background: var(--bg);
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 16px;
  position: relative;
}

.header-left span {
  font-size: 12px;
  color: var(--muted);
}

.window-controls-win {
  display: flex;
  height: 100%;
}
.win-btn {
  width: 46px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}
.win-btn svg {
  width: 10px;
  height: 10px;
}
.win-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}
.win-btn.close-btn:hover {
  background: #e81123;
  color: #fff;
}

.app-replica-body {
  padding: 24px 46px 40px 46px; /* similar layout to C# app */
  display: flex;
  flex-direction: column;
}

.app-brand-area {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.app-replica-logo {
  width: 32px;
  height: 32px;
}
.app-replica-logo svg {
  width: 100%;
  height: 100%;
}

.app-brand-text h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.app-description {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.app-status {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.app-toggles-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

/* Custom Toggle to match C# ModernToggle (40x20) */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  flex-shrink: 0;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--panel); border: 1px solid var(--line); transition: .2s; border-radius: 10px;
}
.slider:before {
  position: absolute; content: ""; height: 14px; width: 14px; left: 2px; bottom: 2px;
  background-color: #8c9fa8; transition: .2s; border-radius: 50%;
}
input:checked + .slider { background-color: var(--accent); border-color: var(--accent); }
input:checked + .slider:before { transform: translateX(20px); background-color: #0d151a; }
.slider.round { border-radius: 10px; }
.slider.round:before { border-radius: 50%; }

.app-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-replica-accent, .btn-replica-secondary {
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-replica-accent {
  background: var(--accent);
  color: #0d151a;
}
.btn-replica-accent:hover {
  background: var(--accent-hover);
}

.btn-replica-secondary {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-replica-secondary:hover {
  background: var(--line);
}

.app-footer-hint {
  font-size: 12px;
  color: var(--muted);
  text-align: left;
}

/* Demo Screen */
.demo-screen {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.demo-screen {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.screen-body {
  flex: 1;
  background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h40v40H0V0zm20 20h20v20H20V20zM0 20h20v20H0V20zM20 0h20v20H20V0z" fill="%230f171e" fill-opacity="0.4" fill-rule="evenodd"/></svg>');
  background-color: #1a2630;
  position: relative;
  overflow: hidden;
}

/* Windows 11 Taskbar Styles */
.win-taskbar {
  height: 48px;
  background: rgba(16, 22, 28, 0.85);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  z-index: 100;
}
.taskbar-center {
  display: flex;
  gap: 8px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.taskbar-icon {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.taskbar-icon:hover {
  background: rgba(255, 255, 255, 0.1);
}
.taskbar-icon.active {
  background: rgba(255, 255, 255, 0.05);
}
.taskbar-icon.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 16px;
  height: 3px;
  background: #00a4ef;
  border-radius: 2px;
}
.taskbar-icon svg {
  width: 20px;
  height: 20px;
}
.taskbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.taskbar-time {
  font-size: 11px;
  color: #fff;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.desktop-icon { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 60px; text-align: center; }
.desktop-icon span { font-size: 11px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }

.fake-cursor {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 50%; left: 50%;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 50;
  opacity: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.tracker-toast {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(20, 30, 40, 0.95);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 220px;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}
.toast-icon { color: var(--warning); display: flex; }
.tracker-toast strong { display: block; font-size: 12px; color: #fff; }
.tracker-toast div[id="tracker-status"] { font-size: 11px; color: var(--warning); margin-top: 2px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.feature-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 32px; transition: transform 0.2s, border-color 0.2s; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.feature-icon { width: 48px; height: 48px; background: var(--panel2); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 24px; }
.feature-card h3 { margin: 0 0 12px; font-size: 20px; }
.feature-card p { color: var(--muted); margin: 0; font-size: 15px; }

/* Pricing Section */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 40px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 32px; cursor: pointer; transition: all 0.2s; position: relative; overflow: hidden; }
.plan:hover { border-color: var(--accent); }
.plan.active { border-color: var(--accent); background: var(--panel2); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(185, 235, 136, 0.05); }
.plan.active::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent); }
.plan-name { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.plan-descriptor { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.plan strong { display: block; font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.period { font-size: 14px; color: var(--muted); font-weight: 400; }

@media (max-width: 900px) {
  .scroll-wrapper { overflow-x: hidden; overflow-y: auto; scroll-snap-type: y mandatory; }
  .horizontal-container { flex-direction: column; width: 100vw; height: max-content; }
  .demo-container { grid-template-columns: 1fr; }
  .scroll-indicator { display: none; }
}
/* Simulated Desktop Elements */
.sim-browser {
  position: absolute;
  top: 50px; left: 80px; right: 20px; bottom: 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s;
}
.sim-browser-header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 8px 8px 0;
  display: flex;
}
.sim-tabs {
  display: flex;
  gap: 2px;
}
.sim-tab {
  background: var(--panel2);
  color: var(--muted);
  padding: 6px 16px;
  font-size: 11px;
  border-radius: 6px 6px 0 0;
  font-family: monospace;
}
.sim-tab.active {
  background: var(--bg);
  color: var(--ink);
}
.sim-browser-body {
  flex: 1;
  background: var(--bg);
  border-radius: 0 0 8px 8px;
}

.sim-alt-tab {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(19, 28, 34, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  transition: opacity 0.15s;
  z-index: 100;
}
.sim-window-preview {
  width: 100px;
  height: 60px;
  background: var(--bg);
  border: 2px solid transparent;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
}
.sim-window-preview.active {
  border-color: var(--accent);
  color: var(--ink);
}

/* Threat Log Modal Simulation */
.sim-threat-log {
  position: absolute;
  top: 50%; left: 50%;
  width: 85%; height: 75%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -45%);
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.sim-threat-log.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}
.sim-log-header {
  padding: 12px 16px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  border-radius: 8px 8px 0 0;
}
.sim-log-header button {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.sim-log-header button:hover {
  color: var(--ink);
}
.sim-log-body {
  padding: 16px;
  font-family: monospace;
  font-size: 12px;
  color: var(--ink);
  overflow-y: auto;
  flex: 1;
}
.sim-log-item {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.sim-log-item:last-child {
  border-bottom: none;
}

/* Hidden Toast Notification */
.sim-hidden-toast {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--panel);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 50;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.sim-hidden-toast.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}
.sim-hidden-toast span {
  font-weight: 600;
  color: var(--ink);
}
.sim-hidden-toast button {
  background: var(--accent);
  color: #0d151a;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
}
.sim-hidden-toast button:hover {
  background: var(--accent-hover);
}


/* Floating Feedback Widget */
.feedback-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.feedback-toggle {
    border-radius: 50%;
    width: 56px;
    height: 56px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--bg); /* Dark icon */
    border: none;
    box-shadow: 0 4px 16px rgba(185, 235, 136, 0.2);
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.feedback-toggle:hover {
    transform: scale(1.08);
    background: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(185, 235, 136, 0.3);
}

.feedback-panel {
    background: rgba(19, 28, 34, 0.95); /* var(--panel) with slight transparency */
    border: 1px solid var(--line);
    border-radius: 12px;
    width: 320px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.02);
    margin-bottom: 20px;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.feedback-panel.hidden {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    pointer-events: none;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.feedback-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

.feedback-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    font-size: 24px;
    line-height: 1;
    padding: 0;
    transition: color 0.2s, transform 0.2s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-close:hover {
    color: var(--ink);
    transform: scale(1.1);
}

.feedback-group {
    margin-bottom: 16px;
}

.feedback-label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feedback-input,
.feedback-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--ink);
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s, background 0.2s;
}

.feedback-textarea {
    resize: vertical;
    min-height: 90px;
}

.feedback-input:focus,
.feedback-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.3);
}

.feedback-input::placeholder,
.feedback-textarea::placeholder {
    color: rgba(240, 244, 248, 0.3); /* muted ink */
}

.feedback-submit {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: var(--accent);
    color: var(--bg);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 8px;
}

.feedback-submit:hover {
    background: var(--accent-hover);
}

.feedback-submit:active {
    transform: scale(0.98);
}

/* Feature List in Pricing */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
    text-align: left;
    font-size: 14px;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: var(--fg);
}

.feature-list li svg {
    width: 16px;
    height: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}

.feature-list li.included svg {
    color: #10b981; /* Emerald green */
}

.feature-list li.excluded {
    color: var(--muted);
    text-decoration: line-through;
}

.feature-list li.excluded svg {
    color: #ef4444; /* Red */
}

/* Logo Marquee */
.tracker-logos {
    margin-top: 40px;
    width: 100%;
    max-width: 800px;
}
.tracker-title {
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    font-weight: 600;
    text-align: center;
}
.logo-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}
.logo-slider::before,
.logo-slider::after {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    content: "";
    z-index: 2;
}
.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}
.logo-track {
    display: inline-block;
    animation: scrollMarquee 20s linear infinite;
}
.logo-track:hover {
    animation-play-state: paused;
}
.logo-track img {
    height: 32px;
    margin: 0 32px;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease;
    vertical-align: middle;
}
.logo-track img:hover {
    filter: grayscale(0%) opacity(1);
}
@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.more-trackers {
    display: inline-block;
    vertical-align: middle;
    margin: 0 32px;
    font-size: 16px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
    background: rgba(185, 235, 136, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(185, 235, 136, 0.3);
}

/* Screen Capture Simulation Styles */
.capture-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 90;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, background 0.2s;
}
.capture-btn:hover {
    transform: scale(1.03);
    background: rgba(220, 38, 38, 1);
}
.screen-flash {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: white;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-out;
}
.screen-flash.flash {
    opacity: 1;
    transition: none;
}
.capture-modal {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.2s, backdrop-filter 0.2s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.capture-modal.hidden {
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}
.capture-modal-content {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.capture-modal.hidden .capture-modal-content {
    transform: translateY(20px) scale(0.95);
}
.capture-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}
.capture-modal-header h4 {
    margin: 0; color: var(--ink); font-size: 14px;
}
.capture-modal-header button {
    background: none; border: none; color: var(--muted); cursor: pointer; font-size: 20px; line-height: 1;
    width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
}
.capture-modal-header button:hover { color: white; }
.capture-modal-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
#captured-image-container {
    width: 100%;
    position: relative;
    border: 2px dashed var(--success);
    border-radius: 6px;
    background: var(--bg);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.mini-demo-screen {
    width: 200%;
    height: 200%;
    transform: scale(0.5);
    transform-origin: top left;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}
.mini-demo-screen .screen-body {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h40v40H0V0zm20 20h20v20H20V20zM0 20h20v20H0V20zM20 0h20v20H20V0z" fill="%230f171e" fill-opacity="0.4" fill-rule="evenodd"/></svg>');
    background-color: #1a2630;
}
.capture-caption {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}
.capture-caption strong { color: var(--success); }
