@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Orbitron:wght@700&display=swap');

body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(120deg, #1a2233 0%, #23293a 100%);
  color: #e6eaf3;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}

.background-animation {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background: url('backgrout.jpg') repeat center center/cover, radial-gradient(circle at 20% 20%, #3a7bd5 0%, transparent 70%), radial-gradient(circle at 80% 80%, #00d2ff 0%, transparent 70%);
  opacity: 0.08;
  animation: bgmove 30s linear infinite alternate;
}

@keyframes bgmove {
  0% { background-position: 0 0, 20% 20%, 80% 80%; }
  100% { background-position: 100px 100px, 30% 30%, 70% 70%; }
}

/* Glassmorphism main card */
main {
  max-width: 950px;
  min-width: 320px;
  margin: 3rem auto 2rem 120px;
  background: rgba(34, 36, 48, 0.82);
  border-radius: 18px;
  box-shadow: 0 4px 24px #1a223355;
  padding: 2.5rem 2.5rem 1.5rem 2.5rem;
  z-index: 2;
  position: relative;
  backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid #3a7bd5;
  transition: max-width 0.3s, padding 0.3s;
}

header {
  text-align: center;
  padding: 2.5rem 1rem 1rem 1rem;
  position: relative;
  z-index: 2;
}
.logo {
  height: 110px;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 16px #00c6ff88);
}

/* Sidebar logo glow */
.sidebar-logo-glow {
  width: 54px;
  margin-bottom: 2.2rem;
  display: block;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff 80%, #e0e6ed 100%);
  box-shadow: 0 2px 12px #1a223344, 0 0 0 4px #fff, 0 0 0 8px #3a7bd511;
  border: 2.5px solid #e0e6ed;
  padding: 7px;
  object-fit: contain;
  position: relative;
}

.main-title {
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-size: 2.8rem;
  color: #00d2ff;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px #00d2ff33, 0 0 2px #fff2;
  margin-bottom: 0.2rem;
  font-weight: 700;
}
.main-subheadline {
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-size: 1.3rem;
  color: #7fd6ff;
  text-shadow: 0 1px 8px #00d2ff22;
  margin-bottom: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  animation: subheadline-flicker 2.5s infinite alternate;
}
@keyframes subheadline-flicker {
  0% { opacity: 1; }
  90% { opacity: 1; }
  95% { opacity: 0.7; }
  100% { opacity: 1; }
}
.subtitle {
  font-size: 1.1rem;
  color: #3a7bd5;
  margin-bottom: 1.2rem;
  text-shadow: 0 1px 4px #1a223355;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 90px;
  background: rgba(20, 24, 32, 0.65);
  box-shadow: 2px 0 24px #00c6ff33;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0 1rem 0;
  z-index: 10;
  backdrop-filter: blur(12px) saturate(120%);
  border-right: 1.5px solid #00c6ff33;
  text-align: center;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.sidebar-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #b8c6d9;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.2s, transform 0.2s;
  opacity: 0.85;
  position: relative;
}

/* Icon background effect */
.sidebar-icon-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(240,242,247,0.82);
  box-shadow: 0 1px 6px #b0b8c122;
  border: 1.5px solid #e0e6ed;
  margin-bottom: 0.2rem;
  transition: background 0.2s, box-shadow 0.2s, border 0.2s;
}
.sidebar-nav a.active .sidebar-icon-bg,
.sidebar-nav a:hover .sidebar-icon-bg {
  background: #f5f8fa;
  box-shadow: 0 2px 10px #3a7bd522;
  border: 1.5px solid #3a7bd5;
}

.sidebar-icon {
  width: 28px;
  height: 28px;
  filter: grayscale(0.1) brightness(0.98) drop-shadow(0 1px 2px #1a223322);
  transition: filter 0.2s, transform 0.2s;
  border-radius: 6px;
  background: transparent;
}
.sidebar-nav a.active .sidebar-icon,
.sidebar-nav a:hover .sidebar-icon {
  filter: grayscale(0) brightness(1.08) drop-shadow(0 2px 6px #3a7bd533);
  transform: scale(1.11);
}

h1, h2, h3, h4, h5, h6 {
  color: #7fd6ff;
  text-shadow: 0 2px 8px #1a223355;
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.03em;
}

section {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #3336;
}
section:last-child {
  border-bottom: none;
}
ul, ol {
  margin-left: 1.5rem;
}
pre, code {
  font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
  color: #e6eaf3;
  background: rgba(24, 26, 32, 0.98);
  text-shadow: 0 1px 4px #23293a99;
}
pre {
  padding: 1.1rem 1.2rem;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 1.08em;
  box-shadow: 0 2px 8px #1a223144, 0 0 0 1.5px #3a7bd5 inset;
  border: 1.5px solid #3a7bd5;
  margin: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s, box-shadow 0.2s;
}
.code-block-with-copy {
  margin: 0.5em 0 1.5em 0;
  max-width: 100%;
  min-width: 0;
  width: 100%;
  position: relative;
  display: flex;
  align-items: stretch;
  background: none;
}
.code-block-with-copy pre {
  flex: 1 1 auto;
  width: 100%;
  font-size: 1.18em;
  padding: 1.3rem 2.5rem 1.3rem 1.5rem;
  border-radius: 12px;
  margin: 0;
  background: rgba(24, 26, 32, 0.98);
  box-shadow: 0 2px 8px #1a223144, 0 0 0 1.5px #3a7bd5 inset;
  border: 1.5px solid #3a7bd5;
  overflow-x: auto;
  min-width: 0;
}
pre code {
  background: none;
  color: inherit;
  font-size: inherit;
  padding: 0;
  border: none;
}
@media (max-width: 900px) {
  .code-block-with-copy {
    max-width: 98vw;
    margin: 0.5em 0 1em 0;
  }
  .code-block-with-copy pre {
    font-size: 1em;
    padding: 0.8rem 0.7rem;
    border-radius: 10px;
  }
}

/* Code block with copy button */
.copy-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 0.5em;
  background: #3a7bd5;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.45em 1.6em 0.45em 1.3em;
  font-weight: 700;
  font-size: 1.13em;
  cursor: pointer;
  box-shadow: 0 2px 8px #3a7bd522;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  z-index: 2;
  outline: none;
}
.copy-btn::before {
  width: 1.3em;
  height: 1.3em;
  margin-right: 0.4em;
}
.copy-btn.copied {
  background: #00d2ff;
  color: #23293a;
}
.copy-btn.copied::before {
  background: url('data:image/svg+xml;utf8,<svg fill="%2300d2ff" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M7.629 14.29a1 1 0 0 1-1.415 0l-2.5-2.5a1 1 0 1 1 1.415-1.415l1.793 1.793 5.793-5.793a1 1 0 1 1 1.415 1.415l-6.5 6.5z"/></svg>') no-repeat center/contain;
}
.copy-btn:hover, .copy-btn:focus {
  background: #00d2ff;
  color: #23293a;
  box-shadow: 0 4px 16px #00d2ff33;
}
.copy-btn:hover::before, .copy-btn:focus::before {
  background: url('data:image/svg+xml;utf8,<svg fill="%2300d2ff" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><rect x="6" y="2" width="8" height="12" rx="2"/><rect x="4" y="6" width="8" height="12" rx="2" opacity="0.5"/></svg>') no-repeat center/contain;
}
@media (max-width: 900px) {
  .copy-btn {
    top: 8px;
    right: 8px;
    font-size: 0.98em;
    padding: 0.28em 1em 0.28em 0.8em;
  }
  .copy-btn::before {
    width: 1.1em;
    height: 1.1em;
    margin-right: 0.3em;
  }
}

/* WiFi Signal Animation */
.wifi-signal {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 0.5rem 0;
}

/* Floating Action Button */
.fab-jam {
  position: fixed;
  right: 2.5rem;
  bottom: 2.5rem;
  background: linear-gradient(120deg, #00ffea 0%, #00c6ff 100%);
  color: #181a20;
  font-weight: 700;
  font-size: 1.2rem;
  border: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  box-shadow: 0 0 32px #00ffea99, 0 2px 8px #0008;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
  outline: none;
  animation: fabpulse 2s infinite alternate;
}
@keyframes fabpulse {
  0% { box-shadow: 0 0 32px #00ffea99, 0 2px 8px #0008; }
  100% { box-shadow: 0 0 48px #00ffeaee, 0 2px 8px #0008; }
}
.fab-jam:hover {
  transform: scale(1.08);
  box-shadow: 0 0 64px #00ffeaee, 0 2px 8px #0008;
}

/* Demo Modal */
.jam-demo-modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(24, 26, 27, 0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.jam-demo-modal.active {
  display: flex;
}
.jam-demo-content {
  background: rgba(34, 36, 38, 0.85);
  border-radius: 18px;
  box-shadow: 0 0 32px #00ffea99, 0 2px 8px #0008;
  border: 2px solid #00ffea;
  padding: 2.5rem 2rem 2rem 2rem;
  text-align: center;
  min-width: 320px;
  max-width: 90vw;
  position: relative;
  animation: popIn 0.5s;
}
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.jam-demo-wifi {
  margin-bottom: 1.2rem;
}
.jam-demo-content h2 {
  color: #ff0077;
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  text-shadow: 0 0 16px #ff0077, 0 0 2px #fff;
}
.jam-demo-desc {
  color: #00ffea;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 8px #00ffea99;
}
.close-demo {
  background: linear-gradient(120deg, #ff0077 0%, #00c6ff 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7em 2em;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 16px #ff0077cc;
  transition: background 0.2s, box-shadow 0.2s;
}
.close-demo:hover {
  background: linear-gradient(120deg, #00ffea 0%, #00c6ff 100%);
  color: #181a20;
  box-shadow: 0 0 32px #00ffea99;
}

/* Jam blink animation */
.jam-blink {
  animation: jamblink 1.1s infinite alternate;
}
@keyframes jamblink {
  0% { opacity: 1; }
  60% { opacity: 1; }
  80% { opacity: 0.3; }
  100% { opacity: 1; }
}

footer {
  text-align: center;
  padding: 2rem 1rem 1rem 1rem;
  color: #b0b8c1;
  font-size: 0.95rem;
  z-index: 2;
  position: relative;
  text-shadow: 0 1px 4px #23293a99;
}
footer img {
  margin: 0.5rem 0;
  height: 28px;
}

/* Responsive */
@media (min-width: 1200px) {
  main {
    max-width: 1200px;
    padding: 3.5rem 4rem 2.5rem 4rem;
    font-size: 1.08rem;
  }
  .main-title {
    font-size: 3.2rem;
  }
  .main-subheadline {
    font-size: 1.4rem;
  }
  .sidebar {
    width: 110px;
  }
  .sidebar-logo-glow {
    width: 64px;
    padding: 10px;
  }
  .sidebar-icon-bg {
    width: 54px;
    height: 54px;
  }
  .sidebar-icon {
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 1600px) {
  main {
    max-width: 1400px;
    padding: 4.5rem 7rem 3.5rem 7rem;
    font-size: 1.13rem;
  }
  .main-title {
    font-size: 3.8rem;
  }
  .main-subheadline {
    font-size: 1.6rem;
  }
}

@media (max-width: 900px) {
  main {
    margin-left: 0;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    max-width: 98vw;
  }
  .sidebar {
    width: 100vw;
    height: 70px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid #3a7bd5;
    box-shadow: 0 2px 8px #1a223322;
    padding: 0.5rem 0;
    position: static;
    text-align: center;
  }
  .sidebar-logo-glow {
    width: 40px;
    margin: 0 1.5rem 0 0;
    padding: 5px;
    display: inline-block;
    vertical-align: middle;
  }
  .sidebar-nav {
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .sidebar-icon-bg {
    width: 38px;
    height: 38px;
    margin-bottom: 0;
  }
  .sidebar-icon {
    width: 24px;
    height: 24px;
  }
}
@media (max-width: 600px) {
  main {
    margin-left: 0;
    padding: 0.7rem 0.2rem 0.7rem 0.2rem;
    max-width: 100vw;
  }
  .sidebar {
    width: 100vw;
    height: 60px;
    padding: 0.2rem 0;
  }
  .sidebar-logo-glow {
    width: 32px;
    margin: 0 1rem 0 0;
    padding: 3px;
  }
  .sidebar-nav {
    gap: 1rem;
  }
  .sidebar-icon-bg {
    width: 32px;
    height: 32px;
  }
  .sidebar-icon {
    width: 20px;
    height: 20px;
  }
}

.install-steps {
  list-style: decimal inside;
  margin: 1.2rem 0 1.2rem 1.2rem;
  padding: 0;
  font-size: 1.08em;
}
.install-steps li {
  margin-bottom: 0.7em;
  font-weight: 500;
  color: #e6eaf3;
  background: rgba(34, 36, 48, 0.98);
  border-radius: 7px;
  padding: 0.5em 1em 0.5em 0.7em;
  box-shadow: 0 1px 4px #1a223144;
  border-left: 3px solid #00d2ff;
  text-shadow: 0 1px 4px #23293a99;
}
.install-note {
  background: rgba(34, 36, 48, 0.98);
  border-left: 4px solid #00d2ff;
  border-radius: 7px;
  margin: 1.2em 0 0 0;
  padding: 1em 1.2em;
  color: #b8c6d9;
  font-size: 1em;
  box-shadow: 0 1px 4px #1a223144;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid #3a7bd5;
  text-shadow: 0 1px 4px #23293a99;
}
.install-note code {
  background: #23293a;
  color: #00d2ff;
  border-radius: 4px;
  padding: 0.1em 0.4em;
  font-size: 0.98em;
  text-shadow: none;
}
@media (max-width: 900px) {
  .install-steps li, .install-note {
    font-size: 0.98em;
    padding: 0.5em 0.7em 0.5em 0.7em;
  }
  .code-block-with-copy {
    max-width: 98vw;
  }
}

a, a:visited {
  color: #00d2ff;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7fd6ff;
}

/* OS Tabs for Installation */
.os-tabs {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.os-tab {
  background: rgba(34, 36, 48, 0.7);
  color: #7fd6ff;
  border: 1.5px solid #3a7bd5;
  border-radius: 12px 12px 0 0;
  padding: 0.7em 2.2em;
  font-size: 1.1em;
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: -1.5px;
  box-shadow: 0 2px 8px #1a223144;
  transition: background 0.2s, color 0.2s, border 0.2s;
  outline: none;
  z-index: 2;
}
.os-tab.active, .os-tab:focus {
  background: #23293a;
  color: #00d2ff;
  border-bottom: 2.5px solid #00d2ff;
  box-shadow: 0 4px 16px #00d2ff22;
}
.os-tab:hover {
  color: #00d2ff;
  background: #23293aee;
}
.os-tab-content {
  display: none;
  background: rgba(34, 36, 48, 0.82);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 4px 24px #1a223355;
  padding: 2rem 2rem 1.5rem 2rem;
  margin-bottom: 2.5rem;
  border: 1.5px solid #3a7bd5;
  border-top: none;
  position: relative;
  z-index: 1;
  animation: fadeIn 0.4s;
}
.os-tab-content.active {
  display: block;
}
@media (max-width: 900px) {
  .os-tabs {
    gap: 0.5rem;
  }
  .os-tab {
    font-size: 0.98em;
    padding: 0.6em 1.2em;
  }
  .os-tab-content {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
}
/* Glassy/blurred note */
.glass-note {
  background: rgba(34, 36, 48, 0.72);
  border-radius: 10px;
  padding: 1.1em 1.3em;
  margin: 1.2em 0 0.5em 0;
  color: #b8c6d9;
  font-size: 1.04em;
  box-shadow: 0 2px 8px #1a223144;
  border: 1.5px solid #3a7bd5;
  backdrop-filter: blur(7px) saturate(120%);
  -webkit-backdrop-filter: blur(7px) saturate(120%);
  text-shadow: 0 1px 4px #23293a99;
}

/* Home page intro glass card */
.intro-glass {
  background: rgba(34, 36, 48, 0.82);
  border-radius: 18px;
  box-shadow: 0 4px 24px #1a223355;
  padding: 2.2rem 2.2rem 1.2rem 2.2rem;
  margin: 2.2rem auto 2.5rem auto;
  max-width: 650px;
  text-align: center;
  backdrop-filter: blur(10px) saturate(120%);
  border: 1.5px solid #3a7bd5;
  position: relative;
}
.intro-lead {
  font-size: 1.25em;
  color: #e6eaf3;
  margin-bottom: 1.1em;
  font-weight: 500;
}
.intro-desc {
  color: #7fd6ff;
  font-size: 1.08em;
  margin: 1.2em 0 1.5em 0;
  font-weight: 400;
}
.os-support-list {
  display: flex;
  justify-content: center;
  gap: 1.1em;
  margin: 0.7em 0 0.7em 0;
  flex-wrap: wrap;
}
.os-pill {
  display: inline-block;
  padding: 0.38em 1.2em;
  border-radius: 999px;
  font-size: 1.05em;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0.1em;
  background: rgba(34, 36, 48, 0.92);
  border: 1.5px solid #3a7bd5;
  color: #00d2ff;
  box-shadow: 0 2px 8px #1a223144;
  text-shadow: 0 1px 4px #23293a99;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.os-pill.linux { color: #00d2ff; border-color: #00d2ff; }
.os-pill.arch { color: #7fd6ff; border-color: #7fd6ff; }
.os-pill.mac { color: #ffb86c; border-color: #ffb86c; }
.os-pill.win { color: #b388ff; border-color: #b388ff; }
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.2em;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  padding: 0.7em 2.2em;
  font-size: 1.13em;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, #00d2ff 0%, #3a7bd5 100%);
  border: none;
  border-radius: 999px;
  box-shadow: 0 2px 12px #00d2ff33;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(120deg, #3a7bd5 0%, #00d2ff 100%);
  color: #23293a;
  box-shadow: 0 4px 24px #00d2ff55;
}

.cta-btn-secondary {
  background: linear-gradient(120deg, #ff6b6b 0%, #ff8e53 100%);
  box-shadow: 0 2px 12px #ff6b6b33;
}

.cta-btn-secondary:hover, .cta-btn-secondary:focus {
  background: linear-gradient(120deg, #ff8e53 0%, #ff6b6b 100%);
  color: white;
  box-shadow: 0 4px 24px #ff6b6b55;
}
@media (max-width: 900px) {
  .intro-glass {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    max-width: 98vw;
  }
  .os-support-list {
    gap: 0.5em;
  }
  .os-pill {
    font-size: 0.98em;
    padding: 0.32em 0.8em;
  }
  .cta-btn {
    font-size: 1em;
    padding: 0.6em 1.2em;
  }
} 