﻿:root {
  color-scheme: light;
  --navy: #06233f;
  --blue: #0a70bf;
  --sky: #29a9e8;
  --aqua: #62dce9;
  --foam: #f7fcff;
  --ice: #eef8ff;
  --line: rgba(10, 112, 191, 0.14);
  --text: #0b2742;
  --muted: #5d7a92;
  --white: #ffffff;
  --shadow: 0 30px 80px rgba(5, 55, 103, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(98, 220, 233, .36), transparent 31%),
    radial-gradient(circle at 84% 16%, rgba(41, 169, 232, .26), transparent 29%),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 42%, #eaf7ff 100%);
}

a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; }
button { cursor: pointer; }

#tideCanvas { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.page-glow { position: fixed; inset: auto -12vw -22vh auto; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, rgba(41,169,232,.18), transparent 66%); z-index: -1; pointer-events: none; }
.section-shell { width: min(1180px, calc(100% - 42px)); margin: 0 auto; }

.topbar {
  position: sticky; top: 16px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  width: min(1180px, calc(100% - 42px)); margin: 16px auto 0; padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.72); border-radius: 999px;
  background: rgba(255,255,255,.72); box-shadow: 0 18px 60px rgba(6,35,63,.10); backdrop-filter: blur(22px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 190px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; font-weight: 900; background: linear-gradient(135deg, var(--blue), var(--aqua)); box-shadow: 0 14px 30px rgba(10,112,191,.24); }
.brand strong { display: block; font-size: 18px; letter-spacing: .06em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.nav-links { display: flex; align-items: center; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(238,248,255,.72); }
.nav-links a { padding: 10px 15px; border-radius: 999px; color: #31546f; font-size: 14px; transition: .2s ease; }
.nav-links a:hover { color: var(--blue); background: #fff; }
.top-cta, .primary-btn, .secondary-btn, .copy-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border: 0; border-radius: 999px; font-weight: 800; transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.top-cta, .primary-btn { color: #fff; background: linear-gradient(135deg, var(--blue), var(--sky)); box-shadow: 0 16px 32px rgba(10,112,191,.24); }
.secondary-btn, .copy-btn { color: var(--blue); background: rgba(255,255,255,.78); border: 1px solid var(--line); }
.top-cta:hover, .primary-btn:hover, .secondary-btn:hover, .copy-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 48px rgba(10,112,191,.18); }

.hero { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; min-height: 720px; padding: 90px 0 54px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--blue); font-size: 13px; font-weight: 800; background: rgba(255,255,255,.66); }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 8px rgba(98,220,233,.18); }
h1 { margin: 28px 0 0; color: var(--navy); font-size: clamp(54px, 7.8vw, 96px); line-height: .96; letter-spacing: -.075em; }
h1 em { font-style: normal; color: transparent; background: linear-gradient(110deg, var(--blue), #08355f 56%, var(--aqua)); -webkit-background-clip: text; background-clip: text; }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: #355a75; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-proof { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 42px; }
.hero-proof span { min-height: 78px; padding: 16px 14px; border: 1px solid rgba(10,112,191,.12); border-radius: 24px; color: var(--muted); background: rgba(255,255,255,.58); box-shadow: 0 20px 48px rgba(6,35,63,.08); }
.hero-proof strong { display: block; margin-bottom: 4px; color: var(--blue); font-size: 26px; line-height: 1; }
.hero-card { position: relative; min-height: 570px; }
.tide-device { position: absolute; inset: 32px 0 0; padding: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.82); border-radius: 44px; background: linear-gradient(160deg, rgba(255,255,255,.82), rgba(237,248,255,.62)); box-shadow: var(--shadow); backdrop-filter: blur(24px); }
.tide-device::before { position: absolute; inset: auto -20% -16% -20%; height: 48%; content: ""; background: radial-gradient(ellipse at 50% 20%, rgba(98,220,233,.42), transparent 56%), linear-gradient(180deg, transparent, rgba(10,112,191,.16)); clip-path: polygon(0 36%, 10% 30%, 20% 42%, 32% 28%, 46% 39%, 58% 27%, 72% 40%, 86% 30%, 100% 38%, 100% 100%, 0 100%); }
.device-top { position: relative; z-index: 1; display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.device-top b { color: #0d9f88; letter-spacing: 0; text-transform: none; }
.sonar { position: relative; z-index: 1; display: grid; place-items: center; width: min(360px, 76%); aspect-ratio: 1; margin: 48px auto 34px; border-radius: 50%; background: radial-gradient(circle, rgba(10,112,191,.08), transparent 62%); }
.sonar i { position: absolute; inset: 10%; border: 1px solid rgba(10,112,191,.18); border-radius: 50%; animation: sonar 5s ease-in-out infinite; }
.sonar i:nth-child(2) { inset: 23%; animation-delay: .8s; }
.sonar i:nth-child(3) { inset: 36%; animation-delay: 1.4s; }
.sonar strong { display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; color: #fff; font-size: 34px; background: linear-gradient(135deg, var(--blue), var(--aqua)); box-shadow: 0 28px 60px rgba(10,112,191,.28); }
.domain-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.domain-grid span { padding: 16px; border: 1px solid var(--line); border-radius: 20px; color: #31546f; font-weight: 800; background: rgba(255,255,255,.62); }

.section-heading { max-width: 820px; margin-bottom: 34px; }
.section-heading.compact { display: flex; align-items: end; justify-content: space-between; gap: 28px; max-width: none; }
.section-heading span { display: inline-block; margin-bottom: 12px; color: var(--sky); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: clamp(34px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -.055em; }
.section-heading p { margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.value-section, .experience-section, .capability-section, .landing-section { padding: 82px 0; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-grid article, .capability-cards article, .landing-card, .console { border: 1px solid rgba(255,255,255,.86); background: rgba(255,255,255,.68); box-shadow: var(--shadow); backdrop-filter: blur(22px); }
.value-grid article { min-height: 285px; padding: 26px; border-radius: 34px; }
.value-grid b { color: var(--sky); font-size: 13px; letter-spacing: .16em; }
.value-grid h3, .capability-cards h3 { margin: 26px 0 12px; color: var(--navy); font-size: 24px; letter-spacing: -.03em; }
.value-grid p, .capability-cards p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.75; }

.console { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; padding: 16px; border-radius: 38px; }
.prompt-panel, .result-panel { min-height: 660px; padding: 24px; border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,.58); }
.panel-title, .result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-title span, .result-head span { color: var(--navy); font-weight: 900; }
.panel-title small { color: #0d9f88; font-size: 12px; font-weight: 800; }
.scenario-list { display: grid; gap: 10px; }
.scenario-card { width: 100%; padding: 17px; border: 1px solid var(--line); border-radius: 22px; text-align: left; color: var(--text); background: rgba(255,255,255,.62); transition: .22s ease; }
.scenario-card small { display: block; color: var(--sky); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.scenario-card strong { display: block; margin: 5px 0; color: var(--navy); font-size: 17px; }
.scenario-card span { color: var(--muted); font-size: 13px; }
.scenario-card:hover, .scenario-card.active { border-color: rgba(10,112,191,.36); background: #fff; box-shadow: 0 16px 36px rgba(10,112,191,.12); transform: translateY(-2px); }
.textarea-label { display: block; margin: 22px 0 10px; color: var(--navy); font-weight: 900; }
textarea { width: 100%; min-height: 150px; resize: vertical; padding: 18px; border: 1px solid var(--line); border-radius: 22px; outline: none; color: var(--text); background: rgba(255,255,255,.84); line-height: 1.65; transition: .2s ease; }
textarea:focus { border-color: rgba(10,112,191,.46); box-shadow: 0 0 0 5px rgba(10,112,191,.08); }
.form-actions { display: flex; gap: 12px; margin-top: 16px; }
.result-head { margin-bottom: 14px; }
.result-head h3 { margin: 4px 0 0; color: var(--navy); font-size: 26px; letter-spacing: -.035em; }
.result-body { min-height: 535px; padding: 22px; overflow: auto; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, #fff, rgba(247,252,255,.72)); }
.result-body.empty { display: grid; place-items: center; text-align: center; color: var(--muted); }
.result-section { padding: 18px 0; border-bottom: 1px solid rgba(10,112,191,.10); }
.result-section:last-child { border-bottom: 0; }
.result-section h4 { margin: 0 0 10px; color: var(--blue); font-size: 15px; }
.result-section p, .result-section li { color: #31546f; line-height: 1.78; }
.result-section ul { margin: 0; padding-left: 20px; }
.result-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.result-meta span { padding: 7px 10px; border-radius: 999px; color: var(--blue); font-size: 12px; font-weight: 800; background: rgba(10,112,191,.08); }

.flow-line { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 36px; }
.flow-line div { position: relative; min-height: 132px; padding: 22px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.68); box-shadow: 0 20px 52px rgba(6,35,63,.09); }
.flow-line div::after { position: absolute; right: -14px; top: 50%; width: 18px; height: 1px; content: ""; background: rgba(10,112,191,.22); }
.flow-line div:last-child::after { display: none; }
.flow-line b { display: block; color: var(--navy); font-size: 18px; }
.flow-line span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.capability-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.capability-cards article { min-height: 190px; padding: 26px; border-radius: 30px; }
.capability-cards h3 { margin-top: 0; }
.landing-card { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border-radius: 34px; }
.landing-card div { padding: 26px; background: rgba(255,255,255,.52); }
.landing-card strong { display: block; margin-bottom: 10px; color: var(--blue); font-size: 13px; letter-spacing: .08em; }
.landing-card span { display: block; color: var(--navy); font-size: 18px; font-weight: 800; line-height: 1.55; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 38px 0 56px; color: var(--muted); }
.footer strong { color: var(--navy); }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@keyframes sonar { 0%,100% { transform: scale(.98); opacity: .7; } 50% { transform: scale(1.04); opacity: 1; } }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero, .console { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 68px; }
  .hero-proof, .value-grid, .flow-line, .capability-cards, .landing-card { grid-template-columns: 1fr 1fr; }
  .hero-card { min-height: 500px; }
}
@media (max-width: 640px) {
  .section-shell, .topbar { width: min(100% - 24px, 1180px); }
  .brand small, .top-cta { display: none; }
  h1 { font-size: 48px; }
  .hero-proof, .value-grid, .flow-line, .capability-cards, .landing-card { grid-template-columns: 1fr; }
  .prompt-panel, .result-panel { min-height: auto; }
  .footer { flex-direction: column; }
}
