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

:root {
  --bg: #0A0E1A;
  --bg2: #0F1422;
  --surface: #141A2C;
  --surface2: #1A2236;
  --border: rgba(64,128,255,0.2);
  --border-h: rgba(59,130,246,0.55);
  --text: #EFF3FF;
  --text-2: #8A9BCF;
  --text-3: #5A6A9F;
  --accent: #3B82F6;
  --accent-2: #60A5FA;
  --accent-3: #1D4ED8;
  --green: #22C55E;
  --glow: rgba(59,130,246,0.28);
  --card-shadow: 0 2px 20px rgba(0,0,0,0.5);
  --card-shadow-h: 0 8px 36px rgba(59,130,246,0.25);
}

[data-theme="light"] {
  --bg: #F0F4FF;
  --bg2: #E8EEFA;
  --surface: #FFFFFF;
  --surface2: #F8FAFF;
  --border: rgba(59,130,246,0.18);
  --border-h: rgba(59,130,246,0.45);
  --text: #0F172A;
  --text-2: #475569;
  --text-3: #94A3B8;
  --accent: #2563EB;
  --accent-2: #3B82F6;
  --accent-3: #1D4ED8;
  --green: #16A34A;
  --glow: rgba(59,130,246,0.12);
  --card-shadow: 0 2px 16px rgba(0,0,0,0.07);
  --card-shadow-h: 0 8px 32px rgba(59,130,246,0.14);
}

html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
  padding-top: 64px;
}

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

#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

.bg-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridShift 30s linear infinite;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

[data-theme="light"] .bg-wrap::before {
  background-image:
    linear-gradient(rgba(100,116,139,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,116,139,0.06) 1px, transparent 1px);
}

@keyframes gridShift {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
  opacity: 0.1;
  mix-blend-mode: screen;
}

[data-theme="light"] .blob { display: none; }
.blob-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(59,130,246,0.9), transparent 70%); top: -10%; left: -10%; animation: d1 28s ease-in-out infinite; }
.blob-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,0.85), transparent 70%); top: 20%; right: -15%; animation: d2 32s ease-in-out infinite; }
.blob-3 { width: 450px; height: 450px; background: radial-gradient(circle, rgba(96,165,250,0.7), transparent 70%); bottom: 5%; left: -8%; animation: d3 24s ease-in-out infinite; }

@keyframes d1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(80px,60px) scale(1.2); }
}

@keyframes d2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-60px,80px) scale(1.15); }
}

@keyframes d3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px,-50px) scale(1.1); }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,14,26,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  transition: all 0.3s;
}

[data-theme="light"] header { background: rgba(240,244,255,0.85); }
header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.2); border-bottom-color: var(--border-h); }

.header-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-name { font-size: 17px; font-weight: 800; letter-spacing: -0.4px; }

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-link:hover { color: var(--text); background: rgba(59,130,246,0.08); }
.nav-link.active { color: #fff; background: var(--accent); }
[data-theme="light"] .nav-link.active { color: #fff; }

.header-right { display: flex; align-items: center; gap: 10px; }

.theme-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(59,130,246,0.1);
  color: var(--text);
  cursor: pointer;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.theme-btn:hover { background: rgba(59,130,246,0.2); transform: scale(1.05); }

.menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.menu-btn:hover { border-color: var(--border-h); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--bg2);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 16px;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
}

.mobile-nav.open { display: flex; opacity: 1; transform: translateY(0); }
.mobile-nav .nav-link { font-size: 15px; padding: 10px 12px; }

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  padding: 40px 20px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

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

.page > * {
  width: 100%;
  animation: fadeUp 0.5s ease forwards;
  opacity: 0;
}
.page > :nth-child(1) { animation-delay: 0.05s; }
.page > :nth-child(2) { animation-delay: 0.10s; }
.page > :nth-child(3) { animation-delay: 0.15s; }
.page > :nth-child(4) { animation-delay: 0.20s; }
.page > :nth-child(5) { animation-delay: 0.25s; }
.page > :nth-child(6) { animation-delay: 0.30s; }
.page > :nth-child(7) { animation-delay: 0.35s; }

.hero {
  text-align: center;
  padding: 24px 0 8px;
  max-width: 560px;
  margin: 0 auto;
}

.hero-logo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  box-shadow: 0 8px 32px rgba(59,130,246,0.3);
}

.hero-logo img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 16px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(32px, 8vw, 48px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: 14px;
  color: var(--text);
}

.hero h1 .hl {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 460px;
  margin: 0 auto 24px;
}

.hero-pills {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.pill {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--card-shadow);
}

.pill-icon { font-size: 14px; }

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.cta-primary,
.cta-secondary {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 16px;
  font-family: Inter, system-ui, sans-serif;
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
}

.cta-primary {
  background: linear-gradient(135deg, #2563EB, #3B82F6);
  color: #fff;
  border: none;
  overflow: hidden;
}

.cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.cta-primary:hover { transform: translateY(-2px); }
.cta-primary:hover::before { opacity: 1; }

.cta-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--card-shadow);
}

.cta-secondary:hover {
  border-color: var(--border-h);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-h);
}

.cta-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.cta-icon.blue { background: rgba(255,255,255,0.18); }
.cta-icon.outline { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); }

.cta-text { flex: 1; min-width: 0; text-align: left; }
.cta-title { font-size: 15px; font-weight: 700; line-height: 1.2; }
.cta-sub { font-size: 12px; opacity: 0.7; font-weight: 500; margin-top: 3px; }
.cta-primary .cta-sub { opacity: 0.75; }
.cta-arrow { flex-shrink: 0; opacity: 0.5; }

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 4px 0 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-label::before,
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  padding: 22px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover { border-color: var(--border-h); box-shadow: var(--card-shadow-h); }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
  text-align: center;
}

.card-title.split {
  justify-content: space-between;
  flex-wrap: nowrap;
  text-align: left;
}

.card-title-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.2);
}

.card-subtitle {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  margin: -4px 0 16px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.steps,
.rich-list,
.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.step,
.rich-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.step:hover,
.rich-item:hover { border-color: var(--border-h); transform: translateX(2px); }

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 3px 10px rgba(59,130,246,0.35);
  margin-top: 1px;
}

.step-body,
.rich-copy { flex: 1; min-width: 0; }

.step-title,
.rich-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.step-desc,
.rich-copy p {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.6;
}

.rich-copy p + p { margin-top: 6px; }

.note {
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 14px;
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.note strong { color: var(--text); }

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.mini-card {
  padding: 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.mini-card-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.mini-card p {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.55;
}

.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.faq-item:hover { border-color: var(--border-h); transform: translateX(2px); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(59,130,246,0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.faq-item[open] summary::after { content: '−'; }

.faq-answer {
  padding: 0 16px 16px;
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.65;
}

.faq-answer ul {
  margin: 10px 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.video-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 8px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.22);
  border-radius: 20px;
  color: #3B82F6;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.video-btn:hover {
  background: rgba(59,130,246,0.14);
  border-color: rgba(59,130,246,0.45);
  transform: translateY(-1px);
}

.video-btn-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #3B82F6;
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
}

.link-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.link-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
  box-shadow: var(--card-shadow);
}

.link-row:hover {
  border-color: var(--border-h);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-h);
}

.link-row-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(96,165,250,0.1));
  border: 1px solid rgba(59,130,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.link-row-body { flex: 1; min-width: 0; }
.link-row-title { font-size: 15px; font-weight: 700; }
.link-row-sub { font-size: 12px; color: var(--text-2); margin-top: 2px; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 560px;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 8px;
  margin-left: auto;
  margin-right: auto;
}

footer a { color: var(--text-3); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--text); }

@media (max-width: 920px) {
  header { padding: 0 16px; }
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .page { padding: 32px 18px 88px; }
  .card-title.split {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 680px) {
  body { padding-top: 64px; }
  .page { padding: 28px 16px 80px; gap: 14px; }
  .hero { padding-top: 12px; }
  .hero h1 { font-size: 30px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 14px; }
  .card { padding: 18px 16px; }
  .card-title.split {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .mini-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 560px) {
  .page { padding: 24px 14px 72px; }
  .hero-logo { width: 68px; height: 68px; margin-bottom: 16px; }
  .hero-badge { margin-bottom: 14px; }
  .hero-pills { gap: 6px; margin-bottom: 18px; }
  .pill { padding: 5px 10px; font-size: 12px; }
  .cta-primary,
  .cta-secondary,
  .link-row { padding: 14px 16px; gap: 12px; }
  .cta-icon,
  .link-row-icon { width: 40px; height: 40px; }
  .card-title { margin-bottom: 14px; }
  .step,
  .rich-item { gap: 12px; padding: 12px 13px; }
  .step-num { width: 26px; height: 26px; font-size: 12px; }
  .faq-item summary { padding: 14px; font-size: 13.5px; }
  .faq-answer { padding: 0 14px 14px; }
}

@media (max-width: 420px) {
  .logo-name { font-size: 15px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 13px; }
  .hero-badge { font-size: 11px; padding: 5px 12px; }
  .section-label { font-size: 10px; }
  .cta-title,
  .link-row-title { font-size: 14px; }
  .cta-sub,
  .link-row-sub,
  .step-desc,
  .rich-copy p,
  .faq-answer,
  .mini-card p { font-size: 12px; }
}
