/* ==========================================================
   Caelaris Linux - Modern Distribution Showcase Stylesheet
   Inspired by modern celestial aesthetics and high-performance desktop platforms
   ========================================================== */

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-surface: #0b1120;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.3);
  --border-focus: #38bdf8;
  
  --primary: #38bdf8;
  --primary-hover: #0284c7;
  --accent: #818cf8;
  --accent-purple: #c084fc;
  --accent-green: #34d399;
  
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'Cascadia Code', 'Fira Code', Consolas, Monaco, monospace;
  
  --glow-cyan: 0 0 30px rgba(56, 189, 248, 0.25);
  --glow-purple: 0 0 35px rgba(192, 132, 252, 0.2);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(129, 140, 248, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(192, 132, 252, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Typography Helpers */
a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #7dd3fc;
}

.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.navbar .container {
  max-width: 1360px;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-brand-text {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-logo {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.4));
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 2px;
  transition: var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-actions .btn {
  padding: 8px 16px;
  font-size: 0.88rem;
  white-space: nowrap;
}

/* Mobile Hamburger Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px 7px;
  transition: var(--transition);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glow);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #f1f5f9;
  border-radius: 2px;
  transition: all 0.25s ease-in-out;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  box-shadow: 0 6px 24px rgba(2, 132, 199, 0.5);
  transform: translateY(-2px);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #fff;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Hero Section */
.hero {
  padding: 100px 0 70px 0;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* Interactive Desktop Showcase Mockup */
.hero-showcase {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), var(--glow-cyan);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(11, 17, 32, 0.85);
  border-bottom: 1px solid var(--border-subtle);
}

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

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.showcase-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.de-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.de-tab.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.showcase-viewport {
  position: relative;
  width: 100%;
  background: #020617;
  overflow: hidden;
}

.desktop-preview {
  display: none;
  width: 100%;
}

.desktop-preview.active {
  display: block;
}


/* Smooth fade only on interactive user tab switch */
.arch-panel.tab-switched,
.guide-panel.tab-switched,
.server-panel.tab-switched,
.desktop-preview.tab-switched {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.995); }
  to { opacity: 1; transform: scale(1); }
}

.desktop-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #090e1a;
  overflow: hidden;
}

.desktop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.5s ease;
}

.hero-showcase:hover .desktop-img {
  transform: scale(1.008);
}

/* Sections General */
section {
  padding: 90px 0;
}

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

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  line-height: 1.2;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), var(--glow-cyan);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  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(--primary);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

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

/* Comparison Table */
.comparison-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow-x: auto;
  backdrop-filter: blur(12px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.comparison-table th {
  background: rgba(11, 17, 32, 0.9);
  color: #fff;
  font-weight: 700;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: #e2e8f0;
}

.comparison-table tr.highlight {
  background: rgba(56, 189, 248, 0.05);
}

.check {
  color: #10b981;
  font-weight: 700;
}

.cross {
  color: #ef4444;
  font-weight: 700;
}

/* Download Section */
.download-section {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Architecture Selector Tabs */
.arch-selector {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.arch-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.arch-tab:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.arch-tab.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.25);
}

.arch-tab.active[data-arch="arm64"] {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-color: #f43f5e;
  box-shadow: 0 4px 20px rgba(244, 63, 94, 0.25);
}

.arch-tab.active[data-arch="arm64-pc"] {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-color: #a855f7;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.28);
}

.arch-tab.active[data-arch="server"] {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-color: #10b981;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.28);
}

.arch-tab-icon {
  font-size: 1.8rem;
}

.arch-tab-text {
  display: flex;
  flex-direction: column;
}

.arch-tab-text strong {
  font-size: 1rem;
  color: #fff;
}

.arch-tab-text small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.arch-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary);
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-left: 8px;
  text-transform: uppercase;
}

.arch-badge.rpi-badge {
  background: rgba(225, 29, 72, 0.15);
  color: #fb7185;
  border-color: rgba(225, 29, 72, 0.35);
}

.arch-badge.armpc-badge {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.35);
}

.arch-panel,
.guide-panel,
.server-panel {
  display: none;
}

.arch-panel.active,
.guide-panel.active,
.server-panel.active {
  display: block;
}

.download-card-main {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 27, 75, 0.6) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), var(--glow-cyan);
  backdrop-filter: blur(14px);
  margin-bottom: 40px;
}

.download-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
}

.download-title-area h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.download-meta-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.download-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.download-tile {
  background: rgba(11, 17, 32, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
}

.download-tile:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 0.8);
}

.download-tile h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 4px;
}

.download-tile p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checksum-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: var(--transition);
}

.copy-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #fff;
}

/* ARM64 / Raspberry Pi Roadmap Card */
.arm64-roadmap-card {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.08) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(56, 189, 248, 0.08) 100%);
  border: 1px solid rgba(225, 29, 72, 0.35);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.arm64-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.arm64-badge {
  display: inline-block;
  background: rgba(225, 29, 72, 0.15);
  border: 1px solid rgba(225, 29, 72, 0.35);
  color: #fb7185;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.arm64-title-group h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.arm64-title-group p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.5;
}

.arm64-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(225, 29, 72, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fb7185;
}

.arm64-status .status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f43f5e;
  box-shadow: 0 0 10px #f43f5e;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

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

.arm64-spec-item {
  background: rgba(11, 17, 32, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.arm64-spec-item .spec-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.arm64-spec-item .spec-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f1f5f9;
}

/* Documentation Cards */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
}

.doc-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.doc-card h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 6px;
}

.doc-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 250px;
  padding-bottom: 20px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Footer */
footer {
  padding: 60px 0 30px 0;
  background: #04060a;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h4 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-col h5 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

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

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

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

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Server Section Styles */
.server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.server-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.server-feature-card:hover {
  border-color: #10b981;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(16, 185, 129, 0.25);
}

.server-feature-card h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.server-feature-card p {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.6;
}

.server-panel p {
  color: #e2e8f0 !important;
  font-size: 0.95rem;
  line-height: 1.65;
}

.server-panel ol,
.server-panel ul {
  color: #e2e8f0 !important;
  line-height: 1.6;
}

.server-panel strong {
  color: #fff !important;
}

.server-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.server-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.server-tab.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}

.server-code-box {
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.server-code-box code {
  font-family: 'Cascadia Code', Consolas, Monaco, monospace;
  font-size: 0.88rem;
  color: #38bdf8;
  white-space: nowrap;
  overflow-x: auto;
}

/* Cloud Download Section & Modal */
.cloud-download-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 36px;
  box-shadow: 0 20px 45px -15px rgba(14, 165, 233, 0.15);
}

.cloud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.cloud-item {
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: var(--transition);
}

.cloud-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -6px rgba(56, 189, 248, 0.25);
}

.cloud-item h5 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 4px;
}

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

.cloud-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary);
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-bottom: 8px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Breakpoints */
@media (max-width: 1180px) {
  .nav-links {
    gap: 15px;
  }
  .nav-link {
    font-size: 0.88rem;
  }
  .nav-actions .btn {
    padding: 7px 14px;
    font-size: 0.84rem;
  }
}

@media (max-width: 990px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glow);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px;
    gap: 16px;
    display: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-link {
    font-size: 1.05rem;
    padding: 8px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-actions .nav-btn-gh {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .nav-brand-text {
    font-size: 1.12rem;
  }
  .nav-actions .nav-btn-dl span {
    display: none;
  }
  .nav-actions .nav-btn-dl {
    padding: 8px 12px;
  }
}
