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

:root {
  --accent: #6C47FF;
  --accent-light: #ede9fe;
  --text: #0f0f0f;
  --muted: #666;
  --border: #e5e7eb;
  --bg: #ffffff;
  --surface: #f9fafb;
  --radius: 12px;
}

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

/* NAV */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--accent);
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--text); }

.btn-nav {
  background: var(--accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-nav:hover { opacity: 0.85; }

/* HERO */
.hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  text-align: center;
}

.badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text);
}

.subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: border-color 0.15s;
}
.btn-ghost:hover { border-color: #aaa; }

.disclaimer {
  font-size: 12px;
  color: var(--muted);
}

/* SCREENSHOT STRIP */
.screenshot-strip {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 0 24px 80px;
  flex-wrap: wrap;
}

.screen-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  width: 240px;
  flex-shrink: 0;
}

.screen-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.screen-mock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.score-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 313deg, #e5e7eb 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  box-shadow: inset 0 0 0 10px white;
  margin-bottom: 4px;
}
.score-ring span { font-size: 12px; margin-left: 1px; }

.screen-mock p { font-size: 12px; color: var(--muted); text-align: center; }

.letter-mock { width: 100%; }
.line { height: 8px; border-radius: 4px; background: #e5e7eb; margin-bottom: 6px; }
.line.long { width: 100%; }
.line.med { width: 75%; }
.line.short { width: 50%; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 99px;
  background: #f3f4f6;
  color: var(--muted);
  font-weight: 500;
}
.tag.active {
  background: var(--accent-light);
  color: var(--accent);
}

/* FEATURES */
.features {
  background: var(--surface);
  padding: 80px 24px;
  text-align: center;
}

.features h2, .how h2, .download h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-icon { font-size: 24px; margin-bottom: 12px; }
.feature h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* HOW */
.how {
  padding: 80px 24px;
  max-width: 680px;
  margin: 0 auto;
}

.how h2 { text-align: center; }

.steps { display: flex; flex-direction: column; gap: 32px; }

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* DOWNLOAD */
.download {
  background: var(--surface);
  padding: 80px 24px;
  text-align: center;
}

.download p { color: var(--muted); font-size: 14px; margin-bottom: 32px; }

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  max-width: 520px;
  margin: 0 auto 16px;
  gap: 16px;
  flex-wrap: wrap;
}

.dl-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dl-icon { font-size: 28px; }

.dl-info strong { display: block; font-size: 14px; font-weight: 700; }
.dl-info span { font-size: 12px; color: var(--muted); }

.install-note {
  font-size: 12px !important;
  color: var(--muted);
  margin-bottom: 8px !important;
}

.api-note {
  font-size: 12px !important;
  color: var(--muted);
  margin-bottom: 0 !important;
}

.api-note a { color: var(--accent); text-decoration: none; }
.api-note a:hover { text-decoration: underline; }

/* MAKER */
.maker {
  padding: 80px 24px;
  max-width: 640px;
  margin: 0 auto;
}

.maker-inner { display: flex; gap: 40px; align-items: flex-start; }

.maker-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.maker h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.maker p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }

.btn-ghost-sm {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border: 1.5px solid var(--accent-light);
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.15s;
}
.btn-ghost-sm:hover { background: var(--accent-light); }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.footer-feedback {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.footer-feedback:hover { text-decoration: underline; }
