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

:root {
  --bg: #ffffff;
  --surface: #F4F4F5;
  --border: #DFDFE2;
  --text: #0e0c1b;
  --text-mid: #6e6d76;
  --text-dim: #9e9ca8;
  --accent: #FB7258;
  --accent-hover: #F74D67;
  --footer-bg: #0e0c1b;
  --radius: 12px;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* NAV */
nav { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; }
.logo img { height: 64px; width: auto; }
nav a.nav-link { font-size: 14px; font-weight: 600; color: var(--text-mid); transition: color 0.2s; }
nav a.nav-link:hover { color: var(--text); }
.lang-switcher { display: flex; gap: 4px; align-items: center; margin-left: 20px; }
.lang-switcher a { font-size: 12px; font-weight: 700; color: var(--text-dim); padding: 4px 7px; border-radius: 6px; transition: all 0.2s; border: 1px solid transparent; }
.lang-switcher a:hover { color: var(--text); border-color: var(--border); background: var(--surface); }
.lang-switcher a.active { color: var(--accent); border-color: var(--border); background: var(--surface); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta { color: var(--accent); border: 1px solid var(--border); border-radius: 8px; padding: 6px 11px; }
.nav-cta:hover { color: var(--accent); border-color: var(--accent); background: var(--surface); }

/* BREADCRUMB */
.crumbs { font-size: 12px; color: var(--text-dim); padding: 8px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--text-mid); font-weight: 600; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--text-dim); }

/* HERO */
.hero { text-align: center; padding: 40px 0 40px; max-width: 640px; margin: 0 auto; }
.gen-badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; padding: 5px 12px; border-radius: 20px; color: #fff; margin-bottom: 16px; }
.hero h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; letter-spacing: -1.2px; line-height: 1.15; margin-bottom: 10px; color: var(--text); }
.hero .sub { font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 16px; }
.hero p { font-size: 15px; color: var(--text-mid); line-height: 1.65; margin: 0 auto; }

/* CTA download row */
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.dl-btn-full { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 14px; border: none; cursor: pointer; transition: all 0.2s ease; }
.dl-btn-full svg { width: 16px; height: 16px; }
.dl-btn-full.primary { background: var(--accent); color: white; }
.dl-btn-full.primary:hover { background: var(--accent-hover); box-shadow: 0 4px 16px rgba(251,114,88,0.25); }
.dl-btn-full.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.dl-btn-full.secondary:hover { background: #ececee; }
.cta-note { text-align: center; font-size: 12px; color: var(--text-dim); margin-top: 12px; }

/* SECTION */
.section-label { font-size: 12px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; }
.block { margin-top: 52px; }
.block h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; color: var(--text); margin-bottom: 6px; }
.block .hint { font-size: 13px; color: var(--text-mid); margin-bottom: 18px; line-height: 1.6; }

/* PROGRESS */
.progress-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.progress-bar { flex: 1; min-width: 160px; height: 8px; background: var(--surface); border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.progress-fill { height: 100%; width: 0; background: var(--accent); transition: width 0.3s ease; }
.progress-text { font-size: 13px; font-weight: 700; color: var(--text-mid); white-space: nowrap; }
.reset-btn { font-size: 12px; font-weight: 600; color: var(--text-dim); background: none; border: 1px solid var(--border); border-radius: 6px; padding: 5px 10px; cursor: pointer; }
.reset-btn:hover { color: var(--accent); border-color: var(--accent); }

/* CHECKLIST GRID */
.dex { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.mon { position: relative; border: 1px solid var(--border); border-radius: 10px; padding: 8px 4px 6px; text-align: center; cursor: pointer; background: var(--bg); transition: border-color 0.15s, background 0.15s; user-select: none; }
.mon:hover { border-color: var(--accent); }
.mon img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.mon .num { font-size: 9px; color: var(--text-dim); font-weight: 600; }
.mon .nm { font-size: 10px; font-weight: 600; color: var(--text-mid); line-height: 1.2; word-break: break-word; }
.mon .tick { position: absolute; top: 5px; right: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 10px; line-height: 16px; opacity: 0; transform: scale(0.5); transition: all 0.15s; }
.mon.done { background: var(--surface); border-color: var(--accent); }
.mon.done img { opacity: 0.35; }
.mon.done .tick { opacity: 1; transform: scale(1); }

/* OTHER GENERATIONS */
.gen-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gen-link { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-weight: 700; font-size: 14px; color: var(--text); transition: all 0.2s; }
.gen-link:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.gen-link .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.gen-link small { display: block; font-size: 11px; font-weight: 500; color: var(--text-dim); }

/* HOW TO + COMPLETE */
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; }
.info-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.complete-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.complete-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.complete-card p { font-size: 14px; color: var(--text-mid); margin-top: 4px; }
.complete-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.faq-q { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.faq-a { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* FOOTER */
footer { text-align: center; padding: 44px 32px 28px; margin-top: 64px; border-top: 1px solid var(--border); color: var(--text-dim); }
footer p { font-size: 12px; line-height: 1.8; }
footer a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 580px) {
  .wrap { padding: 0 18px; }
  .dex { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); }
  .complete-card { flex-direction: column; align-items: flex-start; }
  .dl-btn-full { flex: 1; justify-content: center; }
}
