/* =========================================================
   Petaxon 产品简介着陆页样式
   品牌色：橙 #FF7A00 / 蓝 #1486C8。专业、大气、现代。
   仅使用系统字体栈（离线安全，兼容主流浏览器）。
   ========================================================= */

:root {
  --orange: #FF7A00;
  --orange-light: #FFA64D;
  --orange-deep: #E96A00;
  --blue: #1486C8;
  --blue-light: #45A8E0;
  --blue-deep: #0F6FB5;
  --ink: #1B2A38;
  --ink-soft: #51606E;
  --muted: #7C8896;
  --line: #E7EDF3;
  --bg: #FFFFFF;
  --bg-tint: #F4F9FD;
  --bg-cream: #FFF6EC;
  --white: #FFFFFF;

  --grad-brand: linear-gradient(120deg, #FF8A1E 0%, #FF6A00 55%, #E96A00 100%);
  --grad-blue: linear-gradient(120deg, #45A8E0 0%, #0F6FB5 100%);
  --grad-mix: linear-gradient(120deg, #FF8A1E 0%, #FF6A00 40%, #1486C8 100%);

  --shadow-sm: 0 4px 14px rgba(15, 111, 181, 0.08);
  --shadow-md: 0 14px 34px rgba(15, 111, 181, 0.12);
  --shadow-lg: 0 26px 60px rgba(15, 111, 181, 0.18);
  --shadow-orange: 0 16px 34px rgba(255, 122, 0, 0.30);

  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --header-h: 72px;

  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    "Noto Sans JP", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; overflow-wrap: break-word; word-break: break-word; }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bx: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px var(--bx); border-radius: 999px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { flex: none; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 40px rgba(255, 122, 0, .40); }

.btn-ghost { background: rgba(255,255,255,.7); color: var(--blue-deep); border-color: rgba(15,111,181,.18); backdrop-filter: blur(6px); }
.btn-ghost:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--shadow-md); }

.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { transform: translateY(-2px); border-color: var(--blue-light); color: var(--blue-deep); box-shadow: var(--shadow-sm); }
.btn.is-soon { opacity: .6; cursor: not-allowed; }
.btn.is-soon:hover { transform: none; box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); background: rgba(255,255,255,.9); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-logo { height: 34px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a {
  font-weight: 600; font-size: 15px; color: var(--ink-soft); position: relative; padding: 4px 0;
}
.main-nav > a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--grad-brand); border-radius: 2px; transition: width .22s ease;
}
.main-nav > a:hover { color: var(--ink); }
.main-nav > a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; background: #EFF3F7; border-radius: 999px; padding: 3px; }
.lang-btn {
  border: 0; background: transparent; cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  padding: 6px 12px; border-radius: 999px; transition: all .18s ease; white-space: nowrap;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { background: #fff; color: var(--blue-deep); box-shadow: var(--shadow-sm); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange-deep);
  background: var(--bg-cream); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section-title { font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; color: var(--ink); }
.section-sub { margin-top: 16px; font-size: clamp(15px, 1.6vw, 18px); color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob-a { width: 540px; height: 540px; top: -180px; right: -120px; background: radial-gradient(circle, #FFD9B0, transparent 70%); }
.blob-b { width: 460px; height: 460px; top: 120px; left: -160px; background: radial-gradient(circle, #BFE3F7, transparent 70%); }
.grid-glow { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(20,134,200,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20,134,200,.05) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 72%); mask-image: radial-gradient(circle at 50% 30%, #000, transparent 72%); }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 4vw, 56px); padding-bottom: clamp(60px, 8vw, 110px); }
.hero-copy { max-width: 580px; }
.hero-title { font-size: clamp(34px, 5.4vw, 62px); font-weight: 900; letter-spacing: -0.02em; }
.hero-title .accent { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 22px; font-size: clamp(16px, 1.8vw, 19px); color: var(--ink-soft); max-width: 520px; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art { position: relative; display: flex; justify-content: center; }
.hero-img { width: 100%; max-width: 560px; filter: drop-shadow(0 30px 50px rgba(15,111,181,.16)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .hero-img { animation: none; } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: -1; }
.hero-wave svg { width: 100%; height: clamp(50px, 7vw, 100px); }

/* ---------- Feature cards ---------- */
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.fc-icon { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 16px; color: #fff; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.fc-orange { background: var(--grad-brand); }
.fc-blue { background: var(--grad-blue); }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Carousel ---------- */
.carousel { position: relative; max-width: 980px; margin: 0 auto; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track { list-style: none; margin: 0; padding: 0; display: flex; transition: transform .55s cubic-bezier(.65,.05,.36,1); }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }
.slide {
  flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(20px, 4vw, 56px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 56px);
}
.slide-art { display: flex; justify-content: center; }
.slide-art img { width: 100%; max-width: 420px; }
.slide-step { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .15em; color: var(--orange); background: var(--bg-cream); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.slide-copy h3 { font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; margin-bottom: 14px; }
.slide-copy p { color: var(--ink-soft); font-size: clamp(15px, 1.6vw, 17px); }

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--blue-deep); cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: transform .18s ease, color .18s ease, background .18s ease;
}
.carousel-arrow:hover { background: var(--blue-deep); color: #fff; }
.carousel-arrow.prev { left: -20px; }
.carousel-arrow.next { right: -20px; }
.carousel-arrow:hover { transform: translateY(-50%) scale(1.06); }

.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.carousel-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #CBD7E2; cursor: pointer; transition: all .2s ease; }
.carousel-dots button.active { width: 30px; background: var(--grad-brand); }

/* ---------- Platforms ---------- */
.platform-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.platform-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 26px; text-align: center; display: flex; flex-direction: column; align-items: center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.platform-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.platform-card.featured { border-color: transparent; box-shadow: var(--shadow-md); background: linear-gradient(180deg, #FFFDFB, #FFF6EC); }
.platform-card .pc-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; color: var(--blue-deep); background: var(--bg-tint); margin-bottom: 18px; }
.platform-card.featured .pc-icon { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-orange); }
.platform-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.platform-card p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 20px; flex: 1; }
.platform-card .btn { width: 100%; }
.pc-badge { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 700; color: #fff; background: var(--grad-brand); padding: 4px 10px; border-radius: 999px; }

.qr-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 28px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.qr-app-icon { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.qr-link { color: rgba(255,255,255,.85); font-size: 13px; text-decoration: underline; }
.qr-link:hover { color: #fff; }
.qr-img { background: #fff; padding: 12px; border-radius: 16px; line-height: 0; }
.qr-text { font-size: 14px; text-align: center; color: rgba(255,255,255,.82); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-copy .section-title { text-align: left; }
.about-copy > p { margin-top: 18px; color: var(--ink-soft); font-size: 16px; }
.about-points { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.point { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; display: flex; flex-direction: column; }
.point strong { font-size: 15px; color: var(--ink); }
.point span { font-size: 13px; color: var(--muted); }

.about-cta-card { background: var(--grad-blue); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 48px); text-align: center; box-shadow: var(--shadow-lg); }
.about-mark { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 14px; background: #fff; border-radius: 22px; padding: 8px; }
.about-cta-card h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; }
.about-cta-card p { margin: 12px 0 26px; color: rgba(255,255,255,.88); }
.about-cta-card .btn-primary { box-shadow: 0 16px 30px rgba(0,0,0,.18); }

/* ---------- Footer ---------- */
.site-footer { background: #0E1A26; color: #C6D2DD; padding: 56px 0 26px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo { height: 30px; width: auto; background: #fff; padding: 6px 10px; border-radius: 10px; }
.footer-brand p { margin-top: 14px; font-size: 14px; color: #8A99A8; max-width: 320px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { font-size: 14.5px; color: #C6D2DD; transition: color .18s ease; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; font-size: 13px; color: #6E7E8D; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .platform-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding-bottom: 80px; }
  .hero-copy { max-width: 640px; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-art { order: -1; max-width: 440px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-copy .section-title { text-align: center; }
  .about-copy { text-align: center; }
  .about-points { justify-content: center; }
  .slide { grid-template-columns: 1fr; text-align: center; }
  .slide-art { order: -1; }
  .slide-art img { max-width: 300px; }
  .carousel-arrow.prev { left: 6px; }
  .carousel-arrow.next { right: 6px; }
}

@media (max-width: 760px) {
  :root { --header-h: 62px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
  .main-nav > a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav > a::after { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 16px; }
  .lang-switch { justify-content: center; }
  .nav-actions .btn { width: 100%; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .feature-cards { grid-template-columns: 1fr; }
  .platform-cards { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; min-width: 0; }
  .footer-inner { flex-direction: column; }
}
