@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #040711;
  --bg-card: rgba(8, 14, 28, 0.75);
  --bg-card-hover: rgba(14, 22, 42, 0.85);
  --border-card: rgba(0, 243, 255, 0.15);
  --border-card-hover: rgba(0, 243, 255, 0.4);
  
  --cyan: #00f3ff;
  --cyan-glow: rgba(0, 243, 255, 0.4);
  --violet: #8a2be2;
  --purple: #b026ff;
  --green: #39ff14;
  --amber: #ffaa00;
  --rose: #ff0055;
  
  --text-main: #f0f4fc;
  --text-muted: #8c9cb8;
  --text-dim: #4d5b76;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Atmosphere Grid & Stars */
.cyber-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: 
    radial-gradient(circle at 15% 20%, rgba(138, 43, 226, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(0, 243, 255, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(176, 38, 255, 0.1) 0%, transparent 50%),
    linear-gradient(to bottom, #040711, #060b17);
}

.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 80%);
}

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

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(4, 7, 17, 0.75);
  border-bottom: 1px solid rgba(0, 243, 255, 0.12);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #00f3ff, #8a2be2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 16px var(--cyan-glow);
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: 0 0 16px var(--cyan-glow);
  border: 1px solid rgba(0, 243, 255, 0.4);
}

.brand-text {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #fff, #00f3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.nav-link:hover {
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan-glow);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-github {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-github:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
  color: #fff;
}

/* Mobile Toggle Hamburger Button */
.mobile-toggle-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 243, 255, 0.25);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: var(--transition);
}

.mobile-toggle-btn:hover, .mobile-toggle-btn:focus-visible {
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
  outline: none;
}

.mobile-toggle-btn .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background 0.2s ease;
}

.mobile-toggle-btn.active .bar-1 {
  transform: translateY(7px) rotate(45deg);
  background: var(--cyan);
}

.mobile-toggle-btn.active .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle-btn.active .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--cyan);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  opacity: 0;
  background: rgba(4, 7, 17, 0.98);
  border-bottom: 1px solid rgba(0, 243, 255, 0.25);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.mobile-nav-drawer.open {
  max-height: 480px;
  opacity: 1;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0 24px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: rgba(0, 243, 255, 0.12);
  border-color: rgba(0, 243, 255, 0.4);
  color: var(--cyan);
  transform: translateX(4px);
}

.mobile-nav-highlight {
  background: linear-gradient(90deg, rgba(0, 243, 255, 0.15), rgba(138, 43, 226, 0.15));
  border-color: rgba(0, 243, 255, 0.4);
  color: var(--cyan);
}

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

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.3);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 243, 255, 0.2); }
  50% { box-shadow: 0 0 20px rgba(0, 243, 255, 0.4); }
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #00f3ff 20%, #b026ff 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
  font-weight: 400;
}

/* Hero Quick Installer Box */
.installer-box {
  max-width: 680px;
  margin: 0 auto 50px;
  background: rgba(8, 14, 28, 0.9);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 243, 255, 0.1);
  overflow: hidden;
}

.installer-tabs {
  display: flex;
  background: rgba(4, 7, 17, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px;
}

.inst-tab {
  flex: 1;
  padding: 10px 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.inst-tab.active {
  background: rgba(0, 243, 255, 0.12);
  color: var(--cyan);
}

.installer-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #fff;
  background: #050a17;
  overflow: hidden;
}

.code-scroll-wrap {
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  display: flex;
  align-items: center;
}

.code-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.inst-prompt {
  color: var(--cyan);
  margin-right: 12px;
  user-select: none;
  flex-shrink: 0;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.copy-btn:hover {
  background: rgba(0, 243, 255, 0.2);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Terminal Sandbox Section */
.sandbox-section {
  padding: 70px 0;
}

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

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

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

.terminal-deck {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 243, 255, 0.25);
  background: #030610;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 243, 255, 0.12);
  overflow: hidden;
}

.term-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #070e1c;
  border-bottom: 1px solid rgba(0, 243, 255, 0.15);
}

.term-dots {
  display: flex;
  gap: 8px;
}

.term-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.term-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.term-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green);
}

.term-body {
  padding: 24px;
  min-height: 380px;
  max-height: 480px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.6;
}

.term-output {
  margin-bottom: 16px;
}

.term-line {
  margin-bottom: 6px;
  word-break: break-word;
}

.cmd-line {
  color: var(--cyan);
}

.resp-ok {
  color: var(--green);
}

.resp-err {
  color: var(--rose);
}

.resp-val {
  color: #fff;
}

.resp-dim {
  color: var(--text-dim);
}

.term-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.term-prompt {
  color: var(--cyan);
  font-weight: 700;
  user-select: none;
}

.term-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

.sandbox-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: rgba(7, 14, 28, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.preset-label {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.preset-chip {
  padding: 4px 10px;
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition);
}

.preset-chip:hover {
  background: rgba(0, 243, 255, 0.2);
  box-shadow: 0 0 8px var(--cyan-glow);
}

/* Benchmarks Section */
.benchmarks-section {
  padding: 70px 0;
}

.benchmarks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}

.bench-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}

.bench-card:hover {
  border-color: var(--border-card-hover);
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.08);
  transform: translateY(-2px);
}

.bench-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.bench-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.bench-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 243, 255, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 243, 255, 0.25);
}

.bar-group {
  margin-bottom: 18px;
}

.bar-label-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.bar-name {
  color: var(--text-main);
  font-weight: 600;
}

.bar-val {
  color: var(--cyan);
  font-weight: 700;
}

.bar-track {
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fill-vortex {
  background: linear-gradient(90deg, #00f3ff, #8a2be2);
  box-shadow: 0 0 10px var(--cyan-glow);
}

.fill-other {
  background: #3b4860;
}

/* Reproduce Box */
.reproduce-box {
  max-width: 1060px;
  margin: 32px auto 0;
  background: rgba(10, 15, 29, 0.7);
  border: 1px dashed rgba(0, 243, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.reproduce-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reproduce-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.reproduce-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.reproduce-cmd-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #080c14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
}

.reproduce-code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #79c0ff;
  white-space: nowrap;
}

.reproduce-copy-btn {
  background: rgba(0, 243, 255, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 4px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.reproduce-copy-btn:hover {
  background: var(--cyan);
  color: #050811;
  box-shadow: 0 0 12px var(--cyan-glow);
}

/* Comparison Table */
.comparison-section {
  max-width: 1060px;
  margin: 0 auto;
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  margin-top: 28px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
  background: #0d1527;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.comparison-table .col-feature {
  width: 24%;
}

.comparison-table .col-vortex {
  background: rgba(0, 243, 255, 0.08);
  border-left: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  position: relative;
}

.th-vortex-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.th-badge {
  font-size: 0.65rem;
  color: #050811;
  background: var(--cyan);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  width: fit-content;
}

.th-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--cyan);
}

.th-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
}

.comparison-table .cell-vortex {
  background: rgba(0, 243, 255, 0.04);
  border-left: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  color: var(--text-main);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table tr:hover .cell-vortex {
  background: rgba(0, 243, 255, 0.07);
}

.feature-label {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.highlight-cyan {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-weight: 700;
}

.badge-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
}

.tag-cyan {
  background: rgba(0, 243, 255, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 243, 255, 0.3);
}

.tag-green {
  background: rgba(0, 255, 157, 0.12);
  color: #00ff9d;
  border: 1px solid rgba(0, 255, 157, 0.3);
}

/* Speed Roadmap */
.speed-roadmap {
  max-width: 1060px;
  margin: 64px auto 0;
}

.roadmap-header {
  text-align: center;
  margin-bottom: 32px;
}

.roadmap-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 8px 0;
}

.roadmap-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.roadmap-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-card);
  position: relative;
  transition: var(--transition);
}

.roadmap-card:hover {
  transform: translateY(-2px);
}

.card-active {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.12);
}

.card-upcoming {
  border-color: rgba(138, 43, 226, 0.6);
}

.card-future {
  border-color: rgba(255, 255, 255, 0.15);
  opacity: 0.9;
}

.roadmap-phase {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.card-upcoming .roadmap-phase {
  color: #c77dff;
}

.card-future .roadmap-phase {
  color: #94a3b8;
}

.roadmap-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.roadmap-stat {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 12px;
}

.card-upcoming .roadmap-stat {
  color: #c77dff;
}

.card-future .roadmap-stat {
  color: #e2e8f0;
}

.roadmap-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Feature Grid */
.features-section {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 243, 255, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: inline-block;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 90px 0;
  position: relative;
}

.faq-accordion {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(0, 243, 255, 0.3);
  background: var(--bg-card-hover);
}

.faq-item.open {
  border-color: rgba(0, 243, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 243, 255, 0.08);
  background: rgba(10, 16, 32, 0.95);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
  user-select: none;
}

.faq-question:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.faq-question:hover,
.faq-item.open .faq-question {
  color: var(--cyan);
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-family: var(--font-mono);
  font-weight: 400;
  line-height: 1;
  color: var(--cyan);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
  width: 24px;
  height: 24px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: #ff0055;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 28px;
  transition: padding 0.35s ease;
}

.faq-item.open .faq-answer-inner {
  padding: 0 28px 24px 28px;
}

.faq-answer-inner p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.faq-answer-inner code {
  font-family: var(--font-mono);
  background: rgba(0, 243, 255, 0.08);
  color: var(--cyan);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.88em;
  border: 1px solid rgba(0, 243, 255, 0.2);
}

.faq-answer-inner strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Call To Action Banner */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(8, 14, 28, 0.9), rgba(20, 10, 36, 0.8));
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(138, 43, 226, 0.2);
}

.cta-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #00f3ff, #8a2be2);
  color: #040711;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.4);
  transition: var(--transition);
}

.btn-primary:hover {
  box-shadow: 0 0 35px rgba(0, 243, 255, 0.7);
  transform: translateY(-2px);
  color: #000;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cyan);
  color: #fff;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 50px 0 30px;
  background: #03050c;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #081124;
  border: 1px solid var(--cyan);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--cyan-glow);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 1000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==============================================================================
   📱 High-Velocity Responsive Media Queries (Tablets, Phablets, Smartphones)
   ============================================================================== */

/* 1. Large Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

/* 2. Tablets & Medium Screens (<= 860px) */
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle-btn {
    display: inline-flex;
  }
  .hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  }
  .benchmarks-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

/* 3. Small Tablets & Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .hero {
    padding: 64px 0 40px;
  }
  .badge-pill {
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    padding: 6px 12px;
    font-size: 0.76rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 28px;
    padding: 0 8px;
  }
  
  /* Quick Installer Box */
  .installer-box {
    margin-bottom: 36px;
    border-radius: var(--radius-sm);
  }
  .installer-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px;
    gap: 4px;
  }
  .installer-tabs::-webkit-scrollbar {
    display: none;
  }
  .inst-tab {
    flex: 0 0 auto;
    padding: 8px 14px;
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .installer-code-row {
    padding: 12px 14px;
    gap: 8px;
  }
  .code-scroll-wrap {
    font-size: 0.82rem;
  }
  .copy-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  /* Terminal Sandbox */
  .sandbox-section {
    padding: 50px 0;
  }
  .section-header {
    margin-bottom: 32px;
  }
  .section-title {
    font-size: clamp(1.65rem, 5vw, 2.2rem);
  }
  .section-desc {
    font-size: 0.95rem;
    padding: 0 8px;
  }
  .term-topbar {
    padding: 10px 14px;
  }
  .term-title {
    display: none;
  }
  .term-body {
    padding: 16px 14px;
    min-height: 280px;
    max-height: 380px;
    font-size: 0.85rem;
  }
  .term-input {
    font-size: 16px !important; /* Prevents auto-zoom in mobile Safari */
  }
  .sandbox-presets {
    padding: 10px 12px;
    gap: 6px;
  }
  .preset-chip {
    padding: 6px 10px;
    font-size: 0.75rem;
    min-height: 34px;
  }

  /* Benchmarks & Features */
  .benchmarks-section,
  .features-section {
    padding: 50px 0;
  }
  .bench-card {
    padding: 20px 16px;
  }
  .reproduce-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }
  .reproduce-cmd-wrap {
    width: 100%;
    overflow-x: auto;
    justify-content: space-between;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 12px 14px;
    font-size: 0.8rem;
  }
  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    padding: 24px 20px;
  }
  .feature-icon {
    font-size: 28px;
    margin-bottom: 14px;
  }

  /* CTA Box */
  .cta-section {
    padding: 60px 0;
  }
  .cta-box {
    padding: 40px 20px;
    border-radius: var(--radius-md);
  }
  .cta-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
  .cta-desc {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  /* Footer */
  .footer {
    padding: 40px 0 24px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }
}

/* 4. Ultra-Compact Smartphones (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
  .nav-inner {
    height: 60px;
  }
  .brand-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .brand-text {
    font-size: 1.05rem;
    letter-spacing: 0.5px;
  }
  .btn-github {
    padding: 7px 10px;
  }
  .btn-github span {
    display: none; /* Hide text on small screens, keep GitHub icon */
  }
  .hero-title {
    font-size: clamp(1.75rem, 7.5vw, 2.3rem);
    line-height: 1.18;
  }
  .code-scroll-wrap {
    font-size: 0.78rem;
  }
  .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
  }
  .faq-icon {
    font-size: 1.2rem;
    margin-left: 10px;
  }
  .faq-answer-inner {
    padding: 0 18px;
  }
  .faq-item.open .faq-answer-inner {
    padding: 0 18px 18px 18px;
  }
  .toast {
    left: 14px;
    right: 14px;
    bottom: 14px;
    text-align: center;
    font-size: 0.8rem;
  }
}

