/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0A0A0F;
  --surface:  #141418;
  --card:     #1C1C1E;
  --border:   #3A3A3C;
  --accent:   #4CAF7D;
  --accent2:  #2D7A57;
  --text:     #EEEEEE;
  --text-s:   #8E8E93;
  --text-d:   #48484A;
  --radius:   12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ── Grid background ──────────────────────────────────────────────────────── */
.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── Container ────────────────────────────────────────────────────────────── */
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ── Header ───────────────────────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 960px; margin: 0 auto; padding: 0 24px;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px;
}
.logo-dot {
  display: inline-block; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
}
.logo-mc { color: var(--accent); }

.nav { display: flex; gap: 24px; }
.nav a {
  font-size: 14px; color: var(--text-s);
  transition: color .15s;
}
.nav a:hover { color: var(--text); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; z-index: 1;
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 720px; margin: 0 auto;
}

.hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(76,175,125,.12);
  border: 1px solid rgba(76,175,125,.3);
  color: var(--accent);
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 99px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--accent); }

.hero-desc {
  font-size: 17px; color: var(--text-s);
  line-height: 1.7; margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 600;
  padding: 12px 28px; border-radius: 10px;
  transition: background .15s, transform .1s;
  cursor: pointer;
}
.btn-primary:hover { background: #5dc48e; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); color: var(--text);
  border: 1px solid var(--border);
  font-size: 15px; font-weight: 500;
  padding: 12px 28px; border-radius: 10px;
  transition: background .15s, border-color .15s, transform .1s;
  cursor: pointer;
}
.btn-secondary:hover { background: #252528; border-color: #555; transform: translateY(-1px); }

/* Screenshot */
.screenshot-wrap {
  margin-top: 64px;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent2), var(--border));
  border-radius: 16px;
}
.screenshot-inner {
  background: var(--surface);
  border-radius: 15px;
  overflow: hidden;
  min-height: 300px;
  display: flex; align-items: center; justify-content: center;
}
.screenshot { width: 100%; display: block; }

/* ── Features ─────────────────────────────────────────────────────────────── */
.features {
  position: relative; z-index: 1;
  padding: 80px 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: var(--accent2); transform: translateY(-2px); }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-s); line-height: 1.65; }

/* ── Section commons ──────────────────────────────────────────────────────── */
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.section-desc { font-size: 15px; color: var(--text-s); margin-bottom: 40px; }

/* ── Download ─────────────────────────────────────────────────────────────── */
.download {
  position: relative; z-index: 1;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 600px;
}
.download-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-align: center;
  transition: border-color .2s, transform .2s;
}
.download-card:hover { border-color: var(--accent2); transform: translateY(-2px); }
.download-card.featured { border-color: var(--accent); }

.featured-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 99px;
}
.os-icon { font-size: 40px; }
.download-card h3 { font-size: 20px; font-weight: 700; margin-top: 4px; }
.os-desc { font-size: 13px; color: var(--text-s); margin-bottom: 8px; }

.btn-download {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 11px 22px; border-radius: 9px;
  width: 100%; justify-content: center;
  transition: background .15s, opacity .15s;
  margin-top: 8px;
  border: none; cursor: pointer;
}
.btn-download:hover:not(:disabled) { background: #5dc48e; }
.btn-download:disabled { opacity: .75; cursor: default; }

.btn-progress-bar {
  position: absolute; inset: 0; pointer-events: none;
  background: transparent;
}
.btn-progress {
  height: 100%; width: 0%;
  background: rgba(0,0,0,.2);
  transition: width .3s ease;
}

.file-info { font-size: 12px; color: var(--text-d); }

.download-note {
  margin-top: 28px;
  font-size: 13px; color: var(--text-s);
  background: rgba(255,200,0,.06);
  border: 1px solid rgba(255,200,0,.15);
  border-radius: 8px;
  padding: 12px 16px;
  max-width: 600px;
}

/* ── Guide ────────────────────────────────────────────────────────────────── */
.guide {
  position: relative; z-index: 1;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.guide-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.guide-col {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.guide-col h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }

.steps { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.steps li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--text-s); line-height: 1.6;
}
.steps li strong { color: var(--text); }
.step-num {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(76,175,125,.15);
  border: 1px solid var(--accent2);
  color: var(--accent);
  font-size: 12px; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.footer-logo {
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 14px; color: var(--text-s); transition: color .15s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--text-d); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav { display: none; }
  .hero { padding: 72px 20px 56px; }
  .hero-title { font-size: 36px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
