/* Velox Linux — Dark Theme */

:root {
  --bg:        #0e0e0e;
  --bg2:       #151515;
  --bg3:       #1c1c1c;
  --card:      #181818;
  --border:    #2a2a2a;
  --green:     #8ab87a;
  --green-dim: #5e8a50;
  --green-bg:  #1a2a16;
  --text:      #e0e0e0;
  --text-dim:  #888;
  --text-muted:#555;
  --radius:    10px;
  --radius-lg: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14,14,14,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.nav-logo {
  color: var(--green) !important;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-cta {
  background: var(--green);
  color: #111 !important;
  padding: .4rem 1rem;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: .85rem !important;
  transition: background .2s !important;
}

.nav-cta:hover { background: #a0cf8e !important; }

/* ─── HERO ─── */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(138,184,122,.12) 0%, transparent 70%),
    var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(138,184,122,.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(138,184,122,.06) 0%, transparent 50%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--green-bg);
  border: 1px solid var(--green-dim);
  color: var(--green);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  max-width: 820px;
  margin-bottom: 1.2rem;
}

.hero h1 span { color: var(--green); }

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none !important;
}

.btn-primary {
  background: var(--green);
  color: #111;
  box-shadow: 0 0 24px rgba(138,184,122,.3);
}

.btn-primary:hover {
  background: #a0cf8e;
  box-shadow: 0 0 32px rgba(138,184,122,.45);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--green-dim);
  color: var(--green);
  transform: translateY(-1px);
}

.hero-icon {
  width: 260px;
  height: auto;
  margin-bottom: 1.25rem;
  mix-blend-mode: screen;
  filter: sepia(1) hue-rotate(85deg) saturate(2.5) brightness(2.2) drop-shadow(0 0 40px rgba(138,184,122,.8));
}

.hero-meta {
  margin-top: 1.5rem;
  font-size: .8rem;
  color: var(--text-muted);
}

/* ─── WHAT IS ─── */
.what-is {
  background: var(--bg2);
  padding: 5rem 2rem;
}

.what-is-inner {
  max-width: 900px;
  margin: 0 auto;
}

.what-is-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: .5rem 0 1rem;
}

.what-is-text p {
  color: var(--text-dim);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.stat-row {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat span {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.stat small {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .25rem;
}

/* ─── VCC ─── */
.vcc {
  padding: 6rem 2rem;
}

.vcc-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.vcc-screenshots {
  margin: 3rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
}

.vcc-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: .75rem 1rem;
  gap: .5rem;
}

.vcc-img-wrap {
  position: relative;
  width: 100%;
}

.vcc-img {
  width: 100%;
  display: none;
}

.vcc-img.active { display: block; }

.vcc-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.vcc-feat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .2s, transform .2s;
}

.vcc-feat:hover {
  border-color: var(--green-dim);
  transform: translateY(-2px);
}

.vcc-feat h3 {
  font-size: .95rem;
  font-weight: 600;
  margin: .6rem 0 .3rem;
}

.vcc-feat p {
  font-size: .85rem;
  color: var(--text-dim);
}

/* ─── SECURITY / FIXES ─── */
.security {
  background: var(--bg2);
  padding: 6rem 2rem;
}

.security-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.fix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.fix-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: border-color .2s;
}

.fix-card:hover { border-color: var(--green-dim); }

.fix-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
}

.fix-icon {
  font-size: 1.8rem;
  margin-bottom: .75rem;
}

.fix-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.fix-problem, .fix-solution {
  font-size: .85rem;
  line-height: 1.65;
  padding: .9rem 1rem;
  border-radius: 8px;
  margin-bottom: .75rem;
}

.fix-problem {
  background: rgba(255,80,80,.05);
  border: 1px solid rgba(255,80,80,.15);
  color: var(--text-dim);
}

.fix-solution {
  background: var(--green-bg);
  border: 1px solid var(--green-dim);
  color: var(--text-dim);
}

.problem-label, .solution-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.problem-label { color: #f08080; }
.solution-label { color: var(--green); }

.fix-card code {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  padding: .1rem .35rem;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .8em;
}

/* ─── FEATURES COLS ─── */
.features {
  padding: 6rem 2rem;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.features-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feat-group {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.feat-group-title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.feat-list {
  list-style: none;
}

.feat-list li {
  font-size: .875rem;
  color: var(--text-dim);
  padding: .35rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.feat-list li:last-child { border-bottom: none; }

/* ─── INSTALL ─── */
.install {
  background: var(--bg2);
  padding: 5rem 2rem;
}

.install-inner {
  max-width: 860px;
  margin: 0 auto;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.step-num {
  background: var(--green-bg);
  border: 1px solid var(--green-dim);
  color: var(--green);
  font-weight: 800;
  font-size: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step strong {
  display: block;
  font-size: .95rem;
  margin-bottom: .2rem;
}

.step p {
  font-size: .85rem;
  color: var(--text-dim);
  margin: 0;
}

/* ─── KERNEL SECTION ─── */
.kernel-section {
  padding: 6rem 2rem;
}

.kernel-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.kernel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.kernel-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color .2s, transform .2s;
}

.kernel-card:hover {
  border-color: var(--green-dim);
  transform: translateY(-2px);
}

.kernel-card.highlight-card {
  border-color: var(--green-dim);
  background: linear-gradient(135deg, var(--green-bg) 0%, var(--card) 60%);
}

.kernel-card h3 {
  font-size: .95rem;
  font-weight: 600;
  margin: .6rem 0 .4rem;
}

.kernel-card p {
  font-size: .85rem;
  color: var(--text-dim);
  line-height: 1.65;
}

.kernel-card code {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  padding: .1rem .35rem;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .8em;
}

/* ─── UNDER THE HOOD ─── */
.hood {
  background: var(--bg2);
  padding: 6rem 2rem;
}

.hood-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.hood-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color .2s;
}

.hood-card:hover { border-color: var(--green-dim); }

.hood-icon {
  font-size: 1.4rem;
  margin-bottom: .6rem;
}

.hood-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}

.hood-card p {
  font-size: .84rem;
  color: var(--text-dim);
  line-height: 1.68;
}

.hood-card code {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  padding: .1rem .35rem;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .8em;
}

/* ─── WINDOWS WELCOME ─── */
.windows-welcome {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(26,42,22,.3) 100%);
}

.windows-welcome-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.welcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.welcome-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color .2s, transform .2s;
}

.welcome-card:hover {
  border-color: var(--green-dim);
  transform: translateY(-2px);
}

.welcome-card .welcome-icon {
  font-size: 1.75rem;
  margin-bottom: .75rem;
}

.welcome-card h3 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .4rem;
}

.welcome-card p {
  font-size: .85rem;
  color: var(--text-dim);
  line-height: 1.65;
}

@media (max-width: 780px) {
  .fix-grid { grid-template-columns: 1fr; }
  .hood-grid { grid-template-columns: 1fr; }
}

/* ─── SCREENSHOTS ─── */
.screenshot-strip {
  background: var(--bg2);
  padding: 4rem 2rem;
  overflow: hidden;
}

.screenshot-strip h2 {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.desktop-tabs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: .45rem 1.1rem;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}

.tab-btn:hover, .tab-btn.active {
  background: var(--green-bg);
  border-color: var(--green-dim);
  color: var(--green);
}

.desktop-preview {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg3);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.desktop-preview .placeholder-text {
  color: var(--text-muted);
  font-size: .9rem;
  text-align: center;
  padding: 2rem;
}

.desktop-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  position: absolute;
  inset: 0;
}

.desktop-placeholder.visible { display: flex; }

.desktop-placeholder .icon {
  font-size: 3rem;
  opacity: .3;
}

.desktop-placeholder p {
  color: var(--text-muted);
  font-size: .9rem;
}

/* ─── FEATURES ─── */
.features {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  color: var(--green);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.02em;
}

.section-header p {
  color: var(--text-dim);
  margin-top: .6rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color .2s, transform .2s;
}

.feature-card:hover {
  border-color: var(--green-dim);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--green-bg);
  border: 1px solid var(--green-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .4rem;
}

.feature-card p {
  font-size: .88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ─── DESKTOPS SECTION ─── */
.desktops {
  background: var(--bg2);
  padding: 6rem 2rem;
}

.desktops-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.desktop-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.desktop-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color .2s, transform .2s;
}

.desktop-card:hover {
  border-color: var(--green-dim);
  transform: translateY(-2px);
}

.desktop-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
}

.desktop-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .3rem;
}

.desktop-card .de-tag {
  display: inline-block;
  background: var(--green-bg);
  color: var(--green);
  font-size: .72rem;
  font-weight: 600;
  padding: .15rem .55rem;
  border-radius: 4px;
  border: 1px solid var(--green-dim);
  margin-bottom: .9rem;
}

.desktop-card p {
  font-size: .88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.desktop-card ul {
  list-style: none;
  margin-top: .9rem;
}

.desktop-card ul li {
  font-size: .85rem;
  color: var(--text-dim);
  padding: .25rem 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.desktop-card ul li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: .8rem;
}

/* ─── DOWNLOAD ─── */
.download {
  padding: 6rem 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.download-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(138,184,122,.12) 0%, transparent 70%);
  pointer-events: none;
}

.download-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: .6rem;
}

.version-badge {
  display: inline-block;
  background: var(--green-bg);
  color: var(--green);
  font-size: .8rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--green-dim);
  margin-bottom: 1.2rem;
}

.download-card > p {
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.download-btn-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.checksums {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: left;
}

.checksums h4 {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.checksum-row {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .6rem;
}

.checksum-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid var(--green-dim);
  padding: .1rem .4rem;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: .1rem;
}

.checksum-val {
  font-family: 'JetBrains Mono', 'Fira Mono', monospace;
  font-size: .72rem;
  color: var(--text-dim);
  word-break: break-all;
}

/* ─── REQUIREMENTS ─── */
.requirements {
  background: var(--bg2);
  padding: 5rem 2rem;
}

.req-inner {
  max-width: 900px;
  margin: 0 auto;
}

.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

.req-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.req-card h3 {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}

.req-card table {
  width: 100%;
  border-collapse: collapse;
}

.req-card td {
  padding: .35rem 0;
  font-size: .88rem;
  border-bottom: 1px solid var(--border);
}

.req-card td:first-child {
  color: var(--text-muted);
  width: 42%;
}

.req-card td:last-child {
  color: var(--text);
  font-weight: 500;
}

.req-card tr:last-child td { border-bottom: none; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: .82rem;
}

footer a { color: var(--text-dim); }
footer a:hover { color: var(--green); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 680px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .hero { padding: 3rem 1rem; }
  .req-grid { grid-template-columns: 1fr; }
  .download-card { padding: 2rem 1.25rem; }
  .features, .desktops-inner, .download, .req-inner { padding-left: 1rem; padding-right: 1rem; }
}
