/* ============================================================
   Vorto · 宁波涡拓科技 — official site
   Brand: near-black #0D0D0F, white, orange accent #FD7706
   No external dependencies (system fonts only).
   ============================================================ */

:root {
  --bg: #0a0a0c;
  --bg-2: #0f0f12;
  --surface: #141418;
  --surface-2: #1a1a1f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f4f4f6;
  --text-soft: #b6b6bf;
  --text-mute: #7d7d88;

  --accent: #fd7706;
  --accent-bright: #ff8c2b;
  --accent-soft: rgba(253, 119, 6, 0.14);

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Roboto, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.text-accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 12px 22px; border-radius: 999px;
  transition: transform .25s var(--ease), background .25s var(--ease),
              box-shadow .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap; border: 1px solid transparent;
}
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--accent); color: #1a0e00;
  box-shadow: 0 8px 24px -8px rgba(253, 119, 6, .6);
}
.btn--primary:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(253, 119, 6, .7); }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); border-color: rgba(255,255,255,.25); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 12, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { border-radius: 8px; }
.brand__name { font-size: 21px; font-weight: 700; letter-spacing: .04em; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link { font-size: 15px; color: var(--text-soft); transition: color .2s; position: relative; }
.nav__link:hover { color: var(--text); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s var(--ease);
}
.nav__link:hover::after { width: 100%; }
.nav__cta { margin-left: 6px; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 168px 0 110px; overflow: hidden; }
.hero__inner { position: relative; z-index: 2; max-width: 880px; }
.hero__glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 620px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(253,119,6,.20) 0%, rgba(253,119,6,0) 70%);
  filter: blur(10px);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 35%, transparent 78%);
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 22px;
}
.hero__title { font-size: clamp(34px, 6vw, 62px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.hero__sub { margin-top: 26px; font-size: clamp(16px, 2.2vw, 19px); color: var(--text-soft); max-width: 620px; }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__tags {
  margin-top: 52px; display: flex; flex-wrap: wrap; gap: 26px;
  font-size: 14px; color: var(--text-mute);
}
.hero__tags li { display: inline-flex; align-items: center; gap: 9px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(253,119,6,.9); }

/* ---------- sections ---------- */
.section { padding: 104px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.section__head { max-width: 680px; margin-bottom: 56px; }
.section__title { font-size: clamp(27px, 4vw, 40px); font-weight: 800; line-height: 1.18; letter-spacing: -.015em; }
.section__lead { margin-top: 16px; font-size: 17px; color: var(--text-soft); }

/* ---------- product ---------- */
.product {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.product__media {
  position: relative; padding: 40px;
  background: radial-gradient(120% 120% at 0% 0%, rgba(253,119,6,.12), transparent 55%), #101014;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--border);
}
.product__badge {
  position: absolute; top: 22px; left: 22px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-bright);
  border: 1px solid rgba(253,119,6,.35);
}
.product__chat { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 12px; }
.chat-line {
  font-size: 14px; padding: 12px 16px; border-radius: 14px; line-height: 1.5;
  border: 1px solid var(--border);
}
.chat-line--user { align-self: flex-end; background: var(--accent); color: #1a0e00; border-color: transparent; border-bottom-right-radius: 4px; max-width: 85%; }
.chat-line--ai { align-self: flex-start; background: #16161b; color: var(--text-soft); border-bottom-left-radius: 4px; }
.chat-line--ai b { color: var(--text); }
.chat-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pill { font-size: 12px; color: var(--text-mute); border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; }

.product__body { padding: 44px 44px; }
.product__kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.product__name { margin-top: 12px; font-size: 30px; font-weight: 800; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.product__cn { font-size: 16px; font-weight: 500; color: var(--text-mute); letter-spacing: .02em; }
.product__desc { margin-top: 16px; color: var(--text-soft); font-size: 16px; }
.product__features { margin-top: 22px; display: grid; gap: 12px; }
.product__features li { position: relative; padding-left: 28px; color: var(--text-soft); font-size: 15px; }
.product__features li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px;
  border-radius: 4px; background: var(--accent-soft);
  border: 1px solid rgba(253,119,6,.4);
  box-shadow: inset 0 0 0 3px var(--bg);
}
.product__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-bright); margin-bottom: 18px;
  border: 1px solid rgba(253,119,6,.28);
}
.card__icon svg { width: 24px; height: 24px; stroke-linecap: round; stroke-linejoin: round; }
.card__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card__text { font-size: 14.5px; color: var(--text-soft); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about__p { margin-top: 20px; color: var(--text-soft); font-size: 16.5px; max-width: 540px; }
.about__values { margin-top: 36px; display: grid; gap: 18px; }
.value { display: flex; align-items: baseline; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.value__k { flex: 0 0 90px; font-weight: 700; color: var(--text); }
.value__v { color: var(--text-soft); font-size: 15px; }
.about__visual { position: relative; display: grid; place-items: center; min-height: 320px; }
.about__logo {
  width: 220px; height: 220px; border-radius: 28px; position: relative; z-index: 2;
  border: 1px solid var(--border); box-shadow: 0 30px 80px -30px rgba(253,119,6,.5);
}
.about__ring {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  border: 1px solid rgba(253,119,6,.22);
  box-shadow: 0 0 80px rgba(253,119,6,.10) inset;
  animation: spin 26s linear infinite;
}
.about__ring::before, .about__ring::after {
  content: ""; position: absolute; border-radius: 50%; inset: 30px;
  border: 1px solid rgba(255,255,255,.05);
}
.about__ring::after { inset: 70px; border-color: rgba(253,119,6,.14); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- contact ---------- */
.contact__panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 52px;
  position: relative; overflow: hidden;
}
.contact__panel::before {
  content: ""; position: absolute; top: -160px; right: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(253,119,6,.18), transparent 65%); pointer-events: none;
}
.contact__left { position: relative; z-index: 2; }
.contact__list { margin-top: 32px; display: grid; gap: 18px; }
.contact__list li { display: flex; align-items: baseline; gap: 16px; }
.contact__label { flex: 0 0 48px; font-size: 13px; color: var(--text-mute); letter-spacing: .05em; }
.contact__list a { color: var(--accent-bright); transition: color .2s; }
.contact__list a:hover { color: var(--accent); }

.contact__form { position: relative; z-index: 2; display: grid; gap: 16px; align-content: start; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--text-soft); }
.field input, .field textarea {
  background: #0c0c0f; border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font-size: 15px; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #5c5c66; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.contact__hint { font-size: 13.5px; min-height: 18px; color: var(--accent-bright); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; padding: 64px 24px 48px; }
.footer__tag { margin-top: 16px; color: var(--text-mute); font-size: 14.5px; max-width: 280px; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__h { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); }
.footer__col a { color: var(--text-soft); font-size: 14.5px; transition: color .2s; }
.footer__col a:hover { color: var(--accent-bright); }
.footer__muted { color: var(--text-mute); font-size: 14.5px; }
.footer__bottom { border-top: 1px solid var(--border); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 24px; font-size: 13px; color: var(--text-mute); }
.footer__icp { transition: color .2s; }
.footer__icp:hover { color: var(--text-soft); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .product { grid-template-columns: 1fr; }
  .product__media { border-right: none; border-bottom: 1px solid var(--border); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__visual { order: -1; min-height: 260px; }
  .contact__panel { grid-template-columns: 1fr; gap: 36px; padding: 36px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 680px) {
  .nav__links {
    position: fixed; top: 72px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(12,12,15,.96); backdrop-filter: blur(14px);
    padding: 16px 24px 28px; border-bottom: 1px solid var(--border);
    transform: translateY(-130%); transition: transform .35s var(--ease);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__link { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 14px 0 0; text-align: center; }
  .nav__toggle { display: flex; }

  .hero { padding: 132px 0 80px; }
  .hero__tags { gap: 16px 22px; }
  .section { padding: 76px 0; }
  .cards { grid-template-columns: 1fr; }
  .product__body { padding: 32px 26px; }
  .contact__panel { padding: 28px 22px; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
