/* =========================================================
   海口未来网科技有限公司 · FutureNet
   设计系统：海南椰风海韵 + 现代 AI 高科技
   ========================================================= */

:root {
  /* 海蓝主色 */
  --ocean-900: #061a33;
  --ocean-800: #0a2a4d;
  --ocean-700: #0e5fb0;
  --ocean-600: #1473d6;
  --ocean-500: #2b8de8;
  /* 青绿 / 珊瑚 点缀 */
  --teal: #00c2a8;
  --coral: #ff7a59;
  --sand: #f6ede0;
  /* AI 霓虹 */
  --neon: #16e0f4;
  --violet: #7c5cfc;
  /* 中性 */
  --ink: #0a1f33;
  --slate: #5b6b7c;
  --mist: #8aa0b4;
  --paper: #ffffff;
  --bg: #f5f9fd;
  --line: #e4edf5;

  --grad-ocean: linear-gradient(135deg, #0e5fb0 0%, #1473d6 45%, #16e0f4 120%);
  --grad-ai: linear-gradient(120deg, #7c5cfc 0%, #16e0f4 100%);
  --grad-coral: linear-gradient(120deg, #ff7a59 0%, #ffb05c 100%);

  --shadow-sm: 0 4px 16px rgba(10, 42, 77, 0.08);
  --shadow-md: 0 12px 36px rgba(10, 42, 77, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 42, 77, 0.18);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --nav-h: 74px;

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

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: none; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-ocean); color: #fff; box-shadow: 0 10px 26px rgba(20,115,214,.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20,115,214,.45); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.26); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--ocean-700); border: 1.5px solid var(--ocean-700); }
.btn-outline:hover { background: var(--ocean-700); color: #fff; transform: translateY(-3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 1000;
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 4px 20px rgba(10,42,77,.08); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; color: #fff; transition: color .3s; }
.nav.scrolled .brand { color: var(--ink); }
.brand .logo { width: 38px; height: 38px; flex: none; }
.brand small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 2px; opacity: .8; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.92); position: relative; transition: color .3s; }
.nav.scrolled .nav-links a { color: var(--slate); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--neon); transition: width .3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav.scrolled .nav-links a:hover, .nav.scrolled .nav-links a.active { color: var(--ocean-700); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.nav.scrolled .hamburger span { background: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(160deg, #061a33 0%, #0a2a4d 40%, #0e5fb0 100%);
  overflow: hidden; color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(22,224,244,.28), transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(124,92,252,.25), transparent 42%);
}
#particles { position: absolute; inset: 0; z-index: 1; }
.hero-content { position: relative; z-index: 3; padding-top: var(--nav-h); }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  font-size: 13px; letter-spacing: 1px; margin-bottom: 22px; backdrop-filter: blur(4px);
}
.hero .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 12px var(--neon); }
.hero h1 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.18; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; }
.hero h1 .grad { background: linear-gradient(90deg, #16e0f4, #7c5cfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); max-width: 620px; color: rgba(255,255,255,.86); margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 38px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats .stat { }
.hero-stats .num { font-size: 30px; font-weight: 800; color: #fff; }
.hero-stats .num span { color: var(--neon); }
.hero-stats .label { font-size: 13px; color: rgba(255,255,255,.7); letter-spacing: .5px; }
.hero-deco { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 520px; z-index: 2; opacity: .9; pointer-events: none; }
.wave-bottom { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 2; line-height: 0; }
.wave-bottom svg { width: 100%; height: 120px; display: block; }

/* ---------- section heading ---------- */
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head .tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--ocean-700); background: rgba(14,95,176,.08); padding: 6px 16px; border-radius: 999px; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; color: var(--ink); margin-bottom: 14px; line-height: 1.25; }
.section-head p { color: var(--slate); font-size: 16px; }

/* ---------- feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card {
  background: var(--paper); border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-ai); opacity: 0; transition: opacity .3s; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card:hover::before { opacity: 1; }
.card .ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(14,95,176,.1); margin-bottom: 20px; }
.card .ico svg { width: 30px; height: 30px; }
.card h3 { font-size: 19px; margin-bottom: 10px; color: var(--ink); }
.card p { color: var(--slate); font-size: 14.5px; line-height: 1.7; }

/* ---------- stats band ---------- */
.band { background: linear-gradient(135deg, #0a2a4d, #0e5fb0); color: #fff; border-radius: 0; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.band .num { font-size: 44px; font-weight: 800; background: linear-gradient(90deg,#16e0f4,#7c5cfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band .label { color: rgba(255,255,255,.82); font-size: 15px; margin-top: 6px; }

/* ---------- product preview / grid ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prod-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.prod-thumb { height: 180px; position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg,#0a2a4d,#0e5fb0); }
.prod-thumb svg { width: 96px; height: 96px; opacity: .95; }
.prod-thumb .badge { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(4px); }
.prod-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.prod-body h3 { font-size: 19px; margin-bottom: 8px; }
.prod-body p { color: var(--slate); font-size: 14.5px; margin-bottom: 16px; flex: 1; }
.prod-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.prod-tags span { font-size: 12px; color: var(--ocean-700); background: rgba(14,95,176,.08); padding: 4px 11px; border-radius: 999px; }
.prod-link { font-weight: 600; color: var(--ocean-700); display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; }
.prod-link svg { width: 16px; height: 16px; transition: transform .25s; }
.prod-card:hover .prod-link svg { transform: translateX(4px); }
.prod-card.coming .prod-thumb { background: linear-gradient(135deg,#3a4a5e,#54657a); }
.prod-card.coming .prod-link { color: var(--mist); }

/* ---------- filter tabs ---------- */
.filter-tabs .ftab {
  padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  color: var(--slate); font-size: 14.5px; font-weight: 600; cursor: pointer; font-family: var(--font);
  transition: all .25s ease;
}
.filter-tabs .ftab:hover { border-color: var(--ocean-600); color: var(--ocean-700); }
.filter-tabs .ftab.active { background: var(--grad-ocean); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(20,115,214,.3); }
.prod-card.hide { display: none; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg,#061a33,#0e5fb0); color: #fff; border-radius: var(--radius); padding: 64px 50px; text-align: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(22,224,244,.35), transparent 70%); }
.cta h2 { font-size: clamp(24px,3vw,36px); margin-bottom: 14px; font-weight: 800; }
.cta p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; }
.cta .hero-actions { justify-content: center; }

/* ---------- about ---------- */
.about-hero { background: linear-gradient(160deg,#061a33,#0e5fb0); color: #fff; padding: 150px 0 90px; }
.about-hero h1 { font-size: clamp(30px,4vw,48px); font-weight: 800; margin-bottom: 16px; }
.about-hero p { max-width: 700px; color: rgba(255,255,255,.85); font-size: 17px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .visual { aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(135deg,#0a2a4d,#16e0f4); position: relative; overflow: hidden; display: grid; place-items: center; }
.split .visual svg { width: 60%; opacity: .9; }
.split .text h2 { font-size: clamp(24px,3vw,34px); font-weight: 800; margin-bottom: 16px; }
.split .text p { color: var(--slate); margin-bottom: 16px; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.value { padding: 30px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.value .ico { width: 50px; height: 50px; border-radius: 12px; background: var(--grad-ai); display: grid; place-items: center; margin-bottom: 16px; }
.value .ico svg { width: 26px; height: 26px; }
.value h3 { font-size: 18px; margin-bottom: 8px; }
.value p { color: var(--slate); font-size: 14.5px; }

/* timeline */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--ocean-700), var(--neon)); }
.tl-item { position: relative; padding-bottom: 38px; }
.tl-item::before { content: ""; position: absolute; left: -32px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--ocean-700); box-shadow: 0 0 0 4px rgba(14,95,176,.15); }
.tl-item .year { font-weight: 800; color: var(--ocean-700); font-size: 17px; }
.tl-item h4 { font-size: 17px; margin: 4px 0 6px; }
.tl-item p { color: var(--slate); font-size: 14.5px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; }
.info-card { background: var(--paper); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.info-card h3 { font-size: 20px; margin-bottom: 22px; }
.info-row { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.info-row .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(14,95,176,.1); display: grid; place-items: center; flex: none; }
.info-row .ico svg { width: 22px; height: 22px; }
.info-row .tt { font-size: 13px; color: var(--mist); margin-bottom: 2px; }
.info-row .vv { font-size: 15.5px; color: var(--ink); font-weight: 600; }
.info-row .vv a { color: var(--ocean-700); }

.form-card { background: var(--paper); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.form-card h3 { font-size: 20px; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font);
  font-size: 14.5px; color: var(--ink); background: #fbfdff; transition: border .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ocean-600); box-shadow: 0 0 0 3px rgba(20,115,214,.12); }
.field textarea { resize: vertical; min-height: 110px; }
.field .err { color: var(--coral); font-size: 12.5px; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--coral); }
.field.invalid .err { display: block; }
.form-note { font-size: 13px; color: var(--mist); margin-top: 6px; }
.form-ok { display: none; background: rgba(0,194,168,.12); border: 1px solid rgba(0,194,168,.4); color: #04876f; padding: 14px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14.5px; }
.form-err { display: none; background: rgba(255,122,89,.1); border: 1px solid rgba(255,122,89,.4); color: #b8402a; padding: 14px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14.5px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .62; cursor: not-allowed; }

.map-placeholder { height: 260px; border-radius: var(--radius); background: linear-gradient(135deg,#0a2a4d,#16e0f4); display: grid; place-items: center; color: #fff; margin-top: 26px; position: relative; overflow: hidden; }
.map-placeholder svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .25; }
.map-placeholder .pin { position: relative; z-index: 2; text-align: center; font-weight: 600; }

/* ---------- footer ---------- */
.footer { background: #061a33; color: rgba(255,255,255,.78); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .f-about { font-size: 14px; line-height: 1.8; max-width: 320px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-links a { display: block; font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 10px; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--neon); padding-left: 4px; }
.footer .f-contact p { font-size: 14px; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.footer .f-contact svg { width: 16px; height: 16px; flex: none; opacity: .8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.6); }
.footer-bottom a { color: rgba(255,255,255,.7); }
.scope-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.scope-tags span { font-size: 11.5px; background: rgba(255,255,255,.08); padding: 4px 10px; border-radius: 999px; color: rgba(255,255,255,.75); }

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

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2,1fr); }
  .prod-grid { grid-template-columns: repeat(2,1fr); }
  .band-grid { grid-template-columns: repeat(2,1fr); gap: 40px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links {
    position: fixed; top: var(--nav-h); right: 0; height: calc(100vh - var(--nav-h)); width: 260px;
    background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 24px;
    transform: translateX(110%); transition: transform .35s ease; box-shadow: -10px 0 40px rgba(0,0,0,.12);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--slate) !important; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn-ghost { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .values { grid-template-columns: 1fr; }
  .hero-deco { display: none; }
  .section { padding: 80px 0; }
  .cta { padding: 48px 26px; }
}
@media (max-width: 560px) {
  .features, .prod-grid, .band-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .hero-stats .num { font-size: 24px; }
}
