/* shuilink.ai — Aurora house style (see shuilink-site/main/aurora.css) with the R8 ShuiLink AI mark */
:root {
  --bg: #f5f4f8; --bg2: #eeecf6; --surface: #fff;
  --ink: #121217; --ink2: #474756; --mute: #7a7a8c;
  --line: rgba(18,18,23,.08); --line2: rgba(18,18,23,.14);
  --accent: #5b4bf5; --lav: #ebe8fd;
  --grad: linear-gradient(120deg,#6d5cff 0%,#9b87ff 45%,#e39bf2 100%);
  --glass: rgba(255,255,255,.6); --glass-line: rgba(255,255,255,.8);
  --shadow: 0 1px 2px rgba(18,18,23,.04), 0 12px 32px -12px rgba(60,40,160,.18);
  --shadow-lg: 0 30px 80px -30px rgba(60,40,160,.35);
  --head: "Inter Tight","Inter",-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  --body: "Inter",-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  --wrap: 1200px; --gut: max(24px, calc((100vw - var(--wrap)) / 2));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1,h2,h3 { font-family: var(--head); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
::selection { background: #d9d3fb; }
img { display: block; }

/* language toggle */
html[data-lang="en"] .zh, html[data-lang="en"] .es,
html[data-lang="zh"] .en, html[data-lang="zh"] .es,
html[data-lang="es"] .en, html[data-lang="es"] .zh { display: none !important; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px var(--gut);
  background: rgba(245,244,248,.72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 19px/1 var(--head); letter-spacing: -.02em; }
.brand b { font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand img { border-radius: 9px; }
.brand.small { font-size: 15px; } .brand.small img { border-radius: 6px; }
.links { display: flex; gap: 6px; margin-left: 12px; }
.links a { text-decoration: none; color: var(--ink2); font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.links a:hover { background: rgba(18,18,23,.05); color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang-seg { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line2); }
.lang-seg button { border: 0; background: transparent; cursor: pointer; min-height: 32px; min-width: 40px; padding: 0 10px; border-radius: 999px;
  font: 600 13px var(--body); color: var(--ink2); white-space: nowrap; }
.lang-seg button:hover { color: var(--ink); background: rgba(18,18,23,.05); }
.lang-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang-seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  font: 600 15px/1 var(--body); text-decoration: none; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(18,18,23,.6); }
.btn-ink:hover { background: #26262e; }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: rgba(18,18,23,.05); }
.btn-glass { background: var(--glass); border: 1px solid var(--glass-line); color: var(--ink); box-shadow: var(--shadow); backdrop-filter: blur(12px); }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 88px var(--gut) 96px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(155,135,255,.28), rgba(227,155,242,.12) 55%, transparent 75%); pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink2);
  padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; font-weight: 600; margin: 22px 0 22px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-lang="zh"] .hero h1 { line-height: 1.12; letter-spacing: -.01em; }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink2); max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cta.center { justify-content: center; }

.hero-art { position: relative; height: 520px; }
.glow { position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; transform: translate(-50%,-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(109,92,255,.35), rgba(227,155,242,.18) 60%, transparent 80%); filter: blur(10px); }
.hero-mark { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; transform: translate(-50%,-50%);
  border-radius: 68px; box-shadow: 0 40px 90px -30px rgba(18,18,23,.55), 0 12px 30px -12px rgba(60,40,160,.35); }
.float { position: absolute; width: 250px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.78);
  border: 1px solid var(--glass-line); box-shadow: var(--shadow-lg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-size: 14px; animation: bob 6s ease-in-out infinite; }
.float p { color: var(--ink); line-height: 1.45; }
.f-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.pill { width: 8px; height: 8px; border-radius: 50%; }
.pill-green { background: #22c55e; } .pill-violet { background: var(--accent); } .pill-amber { background: #f59e0b; }
.f1 { left: 0; top: 20px; } .f2 { right: 0; top: 330px; animation-delay: -2s; } .f3 { left: 10px; bottom: 6px; animation-delay: -4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } html { scroll-behavior: auto; } .btn:hover { transform: none; } }

/* sections */
.sec { padding: 96px var(--gut); }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.kicker { font-size: 14px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.kicker.light { color: #b9adff; }
.sec h2, .closing h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; margin: 18px 0 10px; }
.card p { color: var(--ink2); font-size: 15px; }
.ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--lav); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.step { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.step .num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 15px var(--head); }
.step h3 { font-size: 20px; margin: 18px 0 10px; }
.step p { color: var(--ink2); font-size: 15px; }

/* dark block */
.dark { padding: 0 var(--gut); }
.dark-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 72px; border-radius: 32px;
  background: radial-gradient(120% 140% at 0% 0%, #2a2a31 0%, #121217 55%, #0a0a0c 100%); color: #e9e9ee; position: relative; overflow: hidden; }
.dark-inner::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(109,92,255,.35), transparent 70%); pointer-events: none; }
.dark h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; margin-bottom: 20px; }
.dark-copy p { color: #b6b6c2; font-size: 17px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.facts li { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); color: #b6b6c2; font-size: 15px; }
.facts b { color: #fff; font: 600 16px var(--head); }

/* closing */
.closing { text-align: center; padding: 110px var(--gut) 100px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.closing img { border-radius: 17px; box-shadow: 0 20px 40px -18px rgba(18,18,23,.5); margin-bottom: 6px; }
.closing p { color: var(--ink2); font-size: 18px; }

.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 28px var(--gut) 40px; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--ink); }

/* responsive */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-art { height: 460px; max-width: 560px; width: 100%; margin: 0 auto; }
  .dark-inner { grid-template-columns: 1fr; padding: 48px; gap: 32px; }
}
@media (max-width: 760px) {
  .links, .hide-sm { display: none; }
  .nav .brand > span { display: none; }
  .nav { gap: 12px; padding: 10px 16px; }
  .nav .btn-ink { padding: 0 14px; font-size: 13px; min-height: 38px; }
  .lang-seg button { min-width: 34px; padding: 0 7px; font-size: 12px; }
  .hero { padding: 40px 20px 64px; gap: 28px; }
  .lead { font-size: 17px; }
  .hero-art { height: 430px; }
  .hero-mark { width: 200px; height: 200px; border-radius: 46px; }
  .glow { width: 300px; height: 300px; }
  .float { width: 210px; font-size: 13px; padding: 12px 14px; }
  .f2 { top: 268px; } .f3 { left: 6px; bottom: 0; }
  .sec { padding: 64px 20px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .dark { padding: 0 12px; }
  .dark-inner { padding: 36px 24px; border-radius: 26px; }
  .closing { padding: 72px 20px; }
  .foot { padding: 24px 20px 36px; }
}
