/* AlphaClipper - Modern Dark Product Stylesheet */
:root {
  --bg-main: #010409;
  --bg-surface: #0d1117;
  --bg-surface-elevated: #161b22;
  --bg-card: rgba(13, 17, 23, 0.85);
  --bg-card-hover: rgba(22, 27, 34, 0.95);
  --border-subtle: #21262d;
  --border-hover: #30363d;
  --border-focus: #38bdf8;
  
  --accent-primary: #38bdf8;
  --accent-secondary: #3b82f6;
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #6366f1 100%);
  --accent-glow: rgba(56, 189, 248, 0.18);
  
  --text-main: #FFFFFF;
  --text-muted: #c9d1d9;
  --text-dim: #8b949e;
  --text-accent: #38bdf8;

  --badge-bg: rgba(56, 189, 248, 0.12);
  --badge-border: rgba(56, 189, 248, 0.3);
  --badge-text: #7dd3fc;
  
  --code-bg: #07090e;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --radius-button: 8px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 30px rgba(56, 189, 248, 0.15);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, monospace;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.09) 0%, transparent 60%),
    radial-gradient(circle at 100% 40%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 0% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

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

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 3rem);
}

/* Navigation Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(1, 4, 9, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color var(--transition-normal);
  padding: 0.35rem 0;
}

.site-header.scrolled {
  border-bottom-color: var(--border-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.nav-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3.5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  display: block;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.brand-accent {
  color: #d5f365;
}

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

.nav-link {
  font-size: 0.925rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: #d5f365;
}

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

/* Primary Vibrant Button (#d5f365 with #C3D900 glow on hover - Sharp 8px Edge) */
.btn-primary, #bottone1 {
  padding-left: 33px;
  padding-right: 33px;
  padding-bottom: 16px;
  padding-top: 16px;
  border-radius: 8px;
  background: #d5f365;
  color: #0b0f19;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: 0.4s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(213, 243, 101, 0.25);
}

.btn-primary:hover, #bottone1:hover {
  box-shadow: 7px 5px 56px -14px #C3D900;
  transform: translateY(-2px);
  color: #000000;
}

.btn-primary:active, #bottone1:active {
  transform: scale(0.97);
  box-shadow: 7px 5px 56px -10px #C3D900;
}

.btn-primary.btn-sm {
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-primary.btn-lg {
  padding: 16px 33px;
  font-size: 1.05rem;
  border-radius: 8px;
}

/* Secondary & GitHub Button (Gradient dark with sleek sharp-edge border) */
.btn-secondary, .btn-github {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  background: linear-gradient(to right, #1f2937, #000000);
  padding: 13px 26px;
  border-radius: 8px;
  border: 1px solid #4b5563;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover, .btn-github:hover {
  transform: scale(1.03);
  color: #e5e7eb;
  border-color: #374151;
  background: linear-gradient(to right, #000000, #111827);
}

.btn-secondary:active, .btn-github:active {
  transform: scale(0.98);
}

.btn-secondary.btn-sm, .btn-github.btn-sm {
  padding: 0.45rem 1.15rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-secondary.btn-lg, .btn-github.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
  border-radius: 8px;
}

/* Dedicated Portable Zip Download Button */
.btn-zip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  color: #f1f5f9;
  font-weight: 600;
  font-size: 0.95rem;
  background: #111827;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1px solid #374151;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-zip:hover {
  background: #1e293b;
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}

.btn-zip:active {
  transform: scale(0.97);
}

.btn-zip.btn-sm {
  padding: 0.45rem 1.15rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-zip.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
  border-radius: 8px;
}

/* Outline Button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-hover);
  transition: all var(--transition-fast);
}

/* Buy Me a Coffee Official Brand Button */
.btn-buymeacoffee {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #FFDD00;
  color: #000000;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  padding: 13px 26px;
  border: 1px solid #FFDD00;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 221, 0, 0.28);
  white-space: nowrap;
}

.btn-buymeacoffee:hover {
  background: #ffea47;
  border-color: #ffea47;
  box-shadow: 0 6px 22px rgba(255, 221, 0, 0.45);
  transform: translateY(-2px);
  color: #000000;
}

.btn-buymeacoffee:active {
  transform: scale(0.97);
}

.btn-buymeacoffee.btn-sm {
  padding: 0.45rem 1.15rem;
  font-size: 0.85rem;
}

.btn-buymeacoffee.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

/* Interactive 1.7k Fake Like Button (User Specification) */
.like-button-wrapper {
  display: inline-flex;
  align-items: center;
}

#heart {
  display: none;
}

.like-button {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  height: 48px;
  width: 144px;
  border-radius: 8px;
  border: 1px solid #30363d;
  background-color: #161b22;
  overflow: hidden;
  box-shadow:
    inset -2px -2px 5px rgba(255, 255, 255, 0.08),
    inset 2px 2px 5px rgba(0, 0, 0, 0.3),
    4px 4px 10px rgba(0, 0, 0, 0.4),
    -2px -2px 8px rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  user-select: none;
  vertical-align: middle;
}

.like-button:hover {
  border-color: rgba(244, 63, 94, 0.5);
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.25);
  transform: translateY(-2px);
}

.like-button:active {
  transform: scale(0.98);
}

.like {
  width: 68%;
  height: 100%;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 0.5rem;
}

.like-icon {
  fill: #8b949e;
  height: 22px;
  width: 22px;
  transition: all 0.2s ease-out;
  flex-shrink: 0;
}

.like-text {
  color: #f0f6fc;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: -0.01em;
}

.like-count {
  position: absolute;
  right: 0;
  width: 32%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #8b949e;
  font-size: 13px;
  font-weight: 700;
  border-left: 1px solid #30363d;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(0, 0, 0, 0.25);
  font-family: var(--font-mono);
}

.like-count.two {
  transform: translateY(48px);
}

.on:checked ~ .like .like-icon {
  fill: #fc4e4e;
  animation: enlarge 0.25s ease-out 1;
  transition: all 0.2s ease-out;
  filter: drop-shadow(0 0 6px rgba(252, 78, 78, 0.6));
}

.on:checked ~ .like-count.two {
  transform: translateY(0);
  color: #f0f6fc;
}

.on:checked ~ .like-count.one {
  transform: translateY(-48px);
}

@keyframes enlarge {
  0% {
    transform: scale(0.5);
  }
  60% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-muted);
}

.btn-icon-only {
  padding: 0.6rem;
  border-radius: var(--radius-md);
  color: var(--text-muted);
}

.btn-icon-only:hover {
  color: var(--text-main);
  background: var(--bg-surface-elevated);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 3.5rem;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  border-radius: 6px;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1.75rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 3.5rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* App Interface Mockup / Preview */
.preview-section {
  padding: 2rem 0 5rem;
}

.preview-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #0d121c;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  position: relative;
}

/* Real Application Screenshot Showcase / Preview */
.preview-showcase-container {
  max-width: 1240px;
  margin: 0 auto;
}

.preview-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.preview-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #111827;
  border: 1px solid #374151;
  color: var(--text-muted);
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.preview-tab-btn:hover {
  background: #1f2937;
  color: #ffffff;
  border-color: #4b5563;
}

.preview-tab-btn.active {
  background: #162032;
  color: #d5f365;
  border-color: #d5f365;
  box-shadow: 0 0 16px rgba(213, 243, 101, 0.2);
}

.tab-chip {
  font-size: 0.725rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

.preview-tab-btn.active .tab-chip {
  background: rgba(213, 243, 101, 0.18);
  color: #d5f365;
}

.preview-window-frame {
  background: #090d16;
  border: 1px solid #30363d;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.12);
}

.preview-window-titlebar {
  background: #0d131f;
  border-bottom: 1px solid #21262d;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-window-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.preview-window-controls {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.p-control {
  cursor: default;
  transition: color 0.15s;
}

.p-close:hover {
  color: #ef4444;
}

.preview-image-view {
  width: 100%;
  display: block;
  background: #03060a;
}

.preview-app-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.preview-popup-backdrop {
  padding: 3.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.08) 0%, #03060a 70%);
}

.preview-popup-image {
  max-width: 440px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.9), 0 0 30px rgba(56, 189, 248, 0.25);
  border: 1px solid #30363d;
}

.preview-features-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.preview-feature-badge {
  background: #0d121d;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pf-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.preview-feature-badge strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.preview-feature-badge p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 800px) {
  .preview-features-bar {
    grid-template-columns: 1fr;
  }
}

.preview-tag-banner {
  background: rgba(14, 21, 33, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  color: var(--accent-primary);
}

/* Windows Fluent Style Titlebar */
.window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: #111723;
  border-bottom: 1px solid var(--border-subtle);
  user-select: none;
}

.window-title-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.window-search {
  flex: 1;
  max-width: 380px;
  margin: 0 1rem;
  position: relative;
}

.window-search input {
  width: 100%;
  padding: 0.35rem 0.75rem 0.35rem 2rem;
  background: #0b0f17;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.8rem;
  font-family: var(--font-sans);
  transition: border-color var(--transition-fast);
}

.window-search input:focus {
  border-color: var(--accent-primary);
  outline: none;
}

.window-search svg {
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.window-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  background: transparent;
  border: none;
  font-size: 0.8rem;
}

.window-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.window-btn.close:hover {
  background: #ef4444;
  color: #ffffff;
}

/* App Main Body */
.window-body {
  display: grid;
  grid-template-columns: 200px 1fr 280px;
  min-height: 440px;
  background: #0a0e16;
}

/* Sidebar */
.window-sidebar {
  border-right: 1px solid var(--border-subtle);
  padding: 0.85rem 0.6rem;
  background: rgba(14, 20, 30, 0.5);
}

.sidebar-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  padding: 0.4rem 0.6rem;
  margin-top: 0.5rem;
  font-weight: 700;
}

.sidebar-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sidebar-tab {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.65rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.825rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sidebar-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

.sidebar-tab.active {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-primary);
  font-weight: 600;
}

.sidebar-tab-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-badge {
  font-size: 0.7rem;
  background: #1e293b;
  color: var(--text-muted);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-family: var(--font-mono);
}

/* Content List */
.window-list {
  padding: 0.85rem;
  overflow-y: auto;
  max-height: 440px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-right: 1px solid var(--border-subtle);
}

.clip-card {
  background: #111724;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  position: relative;
}

.clip-card:hover {
  border-color: var(--border-hover);
  background: #151d2e;
}

.clip-card.active {
  border-color: var(--accent-primary);
  background: #142033;
}

.clip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
}

.clip-type {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: capitalize;
}

.clip-time {
  color: var(--text-dim);
  font-size: 0.7rem;
}

.clip-preview-text {
  font-size: 0.8rem;
  color: var(--text-main);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.clip-card.is-code .clip-preview-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #7dd3fc;
  background: #090d15;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
}

.clip-image-thumb {
  width: 100%;
  height: 60px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.75rem;
  border: 1px dashed #334155;
  gap: 0.4rem;
}

/* Detail Panel */
.window-detail {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #0d121c;
}

.detail-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.detail-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.detail-meta {
  font-size: 0.725rem;
  color: var(--text-dim);
}

.detail-content {
  flex: 1;
  background: var(--code-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-size: 0.775rem;
  font-family: var(--font-mono);
  color: #e2e8f0;
  overflow-y: auto;
  max-height: 220px;
  white-space: pre-wrap;
  word-break: break-all;
}

.detail-actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hotkey-legend {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.725rem;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hotkey-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

kbd {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 3px;
  padding: 0.1rem 0.35rem;
  font-size: 0.675rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

/* Sections Common */
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-subtle);
}

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

.section-tag {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.feature-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.feature-status-pill {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid #334155;
  font-family: var(--font-mono);
}

/* Architecture / Privacy Flow Banner */
.privacy-flow-card {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}

.flow-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.flow-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.flow-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.flow-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-secondary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Download Section */
.download-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.status-alert {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.download-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.download-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

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

.system-reqs-box {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  text-align: left;
}

.req-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.req-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Installation Guide */
.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.install-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.install-box-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.install-box-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step-item {
  display: flex;
  gap: 1rem;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-hover);
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.step-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.code-block {
  background: var(--code-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  color: #7dd3fc;
  overflow-x: auto;
  margin: 0.5rem 0 0.75rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copy-code-btn {
  background: #1e293b;
  border: 1px solid #334155;
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-code-btn:hover {
  color: var(--text-main);
  background: #334155;
}

/* Contribute Section */
.contribute-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contribute-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contribute-link-card {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.contribute-link-card:hover {
  border-color: var(--accent-primary);
  background: rgba(56, 189, 248, 0.04);
  transform: translateY(-2px);
}

.link-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.link-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Sponsor Section */
.sponsor-box {
  background: linear-gradient(180deg, rgba(22, 31, 48, 0.6) 0%, rgba(17, 23, 34, 0.6) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.sponsor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #f43f5e;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sponsor-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.sponsor-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item[open] {
  border-color: var(--border-focus);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-normal);
  color: var(--text-dim);
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-primary);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Sponsor Grid & Cards */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.sponsor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: all var(--transition-normal);
}

.sponsor-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.sponsor-card.highlight {
  border-color: rgba(244, 63, 94, 0.4);
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.08) 0%, rgba(13, 17, 23, 0.95) 100%);
}

.sponsor-card.highlight:hover {
  border-color: rgba(244, 63, 94, 0.7);
  box-shadow: 0 12px 36px rgba(244, 63, 94, 0.18);
}

.sponsor-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.sponsor-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
}

/* Site Footer */
.site-footer {
  margin-top: auto;
  background: #03060a;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2.5rem;
  font-size: 0.9rem;
}

.footer-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3.5vw, 3.5rem);
}

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1.1fr 1.1fr 1.1fr 1.3fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-top: 0.85rem;
  max-width: 380px;
  line-height: 1.65;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #d5f365;
}

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

.footer-license {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #1e293b;
  border: 1px solid var(--accent-primary);
  color: var(--text-main);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .window-body {
    grid-template-columns: 1fr;
  }
  .window-sidebar, .window-detail {
    display: none;
  }
  .window-list {
    border-right: none;
    max-height: 360px;
  }
  .install-grid, .contribute-card, .privacy-flow-card {
    grid-template-columns: 1fr;
  }
  .sponsor-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-download-nav {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 4.5rem;
    left: 0;
    right: 0;
    background: #0d121c;
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  }

  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .download-card, .contribute-card {
    padding: 2rem 1.25rem;
  }
}
