/* Keson GUI Download Website - Matching App Aesthetic */

:root {
  --bg: #000000;
  --panel: #000000;
  --border: #1b261b;
  --accent: #37ff14d8;
  --accent-2: #2bd60084;
  --text: #d7fdd7;
  --muted: #8fb48f;
  --warn: #f0c674;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

::selection {
  background: rgba(57, 255, 20, 0.35);
  color: #021002;
}

/* Matrix Rain Canvas */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* Main Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 48px 24px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(57, 255, 20, 0.3);
  margin-bottom: 32px;
}

.logo-container {
  margin-bottom: 24px;
}

.logo {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(55, 255, 20, 0.295));
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: -15px;
}

h1 {
  font-family: "VT323", "Inter", monospace;
  font-size: 48px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.tagline {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.feature {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(57, 255, 20, 0.25);
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.feature:hover {
  border-color: rgba(57, 255, 20, 0.5);
  transform: translateY(-2px);
}

.feature-icon {
  font-family: "VT323", monospace;
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
}

.feature h3 {
  font-family: "VT323", "Inter", monospace;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Download Section */
.download-section {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(57, 255, 20, 0.3);
  padding: 32px;
  margin-bottom: 32px;
  text-align: center;
}

.download-section h2 {
  font-family: "VT323", "Inter", monospace;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.version {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}
/* Download Grid - 2 columns on desktop */
.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 24px;
}

@media (min-width: 600px) {
  .download-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.download-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto 24px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border: 1px solid var(--accent);
  background: rgba(5, 8, 5, 0.9);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.15s ease;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.2);
}

.btn:hover {
  background: rgba(57, 255, 20, 0.1);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  background: #000;
  color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.2);
}

.btn.primary:hover {
  background: rgba(57, 255, 20, 0.1);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}

.btn-icon {
  font-size: 24px;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn-label {
  font-family: "VT323", "Inter", monospace;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn-sub {
  font-size: 12px;
  opacity: 0.8;
  font-weight: 400;
}

.releases-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.releases-link:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* Requirements Section */
.requirements {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(57, 255, 20, 0.2);
  padding: 24px;
  margin-bottom: 32px;
}

.requirements h2 {
  font-family: "VT323", "Inter", monospace;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.requirements ul {
  list-style: none;
  padding: 0;
}

.requirements li {
  color: var(--muted);
  font-size: 14px;
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.requirements li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 10px;
}

/* Footer */
footer {
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-link {
  color: var(--accent);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.separator {
  margin: 0 12px;
  opacity: 0.5;
}

.footer-text {
  color: var(--muted);
}

/* Responsive */
@media (max-width: 600px) {
  h1 {
    font-size: 36px;
  }
  
  .container {
    padding: 24px 16px;
  }
  
  .hero {
    padding: 32px 16px;
  }
  
  .download-section {
    padding: 24px 16px;
  }
  
  .btn {
    padding: 14px 16px;
  }
}

/* Mac Tutorial Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

.modal.visible {
  display: flex;
}

.modal-content {
  background: black;
  border: 1px solid var(--accent);
  padding: 32px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.2);
  color: var(--text);
}

.modal-content h3 {
  font-family: "VT323", monospace;
  color: var(--accent);
  font-size: 28px;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.modal-content p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 15px;
}

.modal-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.modal-content li {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 15px;
}

.modal-content strong {
  color: var(--accent);
  font-weight: 600;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.close-modal:hover {
  color: var(--accent);
}

.modal-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: "VT323", monospace;
  font-size: 20px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.modal-btn:hover {
  background: var(--accent);
  color: black;
}
