/* ==========================================================================
   RAYCAST-INSPIRED DESIGN SYSTEM & THEME
   Obsidian Black #070709 / Raycast Orange-Red #FF6363 / Neon Coral #FF3B30 / Violet Accent
   Font: Inter & JetBrains Mono for kbd/code
   ========================================================================== */

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

:root {
  /* Raycast Palette */
  --bg-primary: #070709;
  --bg-secondary: #0d0d12;
  --bg-tertiary: #14141d;
  --bg-card: rgba(20, 20, 28, 0.65);
  --bg-card-hover: rgba(30, 30, 42, 0.85);
  --bg-input: rgba(15, 15, 22, 0.8);
  --bg-glass: rgba(10, 10, 15, 0.72);
  --bg-overlay: rgba(3, 3, 5, 0.82);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.22);
  --border-accent: rgba(255, 99, 99, 0.35);

  /* Raycast Brand Gradients & Accents */
  --ray-red: #FF6363;
  --ray-crimson: #FF3B30;
  --ray-orange: #FF884D;
  --ray-amber: #FDBA74;
  --ray-violet: #A855F7;
  --ray-cyan: #06B6D4;
  --ray-emerald: #10B981;
  
  --brand-gradient: linear-gradient(135deg, #FF6363 0%, #FF884D 50%, #FFB703 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(255,99,99,0.15) 0%, rgba(255,136,77,0.1) 100%);
  --brand-glow: 0 0 60px -10px rgba(255, 99, 99, 0.35), 0 0 120px -30px rgba(255, 59, 48, 0.2);
  --card-glow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --card-glow-hover: 0 20px 40px -15px rgba(255, 99, 99, 0.18), 0 0 0 1px rgba(255, 99, 99, 0.4);

  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #9494A8;
  --text-tertiary: #606072;
  --text-inverse: #070709;

  /* Typography Setup */
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-sans);
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Sizing & Transitions */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1200px;
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Raycast Ambient Background Grid & Radial Glow */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  background: 
    radial-gradient(ellipse 60% 400px at 50% 0%, rgba(255, 99, 99, 0.15) 0%, rgba(255, 99, 99, 0.04) 45%, transparent 70%),
    radial-gradient(circle 300px at 80% 10%, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 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: 48px 48px;
  pointer-events: none;
  z-index: -2;
  mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 80%);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-strong);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
  font-size: inherit;
}

/* ==========================================================================
   KEYBOARD SHORTCUT BADGES (Signature Raycast <kbd>)
   ========================================================================== */
kbd, .kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.4);
  line-height: 1.2;
  vertical-align: middle;
  text-transform: uppercase;
}

.kbd-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   NAVIGATION BAR (Floating Glassmorphic Raycast Header)
   ========================================================================== */
.ray-header {
  position: sticky;
  top: 0;
  z-index: 900;
  width: 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 7, 9, 0.75);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #FF6363 0%, #FF3B30 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(255, 99, 99, 0.4);
  color: #fff;
  transition: transform 0.2s ease;
}

.brand-logo:hover .brand-icon-wrap {
  transform: rotate(-6deg) scale(1.05);
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: #FF6363;
  font-weight: 600;
}

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

/* Raycast Global Search Bar Trigger */
.cmd-trigger-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.cmd-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.4rem;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #FF6363 0%, #E03535 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(255, 99, 99, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 99, 99, 0.5);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #FF7575 0%, #EA4343 100%);
  box-shadow: 0 6px 24px rgba(255, 99, 99, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 99, 99, 0.1);
  border: 1px solid rgba(255, 99, 99, 0.25);
  color: #FF8878;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  width: fit-content;
}

.pill-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #FF3B30;
  box-shadow: 0 0 8px #FF3B30;
  animation: pulse 2s infinite ease-in-out;
}

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

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */
.ray-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.section {
  padding: 6rem 0;
  position: relative;
}

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

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FF6363;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

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

/* ==========================================================================
   HERO SECTION (Raycast Signature Style)
   ========================================================================== */
.hero-section {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.hero-title .gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2.25rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* ==========================================================================
   RAYCAST INTERACTIVE COMMAND BAR COMPONENT (HERO CENTERPIECE)
   ========================================================================== */
.ray-window-mockup {
  max-width: 820px;
  margin: 0 auto;
  background: #111116;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 30px 100px -20px rgba(0, 0, 0, 0.8),
    0 0 80px -20px rgba(255, 99, 99, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
  text-align: left;
  transition: var(--transition);
}

.ray-window-mockup:hover {
  border-color: rgba(255, 99, 99, 0.35);
  box-shadow: 
    0 35px 110px -15px rgba(0, 0, 0, 0.9),
    0 0 100px -15px rgba(255, 99, 99, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ray-window-header {
  padding: 0.85rem 1.25rem;
  background: rgba(20, 20, 26, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #33333e;
}
.window-dot.close { background: #FF5F56; }
.window-dot.min { background: #FFBD2E; }
.window-dot.max { background: #27C93F; }

.window-title {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  font-weight: 500;
}

.ray-window-search {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 15, 20, 0.7);
}

.ray-window-search svg {
  color: var(--text-secondary);
}

.ray-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.15rem;
  color: #fff;
  font-weight: 500;
}

.ray-search-input::placeholder {
  color: #555566;
}

.ray-cmd-list {
  padding: 0.6rem;
  list-style: none;
  max-height: 380px;
  overflow-y: auto;
}

.cmd-group-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 0.4rem 0.75rem 0.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.cmd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.cmd-item:hover, .cmd-item.selected {
  background: rgba(255, 255, 255, 0.08);
}

.cmd-item.selected {
  border-left: 2px solid #FF6363;
  padding-left: calc(0.85rem - 2px);
}

.cmd-item-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cmd-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.cmd-item:hover .cmd-icon, .cmd-item.selected .cmd-icon {
  background: rgba(255, 99, 99, 0.2);
  color: #FF8878;
}

.cmd-title {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.cmd-badge {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-left: 0.5rem;
}

.cmd-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ray-window-footer {
  padding: 0.6rem 1.25rem;
  background: rgba(12, 12, 16, 0.95);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-action-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   BENTO GRID SYSTEM (Raycast Style Features)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: var(--transition);
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-3px);
  box-shadow: var(--card-glow);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card.col-4 { grid-column: span 4; }
.bento-card.col-6 { grid-column: span 6; }
.bento-card.col-8 { grid-column: span 8; }
.bento-card.col-12 { grid-column: span 12; }

.bento-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF6363;
  margin-bottom: 1.25rem;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.bento-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

/* Bento Preview Containers */
.bento-preview-wrap {
  margin-top: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(10, 10, 14, 0.8);
  padding: 1.25rem;
  overflow: hidden;
}

.speed-metric {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   RAYCAST STORE / EXTENSION CARDS (Portfolio Projects)
   ========================================================================== */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.store-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.store-card:hover {
  border-color: rgba(255, 99, 99, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--card-glow-hover);
}

.store-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.store-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.store-meta {
  flex: 1;
}

.store-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-author {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.store-author-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FF6363;
}

.store-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.store-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.store-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
}

.store-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

.install-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.install-btn:hover {
  background: #FF6363;
  color: #FFFFFF;
  border-color: #FF6363;
}

/* ==========================================================================
   CHANGELOG / TIMELINE / EXPERIENCE SECTION
   ========================================================================== */
.changelog-list {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.changelog-list::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 6px;
  width: 2px;
  background: linear-gradient(180deg, #FF6363 0%, rgba(255, 99, 99, 0.1) 100%);
}

.changelog-item {
  position: relative;
  margin-bottom: 3rem;
}

.changelog-dot {
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #070709;
  border: 3px solid #FF6363;
  box-shadow: 0 0 10px rgba(255, 99, 99, 0.5);
}

.changelog-version-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #FF8878;
  background: rgba(255, 99, 99, 0.1);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.changelog-date {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-left: 0.5rem;
}

.changelog-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.changelog-body {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.changelog-body ul {
  padding-left: 1.25rem;
  margin-top: 0.75rem;
}

.changelog-body li {
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   RAYCAST MODAL / CMD+K OVERLAY
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 1rem 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.palette-modal {
  width: 100%;
  max-width: 640px;
  background: #121218;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 60px rgba(255, 99, 99, 0.2);
  overflow: hidden;
  transform: scale(0.96) translateY(-10px);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .palette-modal {
  transform: scale(1) translateY(0);
}

.palette-search-box {
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.palette-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 500;
}

.palette-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 0.5rem;
  list-style: none;
}

.palette-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.12s ease;
}

.palette-item.active, .palette-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.palette-footer {
  padding: 0.7rem 1.25rem;
  background: rgba(9, 9, 13, 0.9);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ==========================================================================
   FORMS (Raycast Command Prompt Style)
   ========================================================================== */
.ray-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input, .form-textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  color: #FFFFFF;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: #FF6363;
  box-shadow: 0 0 0 3px rgba(255, 99, 99, 0.15);
}

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

/* ==========================================================================
   FOOTER (Raycast Obsidian Minimal Footer)
   ========================================================================== */
.ray-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  background: #050507;
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand-bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
  margin-top: 0.75rem;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.footer-link:hover {
  color: #FF6363;
}

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

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.ray-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #181822;
  border: 1px solid rgba(255, 99, 99, 0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 0.9rem;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
  .bento-card.col-4,
  .bento-card.col-6,
  .bento-card.col-8 {
    grid-column: span 12;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #0d0d14;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
