:root {
  --bg: #f5f7fb;
  --bg-2: #eef5ff;
  --ink: #0b1020;
  --muted: #55607a;
  --line: #d7e2f3;
  --brand: #2f7bff;
  --brand-2: #19c2ff;
  --card: #ffffff;
  --shadow: 0 20px 50px rgba(7, 20, 48, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 800px at 20% -10%, #dceaff 0%, #f5f7fb 45%, #ffffff 100%),
              radial-gradient(900px 600px at 90% 0%, #e8fbff 0%, #f5f7fb 40%, #ffffff 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(47, 123, 255, 0.06) 1px, transparent 1px),
                    linear-gradient(180deg, rgba(47, 123, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

main, header, footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 56px 0 80px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0 10px;
  font-family: "Space Grotesk", sans-serif;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-badge {
  width: 12px;
  height: 28px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(47, 123, 255, 0.12);
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

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

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  padding: 36px 0 24px;
}

.hero.solo {
  grid-template-columns: 1fr;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.15;
  margin: 0 0 22px;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 24px;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(47, 123, 255, 0.18);
}

.hero-card h3 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0 0 12px;
}

.hero-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.tagline {
  font-size: 20px;
  font-weight: 700;
  color: #1d2a4d;
  display: inline-block;
  background: linear-gradient(90deg, rgba(47, 123, 255, 0.15), rgba(25, 194, 255, 0.12));
  padding: 10px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section {
  margin-top: 42px;
}

.section h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  margin: 0 0 16px;
}

.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid rgba(47, 123, 255, 0.15);
  box-shadow: 0 14px 30px rgba(16, 33, 64, 0.08);
}

.card h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 0;
}

.badge {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(47, 123, 255, 0.12);
  color: #1a3d8f;
  font-weight: 600;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 24px rgba(47, 123, 255, 0.3);
}

.btn.secondary {
  background: #ffffff;
  color: #1a3d8f;
  border: 1px solid rgba(47, 123, 255, 0.3);
  box-shadow: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.step {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(25, 194, 255, 0.2);
}

.step strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
}

.inline-link {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.footer {
  margin-top: 80px;
  padding: 36px 0 60px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card, .hero-card, .step {
    animation: floatIn 0.6s ease both;
  }
  .card { animation-delay: 0.05s; }
  .step { animation-delay: 0.08s; }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
