:root {
  --bg: #f6f8f6;
  --surface: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --primary: #07c160;
  --primary-dark: #06ad56;
  --accent: #fa9d3b;
  --text: #111827;
  --text-secondary: #667085;
  --text-muted: #98a2b3;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
  --radius: 16px;
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 248, 246, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 18px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #34d399);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(7, 193, 96, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s;
}

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

.nav-cta {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff !important;
  font-weight: 500;
}

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

/* Hero */
.hero {
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(7, 193, 96, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(7, 193, 96, 0.1);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--primary);
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(7, 193, 96, 0.28);
}

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

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: rgba(7, 193, 96, 0.35);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-meta strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 2px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 420px;
}

.visual-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visual-main {
  inset: 0 40px 40px 0;
  padding: 24px;
}

.visual-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(250, 157, 59, 0.14);
  color: #c26b12;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.visual-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.visual-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f9fafb;
  font-size: 13px;
}

.flow-num {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.visual-float {
  right: 0;
  bottom: 0;
  width: 200px;
  padding: 16px;
}

.visual-float .mini-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.progress-bar {
  height: 6px;
  border-radius: 999px;
  background: #eef2f6;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #34d399);
}

.visual-top {
  top: 24px;
  right: 0;
  width: 160px;
  padding: 14px;
  text-align: center;
}

.qr-placeholder {
  width: 88px;
  height: 88px;
  margin: 0 auto 8px;
  border-radius: 10px;
  background:
    linear-gradient(45deg, #e5e7eb 25%, transparent 25%),
    linear-gradient(-45deg, #e5e7eb 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e5e7eb 75%),
    linear-gradient(-45deg, transparent 75%, #e5e7eb 75%);
  background-size: 12px 12px;
  background-position: 0 0, 0 6px, 6px -6px, -6px 0;
  border: 1px solid var(--line);
}

/* Sections */
section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-icon.green { background: rgba(7, 193, 96, 0.12); }
.feature-icon.orange { background: rgba(250, 157, 59, 0.14); }
.feature-icon.blue { background: rgba(59, 130, 246, 0.12); }
.feature-icon.purple { background: rgba(139, 92, 246, 0.12); }
.feature-icon.teal { background: rgba(20, 184, 166, 0.12); }
.feature-icon.rose { background: rgba(244, 63, 94, 0.12); }

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

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Platform */
.platform {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.platform-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.platform-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(7, 193, 96, 0.1), transparent 70%);
}

.platform-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.platform-badge.live {
  background: rgba(7, 193, 96, 0.12);
  color: var(--primary-dark);
}

.platform-badge.soon {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.platform-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.platform-card p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 15px;
}

.platform-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.platform-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* Workflow */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.workflow-step {
  text-align: center;
  padding: 24px 16px;
}

.workflow-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--primary);
}

.workflow-step h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.workflow-step p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

/* CTA */
.cta-band {
  padding: 56px 0;
}

.cta-inner {
  background: linear-gradient(135deg, #06ad56, #07c160 45%, #34d399);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 48px rgba(7, 193, 96, 0.25);
}

.cta-inner h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.cta-inner p {
  margin: 0 0 24px;
  opacity: 0.92;
  font-size: 16px;
}

.cta-inner .btn {
  background: #fff;
  color: var(--primary-dark);
}

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 280px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 14px;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.ai-notice {
  text-align: center;
  padding: 12px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg);
}

/* Legal pages */
.legal-page {
  padding: 48px 0 80px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 48px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal-card h2 {
  margin: 28px 0 12px;
  font-size: 18px;
}

.legal-card p,
.legal-card li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.legal-card ul,
.legal-card ol {
  padding-left: 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--primary);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .platform-grid,
  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 360px;
    margin-top: 20px;
  }

  .visual-main {
    inset: 0 20px 60px 0;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    padding: 32px 24px;
  }

  .legal-card {
    padding: 28px 24px;
  }
}
