:root {
  --bg-color: #fafafa;
  --surface-color: #ffffff;
  --surface-border: #e4e4e7;
  --text-primary: #18181b;
  --text-secondary: #52525b;
  --accent-color: #0ea5e9; /* Vibrant Cyan Blue from favicon image */
  --accent-glow: rgba(14, 165, 233, 0.15);
  --font-display: "Outfit", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --header-height: 64px;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.05);
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--accent-color);
  color: white;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-display);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Nav */
header {
  min-height: var(--header-height);
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 1100px;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center; /* This is the key centering property */
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1; /* Stretch to fill header width */
  padding: 0 1.5rem; /* Even side padding */
}





.logo {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1; /* Prevents text descent from pushing it off-center */
}

.logo-img {
  width: 38px; /* Slightly reduced for better fit */
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center; /* Ensures text links are centered */
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.03);
}

.nav-links a.nav-active {
  color: var(--accent-color);
  background: rgba(14, 165, 233, 0.08);
  font-weight: 600;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 600px;
  background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 100px;
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  min-height: 44px; /* Reduced from 52px for the smaller 64px header */
  text-align: center;
}

.btn-primary {
  background: var(--accent-color);
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(14, 165, 233, 0.5);
  color: #ffffff !important;
}

.btn-secondary {
  background: var(--surface-color);
  color: var(--text-primary);
  border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
  background: #f4f4f5;
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  padding: 2rem;
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  text-align: left;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  color: var(--accent-color);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--surface-border);
}

th {
  background: rgba(0, 0, 0, 0.02);
  color: var(--text-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

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

/* Download specific styling */
td a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.2s, color 0.2s;
}

td a:hover {
  transform: translateY(-5px);
  color: var(--accent-color);
}

/* Blockquote */
blockquote {
  border-left: 4px solid var(--accent-color);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* Download Grid & Cards */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.download-card {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.download-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 20px var(--accent-glow);
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-color);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.platform-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  transition: color 0.3s;
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.platform-icon i {
  line-height: 1;
}

.download-card:hover .platform-icon {
  color: var(--accent-color);
}

.platform-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.platform-version {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.download-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Section Dividers */
.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 4rem 0 2rem;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--surface-border);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .nav-links { display: none; }
}
