* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Courier New', 'Consolas', monospace;
  background: #000;
  color: #00ff41;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #000;
}

#matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

.scan-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 255, 65, 0.03) 0px,
    rgba(0, 255, 65, 0.03) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  animation: scan 8s linear infinite;
}

@keyframes scan {
  0% { transform: translateY(0); }
  100% { transform: translateY(10px); }
}

.glitch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 50%, rgba(0, 255, 65, 0.03) 50%),
    linear-gradient(0deg, transparent 50%, rgba(0, 255, 65, 0.03) 50%);
  background-size: 2px 2px;
  pointer-events: none;
  opacity: 0.5;
}

.matrix-nav {
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 2px solid #00ff41;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
  position: relative;
  z-index: 100;
}

.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: 10px;
}

.logo-icon {
  filter: drop-shadow(0 0 5px #00ff41);
}

.logo-text {
  font-size: 14px;
  font-weight: bold;
  color: #00ff41;
  text-shadow: 0 0 10px #00ff41;
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-menu a {
  color: #00ff41;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 5px 10px;
  border: 1px solid transparent;
  transition: all 0.3s;
  position: relative;
}

.nav-menu a:hover {
  border-color: #00ff41;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
  background: rgba(0, 255, 65, 0.1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.matrix-hero {
  text-align: center;
  padding: 60px 0;
  margin-bottom: 80px;
}

.terminal-window {
  background: rgba(0, 20, 0, 0.8);
  border: 2px solid #00ff41;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.terminal-header {
  background: rgba(0, 255, 65, 0.1);
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #00ff41;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00ff41;
  box-shadow: 0 0 5px #00ff41;
}

.terminal-title {
  margin-left: auto;
  font-size: 12px;
  color: #00ff41;
  font-family: monospace;
}

.terminal-body {
  padding: 20px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  min-height: 150px;
  background: rgba(0, 0, 0, 0.5);
}

.terminal-line {
  margin-bottom: 8px;
}

.terminal-prompt {
  color: #00ff41;
  margin-right: 10px;
}

.terminal-text {
  color: #00cc33;
}

.terminal-success {
  color: #00ff41;
  margin-right: 10px;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: #00ff41;
  animation: blink 1s infinite;
  margin-left: 5px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.matrix-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 5px;
}

.glitch {
  position: relative;
  color: #00ff41;
  text-shadow: 
    0 0 10px #00ff41,
    0 0 20px #00ff41,
    0 0 30px #00ff41;
  animation: glitch 3s infinite;
}

@keyframes glitch {
  0%, 90%, 100% {
    transform: translate(0);
  }
  91% {
    transform: translate(-2px, 2px);
  }
  92% {
    transform: translate(2px, -2px);
  }
  93% {
    transform: translate(-2px, -2px);
  }
  94% {
    transform: translate(2px, 2px);
  }
}

.hero-subtitle {
  font-size: 18px;
  color: #00cc33;
  margin-bottom: 30px;
  line-height: 1.6;
}

.typewriter {
  display: inline-block;
  border-right: 2px solid #00ff41;
  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: #00ff41; }
}

.matrix-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.matrix-badge {
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid #00ff41;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.badge-icon {
  margin-right: 8px;
  color: #00ff41;
}

.matrix-btn {
  display: inline-block;
  background: rgba(0, 255, 65, 0.1);
  border: 2px solid #00ff41;
  color: #00ff41;
  padding: 15px 40px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 3px;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
  text-transform: uppercase;
}

.matrix-btn:hover {
  background: rgba(0, 255, 65, 0.2);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.6);
  transform: translateY(-2px);
}

.matrix-section {
  margin-bottom: 80px;
}

.matrix-title-small {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 3px;
}

.matrix-bracket {
  color: #00ff41;
  margin: 0 10px;
}

.matrix-text {
  color: #00cc33;
  line-height: 1.8;
}

.matrix-highlight {
  color: #00ff41;
  text-shadow: 0 0 10px #00ff41;
}

.code-block {
  background: rgba(0, 20, 0, 0.6);
  border: 1px solid #00ff41;
  border-radius: 4px;
  margin-top: 20px;
  overflow: hidden;
}

.code-header {
  background: rgba(0, 255, 65, 0.1);
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #00ff41;
  font-size: 12px;
}

.code-status {
  color: #00ff41;
  font-weight: bold;
}

.code-content {
  padding: 15px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
}

.code-line {
  margin-bottom: 5px;
  color: #00cc33;
}

.code-keyword {
  color: #00ff41;
  font-weight: bold;
}

.code-string {
  color: #00ff88;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.matrix-card {
  background: rgba(0, 20, 0, 0.4);
  border: 1px solid #00ff41;
  padding: 25px;
  transition: all 0.3s;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.matrix-card:hover {
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.5);
  transform: translateY(-5px);
  border-color: #00ff88;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 255, 65, 0.3);
}

.card-icon {
  color: #00ff41;
  font-weight: bold;
}

.card-status {
  font-size: 10px;
  color: #00ff41;
  font-weight: bold;
  letter-spacing: 1px;
}

.matrix-card h3 {
  color: #00ff41;
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.matrix-card p {
  color: #00cc33;
  line-height: 1.6;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.large-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.screenshots-section {
  margin-bottom: 80px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.screenshot-item {
  overflow: hidden;
}

.screenshot-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.screenshot-frame {
  position: relative;
  background: rgba(0, 20, 0, 0.6);
  border: 2px solid #00ff41;
  padding: 10px;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
  transition: all 0.3s;
}

.screenshot-link:hover .screenshot-frame {
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.6);
  transform: scale(1.02);
  border-color: #00ff88;
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.9) contrast(1.1);
  transition: all 0.3s;
}

.screenshot-frame:hover .screenshot-img {
  filter: brightness(1) contrast(1.2);
}

.screenshot-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.9);
  padding: 8px 12px;
  border: 1px solid #00ff41;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.screenshot-link:hover .screenshot-overlay {
  opacity: 1;
}

.screenshot-label {
  font-size: 10px;
  color: #00ff41;
  font-weight: bold;
  letter-spacing: 1px;
}

.screenshot-click {
  font-size: 9px;
  color: #00ff88;
  font-weight: bold;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.guide-block {
  margin-bottom: 40px;
}

.guide-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #00ff41;
  font-size: 20px;
  font-weight: bold;
  color: #00ff41;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.guide-icon {
  color: #00ff41;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.guide-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  background: rgba(0, 255, 65, 0.2);
  border: 2px solid #00ff41;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: #00ff41;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
}

.step-content h3 {
  color: #00ff41;
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.step-command {
  background: rgba(0, 0, 0, 0.5);
  border-left: 3px solid #00ff41;
  padding: 10px 15px;
  margin: 10px 0;
  font-family: 'Courier New', monospace;
}

.command-prompt {
  color: #00ff41;
  margin-right: 5px;
}

.command-text {
  color: #00cc33;
}

.step-content p {
  color: #00cc33;
  line-height: 1.8;
  margin-top: 10px;
}

.guide-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.instruction-step {
  background: rgba(0, 20, 0, 0.3);
  border-left: 3px solid #00ff41;
  padding: 20px;
  margin-bottom: 20px;
}

.instruction-step h3 {
  color: #00ff41;
  font-size: 16px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.instruction-step p {
  color: #00cc33;
  line-height: 1.8;
  margin-bottom: 10px;
}

.instruction-step code {
  background: rgba(0, 0, 0, 0.5);
  color: #00ff41;
  padding: 2px 6px;
  border: 1px solid #00ff41;
  font-family: 'Courier New', monospace;
  font-size: 14px;
}

.code-example {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #00ff41;
  padding: 15px;
  margin-top: 15px;
  font-family: 'Courier New', monospace;
}

.code-example .code-line {
  color: #00cc33;
}

.code-key {
  color: #00ff41;
  font-weight: bold;
}

.warning-box {
  background: rgba(255, 200, 0, 0.1);
  border: 2px solid #ffcc00;
  padding: 15px;
  margin-top: 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.warning-icon {
  color: #ffcc00;
  font-size: 20px;
  font-weight: bold;
}

.warning-box p {
  color: #ffcc00;
  line-height: 1.6;
}

.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: 10px;
  border-bottom: 1px solid rgba(0, 255, 65, 0.3);
}

.alt-icon {
  color: #00ff41;
}

.alt-status {
  font-size: 10px;
  color: #00cc33;
  font-weight: bold;
  letter-spacing: 1px;
}

.alternative-card h3 {
  color: #00ff41;
  font-size: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.alternative-card p {
  color: #00cc33;
  line-height: 1.6;
  margin-bottom: 15px;
}

.alt-info {
  font-size: 12px;
  color: #00cc33;
  font-style: italic;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 100%;
}

.faq-item {
  width: 100%;
  transition: all 0.3s;
}

.faq-item:hover {
  transform: translateY(-5px);
}

.faq-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 255, 65, 0.3);
  cursor: pointer;
}

.faq-icon {
  color: #00ff41;
  font-size: 18px;
  font-weight: bold;
}

.faq-item h3 {
  color: #00ff41;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.faq-answer {
  color: #00cc33;
  line-height: 1.8;
  display: none;
}

.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;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
}

.download-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 255, 65, 0.3);
}

.download-icon {
  color: #00ff41;
}

.download-status {
  font-size: 10px;
  color: #00ff41;
  font-weight: bold;
  letter-spacing: 1px;
}

.platform-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #00ff41;
}

.download-card h3 {
  color: #00ff41;
  font-size: 24px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.download-card p {
  color: #00cc33;
  margin-bottom: 20px;
}

.version-info {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  padding: 10px;
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid #00ff41;
  font-size: 12px;
  color: #00ff41;
}

.download-btn.secondary {
  background: rgba(0, 255, 65, 0.05);
  border-color: #00cc33;
}

.matrix-footer {
  background: rgba(0, 0, 0, 0.9);
  border-top: 2px solid #00ff41;
  padding: 30px 20px;
  text-align: center;
  margin-top: 80px;
  box-shadow: 0 -5px 20px rgba(0, 255, 65, 0.3);
  position: relative;
  z-index: 10;
  width: 100%;
  flex-shrink: 0;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-content p {
  color: #00cc33;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-note {
  font-size: 12px;
  color: #009922;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  border: 2px solid #00ff41;
  box-shadow: 0 0 50px rgba(0, 255, 65, 0.5);
}

.lightbox-title {
  color: #00ff41;
  font-size: 14px;
  margin-top: 15px;
  font-weight: bold;
  letter-spacing: 2px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #00ff41;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: #00ff88;
}

@media (max-width: 768px) {
  .matrix-title {
    font-size: 32px;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
  }
  
  .matrix-grid {
    grid-template-columns: 1fr;
  }
  
  .guide-step {
    flex-direction: column;
  }
  
  .terminal-window {
    margin: 0 10px;
  }
  
  .matrix-title-small {
    font-size: 24px;
  }
  
  .lightbox-img {
    max-height: 80vh;
  }
}
