﻿:root {
  --bg: #05090f;
  --bg-1: #081320;
  --bg-2: #0c1a2b;
  --surface: rgba(16, 32, 52, .55);
  --surface-solid: #0e1d30;
  --border: rgba(120, 170, 220, .14);
  --border-bright: rgba(0, 212, 255, .38);
  --text: #e9f3fb;
  --text-2: #a9bfd6;
  --muted: #7089a3;
  --primary: #00d4ff;
  --primary-2: #2f8dff;
  --accent: #8b5cff;
  --mint: #00f0b5;
  --maxw: 1200px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Fira Code", Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

.dev-notice {
  background: rgba(255, 190, 80, .1);
  color: #ffcf87;
  border-bottom: 1px solid rgba(255, 190, 80, .28);
  font-size: 13px; text-align: center; padding: 9px 20px;
  position: relative; z-index: 60;
}
.placeholder {
  background: rgba(255, 70, 70, .16);
  color: #ff8f87;
  border-bottom: 1px dashed rgba(255, 120, 110, .6);
  padding: 0 4px; border-radius: 3px;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 9, 15, .78);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; }
.brand-mark {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #041018; font-size: 12px; letter-spacing: .5px;
  padding: 7px 10px; border-radius: 8px; font-weight: 800;
  box-shadow: 0 0 18px rgba(0, 212, 255, .4); font-family: var(--mono);
}
.brand-name { font-size: 17px; letter-spacing: .2px; }
.site-nav { display: flex; gap: 30px; font-size: 14px; color: var(--text-2); }
.site-nav a { position: relative; padding: 6px 0; transition: color .2s; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--primary); transition: width .25s; box-shadow: 0 0 8px var(--primary);
}
.site-nav a:hover { color: var(--primary); }
.site-nav a:hover::after { width: 100%; }
.lang-switch { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.lang-btn {
  background: transparent; border: 0; cursor: pointer; font-size: 12px; font-weight: 700;
  padding: 6px 11px; color: var(--muted); font-family: var(--mono); transition: .2s;
}
.lang-btn.active { background: var(--primary); color: #041018; box-shadow: 0 0 14px rgba(0, 212, 255, .35); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 26px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 62% 40%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 75% 70% at 62% 40%, #000 20%, transparent 80%);
}
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 680px; height: 680px; right: -120px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 130, 255, .22), rgba(139, 92, 255, .08) 45%, transparent 70%);
  filter: blur(20px);
}
.hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 520px; height: 520px; left: -180px; bottom: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 181, .12), transparent 65%);
  filter: blur(30px);
}
.hero-inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; padding-top: 92px; padding-bottom: 104px; }
.status-line { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: var(--mint); margin-bottom: 22px; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.eyebrow { color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: 2px; margin-bottom: 16px; font-family: var(--mono); }
.hero h1 {
  font-size: clamp(34px, 4.8vw, 56px); line-height: 1.16; letter-spacing: -1px; font-weight: 800; margin-bottom: 22px;
  background: linear-gradient(120deg, #ffffff 10%, #b9dcff 55%, var(--primary) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lead { font-size: 17px; color: var(--text-2); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 26px; border-radius: 9px; font-size: 15px; font-weight: 700; transition: .2s; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #041018;
  box-shadow: 0 6px 24px rgba(0, 212, 255, .3), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0, 212, 255, .45); }
.btn-ghost { border: 1px solid var(--border-bright); color: var(--text); background: rgba(0, 212, 255, .04); }
.btn-ghost:hover { background: rgba(0, 212, 255, .1); border-color: var(--primary); }
.hero-stats { display: flex; gap: 36px; margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--border); }
.stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1.2; font-family: var(--mono); text-shadow: 0 0 18px rgba(0, 212, 255, .45); }
.stat span { font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; min-height: 320px; }
.hero-visual::before {
  content: ""; position: absolute; width: 300px; height: 300px; top: 0; right: 10px; border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, .18); box-shadow: 0 0 60px rgba(0, 212, 255, .08) inset;
}
.hero-visual::after {
  content: ""; position: absolute; width: 220px; height: 220px; top: 40px; right: 50px; border-radius: 50%;
  border: 1px dashed rgba(139, 92, 255, .28); animation: spin 28s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.viz-card {
  background: linear-gradient(145deg, rgba(20, 42, 68, .78), rgba(8, 18, 32, .9));
  border: 1px solid rgba(0, 212, 255, .22); border-radius: var(--radius, 14px);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06), 0 0 40px rgba(0, 212, 255, .08);
  backdrop-filter: blur(18px); padding: 24px;
}
.viz-main { position: absolute; top: 26px; right: 0; width: 330px; max-width: 100%; z-index: 2; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.viz-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.viz-label { font-size: 12px; color: var(--muted); font-family: var(--mono); letter-spacing: .5px; }
.viz-tag { font-size: 10px; color: var(--mint); font-family: var(--mono); border: 1px solid rgba(0,240,181,.3); padding: 2px 7px; border-radius: 20px; }
.viz-value { font-size: 34px; font-weight: 800; letter-spacing: -1px; font-family: var(--mono); color: #fff; }
.viz-value.small { font-size: 23px; color: var(--mint); text-shadow: 0 0 14px rgba(0,240,181,.4); }
.viz-bars { display: flex; align-items: flex-end; gap: 9px; height: 116px; margin-top: 22px; }
.viz-bars i { flex: 1; background: linear-gradient(180deg, var(--primary), rgba(47, 141, 255, .15)); border-radius: 4px 4px 0 0; display: block; box-shadow: 0 0 12px rgba(0, 212, 255, .25); }
.viz-float { position: absolute; bottom: 18px; left: -14px; display: flex; align-items: center; gap: 12px; width: 240px; z-index: 3; animation: float 5s ease-in-out infinite reverse; }
.viz-float .viz-label { white-space: nowrap; }
.viz-dot { width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 240, 181, .1); border: 1px solid rgba(0,240,181,.3); position: relative; flex: none; }
.viz-dot::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); }

.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-1), var(--bg-2)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-heading { margin-bottom: 44px; }
.section-heading.center { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-heading h2 { font-size: clamp(27px, 3.4vw, 40px); line-height: 1.24; font-weight: 800; letter-spacing: -.5px; }
.section-sub { color: var(--muted); font-size: 16px; margin-top: 14px; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.about-body p { color: var(--text-2); font-size: 16px; margin-bottom: 18px; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: linear-gradient(160deg, rgba(16, 34, 56, .6), rgba(8, 18, 32, .75));
  border: 1px solid var(--border); border-radius: 14px; padding: 30px 24px;
  position: relative; overflow: hidden; transition: .25s;
}
.service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), transparent); opacity: 0; transition: .3s; }
.service-card:hover { transform: translateY(-6px); border-color: var(--border-bright); box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 30px rgba(0, 212, 255, .08); }
.service-card:hover::before { opacity: 1; }
.card-icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: rgba(0, 212, 255, .08); border: 1px solid rgba(0, 212, 255, .22);
  color: var(--primary); font-weight: 800; font-size: 18px; font-family: var(--mono);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
  box-shadow: 0 0 18px rgba(0, 212, 255, .1);
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--muted); }

.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 64px; }
.feature { display: grid; grid-template-columns: 58px 1fr; column-gap: 20px; }
.feature-num { grid-row: span 2; font-size: 28px; font-weight: 800; color: rgba(0, 212, 255, .28); font-family: var(--mono); }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; }
.contact-info { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 30px; backdrop-filter: blur(10px); }
.contact-row { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--border); align-items: start; }
.contact-row:last-child { border-bottom: 0; }
.contact-label { font-size: 14px; color: var(--muted); font-family: var(--mono); }
.contact-value { font-size: 15px; font-weight: 500; word-break: break-word; color: var(--text); }

.site-footer { background: #03070c; color: #a9bdd2; padding: 60px 0 32px; border-top: 1px solid var(--border); position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,212,255,.5), transparent); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 38px; border-bottom: 1px solid var(--border); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 14px; color: var(--muted); margin-top: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; font-size: 14px; align-items: flex-start; }
.footer-links a:hover { color: var(--primary); }
.legal { font-size: 12px; color: #5c728a; padding-top: 24px; }
.legal p { margin-bottom: 5px; }
.legal .placeholder { background: rgba(255,70,70,.14); color: #ff8f87; }
.legal-contact { color: #7f95ab; }
.legal-copy { margin-top: 14px; }

.policy-main { padding: 68px 0 96px; }
.policy-wrap { max-width: 820px; }
.policy-wrap h1 { font-size: 42px; font-weight: 800; margin-bottom: 10px; background: linear-gradient(120deg, #fff, var(--primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.policy-meta { color: var(--muted); font-size: 14px; margin-bottom: 32px; font-family: var(--mono); }
.policy-intro { font-size: 16px; color: var(--text-2); padding: 22px 26px; background: var(--surface); border-left: 3px solid var(--primary); border-radius: 0 8px 8px 0; margin-bottom: 36px; }
.policy-section { margin-bottom: 32px; }
.policy-section h2 { font-size: 21px; font-weight: 700; margin-bottom: 12px; color: #fff; }
.policy-section p { color: var(--text-2); font-size: 15px; margin-bottom: 10px; }
.policy-contact { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px 26px; }
.policy-contact p { margin-bottom: 6px; }
.policy-back { margin-top: 44px; }
.policy-back a { color: var(--primary); font-weight: 600; font-size: 15px; }

/* Public entry strip for OAuth brand verification */
.oauth-banner { background: linear-gradient(90deg, rgba(0, 212, 255, .10), rgba(139, 92, 255, .10)); border-bottom: 1px solid var(--border); padding: 10px 0; font-size: 13px; }
.oauth-banner-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.oauth-banner-name { font-weight: 700; color: var(--primary); font-family: var(--mono); letter-spacing: .5px; }
.oauth-banner-desc { color: var(--text-2); }
.oauth-banner-links { display: flex; flex-wrap: wrap; gap: 16px; margin-left: auto; }
.oauth-banner-links a { color: var(--text); border-bottom: 1px solid var(--border-bright); padding-bottom: 1px; }
.oauth-banner-links a:hover { color: var(--primary); }

.policy-list { margin: 6px 0 14px 22px; }
.policy-list li { color: var(--text-2); font-size: 15px; line-height: 1.7; margin-bottom: 8px; }
.policy-list li::marker { color: var(--primary); }
.policy-section a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(0, 212, 255, .45); }

@media (max-width: 900px) {
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: rgba(5,9,15,.98); flex-direction: column; gap: 0; padding: 8px 24px 18px; border-bottom: 1px solid var(--border); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 72px; }
  .hero-visual { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-links { gap: 14px; }
}
