*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d1117;
  --bg-2: #161b22;
  --bg-3: #1c2230;
  --border: rgba(255,255,255,0.08);
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --text: #f0f6fc;
  --text-muted: #8b949e;
  --radius: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

.logo-sm .logo-icon { width: 26px; height: 26px; }
.logo-sm .logo-text { font-size: 1rem; }

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-img-sm {
  height: 28px;
}

/* ---- HERO ---- */
.hero {
  padding: 100px 0 90px;
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(59,130,246,0.18) 0%, transparent 70%);
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(59,130,246,0.4);
  background: rgba(59,130,246,0.1);
  color: var(--accent-hover);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-sub {
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero-cta {
  display: inline-block;
  padding: 14px 34px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
}

.hero-cta:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* ---- FEATURES ---- */
.features {
  padding: 70px 0;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(59,130,246,0.4);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(59,130,246,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---- DOWNLOAD ---- */
.download {
  padding: 80px 0 100px;
  border-top: 1px solid var(--border);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 52px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}

.download-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s, transform 0.2s;
}

.download-card:hover {
  transform: translateY(-3px);
}

.download-card.accent {
  border-color: rgba(59,130,246,0.4);
  background: linear-gradient(135deg, rgba(59,130,246,0.07) 0%, var(--bg-2) 60%);
}

.download-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(59,130,246,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.download-card-icon svg {
  width: 26px;
  height: 26px;
}

.download-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
  margin-bottom: 4px;
}

.download-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.download-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 4px;
}

.download-features {
  list-style: none;
  padding: 0;
  margin: 8px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.download-features li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}

.download-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  margin-top: 12px;
  transition: opacity 0.2s, transform 0.15s;
  cursor: pointer;
}

.download-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.app-store-btn {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

.windows-btn {
  background: var(--accent);
  color: #fff;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.download-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px !important;
  text-align: center;
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 600px) {
  .hero { padding: 70px 0 60px; }
  .download-card { padding: 28px 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
