/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #4CAF50;
  --green-dark: #388E3C;
  --green-glow: rgba(76, 175, 80, 0.18);
  --bg: #0f0f0f;
  --bg2: #161616;
  --bg3: #1e1e1e;
  --surface: #242424;
  --border: rgba(255,255,255,0.08);
  --text: #f0f0f0;
  --text2: #888;
  --text3: #555;
  --radius: 14px;
  --radius-lg: 22px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,15,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--text); }
.nav-icon { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: #fff; text-decoration: none;
  padding: 8px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 120px 24px 60px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 48px;
  position: relative;
}
.hero-bg-blur {
  position: fixed; top: -200px; left: -200px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(76,175,80,0.08) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-content { flex: 1; position: relative; z-index: 1; }
.badge {
  display: inline-block; background: var(--green-glow); color: var(--green);
  border: 1px solid rgba(76,175,80,0.3); padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px;
}
h1 {
  font-size: clamp(36px, 6vw, 64px); font-weight: 900; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 16px; color: var(--text);
}
.highlight { color: var(--green); }
.hero-sub {
  font-size: clamp(14px, 1.8vw, 17px); color: var(--text2);
  max-width: 460px; margin-bottom: 28px; font-weight: 400; line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff; text-decoration: none;
  padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(76,175,80,0.3); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text2); text-decoration: none;
  padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--border); transition: color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover { color: var(--text); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.hero-version { font-size: 13px; color: var(--text3); }

/* ===== PHONE MOCKUP ===== */
.hero-visual { flex: 0 0 auto; display: flex; justify-content: center; position: relative; z-index: 1; }
.phone-mockup {
  width: 200px; background: var(--bg3); border-radius: 36px;
  border: 2px solid var(--border); padding: 18px 12px;
  box-shadow: 0 0 0 1px rgba(76,175,80,0.12), 0 24px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
}
.phone-screen {
  background: #1a1a1a; border-radius: 20px; padding: 6px;
  min-height: 260px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.phone-screenshot { width: 100%; border-radius: 14px; display: block; }

/* ===== SECTIONS COMMON ===== */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 64px 24px; }
.section-title { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; color: var(--text); }
.section-sub { color: var(--text2); font-size: 15px; margin-bottom: 36px; }

/* ===== FEATURES ===== */
.features { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 36px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(76,175,80,0.3); transform: translateY(-3px); }
.feature-icon {
  width: 40px; height: 40px; background: var(--green-glow);
  border: 1px solid rgba(76,175,80,0.2); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: var(--green);
}
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.feature-card p { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* ===== DOWNLOAD ===== */
.download { background: var(--bg); }
.version-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 26px;
  margin-bottom: 28px; max-width: 540px;
}
.version-info { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.version-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text3); }
.version-number { font-size: 17px; font-weight: 800; color: var(--green); }
.version-platform { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 12px; color: var(--text3); font-weight: 500; }
.version-meta { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-top: 1px solid var(--border); }
.version-meta-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text2); }
.version-meta-item svg { flex-shrink: 0; color: var(--green); }
.version-divider { border: none; border-top: 1px solid var(--border); margin: 14px 0; }
.changelog-section { display: flex; flex-direction: column; gap: 8px; }
.changelog-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--green);
}
.changelog-box {
  font-size: 13px; color: var(--text2); line-height: 1.7;
  background: rgba(76,175,80,0.05); border: 1px solid rgba(76,175,80,0.12);
  border-radius: 10px; padding: 12px 14px;
}
.download-buttons { display: flex; flex-direction: column; gap: 12px; max-width: 480px; }
.btn-download {
  display: flex; align-items: center; gap: 16px;
  background: var(--green); color: #fff; text-decoration: none;
  padding: 16px 22px; border-radius: var(--radius-lg); font-weight: 600;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(76,175,80,0.2);
}
.btn-download:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(76,175,80,0.3); }
.btn-download-alt {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); box-shadow: none;
}
.btn-download-alt:hover { background: #2e2e2e; box-shadow: none; border-color: rgba(255,255,255,0.15); }
.btn-download-main { display: block; font-size: 15px; font-weight: 700; }
.btn-download-sub { display: block; font-size: 12px; opacity: 0.6; font-weight: 400; margin-top: 2px; }

/* ===== SCREENSHOTS ===== */
.screenshots { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.screenshots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 28px; }
.screenshot-card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.screenshot-card img { width: 100%; border-radius: 10px; display: block; }
.screenshot-card figcaption { font-size: 12px; color: var(--text2); }

/* ===== INSTALL STEPS ===== */
.install { background: var(--bg2); border-top: 1px solid var(--border); }
.steps { display: flex; flex-direction: column; max-width: 520px; margin-top: 36px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-number {
  flex: 0 0 40px; height: 40px; background: var(--green-glow);
  border: 1px solid rgba(76,175,80,0.25); border-radius: 999px;
  display: flex; align-items: center; justify-content: center; color: var(--green);
}
.step-content { padding-bottom: 6px; }
.step-content h3 { font-size: 15px; font-weight: 700; margin-bottom: 5px; color: var(--text); }
.step-content p { font-size: 13px; color: var(--text2); line-height: 1.6; }
.step-connector { width: 1px; height: 24px; background: var(--border); margin-left: 19px; }

/* ===== FOOTER ===== */
footer { border-top: 1px solid var(--border); padding: 40px 24px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.footer-sub { font-size: 13px; color: var(--text2); }
.footer-legal { font-size: 11px; color: var(--text3); }
.footer-author {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text2); text-decoration: none; font-size: 13px; font-weight: 500;
  transition: color 0.2s;
}
.footer-author:hover { color: var(--text); }
.footer-author svg { flex-shrink: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 100px 24px 48px;
    text-align: center;
    gap: 36px;
  }
  .hero-sub { margin: 0 auto 24px; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 160px; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: 1fr 1fr; }
  .version-info { flex-wrap: wrap; }
  .download-buttons { max-width: 100%; }
}