/* ── PAGE: LANDING (index.php) ── */
body.page-landing { background: #fff; }

/* Navbar */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 64px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--g200);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 800; color: var(--g800); text-decoration: none;
}
.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand); display: flex;
  align-items: center; justify-content: center; font-size: 18px;
}
.nav-login {
  padding: 9px 20px; background: var(--brand); color: #fff;
  border-radius: 8px; font-size: 13px; font-weight: 700;
  text-decoration: none; transition: background .2s;
}
.nav-login:hover { background: var(--brand-dark); }

/* Hero */
.page-landing .hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #1f0e08 100%);
  position: relative; overflow: hidden; padding: 100px 32px 60px;
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hero-glow.a {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,73,39,.35) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero-glow.b {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(245,73,39,.18) 0%, transparent 70%);
  bottom: 0; left: 100px;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; width: 100%; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,73,39,.15); border: 1px solid rgba(245,73,39,.3);
  color: #F76B4F; font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 99px; margin-bottom: 24px; letter-spacing: .04em;
}
.hero-badge span {
  width: 6px; height: 6px; border-radius: 50%;
  background: #F54927; display: inline-block; animation: pulse 1.8s infinite;
}
.hero-title {
  font-size: clamp(36px, 5vw, 56px); font-weight: 900;
  color: #fff; line-height: 1.15; margin-bottom: 20px;
}
.hero-title em { color: var(--brand); font-style: normal; }
.hero-sub {
  font-size: 16px; color: rgba(255,255,255,.55);
  line-height: 1.7; margin-bottom: 36px; max-width: 420px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary {
  padding: 14px 28px; background: var(--brand); color: #fff;
  border-radius: 10px; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: all .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-primary:hover {
  background: var(--brand-dark); transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245,73,39,.4);
}
.hero-visual { display: flex; flex-direction: column; gap: 12px; }

/* Mock cards on landing */
.mock-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 20px; backdrop-filter: blur(10px);
}
.mock-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mock-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand); display: flex; align-items: center;
  justify-content: center; font-size: 18px; flex-shrink: 0;
}
.mock-title { font-size: 14px; font-weight: 700; color: #fff; }
.mock-sub   { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 2px; }
.mock-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.mock-stat  { background: rgba(255,255,255,.05); border-radius: 10px; padding: 10px; text-align: center; }
.mock-stat-num { font-size: 22px; font-weight: 800; color: var(--brand); }
.mock-stat-lbl { font-size: 10px; color: rgba(255,255,255,.4); margin-top: 2px; }
.mock-bar-wrap { margin-top: 12px; }
.mock-bar-label {
  display: flex; justify-content: space-between;
  font-size: 11px; color: rgba(255,255,255,.4); margin-bottom: 6px;
}
.mock-bar-track { height: 6px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; }
.mock-bar-fill  { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #F76B4F); }
.mock-scan { display: flex; align-items: center; gap: 12px; }
.mock-qr {
  width: 60px; height: 60px; background: #fff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; flex-shrink: 0;
}
.mock-result-name { font-size: 14px; font-weight: 700; color: #fff; }
.mock-result-meta { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 2px; }
.mock-result-badge {
  display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 99px;
  background: rgba(245,73,39,.2); color: #F76B4F; border: 1px solid rgba(245,73,39,.3);
}

/* Features section */
.features { padding: 100px 32px; background: var(--g50); }
.section-label {
  font-size: 12px; font-weight: 700; color: var(--brand);
  letter-spacing: .1em; text-transform: uppercase;
  text-align: center; margin-bottom: 12px;
}
.section-title-lg {
  font-size: clamp(26px, 3vw, 36px); font-weight: 800;
  text-align: center; color: var(--g800); margin-bottom: 12px;
}
.section-sub {
  font-size: 15px; color: var(--g400); text-align: center;
  max-width: 520px; margin: 0 auto 56px; line-height: 1.7;
}
.feat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 20px; max-width: 1100px; margin: 0 auto;
}
.feat-card {
  background: #fff; border: 1px solid var(--g200);
  border-radius: 18px; padding: 28px; transition: all .2s;
}
.feat-card:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 32px rgba(245,73,39,.1);
  transform: translateY(-3px);
}
.feat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--brand-light); display: flex;
  align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.feat-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--g800); }
.feat-desc  { font-size: 13px; color: var(--g400); line-height: 1.7; }

/* How it works */
.how { padding: 100px 32px; background: #fff; }
.how-inner { max-width: 900px; margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 0; }
.step { text-align: center; padding: 28px 20px; position: relative; }
.step:not(:last-child)::after {
  content: '→'; position: absolute; right: -12px; top: 50%;
  transform: translateY(-50%); font-size: 20px; color: var(--g200);
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.step-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.step-desc  { font-size: 12px; color: var(--g400); line-height: 1.6; }

/* CTA Banner */
.cta-banner {
  margin: 0 32px 80px; border-radius: 24px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  padding: 60px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 250px; height: 250px; border-radius: 50%;
  background: rgba(255,255,255,.08); pointer-events: none;
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -40px; left: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,.05); pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(22px, 3vw, 32px); font-weight: 800;
  color: #fff; margin-bottom: 10px; position: relative;
}
.cta-banner p  { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 28px; position: relative; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: #fff; color: var(--brand);
  border-radius: 10px; font-size: 15px; font-weight: 800;
  text-decoration: none; transition: all .2s; position: relative;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }

/* Footer */
footer {
  border-top: 1px solid var(--g200); padding: 24px 32px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--g400); flex-wrap: wrap; gap: 8px;
}
footer strong { color: var(--g700); }

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .page-landing .hero { padding: 90px 20px 50px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .features, .how { padding: 70px 20px; }
  .step:not(:last-child)::after { display: none; }
  .cta-banner { margin: 0 16px 60px; padding: 40px 24px; }
  footer { padding: 20px; justify-content: center; text-align: center; }
}
