/* =============================================================================
   SOLAR WALKER - Official Sci-Fi Aesthetics & Design System
   Color Palette: Deep Space Obsidian (#070a12), Quantum Cyan (#00f0ff),
                  Solar Amber (#ffb834), Nebula Violet (#a855f7), Neon Emerald (#10b981)
   ============================================================================= */

:root {
  --bg-deep: #060911;
  --bg-surface: #0c1222;
  --bg-glass: rgba(12, 18, 34, 0.75);
  --bg-card: rgba(16, 24, 46, 0.85);
  --border-glow: rgba(0, 240, 255, 0.25);
  --border-glow-hover: rgba(0, 240, 255, 0.6);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --cyan: #00f0ff;
  --cyan-glow: 0 0 16px rgba(0, 240, 255, 0.5);
  --amber: #ffb834;
  --amber-glow: 0 0 16px rgba(255, 184, 52, 0.5);
  --violet: #a855f7;
  --violet-glow: 0 0 16px rgba(168, 85, 247, 0.5);
  --emerald: #10b981;
  --emerald-glow: 0 0 16px rgba(16, 185, 129, 0.5);
  --rose: #f43f5e;
  --font-mono: "JetBrains Mono", "SF Mono", "Fira Code", monospace;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* --- Container & Utilities --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font-mono);
}

.text-cyan { color: var(--cyan); }
.text-amber { color: var(--amber); }
.text-violet { color: var(--violet); }
.text-emerald { color: var(--emerald); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.badge-amber {
  background: rgba(255, 184, 52, 0.1);
  color: var(--amber);
  border-color: rgba(255, 184, 52, 0.3);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald);
  border-color: rgba(16, 185, 129, 0.3);
}

.badge-violet {
  background: rgba(168, 85, 247, 0.1);
  color: var(--violet);
  border-color: rgba(168, 85, 247, 0.3);
}

/* --- Navigation Bar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-glow);
  padding: 14px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.nav-logo {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.btn-primary {
  background: linear-gradient(135deg, #00f0ff, #0088cc);
  color: #060911;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.7);
}

.btn-secondary {
  background: rgba(16, 24, 46, 0.8);
  color: var(--cyan);
  border-color: var(--border-glow);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
  box-shadow: var(--cyan-glow);
  transform: translateY(-2px);
}

.btn-amber {
  background: linear-gradient(135deg, #ffb834, #f59e0b);
  color: #060911;
  box-shadow: 0 0 20px rgba(255, 184, 52, 0.4);
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 184, 52, 0.7);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
}

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

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, rgba(168, 85, 247, 0.08) 50%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #ffffff 20%, #00f0ff 60%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-slogan {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
  text-shadow: 0 0 16px rgba(255, 184, 52, 0.4);
  margin-bottom: 20px;
  letter-spacing: 0.08em;
}

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

.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.os-recommendation {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 24, 46, 0.9);
  padding: 10px 24px;
  border-radius: 9999px;
  border: 1px solid var(--border-glow);
  font-size: 0.9rem;
}

.platform-support-row {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.platform-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 9999px;
  color: var(--text-main);
  font-size: 0.82rem;
}

/* --- Glassmorphic Cards & Grid --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-glow-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.15);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- Section Headings --- */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* --- Download Cards --- */
.download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.download-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.download-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.download-meta {
  margin: 16px 0;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.meta-row:last-child {
  margin-bottom: 0;
}

.sha-box {
  word-break: break-all;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.4);
  padding: 8px;
  border-radius: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  margin-top: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.sha-box:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* --- Core Features Showcase --- */
.feature-card {
  display: flex;
  flex-direction: column;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-wrapper.text-amber {
  background: rgba(255, 184, 52, 0.08);
  border-color: rgba(255, 184, 52, 0.3);
}

.feature-icon-wrapper.text-violet {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.3);
}

.feature-icon-wrapper.text-emerald {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}

.feature-svg-icon {
  width: 32px;
  height: 32px;
}

.feature-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- The Core Loop Progression --- */
.loop-section {
  background: linear-gradient(180deg, transparent 0%, rgba(12, 18, 34, 0.5) 50%, transparent 100%);
}

.loop-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.loop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--border-glow);
}

.loop-card:nth-child(1) { border-top-color: var(--cyan); }
.loop-card:nth-child(2) { border-top-color: var(--amber); }
.loop-card:nth-child(3) { border-top-color: var(--violet); }

.loop-number {
  font-family: var(--font-mono);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.12;
  position: absolute;
  top: 18px;
  right: 22px;
}

.loop-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.loop-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.loop-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.loop-points {
  list-style: none;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.loop-points li {
  color: #cbd5e1;
  line-height: 1.5;
}

/* --- Controls Section --- */
.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.control-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-card .key-combo {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.key-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-glow);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cyan);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* --- Checksum Expander --- */
.checksum-details {
  margin-top: 36px;
  background: rgba(16, 24, 46, 0.6);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 16px 22px;
}

.checksum-details summary {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.checksum-details summary:hover {
  color: var(--cyan);
}

.checksum-content {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.checksum-content pre {
  font-size: 0.8rem;
  color: var(--cyan);
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.8;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border-glow);
  background: var(--bg-surface);
  padding: 60px 0 30px;
  margin-top: 80px;
}

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

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--cyan);
}

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

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .grid-3, .grid-4, .loop-timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .hero-slogan { font-size: 1.2rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .nav-links { display: none; }
  .grid-2, .grid-3, .grid-4, .loop-timeline { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
}
