:root {
  --blue: #1e88e5;
  --blue-dark: #1565c0;
  --blue-light: #e3f2fd;
  --text: #1f2d3d;
  --text-muted: #5c6b7a;
  --bg: #f4f7fb;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(30, 136, 229, 0.12);
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 136, 229, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blue-dark);
}

.brand-icon {
  font-size: 1.4rem;
}

.nav {
  display: none;
  gap: 24px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
}

.nav a:hover {
  color: var(--blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--blue);
  color: #fff !important;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--blue-dark);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px 56px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
}

.hero-desc {
  margin: 0 0 24px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(30, 136, 229, 0.35);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  padding: 14px;
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.hero-stats strong {
  display: block;
  font-size: 0.95rem;
  color: var(--blue-dark);
  margin-bottom: 4px;
}

.hero-stats span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Phone mock */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mock {
  width: min(280px, 90vw);
  padding: 12px;
  background: linear-gradient(145deg, #263238, #37474f);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.phone-screen {
  background: #fafafa;
  border-radius: 22px;
  padding: 20px 16px;
  min-height: 320px;
}

.mock-bar {
  height: 10px;
  width: 40%;
  background: #e0e0e0;
  border-radius: 6px;
  margin-bottom: 20px;
}

.mock-card {
  height: 56px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mock-card.short {
  height: 40px;
}

.mock-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 20px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Sections */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  color: var(--text);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

/* Steps */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 12px;
}

.step-body h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.step-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.flow-tip {
  margin-top: 24px;
  padding: 16px 20px;
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  border-radius: 0 12px 12px 0;
  font-size: 0.9rem;
  color: #5d4037;
}

/* Features */
.features {
  background: linear-gradient(180deg, transparent, rgba(30, 136, 229, 0.04));
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  padding: 24px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(30, 136, 229, 0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Follow / QR */
.follow-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 32px;
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow);
  align-items: center;
}

.follow-text h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.follow-lead {
  margin: 0 0 20px;
  color: var(--text-muted);
}

.follow-checklist {
  margin: 0 0 20px;
  padding-left: 1.2em;
  color: var(--text);
}

.follow-checklist li {
  margin-bottom: 8px;
}

.follow-mp-name {
  margin: 0;
  font-size: 0.95rem;
}

.qr-wrap {
  text-align: center;
}

.qr-img {
  display: block;
  margin: 0 auto;
  width: 240px;
  height: 240px;
  object-fit: contain;
  border-radius: 12px;
  border: 4px solid var(--blue-light);
  background: #fff;
}

.qr-caption {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mini-panel {
  margin-top: 32px;
  padding: 28px;
  background: var(--blue-light);
  border-radius: var(--radius);
  text-align: center;
}

.mini-panel h3 {
  margin: 0 0 8px;
}

.mini-panel > p {
  margin: 0 0 20px;
  color: var(--text-muted);
}

.mini-placeholder {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 40px;
  background: #fff;
  border-radius: 12px;
  border: 2px dashed var(--blue);
}

.mini-placeholder span {
  font-weight: 600;
  color: var(--blue-dark);
}

.mini-placeholder small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 32px 20px 48px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-sub {
  margin-top: 8px;
  font-size: 0.8rem;
  opacity: 0.85;
}

.br-mobile {
  display: none;
}

/* PC layout */
@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    padding-top: 64px;
    padding-bottom: 80px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .follow-panel {
    grid-template-columns: 1fr auto;
    padding: 40px 48px;
  }

  .follow-text {
    padding-right: 16px;
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature-card:nth-child(1),
  .feature-card:nth-child(2) {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .br-mobile {
    display: block;
  }

  .site-header {
    padding: 0 14px;
  }

  .nav-cta {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}
