:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --text: #171a20;
  --muted: #69707d;
  --line: #dfe3dc;
  --panel: #ffffff;
  --ink: #0b1f2a;
  --accent: #0c7a6b;
  --accent-strong: #084f49;
  --warn: #a64b2a;
  --soft: #e9f1ee;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(246, 247, 244, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--text); }
.nav-primary { color: var(--accent) !important; font-weight: 700; }

.messages { max-width: 1120px; margin: 18px auto 0; padding: 0 20px; }
.message { padding: 12px 14px; border: 1px solid var(--line); background: white; border-radius: 8px; }

.hero {
  min-height: clamp(560px, 72vh, 680px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(38px, 6vw, 72px) clamp(20px, 6vw, 84px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 8vw, 92px); line-height: 1; margin-bottom: 18px; letter-spacing: 0; }
h2 { font-size: 26px; line-height: 1.2; }
h3 { font-size: 18px; }
.lead { max-width: 720px; font-size: 20px; color: #333942; }

.hero-actions, .download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}
.button.primary { background: var(--accent); color: white; border-color: var(--accent); }
.button.primary:hover { background: var(--accent-strong); }
.button.secondary { background: white; color: var(--text); }

.hero-panel, .card, .panel, .form-card, .risk-document, .contact-box, .download-row, .locked {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.hero-panel { padding: 22px; box-shadow: 0 18px 45px rgba(12, 31, 42, 0.08); }
.status-row { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.status-row:last-child { border-bottom: 0; }
.status-row span { color: var(--muted); }
.status-row strong { text-align: right; }

.band, .notice-band, .page-title, .form-shell, .auth-shell, .dashboard-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 20px;
}
.band.narrow { max-width: 860px; }
.section-head { max-width: 720px; margin-bottom: 24px; }
.section-head p, .page-title p { color: var(--muted); }
.page-title { padding-bottom: 28px; }
.page-title h1 { font-size: clamp(36px, 6vw, 70px); }

.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 22px; min-height: 160px; }
.card p { color: var(--muted); margin-bottom: 0; }

.notice-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  max-width: none;
  padding-left: clamp(20px, 6vw, 84px);
  padding-right: clamp(20px, 6vw, 84px);
}
.risk-list { display: flex; flex-wrap: wrap; gap: 10px; }
.risk-list span, .pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
}

.risk-document, .form-card, .locked { padding: 26px; }
.risk-document p { color: #3e454d; }

.form-shell, .auth-shell { display: flex; justify-content: center; }
.form-card { width: min(100%, 760px); }
.form-card.compact { width: min(100%, 440px); }
.field { display: grid; gap: 8px; margin-bottom: 16px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  background: #fbfcfa;
}
.field input[type="checkbox"] { width: auto; }
.field em { color: var(--warn); font-style: normal; font-size: 13px; }
.form-note { margin: 16px 0 0; color: var(--muted); }
.form-note a { color: var(--accent); font-weight: 800; }

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.panel { padding: 22px; }
.list-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.list-row span { color: var(--muted); display: block; }
.empty { color: var(--muted); }
code { background: #eef2ef; padding: 2px 6px; border-radius: 6px; }

.contact-box { display: grid; gap: 14px; margin-bottom: 20px; padding: 20px; }
.contact-box div { display: flex; justify-content: space-between; gap: 18px; }
.contact-box span { color: var(--muted); }

.download-row { display: flex; justify-content: space-between; gap: 20px; padding: 20px; margin-bottom: 14px; }
.locked { text-align: center; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer p { max-width: 680px; margin-bottom: 0; }
.footer-contact { display: grid; gap: 4px; text-align: right; white-space: nowrap; }

@media (max-width: 820px) {
  .site-header, .footer { align-items: flex-start; flex-direction: column; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .grid.three, .grid.two, .dashboard-grid { grid-template-columns: 1fr; }
  .download-row, .status-row, .contact-box div { flex-direction: column; }
  .status-row strong, .footer-contact { text-align: left; }
  .nav { gap: 10px; }
}
/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: float 10s infinite alternate ease-in-out;
}
.orb-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-strong) 0%, transparent 70%);
}
.orb-2 {
    bottom: 20%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    animation-delay: -5s;
}
@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.eyebrow-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 100px;
    margin-bottom: 24px;
}
.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}
.text-gradient {
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.glass-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}
.glass-panel:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}
.panel-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
}
.window-controls { display: flex; gap: 6px; }
.window-controls span { width: 10px; height: 10px; border-radius: 50%; }
.window-controls span:nth-child(1) { background: #FF5F56; }
.window-controls span:nth-child(2) { background: #FFBD2E; }
.window-controls span:nth-child(3) { background: #27C93F; }
.panel-title {
    flex: 1; text-align: center; font-size: 12px; color: var(--muted); font-family: monospace; padding-right: 48px;
}
.panel-body { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.status-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px; border-radius: 12px; display: flex; align-items: center; gap: 20px; transition: all 0.3s ease;
}
.status-card:hover {
    background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); transform: translateX(5px);
}
.icon-wrapper {
    width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.05);
}
.icon-wrapper.blue { color: #3B82F6; background: rgba(59, 130, 246, 0.1); }
.icon-wrapper.purple { color: #8A2BE2; background: rgba(138, 43, 226, 0.1); }
.icon-wrapper.cyan { color: #00F0FF; background: rgba(0, 240, 255, 0.1); }
.status-info { display: flex; flex-direction: column; gap: 4px; }
.status-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.status-value { font-size: 16px; font-weight: 600; }
.highlight-green { color: #10B981; }

.primary-btn { background: var(--text) !important; color: var(--bg) !important; border: none !important; }
.primary-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15); }
.secondary-btn { background: var(--panel) !important; color: var(--text) !important; border: 1px solid var(--line) !important; backdrop-filter: blur(10px); }
.secondary-btn:hover { background: rgba(255, 255, 255, 0.08) !important; border-color: rgba(255, 255, 255, 0.2) !important; }
.button.small { padding: 8px 16px; min-height: auto; font-size: 14px; }
/* Section Padding */
.section-padding { padding: 80px 24px; }
.subtitle { color: var(--muted); margin-top: 12px; font-size: 18px; max-width: 600px; margin-inline: auto; }
.text-center { text-align: center; }

/* Enhanced Hero */
.enhanced-hero .hero-metrics { display: flex; gap: 24px; margin-top: 40px; color: var(--muted); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.enhanced-hero .metric .highlight { color: var(--accent); font-size: 24px; display: block; font-weight: 800; }
.enhanced-hero .metric-divider { width: 1px; background: var(--line); }
.premium-glow { box-shadow: 0 0 80px rgba(0, 240, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(0, 240, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); } }

/* Bento Grid */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.bento-box { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.bento-large { grid-column: span 2; }
.bento-box h3 { font-size: 24px; margin-bottom: 16px; margin-top: 24px; }
.bento-box p { color: var(--muted); line-height: 1.8; font-size: 16px; }
.bento-icon { width: 48px; height: 48px; margin-bottom: auto; }
.bento-icon.cyan { color: var(--accent); }
.bento-icon.purple { color: var(--accent-strong); }
.bento-icon.blue { color: #3B82F6; }
.bento-icon.red { color: #FF5F56; }
@media (max-width: 900px) { .bento-grid { grid-template-columns: 1fr; } .bento-large { grid-column: span 1; } }

/* Workflow */
.workflow-grid { display: flex; justify-content: space-between; align-items: stretch; gap: 16px; margin-top: 48px; position: relative; }
.workflow-step { flex: 1; padding: 40px; text-align: center; position: relative; z-index: 2; }
.workflow-line { width: 40px; height: 2px; background: var(--line); align-self: center; z-index: 1; }
.step-number { font-size: 48px; font-weight: 900; color: rgba(255,255,255,0.05); margin-bottom: 24px; line-height: 1; }
.workflow-step h4 { font-size: 20px; margin-bottom: 12px; }
.workflow-step p { color: var(--muted); font-size: 14px; }
@media (max-width: 768px) { .workflow-grid { flex-direction: column; align-items: center; } .workflow-line { width: 2px; height: 40px; } }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 48px; max-width: 900px; margin-inline: auto; }
.pricing-card { padding: 48px; position: relative; }
.pricing-badge { position: absolute; top: 0; right: 48px; transform: translateY(-50%); background: var(--text); color: var(--bg); font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 100px; }
.premium-pricing { background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%); border-color: rgba(255,255,255,0.15); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.pricing-card h3 { font-size: 28px; margin-bottom: 16px; }
.pricing-desc { color: var(--muted); margin-bottom: 32px; min-height: 48px; }
.pricing-features { list-style: none; margin-bottom: 40px; }
.pricing-features li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #E2E8F0; }
.pricing-features svg { color: var(--accent); width: 20px; height: 20px; flex-shrink: 0; }
.full-width { width: 100%; display: flex; }
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-container { max-width: 800px; margin: 48px auto 0; padding: 0 40px; }
.faq-item { padding: 32px 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-item h4 { font-size: 18px; margin-bottom: 16px; color: #fff; }
.faq-item p { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0; }
