/* ============================================================
   WWWPASS homepage — classic skin, matches login/signup
   Self-contained: no frameworks, no external fonts or assets.
   ============================================================ */

:root {
  --blue: #2196F3;
  --blue-dark: #1976D2;
  --navy-overlay: rgba(4, 40, 68, 0.85);
  --ink: #444;
  --muted: #777;
  --line: #eee;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: url("https://wwwpass.com/images/bg.jpg") 50% / cover fixed;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; }
a { color: inherit; }

.page {
  min-height: 100vh;
  background: var(--navy-overlay);
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons (same signature as the auth button) ---------- */
.btn {
  display: inline-block;
  padding: 11px 24px;
  border: 0 solid rgba(0, 0, 0, 0.15);
  border-bottom-width: 4px;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-bottom-width 0.1s ease;
}
.btn:active {
  border-bottom-width: 2px;
}
.btn-lg {
  padding: 14px 30px;
  font-size: 1.02rem;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-dark);
}
.btn-outline-w {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom-width: 4px;
  color: #fff;
}
.btn-outline-w:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-text {
  border: none;
  color: #fff;
}
.btn-text:hover {
  color: #cfe8fd;
}

/* ---------- Nav ---------- */
.nav {
  padding: 18px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand svg {
  width: 28px;
  height: 28px;
}
.brand span {
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  gap: 22px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
}
.nav-links a:hover {
  color: #fff;
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  text-decoration: none;
}
.nav-user:hover {
  color: #fff;
}
.nav-user svg {
  width: 17px;
  height: 17px;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  color: #fff;
  padding: 84px 0 76px;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.hero .lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 34px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Cards & sections ---------- */
.section {
  padding: 0 0 72px;
}
.section-head {
  text-align: center;
  color: #fff;
  margin-bottom: 34px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.section-head p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border-radius: 2px 2px 5px 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  padding: 30px 26px;
  text-align: center;
}
.card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--blue);
  border-bottom: 4px solid rgba(0, 0, 0, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon svg {
  width: 24px;
  height: 24px;
}
.card h3 {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Steps ---------- */
.steps-card {
  background: #fff;
  border-radius: 2px 2px 5px 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  padding: 40px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  text-align: center;
}
.step-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--blue);
  border-bottom: 4px solid rgba(0, 0, 0, 0.15);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.step p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- CTA ---------- */
.cta-card {
  background: #fff;
  border-radius: 2px 2px 5px 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  max-width: 640px;
  margin: 0 auto;
  padding: 44px 32px;
  text-align: center;
}
.cta-card h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--ink);
  margin-bottom: 8px;
}
.cta-card p {
  color: var(--muted);
  margin-bottom: 26px;
}

/* ---------- Footer (same as auth footer) ---------- */
.footer {
  padding: 10px 0 46px;
  text-align: center;
  color: #ddd;
  font-size: 0.85rem;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.footer-brand svg {
  width: 17px;
  height: 17px;
}
.footer p {
  margin: 3px 0;
}
.footer a {
  color: #fff;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .steps-card {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 440px;
    margin: 0 auto;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding: 60px 0 54px;
  }
}
@media (max-width: 480px) {
  .nav-inner {
    gap: 12px;
  }
  .brand svg {
    width: 22px;
    height: 22px;
  }
  .brand span {
    font-size: 1.05rem;
  }
  .nav-login {
    display: none;
  }
  .nav-actions .btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}
