/* ══════════════════════════════════════
   UNQO — Public homepage stylesheet
   Requires shared.css + auth.css (reuses .lang-switcher/.auth-btn/.brand-logo etc.)
══════════════════════════════════════ */

body.home-body {
  min-height: 100vh;
  background: var(--bg);
}

/* ── Top nav ─────────────────────────── */
.home-nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.home-nav > a {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
}
.home-nav > a:hover { text-decoration: underline; }

/* ── Hero ────────────────────────────── */
.home-hero {
  background: linear-gradient(15deg, #24365c, #7fa6fb, #24365c);
  background-size: 200% 200%;
  animation: home-gradient 15s ease infinite;
  border-radius: 10px;
  max-width: 1080px;
  margin: 20px auto 0;
  padding: 64px 32px;
  text-align: center;
  color: var(--white);
}
.home-hero-logo {
  height: 82px;
  display: block;
  margin: 0 auto 12px;
  filter: brightness(0) invert(1);
}
.home-hero-brand {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 24px;
  opacity: 0.85;
}
@keyframes home-gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.home-hero h1 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  max-width: 740px;
  margin: 0 auto 14px;
  line-height: 1.25;
}
.home-hero p {
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 28px;
  opacity: 0.92;
  line-height: 1.5;
}
.home-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.home-hero-actions a {
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.home-hero-actions a.home-btn-primary { background: var(--white); color: var(--dark); }
.home-hero-actions a.home-btn-secondary { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.5); }

/* ── Section shell ───────────────────── */
.home-section { max-width: 1080px; margin: 0 auto; padding: 56px 24px; }
.home-section h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 12px;
}
.home-section > p.home-section-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--light-text);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Feature grid ────────────────────── */
.home-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.home-feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 22px;
}
.home-feature-icon { margin-bottom: 12px; }
.home-feature-icon .svg-icon { display: block; width: 26px; height: 26px; color: var(--dark); }
.home-feature h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.home-feature p { font-size: 13px; color: var(--light-text); line-height: 1.55; margin: 0; }

/* ── Google data usage section ───────── */
.home-data-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}
.home-data-list { display: flex; flex-direction: column; gap: 18px; }
.home-data-item { display: flex; gap: 14px; align-items: flex-start; }
.home-data-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--faint);
  display: flex; align-items: center; justify-content: center;
}
.home-data-icon .svg-icon { display: block; width: 16px; height: 16px; color: var(--dark); }
.home-data-item h4 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.home-data-item p { font-size: 13px; color: var(--light-text); line-height: 1.55; margin: 0; }
.home-data-note { font-size: 12px; color: var(--muted); margin-top: 22px; line-height: 1.5; }
.home-data-note a { color: var(--muted); }

/* ── Footer ──────────────────────────── */
.home-footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}
.home-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.home-footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; }
.home-footer-links a:hover { text-decoration: underline; }
.home-footer-copy { font-size: 12px; color: var(--subtle); }

/* ── Mobile ──────────────────────────── */
@media (max-width: 640px) {
  .home-hero { padding: 48px 22px; border-radius: 0;}
  .home-hero h1 { font-size: 26px; }
  .home-section { padding: 40px 20px; }
  .home-data-card { padding: 24px 20px; }
}
