/* 
 * PurePixel Studio - Cinematic Shadcn UI Design System
 * Inspired by getlayers.ai and shadcn/ui
 * Dark / Light theme, mobile-first responsive architecture
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Shadcn Zinc Dark (Default) */
  --background: #09090b;
  --foreground: #fafafa;
  --card: rgba(18, 18, 23, 0.82);
  --card-foreground: #fafafa;
  --popover: #121217;
  --popover-foreground: #fafafa;
  --primary: #fafafa;
  --primary-foreground: #18181b;
  --secondary: rgba(255, 255, 255, 0.08);
  --secondary-foreground: #f4f4f5;
  --muted: rgba(255, 255, 255, 0.04);
  --muted-foreground: #a1a1aa;
  --accent: rgba(255, 255, 255, 0.08);
  --accent-foreground: #fafafa;
  --destructive: #ef4444;
  --destructive-foreground: #fafafa;
  --border: rgba(255, 255, 255, 0.1);
  --input: rgba(255, 255, 255, 0.12);
  --ring: #3b82f6;

  /* Brand Accents */
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --cyan-400: #22d3ee;
  --purple-500: #a855f7;
  --emerald-500: #10b981;
  --amber-500: #f59e0b;
  --rose-500: #f43f5e;

  /* Layout & Metrics */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 16px 40px -12px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 35px -5px rgba(59, 130, 246, 0.25);
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --background: #fafafa;
  --foreground: #09090b;
  --card: rgba(255, 255, 255, 0.95);
  --card-foreground: #09090b;
  --popover: #ffffff;
  --popover-foreground: #09090b;
  --primary: #18181b;
  --primary-foreground: #fafafa;
  --secondary: #f4f4f5;
  --secondary-foreground: #18181b;
  --muted: #f4f4f5;
  --muted-foreground: #71717a;
  --accent: #f4f4f5;
  --accent-foreground: #18181b;
  --destructive: #ef4444;
  --destructive-foreground: #fafafa;
  --border: #e4e4e7;
  --input: #e4e4e7;
  --ring: #3b82f6;
  --shadow-card: 0 12px 30px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px #e4e4e7;
  --shadow-glow: 0 0 25px -5px rgba(59, 130, 246, 0.15);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.14), transparent),
    radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.08), transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px, 32px 32px;
  background-attachment: fixed;
  overflow-x: hidden;
}

[data-theme="light"] body {
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.08), transparent),
    radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.05), transparent 45%),
    linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* Header (GetLayers Blur Bar) */
.site-header {
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(9, 9, 11, 0.75);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  transition: var(--transition);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.35);
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .brand-name {
  background: linear-gradient(180deg, #09090b 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-badge {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-500);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

@media (min-width: 640px) {
  .privacy-badge {
    display: inline-flex;
  }
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--emerald-500);
  box-shadow: 0 0 8px var(--emerald-500);
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--secondary);
  color: var(--foreground);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 36px 0 24px;
}

@media (min-width: 768px) {
  .hero {
    padding: 56px 0 32px;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: #93c5fd;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 14px;
}

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

.hero-title .gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #c084fc 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

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

/* Shadcn Tabs List Navigation */
.tabs-wrapper {
  margin: 28px 0 24px;
  display: flex;
  justify-content: center;
}

.tabs-list {
  display: flex;
  background: rgba(24, 24, 27, 0.65);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  gap: 4px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs-list::-webkit-scrollbar {
  display: none;
}

.tabs-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--muted-foreground);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
  flex-shrink: 0;
}

.tabs-trigger:hover {
  color: var(--foreground);
}

.tabs-trigger.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .tabs-list {
  background: #f4f4f5;
  border-color: #e4e4e7;
}

[data-theme="light"] .tabs-trigger.active {
  background: #ffffff;
  color: #09090b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Main Workspace Card */
.workspace-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  margin-bottom: 40px;
  min-height: 440px;
}

@media (min-width: 768px) {
  .workspace-card {
    padding: 32px;
  }
}

/* Tool View Panels */
.tool-view {
  display: none;
}

.tool-view.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dropzone (GetLayers Cinematic Style) */
.dropzone {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 16px;
  text-align: center;
  cursor: pointer;
  background: rgba(24, 24, 27, 0.35);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .dropzone {
    padding: 56px 24px;
  }
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--blue-500);
  background: rgba(59, 130, 246, 0.05);
  box-shadow: var(--shadow-glow);
}

.dropzone-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--blue-500);
}

.dropzone-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.dropzone-desc {
  font-size: 0.88rem;
  color: var(--muted-foreground);
  margin-bottom: 18px;
}

/* Keycap / Shortcut Badge */
.shortcut-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted-foreground);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.kbd {
  display: inline-block;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.dropzone-tags {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tag-badge {
  font-size: 0.72rem;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted-foreground);
}

/* Shadcn Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary, .btn-default {
  background: #ffffff;
  color: #09090b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover, .btn-default:hover {
  background: #f4f4f5;
}

[data-theme="light"] .btn-primary, [data-theme="light"] .btn-default {
  background: #09090b;
  color: #ffffff;
}

[data-theme="light"] .btn-primary:hover, [data-theme="light"] .btn-default:hover {
  background: #27272a;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

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

.btn-success {
  background: var(--emerald-500);
  color: #ffffff;
}

.btn-success:hover {
  background: #059669;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

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

@media (min-width: 640px) {
  .btn-full-mobile {
    width: auto;
  }
}

/* Shadcn Inputs & Selects */
.select-input, .text-input {
  background: rgba(24, 24, 27, 0.6);
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
  width: 100%;
}

@media (min-width: 640px) {
  .select-input, .text-input {
    width: auto;
  }
}

.select-input:focus, .text-input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

/* Processing Controls Bar */
.controls-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  background: rgba(24, 24, 27, 0.45);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .controls-bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
  }
}

.control-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.control-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

/* Options Panel Card */
.options-panel {
  background: rgba(24, 24, 27, 0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .options-panel {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 20px;
  }
}

.option-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.option-box-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
}

.option-box-desc {
  font-size: 0.78rem;
  color: var(--muted-foreground);
  line-height: 1.45;
}

/* Slider Controls */
.slider-container {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

@media (min-width: 640px) {
  .slider-container {
    width: auto;
  }
}

.slider-input {
  accent-color: var(--blue-500);
  cursor: pointer;
  flex: 1;
}

.slider-val {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--muted-foreground);
  min-width: 38px;
}

/* Comparison Viewer (Split Slider) */
.comparison-container {
  position: relative;
  width: 100%;
  max-height: 560px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  user-select: none;
  -webkit-user-select: none;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  touch-action: pan-y;
}

.comparison-canvas-wrapper {
  position: relative;
  display: inline-block;
  line-height: 0;
  max-width: 100%;
}

.comparison-canvas {
  display: block;
  max-width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.split-slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  z-index: 10;
}

.split-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  background: #ffffff;
  color: #09090b;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: ew-resize;
  pointer-events: auto;
}

.comparison-badge {
  position: absolute;
  top: 12px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  z-index: 5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-badge.before {
  left: 12px;
  border-left: 3px solid var(--amber-500);
}

.comparison-badge.after {
  right: 12px;
  border-right: 3px solid var(--emerald-500);
}

/* Video Viewer Grid */
.video-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

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

.video-box {
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
}

.video-box-header {
  padding: 8px 12px;
  background: rgba(18, 18, 23, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.video-player, .video-canvas {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #000;
}

@media (min-width: 768px) {
  .video-player, .video-canvas {
    height: 320px;
  }
}

/* Progress Container */
.progress-container {
  background: rgba(24, 24, 27, 0.45);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
  border-radius: 9999px;
  transition: width 0.15s ease;
}

.progress-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--muted-foreground);
}

/* File Queue Items (Shadcn Card Style) */
.file-queue {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.file-queue-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(24, 24, 27, 0.45);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

@media (min-width: 640px) {
  .file-queue-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.file-queue-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.18);
}

.file-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.file-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.file-details h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  word-break: break-all;
}

.file-details p {
  font-size: 0.78rem;
  color: var(--muted-foreground);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
}

.status-badge.clean {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-500);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-badge.risk {
  background: rgba(239, 68, 68, 0.12);
  color: var(--rose-500);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* Platform Risk Matrix in Inspector */
.inspector-panel {
  background: rgba(18, 18, 23, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 10px;
}

.inspector-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.platform-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0 14px;
}

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

.platform-pill {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.platform-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.platform-status {
  font-size: 0.78rem;
  font-weight: 700;
}

.signals-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.signal-card {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--destructive);
  border-radius: 4px;
  font-size: 0.8rem;
}

.signal-card.medium {
  border-left-color: var(--amber-500);
}

.signal-card.low {
  border-left-color: var(--emerald-500);
}

.signal-name {
  font-weight: 600;
  margin-bottom: 2px;
}

.signal-desc {
  font-size: 0.74rem;
  color: var(--muted-foreground);
}

/* Feature Showcase Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 48px 0 40px;
}

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

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--blue-500);
  margin-bottom: 14px;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-section {
  max-width: 760px;
  margin: 0 auto 56px;
}

.faq-title {
  text-align: center;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.faq-answer {
  display: none;
  padding-top: 10px;
  font-size: 0.88rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

/* Toast Container (Sonner style) */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(18, 18, 23, 0.95);
  color: var(--foreground);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInUp 0.25s ease-out;
  max-width: 340px;
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.toast.toast-success {
  border-left: 3px solid var(--emerald-500);
}

.toast.toast-warning {
  border-left: 3px solid var(--amber-500);
}

.toast.toast-error {
  border-left: 3px solid var(--destructive);
}
