/* ==========================================================================
   AnswerLinux - Modern HTML5 Distribution Theme
   Palette: Pastel Purple (#c084fc) & Pastel Blue (#93c5fd)
   Fonts: Orbitron (Headings/Brand), Raleway (Body/UI), Monospace (Files)
   ========================================================================== */

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

:root {
  /* Colors */
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-card: #141e33;
  --bg-card-hover: #1a2642;
  --bg-glass: rgba(15, 23, 42, 0.82);

  /* Pastel Accent Colors */
  --pastel-purple: #c084fc;
  --pastel-purple-light: #d8b4fe;
  --pastel-indigo: #a5b4fc;
  --pastel-blue: #93c5fd;
  --pastel-blue-light: #bfdbfe;
  --pastel-teal: #6ee7b7;

  --accent-gradient: linear-gradient(135deg, #c084fc 0%, #a5b4fc 50%, #93c5fd 100%);
  --accent-gradient-subtle: linear-gradient(135deg, rgba(192, 132, 252, 0.15) 0%, rgba(147, 197, 253, 0.15) 100%);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(192, 132, 252, 0.28);
  --border-glow-blue: rgba(147, 197, 253, 0.35);

  --shadow-glow: 0 0 25px rgba(192, 132, 252, 0.2);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);

  /* Fonts */
  --font-brand: 'Orbitron', -apple-system, sans-serif;
  --font-body: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Sizing & Transitions */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  line-height: 1.65;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(192, 132, 252, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(147, 197, 253, 0.06) 0%, transparent 45%),
    linear-gradient(to bottom, rgba(9, 13, 22, 0.98), var(--bg-primary));
  background-attachment: fixed;
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Presets */
h1, h2, h3, h4, .brand-text {
  font-family: var(--font-brand);
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 400;
}

a {
  color: var(--pastel-blue);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--pastel-purple-light);
  text-shadow: 0 0 8px rgba(192, 132, 252, 0.4);
}

code, pre, .font-mono {
  font-family: var(--font-mono);
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: var(--font-brand);
}

.badge-glow {
  background: rgba(192, 132, 252, 0.1);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: var(--pastel-purple-light);
  box-shadow: 0 0 15px rgba(192, 132, 252, 0.15);
}

.badge-purple {
  background: rgba(192, 132, 252, 0.15);
  border: 1px solid rgba(192, 132, 252, 0.4);
  color: var(--pastel-purple-light);
}

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

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 14px var(--pastel-purple); }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(9, 13, 22, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--border-glow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-link img.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo-link:hover img.logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 10px rgba(192, 132, 252, 0.4));
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-smooth);
  border-radius: 2px;
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.nav-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.6rem;
  cursor: pointer;
  font-size: 1.25rem;
}

/* Buttons with Pastel Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-brand);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  text-decoration: none;
  outline: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #090d16;
  box-shadow: 0 4px 18px rgba(192, 132, 252, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(147, 197, 253, 0.45);
  color: #000000;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-glow);
}

.btn-outline:hover {
  background: rgba(192, 132, 252, 0.12);
  border-color: var(--pastel-purple);
  transform: translateY(-2px);
  color: var(--pastel-purple-light);
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.25);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

/* Hero Section (Two-Column Layout) */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-title {
  margin-top: 0.25rem;
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 500;
  color: #e2e8f0;
  line-height: 1.5;
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 0.5rem;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero Desktop Window Showcase Card */
.hero-visual {
  position: relative;
}

.showcase-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 35px rgba(192, 132, 252, 0.15);
  background: var(--bg-card);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--pastel-purple);
}

.showcase-card-header {
  background: rgba(15, 23, 42, 0.95);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background-color: #f87171; }
.dot-yellow { background-color: #fbbf24; }
.dot-green { background-color: #34d399; }

.window-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.showcase-card img.showcase-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.showcase-card:hover img.showcase-img {
  transform: scale(1.03);
}

.showcase-card-footer {
  padding: 0.85rem 1.25rem;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
}

/* Stats Ribbon */
.stats-ribbon {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2rem 0;
  margin: 1.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-value {
  font-family: var(--font-brand);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--pastel-purple-light);
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section Common */
.section {
  padding: 5rem 0;
  position: relative;
}

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

.section-eyebrow {
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

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

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 25px rgba(192, 132, 252, 0.12);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(192, 132, 252, 0.1);
  border: 1px solid rgba(192, 132, 252, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pastel-purple-light);
}

.feature-title {
  font-size: 1.18rem;
  font-weight: 700;
  font-family: var(--font-brand);
  color: var(--text-primary);
}

.feature-text {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Quote Section */
.quote-section {
  padding: 4.5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.quote-container {
  max-width: 860px;
  margin: 0 auto;
}

.quote-mark {
  font-family: var(--font-brand);
  font-size: 4rem;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
  opacity: 0.7;
}

.quote-text {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.quote-author {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pastel-purple);
  letter-spacing: 1px;
}

/* ==========================================================================
   DOWNLOAD PORTION: BANNER WITH LOGO & HTML ISO FILE LISTING
   ========================================================================== */
.downloads-section {
  padding: 5rem 0;
  position: relative;
}

.download-hero-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(20, 30, 51, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 35px rgba(192, 132, 252, 0.12);
  margin-bottom: 3rem;
}

.banner-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.banner-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.banner-logo-wrap {
  margin-bottom: 0.5rem;
}

.banner-logo-wrap img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(192, 132, 252, 0.3));
}

.banner-title {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 800;
}

.banner-desc {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.banner-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.banner-spec-badge {
  background: rgba(0, 0, 0, 0.4);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.banner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 240px;
}

/* File Listing Repository Table */
.repository-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 3rem;
}

.repository-header {
  background: var(--bg-secondary);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.repository-title-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.repository-path {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--pastel-blue);
  font-weight: 600;
}

.repository-search {
  position: relative;
  min-width: 240px;
}

.repository-search input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.55rem 1rem 0.55rem 2.25rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: all var(--transition-fast);
}

.repository-search input:focus {
  border-color: var(--pastel-purple);
  box-shadow: 0 0 15px rgba(192, 132, 252, 0.25);
}

.repository-search-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* File Table */
.file-table-wrapper {
  overflow-x: auto;
}

.file-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.file-table th {
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-muted);
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.file-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
  color: var(--text-secondary);
}

.file-table tr:hover {
  background-color: rgba(192, 132, 252, 0.04);
}

.file-table tr.highlighted {
  background-color: rgba(147, 197, 253, 0.06);
}

.file-name-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-icon {
  font-size: 1.25rem;
  color: var(--pastel-purple);
}

.file-name {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #ffffff;
}

.file-name:hover {
  color: var(--pastel-blue);
}

.file-meta-tag {
  font-size: 0.72rem;
  background: rgba(192, 132, 252, 0.15);
  color: var(--pastel-purple-light);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-family: var(--font-brand);
}

.file-size, .file-date, .file-arch {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.file-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-brand);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background: var(--pastel-purple);
  color: #090d16;
  border-color: var(--pastel-purple);
}

.btn-view {
  background: rgba(147, 197, 253, 0.12);
  border: 1px solid rgba(147, 197, 253, 0.3);
  color: var(--pastel-blue-light);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-brand);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-view:hover {
  background: var(--pastel-blue);
  color: #090d16;
  border-color: var(--pastel-blue);
}

/* Repository Filter Tabs */
.repo-toolbar {
  padding: 0.85rem 1.75rem;
  background: rgba(10, 15, 26, 0.6);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.repo-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-brand);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  color: var(--text-primary);
  border-color: rgba(192, 132, 252, 0.4);
}

.filter-tab.active {
  background: rgba(192, 132, 252, 0.18);
  border-color: var(--pastel-purple);
  color: var(--pastel-purple-light);
}

/* Quick Notes Box in Download Section */
.download-quick-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.quick-note-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.quick-note-title {
  font-family: var(--font-brand);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pastel-purple-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-note-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.quick-note-text kbd {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--pastel-blue-light);
}

/* Modal Preview for Manifest / README / CHANGELOG */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 35px rgba(192, 132, 252, 0.2);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.open .modal-card {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 1.75rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--pastel-purple-light);
  background: rgba(255, 255, 255, 0.08);
}

.modal-body {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  background: #090e18;
}

.modal-body pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--font-mono);
}

.modal-footer {
  padding: 1rem 1.75rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 3-Step Install Guide */
.install-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.step-number {
  font-family: var(--font-brand);
  font-size: 2.25rem;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.step-title {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.step-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* News Section */
.news-section {
  padding: 4.5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.posts-list-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.post-row-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.post-row-title a {
  font-family: var(--font-brand);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.post-row-title a:hover {
  color: var(--pastel-purple-light);
}

.post-row-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}

/* Newsletter / Join 900+ Subscribers */
.newsletter-section {
  padding: 5rem 0;
}

.newsletter-card {
  background: linear-gradient(135deg, #141e33 0%, #0f172a 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.newsletter-title {
  margin-bottom: 0.75rem;
}

.newsletter-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  min-width: 240px;
  background: rgba(9, 13, 22, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--pastel-purple);
  box-shadow: 0 0 15px rgba(192, 132, 252, 0.25);
}

/* Footer */
.site-footer {
  background: #060910;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  color: var(--text-muted);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-heading {
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--pastel-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--pastel-purple);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(192, 132, 252, 0.3);
  backdrop-filter: blur(12px);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .showcase-card img.showcase-img {
    height: 360px;
  }
}

@media (max-width: 900px) {
  .features-grid, .install-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .banner-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 650px) {
  .features-grid, .install-steps-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glow);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-toggle-btn {
    display: block;
  }
  .nav-actions .btn {
    display: none;
  }
  .showcase-card img.showcase-img {
    height: 240px;
  }
}
