* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #00A8FF;
  --primary-blue-dark: #0097E6;
  --primary-blue-light: #4DAFFF;
  --orange: #FF8800;
  --orange-dark: #FF6600;
  --orange-light: #FFAA00;
  --text-dark: #2C3E50;
  --text-light: #7F8C8D;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --border-color: #E9ECEF;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 168, 255, 0.2);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #F5F7FA 0%, #E9ECEF 100%);
  color: var(--text-dark);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

.matrix-bg {
  display: none;
}

.navbar {
  background: var(--bg-white);
  border-bottom: 2px solid var(--border-color);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 168, 255, 0.3));
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  flex-wrap: wrap;
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  transition: all 0.3s;
  position: relative;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

.content-wrapper {
  position: relative;
  flex: 1;
}

.content-background {
  display: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.hero {
  text-align: center;
  padding: 80px 0 60px;
  margin-bottom: 60px;
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
  border-radius: 20px;
  box-shadow: 0 10px 40px var(--shadow);
  margin: 40px 0 80px;
}

.terminal-window {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px var(--shadow);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.terminal-header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

.terminal-title {
  margin-left: auto;
  font-size: 13px;
  color: white;
  font-weight: 500;
}

.terminal-body {
  padding: 25px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 14px;
  min-height: 150px;
  background: #F8F9FA;
  color: var(--text-dark);
}

.terminal-line {
  margin-bottom: 10px;
}

.terminal-prompt {
  color: var(--primary-blue);
  margin-right: 10px;
  font-weight: 600;
}

.terminal-text {
  color: var(--text-dark);
}

.terminal-success {
  color: #28A745;
  margin-right: 10px;
  font-weight: 600;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--primary-blue);
  animation: blink 1s infinite;
  margin-left: 5px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.matrix-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glitch {
  position: relative;
  animation: none;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
}

.typewriter {
  display: inline-block;
  border-right: 2px solid var(--primary-blue);
  animation: typewriter 3s steps(40) infinite, blink-cursor 0.75s step-end infinite;
  white-space: nowrap;
  overflow: hidden;
}

@keyframes typewriter {
  0% { width: 0; }
  50% { width: 100%; }
  100% { width: 100%; }
}

@keyframes blink-cursor {
  from, to { border-color: transparent; }
  50% { border-color: var(--primary-blue); }
}

.matrix-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.matrix-badge {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 25px;
  color: var(--text-dark);
  box-shadow: 0 2px 10px var(--shadow);
  transition: all 0.3s;
}

.matrix-badge:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--shadow-hover);
}

.badge-icon {
  margin-right: 8px;
  color: var(--primary-blue);
}

.matrix-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border: none;
  color: white;
  padding: 16px 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 136, 0, 0.3);
  text-transform: uppercase;
  cursor: pointer;
}

.matrix-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 136, 0, 0.4);
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 100%);
}

.matrix-section {
  margin-bottom: 80px;
}

.matrix-title-small {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: var(--text-dark);
}

.matrix-bracket {
  color: var(--primary-blue);
  margin: 0 10px;
}

.matrix-text {
  color: var(--text-light);
  line-height: 1.8;
}

.matrix-highlight {
  color: var(--primary-blue);
  font-weight: 600;
}

.code-block {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-top: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow);
}

.code-header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 13px;
  font-weight: 500;
}

.code-status {
  color: white;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 12px;
}

.code-content {
  padding: 20px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 14px;
  background: #F8F9FA;
}

.code-line {
  margin-bottom: 8px;
  color: var(--text-dark);
}

.code-keyword {
  color: var(--primary-blue);
  font-weight: 600;
}

.code-string {
  color: #28A745;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.matrix-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 30px;
  transition: all 0.3s;
  border-radius: 16px;
  box-shadow: 0 4px 15px var(--shadow);
  position: relative;
  overflow: hidden;
}

.matrix-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--orange) 100%);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.matrix-card:hover::before {
  transform: scaleX(1);
}

.matrix-card:hover {
  box-shadow: 0 8px 30px var(--shadow-hover);
  transform: translateY(-5px);
  border-color: var(--primary-blue);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
}

.card-icon {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 18px;
}

.card-status {
  font-size: 11px;
  color: white;
  background: var(--primary-blue);
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.matrix-card h3 {
  color: var(--text-dark);
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.matrix-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.large-text {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.guide-block {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px var(--shadow);
  margin-bottom: 40px;
}

.guide-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--primary-blue);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.guide-icon {
  color: var(--primary-blue);
  font-size: 24px;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.guide-step {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.step-number {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  border: none;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
}

.step-content h3 {
  color: var(--text-dark);
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.step-command {
  background: #F8F9FA;
  border-left: 4px solid var(--primary-blue);
  padding: 12px 18px;
  margin: 12px 0;
  font-family: 'Consolas', 'Courier New', monospace;
  border-radius: 4px;
}

.command-prompt {
  color: var(--primary-blue);
  margin-right: 8px;
  font-weight: 600;
}

.command-text {
  color: var(--text-dark);
}

.step-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-top: 12px;
}

.alternatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.alternative-card {
  position: relative;
}

.alt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
}

.alt-icon {
  color: var(--primary-blue);
  font-size: 18px;
}

.alt-status {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.alternative-card h3 {
  color: var(--text-dark);
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 600;
}

.alternative-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 15px;
}

.alt-info {
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 100%;
}

.faq-item {
  width: 100%;
  transition: all 0.3s;
  background: var(--bg-white);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px var(--shadow);
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px var(--shadow-hover);
}

.faq-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  cursor: pointer;
}

.faq-icon {
  color: var(--primary-blue);
  font-size: 20px;
  font-weight: 700;
}

.faq-item h3 {
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 600;
}

.faq-answer {
  color: var(--text-light);
  line-height: 1.8;
  display: none;
  padding-top: 10px;
}

.faq-item.active .faq-answer {
  display: block;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.download-card {
  text-align: center;
}

.download-card.featured {
  border-width: 2px;
  border-color: var(--primary-blue);
  box-shadow: 0 8px 30px rgba(0, 168, 255, 0.2);
}

.download-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
}

.download-icon {
  color: var(--primary-blue);
  font-size: 20px;
}

.download-status {
  font-size: 11px;
  color: white;
  background: var(--primary-blue);
  padding: 6px 14px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.platform-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-blue);
}

.download-card h3 {
  color: var(--text-dark);
  font-size: 28px;
  margin-bottom: 12px;
  font-weight: 700;
}

.download-card p {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 16px;
}

.version-info {
  display: flex;
  justify-content: space-around;
  margin-bottom: 25px;
  padding: 15px;
  background: #F8F9FA;
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
}

.download-btn.secondary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
}

.footer {
  background: var(--text-dark);
  padding: 40px 20px;
  text-align: center;
  margin-top: 80px;
  position: relative;
  z-index: 10;
  width: 100%;
  flex-shrink: 0;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .matrix-title {
    font-size: 32px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .matrix-grid {
    grid-template-columns: 1fr;
  }
  
  .guide-step {
    flex-direction: column;
  }
  
  .terminal-window {
    margin: 0 10px;
  }
  
  .matrix-title-small {
    font-size: 28px;
  }
  
  .hero {
    padding: 40px 20px;
  }
}
