/* ===== FUTURISTIC GLASSMORPHIC THEME ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700&family=JetBrains+Mono:wght@300;400;500;600;700&display=swap');

:root {
  /* Minimal dark palette (VS Code-like) */
  --primary: #58a6ff;
  --primary-bright: #79c0ff;
  --primary-dim: #316dca;
  --primary-dark: #1f6feb;

  /* Background Layers */
  --bg-base: #0d1117;
  --bg-surface: rgba(255, 255, 255, 0.03);
  --bg-elevated: rgba(255, 255, 255, 0.05);

  /* Glass Effects (subtle) */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-surface: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: 12px;

  /* Text Colors */
  --text-primary: #c9d1d9;
  --text-secondary: #a5b4c4;
  --text-dim: #8b949e;
  --text-muted: #6e7681;

  /* UI States */
  --success: #3fb950;
  --error: #f85149;
  --warning: #d29922;
  --info: #58a6ff;

  /* Effects */
  --glow: 0 0 0 rgba(0,0,0,0);
  --glow-strong: 0 0 0 rgba(0,0,0,0);
  --shadow: 0 8px 24px rgba(0,0,0,0.45);
  --shadow-glow: 0 8px 24px rgba(0,0,0,0.35);
}

/* Global Reset with Terminal Font */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'JetBrains Mono', monospace;
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.5px;
  overflow: hidden;
  position: relative;
}

/* Background Matrix Effect */
/* Remove background gradients for a clean look */
body::before { display: none; }

/* Main App Container */
.app {
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding-top: 40px; /* Space for fixed title bar */
}

/* Mac Title Bar Styles */
.mac-title-bar {
  display: flex;
  align-items: center;
  height: 40px;
  width: 100%;
  background: rgba(0, 8, 20, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  -webkit-app-region: drag;
  padding: 0;
}

.mac-title-bar-left {
  width: 80px;
  height: 100%;
  flex-shrink: 0;
  /* Reserve space for native macOS controls */
}

.mac-title-bar-drag-region {
  flex: 1;
  height: 100%;
  /* This area allows window dragging */
}

.mac-title-bar-right {
  padding-right: 20px;
  flex-shrink: 0;
  -webkit-app-region: no-drag;
  display: flex;
  align-items: center;
  height: 100%;
}

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

.mac-title-ascii {
  font-family: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 3px;
  line-height: 0.8;
  color: #58a6ff;
  text-shadow: 0 0 4px rgba(88, 166, 255, 0.3);
  margin: 0;
  white-space: pre;
  transform: scale(0.8);
  transform-origin: center;
  opacity: 0.9;
}

.mac-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: #58a6ff;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-left: 4px;
}

/* Responsive scaling for smaller windows */
@media (max-width: 500px) {
  .mac-title-ascii {
    font-size: 2.5px;
    transform: scale(0.7);
  }
  .mac-subtitle {
    font-size: 9px;
  }
}

@media (max-width: 350px) {
  .mac-title-ascii {
    font-size: 2px;
    transform: scale(0.6);
  }
  .mac-subtitle {
    font-size: 8px;
  }
}

/* Glass Panel Mixin */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glow);
}

/* App Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--glass-surface);
  backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  z-index: 10;
}

.app-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary) 50%, 
    transparent 100%);
  animation: scan 3s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.app-header h1 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ASCII art styles moved to TitleBar component */

/* Terminal Prompt Style */
.app-header h1::before { content: ''; }

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Status Indicator */
.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.status-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

.nav-tab {
  flex: 1;
  padding: 16px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-tab::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.nav-tab:hover {
  color: var(--text-secondary);
  background: rgba(0, 212, 255, 0.05);
}

.nav-tab.active {
  color: var(--text-primary);
  text-shadow: var(--glow);
}

.nav-tab.active::before {
  transform: translateY(0);
}

/* Main Content Area */
.content {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-dim) transparent;
}

.content::-webkit-scrollbar {
  width: 8px;
}

.content::-webkit-scrollbar-track {
  background: transparent;
}

.content::-webkit-scrollbar-thumb {
  background: var(--primary-dim);
  border-radius: 4px;
}

.content::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Section Headers */
.section-header {
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.section-header h2 {
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
}

/* Glass Card Component */
.glass-card {
  background: var(--glass-surface);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(0, 212, 255, 0.05) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
  pointer-events: none; /* ensure shimmer layer never blocks inputs */
}

.glass-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary-dim);
}

.glass-card:hover::before {
  animation: shimmer 0.6s ease;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}

/* Buttons */
.btn {
  padding: 12px 24px;
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
  opacity: 0.3;
}

.btn:hover {
  background: var(--bg-elevated);
  border-color: var(--glass-border);
  transform: translateY(-1px);
}

.btn:hover::before {
  width: 100%;
  height: 100%;
}

.btn-primary {
  background: var(--primary-dark);
  border-color: transparent;
  color: #ffffff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dim) 100%);
  box-shadow: var(--glow-strong);
}

/* Recording Button */
.record-button {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  background: var(--glass-surface);
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.record-button::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 50%, var(--primary) 100%);
  opacity: 0;
  transition: all 0.3s ease;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.record-button:hover {
  transform: scale(1.03);
  border-color: var(--glass-border);
}

.record-button:hover::before {
  opacity: 0.3;
}

.record-button.recording {
  background: rgba(255, 0, 102, 0.1);
  border-color: var(--error);
  animation: recording-pulse 1.5s ease-in-out infinite;
}

@keyframes recording-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 0, 102, 0.4); }
  50% { box-shadow: 0 0 0 20px rgba(255, 0, 102, 0); }
}

/* Input Fields */
.input-group {
  margin-bottom: 20px;
}

.input-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
}

.input-field {
  width: 100%;
  padding: 12px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13px;
  transition: all 0.3s ease;
}

.input-field:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 212, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

/* Select Dropdown */
.select-field {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='2'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

/* Checkbox - fix alignment and click area */
.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.checkbox {
  width: 20px;
  height: 20px;
  background: var(--glass-bg);
  border: 2px solid var(--glass-border);
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
}

/* New accessible checkbox style */
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-label input {
  position: absolute;
  opacity: 0;
}

.checkbox-box {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--glass-border);
  background: var(--bg-surface);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.checkbox-label input:checked + .checkbox-box {
  border-color: var(--primary);
  background: var(--primary-dark);
  color: #fff;
}

.checkbox-text { color: var(--text-primary); }

.checkbox input:checked ~ .checkbox-mark {
  opacity: 1;
  transform: scale(1);
}

.checkbox-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.3s ease;
}

.checkbox:hover {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* History List */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.history-item {
  padding: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.history-item:hover {
  background: var(--glass-surface);
  border-color: var(--primary-dim);
  transform: translateX(4px);
}

.history-time {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
}

.history-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Settings Groups */
.settings-group {
  background: var(--glass-bg);
  border: 1px solid rgba(255,255,255,0.08);
  outline: 1px solid rgba(0,0,0,0.6);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}

.settings-group h3 {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Icon System */
.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.icon-lg {
  width: 24px;
  height: 24px;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

/* Overlay Window */
.overlay {
  background: var(--glass-surface);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--text-primary);
  font-size: 14px;
  box-shadow: var(--shadow-glow);
  transition: all 0.5s ease;
  opacity: 1;
  transform: translateY(0);
}

.overlay.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--glass-border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Terminal Text Effect */
.terminal-text {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-primary);
  text-shadow: var(--glow);
}

.terminal-text::before {
  content: '$ ';
  color: var(--primary-bright);
}

/* Custom Title Bar */
.title-bar {
  display: flex;
  align-items: center;
  height: 40px;
  background: var(--bg-surface);
  backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  z-index: 100;
  user-select: none;
}

.title-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary) 50%, 
    transparent 100%);
  animation: scan 4s ease-in-out infinite;
}

/* Old title bar styles - commented out for Mac-optimized design
.title-bar-drag-region {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 16px;
  -webkit-app-region: drag;
  cursor: move;
}
*/

/* Old title bar title and controls styles - commented out for Mac design
.title-bar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.9;
}

.title-bar-controls {
  display: flex;
  height: 100%;
  -webkit-app-region: no-drag;
}
*/

/* Old title bar button styles - commented out for Mac design
.title-bar-button {
  width: 46px;
  height: 100%;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
  font-family: inherit;
}
*/

/* Old title bar button interaction styles - commented out for Mac design
.title-bar-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  transition: all 0.2s ease;
}

.title-bar-button:hover {
  color: var(--text-primary);
}

.title-bar-button:hover::before {
  background: rgba(0, 212, 255, 0.1);
}

.title-bar-button.minimize:hover {
  color: var(--info);
}

.title-bar-button.maximize:hover {
  color: var(--success);
}

.title-bar-button.close:hover {
  color: var(--error);
  background: rgba(255, 0, 102, 0.1);
}

.title-bar-button.close:hover::before {
  background: rgba(255, 0, 102, 0.2);
}

.title-bar-button:active {
  transform: scale(0.95);
}
*/

/* Duplicate app class removed - Mac title bar spacing handled above */

/* Update app header to account for title bar */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--glass-surface);
  backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  z-index: 10;
}

/* Responsive */
@media (max-width: 768px) {
  .app-header {
    padding: 16px;
  }
  
  .content {
    padding: 16px;
  }
  
  .record-button {
    width: 150px;
    height: 150px;
  }
  
  .title-bar-title {
    font-size: 10px;
    letter-spacing: 1px;
  }
  
  .title-bar-button {
    width: 42px;
  }
}

/* =====================================================
   ICON STYLES FOR ABOUT PAGE
   ===================================================== */

/* General icon styling */
.inline-icon,
.social-icon,
.reason-icon,
.security-icon,
.storage-icon,
.control-icon,
.section-icon,
.repo-icon,
.contact-icon,
.question-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
  color: currentColor;
  flex-shrink: 0;
}

/* Specific icon spacing */
.social-icon {
  margin-right: 0.75rem;
}

.question-icon {
  margin-right: 0.75rem;
  opacity: 0.8;
}

.mithril-logo {
  filter: drop-shadow(0 0 8px rgba(88, 166, 255, 0.4));
  color: #58a6ff;
}

/* Icon alignment in lists */
.why-reasons .reason-icon,
.security-features .security-icon,
.storage-answer .storage-icon,
.data-control .control-icon {
  margin-right: 0.75rem;
  color: inherit;
}

/* Icon alignment in links */
.social-link .social-icon,
.support-link svg,
.repo-link .repo-icon,
.enterprise-contact .contact-icon {
  margin-right: 0.75rem;
  color: currentColor;
}

/* Enhanced Social Links Grid */
.social-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.social-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.08), rgba(58, 134, 255, 0.04));
  border: 1px solid rgba(88, 166, 255, 0.15);
  border-radius: 12px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.6), transparent);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.social-link-card:hover::before {
  transform: translateX(100%);
}

.social-link-card:hover {
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.12), rgba(58, 134, 255, 0.06));
  border-color: rgba(88, 166, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 166, 255, 0.15);
}

.social-link-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.social-platform {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.social-handle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.9;
}

.external-icon {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.social-link-card:hover .external-icon {
  opacity: 1;
}

/* Security Note Styling */
.security-note {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 10px;
  border-left: 4px solid #f59e0b;
}

.security-note p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.security-note strong {
  color: var(--text-primary);
}

/* Enhanced About Page Colors */
.about-container {
  background: linear-gradient(135deg, rgba(0, 8, 20, 0.4), rgba(0, 12, 24, 0.2));
  border-radius: 16px;
  border: 1px solid rgba(88, 166, 255, 0.1);
}

.faq-item {
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.05), rgba(58, 134, 255, 0.02));
  border: 1px solid rgba(88, 166, 255, 0.12);
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.08), rgba(58, 134, 255, 0.04));
  border-color: rgba(88, 166, 255, 0.18);
  transform: translateY(-1px);
}

/* Platform-specific social link colors */
.social-link-card.github:hover {
  border-color: rgba(139, 92, 246, 0.3);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(124, 58, 237, 0.04));
}

.social-link-card.twitter:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.04));
}

.social-link-card.linkedin:hover {
  border-color: rgba(34, 197, 94, 0.3);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(22, 163, 74, 0.04));
}

.social-link-card.email:hover {
  border-color: rgba(239, 68, 68, 0.3);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(220, 38, 38, 0.04));
}

/* ===== RecordingControls Styles ===== */
.homepage-header {
  text-align: center;
  margin-bottom: 2rem;
}

.homepage-ascii {
  font-family: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 10px;
  line-height: 0.9;
  color: #58a6ff;
  text-shadow: 0 0 8px rgba(88, 166, 255, 0.3);
  margin: 0;
  white-space: pre;
  background: rgba(0, 8, 20, 0.6);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(88, 166, 255, 0.2);
  overflow-x: auto;
}

.homepage-subtitle {
  margin-top: 1rem;
  color: #8b949e;
  font-size: 14px;
  letter-spacing: 1px;
}

.status-overview {
  margin-bottom: 1.5rem;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.status-item {
  text-align: center;
}

.status-label {
  font-size: 11px;
  color: #8b949e;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.status-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
}

.status-value.ready {
  color: #3fb950;
}

.status-value.recording {
  color: #f85149;
  animation: pulse 1s infinite;
}

.hotkey-display kbd {
  background: rgba(88, 166, 255, 0.1);
  border: 1px solid rgba(88, 166, 255, 0.3);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  color: #58a6ff;
}

.instructions-card {
  margin-bottom: 1.5rem;
}

.instructions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.instruction-section h4 {
  color: #58a6ff;
  margin: 0 0 12px 0;
  font-size: 14px;
}

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

.instruction-list li {
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
  color: #e6edf3;
  font-size: 13px;
  line-height: 1.4;
}

.instruction-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: #58a6ff;
  font-size: 10px;
}

.instruction-list kbd {
  background: rgba(88, 166, 255, 0.1);
  border: 1px solid rgba(88, 166, 255, 0.3);
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 11px;
  color: #58a6ff;
  margin: 0 2px;
}

.manual-controls {
  opacity: 0.8;
}

.manual-controls-label {
  font-size: 12px;
  color: #8b949e;
  margin-bottom: 12px;
}

.record-button-small {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(88, 166, 255, 0.1);
  border: 1px solid rgba(88, 166, 255, 0.3);
  border-radius: 6px;
  color: #58a6ff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  margin: 0 auto;
}

.record-button-small:hover {
  background: rgba(88, 166, 255, 0.2);
  border-color: rgba(88, 166, 255, 0.5);
}

.record-button-small.recording {
  background: rgba(248, 81, 73, 0.1);
  border-color: rgba(248, 81, 73, 0.3);
  color: #f85149;
}

.manual-controls-note {
  font-size: 11px;
  color: #8b949e;
  margin-top: 8px;
  line-height: 1.3;
}

.manual-controls-note kbd {
  background: rgba(88, 166, 255, 0.1);
  border: 1px solid rgba(88, 166, 255, 0.3);
  border-radius: 3px;
  padding: 2px 4px;
  font-size: 10px;
  color: #58a6ff;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Responsive adjustments for RecordingControls */
@media (max-width: 600px) {
  .homepage-ascii {
    font-size: 8px;
    padding: 0.5rem;
  }
  
  .status-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .instructions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Audio ducking test button */
.test-ducking-btn {
  background: linear-gradient(135deg, #58a6ff 0%, #4c94d9 100%);
  border: none;
  border-radius: 6px;
  color: white;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(88, 166, 255, 0.2);
  font-family: 'Inter', system-ui, sans-serif;
}

.test-ducking-btn:hover {
  background: linear-gradient(135deg, #4c94d9 0%, #3a7bc8 100%);
  box-shadow: 0 4px 8px rgba(88, 166, 255, 0.3);
  transform: translateY(-1px);
}

.test-ducking-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(88, 166, 255, 0.2);
} 