/* =========================================================
   贵州飞奴科技有限公司  —  官网样式
   风格：简约大气 / 深蓝 + 留白 / 细腻微动效
   ========================================================= */

:root{
  --navy-900:#08192E;
  --navy-800:#0B2545;
  --navy-700:#123A63;
  --navy-500:#2F6FED;
  --ink:#12203A;
  --ink-2:#4A5A73;
  --ink-3:#7C8AA0;
  --line:#E6EAF1;
  --bg:#FFFFFF;
  --bg-soft:#F6F8FC;
  --gold:#C6A667;
  --radius:16px;
  --radius-sm:10px;
  --shadow-sm:0 1px 2px rgba(11,37,69,.05), 0 6px 18px rgba(11,37,69,.06);
  --shadow-md:0 18px 40px -18px rgba(11,37,69,.28);
  --ease:cubic-bezier(.22,.68,.32,1);
  --wrap:1160px;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; scroll-padding-top:92px; -webkit-text-size-adjust:100%; }

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"PingFang SC","HarmonyOS Sans SC","Microsoft YaHei","Hiragino Sans GB","Source Han Sans SC","Noto Sans SC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;
  line-height:1.85;
  letter-spacing:.02em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ margin:0; font-weight:600; letter-spacing:.01em; line-height:1.3; }
p{ margin:0; }

.wrap{
  width:100%;
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 32px;
}

/* ---------- 按钮 ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:48px;
  padding:0 26px;
  border-radius:999px;
  font-size:15px;
  font-weight:500;
  letter-spacing:.04em;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .35s var(--ease), background-color .35s var(--ease),
             color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-primary{
  background:var(--navy-800);
  color:#fff;
  box-shadow:0 12px 26px -12px rgba(11,37,69,.6);
}
.btn-primary:hover{ background:var(--navy-500); transform:translateY(-2px); box-shadow:0 18px 32px -14px rgba(47,111,237,.7); }
.btn-outline{
  background:transparent;
  color:var(--navy-800);
  border-color:rgba(11,37,69,.22);
}
.btn-outline:hover{ border-color:var(--navy-800); background:rgba(11,37,69,.04); transform:translateY(-2px); }
.btn-ghost{
  height:40px;
  padding:0 18px;
  font-size:14px;
  color:var(--navy-800);
  border-color:rgba(11,37,69,.18);
  background:rgba(255,255,255,.7);
}
.btn-ghost:hover{ background:var(--navy-800); color:#fff; border-color:var(--navy-800); }

/* =========================================================
   顶部导航
   ========================================================= */
.site-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:100;
  transition:background-color .4s var(--ease), box-shadow .4s var(--ease),
             backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom:1px solid transparent;
}
.site-header.is-stuck{
  background:rgba(255,255,255,.86);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom-color:var(--line);
  box-shadow:0 1px 20px rgba(11,37,69,.06);
}
.header-inner{
  display:flex;
  align-items:center;
  gap:24px;
  height:76px;
}

.brand{ display:flex; align-items:center; gap:12px; margin-right:auto; }
.brand-mark{
  width:38px; height:38px;
  flex:0 0 38px;
  display:grid; place-items:center;
  border-radius:11px;
  background:linear-gradient(145deg,var(--navy-800),var(--navy-700) 60%,var(--navy-500));
  color:#fff;
  font-size:19px;
  font-weight:700;
  letter-spacing:0;
  box-shadow:0 8px 18px -10px rgba(11,37,69,.75);
}
.brand-mark.small{ width:30px; height:30px; flex-basis:30px; border-radius:9px; font-size:15px; }
.brand-text{ display:flex; flex-direction:column; line-height:1.25; }
.brand-text strong{ font-size:16px; font-weight:600; color:var(--navy-900); letter-spacing:.03em; }
.brand-text em{
  font-style:normal;
  font-size:9.5px;
  letter-spacing:.22em;
  color:var(--ink-3);
  transform:translateY(-1px);
}

.nav{ display:flex; align-items:center; gap:34px; }
.nav a{
  position:relative;
  font-size:15px;
  color:var(--ink-2);
  padding:6px 0;
  transition:color .3s var(--ease);
}
.nav a::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:0; height:2px;
  border-radius:2px;
  background:var(--navy-500);
  transition:width .35s var(--ease);
}
.nav a:hover{ color:var(--navy-800); }
.nav a:hover::after{ width:100%; }

.nav-toggle{
  display:none;
  width:42px; height:42px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fff;
  padding:0;
  cursor:pointer;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
}
.nav-toggle span{
  display:block;
  width:18px; height:2px;
  border-radius:2px;
  background:var(--navy-800);
  transition:transform .35s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* =========================================================
   首屏
   ========================================================= */
.hero{
  position:relative;
  overflow:hidden;
  padding:190px 0 120px;
  background:
    radial-gradient(1200px 600px at 78% -10%, #EEF4FF 0%, rgba(238,244,255,0) 62%),
    linear-gradient(180deg,#FFFFFF 0%, #FAFCFF 55%, #F4F7FC 100%);
}
.hero-bg{ position:absolute; inset:0; pointer-events:none; }
.glow{
  position:absolute;
  border-radius:50%;
  filter:blur(70px);
  opacity:.5;
}
.glow-a{
  width:520px; height:520px;
  top:-160px; right:-60px;
  background:radial-gradient(circle,rgba(47,111,237,.30),rgba(47,111,237,0) 68%);
  animation:float 16s var(--ease) infinite alternate;
}
.glow-b{
  width:440px; height:440px;
  bottom:-200px; left:-120px;
  background:radial-gradient(circle,rgba(198,166,103,.24),rgba(198,166,103,0) 68%);
  animation:float 20s var(--ease) infinite alternate-reverse;
}
@keyframes float{
  from{ transform:translate3d(0,0,0) scale(1); }
  to{ transform:translate3d(-30px,26px,0) scale(1.08); }
}
.grid-lines{
  position:absolute; inset:0;
  background-image:
    linear-gradient(to right, rgba(11,37,69,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,37,69,.045) 1px, transparent 1px);
  background-size:78px 78px;
  -webkit-mask-image:radial-gradient(900px 520px at 30% 20%, #000 0%, transparent 78%);
  mask-image:radial-gradient(900px 520px at 30% 20%, #000 0%, transparent 78%);
}

.hero-inner{ position:relative; z-index:1; }

.hero-eyebrow{
  font-size:12px;
  letter-spacing:.34em;
  color:var(--navy-500);
  font-weight:600;
  margin-bottom:26px;
}
.hero-title{
  font-size:clamp(34px,5.4vw,64px);
  font-weight:700;
  letter-spacing:.02em;
  color:var(--navy-900);
  line-height:1.18;
  margin-bottom:26px;
}
.hero-sub{
  font-size:clamp(15px,1.6vw,18px);
  color:var(--ink-2);
  line-height:2;
  max-width:640px;
  padding-left:22px;
  border-left:2px solid var(--gold);
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:44px;
}
.hero-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  max-width:760px;
  margin-top:76px;
  padding-top:36px;
  border-top:1px solid var(--line);
}
.hero-stats li{ display:flex; flex-direction:column; gap:2px; }
.hero-stats strong{
  font-size:20px;
  font-weight:600;
  color:var(--navy-800);
  letter-spacing:.08em;
}
.hero-stats span{
  font-size:13.5px;
  color:var(--ink-3);
  letter-spacing:.04em;
}

/* =========================================================
   通用 section
   ========================================================= */
.section{ padding:118px 0; }
.section-dark{
  background:linear-gradient(180deg,var(--navy-900) 0%, var(--navy-800) 55%, #0E2C52 100%);
  color:#fff;
  position:relative;
  overflow:hidden;
}
.section-dark::before{
  content:"";
  position:absolute;
  z-index:0;
  width:760px; height:760px;
  top:-380px; right:-220px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(47,111,237,.30),rgba(47,111,237,0) 66%);
  pointer-events:none;
}
.section-dark > .wrap{ position:relative; z-index:1; }
.section-head{ margin-bottom:64px; }
.section-tag{
  display:inline-block;
  font-size:12px;
  letter-spacing:.3em;
  font-weight:600;
  color:var(--navy-500);
  margin-bottom:18px;
  padding-left:34px;
  position:relative;
}
.section-tag::before{
  content:"";
  position:absolute;
  left:0; top:50%;
  width:22px; height:2px;
  background:var(--gold);
  transform:translateY(-50%);
}
.section-dark .section-tag{ color:#8FB8FF; }
.section-title{
  font-size:clamp(26px,3.4vw,40px);
  font-weight:600;
  color:var(--navy-900);
  letter-spacing:.02em;
}
.section-dark .section-title{ color:#fff; }

/* =========================================================
   企业介绍
   ========================================================= */
.about-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:72px;
  align-items:start;
}
.about-text p{
  color:var(--ink-2);
  font-size:16px;
  line-height:2.05;
  margin-bottom:22px;
}
.about-text p:last-child{ margin-bottom:0; }
.about-text strong{ color:var(--navy-800); font-weight:600; }

.about-cards{ display:grid; gap:18px; }
.card{
  position:relative;
  padding:28px 30px 28px 30px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  transition:transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card::before{
  content:"";
  position:absolute;
  left:0; top:26px; bottom:26px;
  width:3px;
  border-radius:0 3px 3px 0;
  background:linear-gradient(180deg,var(--navy-500),var(--gold));
  opacity:0;
  transition:opacity .45s var(--ease);
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:#D8E2F2; }
.card:hover::before{ opacity:1; }
.card h3{
  font-size:17px;
  font-weight:600;
  color:var(--navy-800);
  margin-bottom:10px;
  letter-spacing:.05em;
}
.card p{ font-size:14.5px; color:var(--ink-3); line-height:1.95; }

/* =========================================================
   联系我们
   ========================================================= */
.contact-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  align-items:stretch;
}
.contact-card{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  padding:36px 32px;
  border-radius:var(--radius);
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  transition:transform .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease);
}
.contact-card:hover{
  transform:translateY(-5px);
  background:rgba(255,255,255,.09);
  border-color:rgba(143,184,255,.42);
}
a.contact-card{ cursor:pointer; }
.contact-icon{
  display:grid;
  place-items:center;
  width:46px; height:46px;
  margin-bottom:18px;
  border-radius:13px;
  background:linear-gradient(150deg,rgba(143,184,255,.24),rgba(198,166,103,.18));
  border:1px solid rgba(255,255,255,.16);
  color:#BBD4FF;
}
.contact-label{
  font-size:12px;
  letter-spacing:.24em;
  color:#8FB8FF;
  font-weight:600;
}
.contact-value{
  font-size:19px;
  font-weight:600;
  color:#fff;
  line-height:1.6;
  letter-spacing:.03em;
  margin-top:4px;
}
.contact-hint{
  font-size:13px;
  color:rgba(255,255,255,.5);
  letter-spacing:.04em;
  margin-top:auto;
  padding-top:18px;
}

/* 二维码 */
.contact-card-qr{ align-items:flex-start; }
.qr-frame{
  position:relative;
  width:156px; height:156px;
  margin-top:14px;
  padding:9px;
  border-radius:14px;
  background:#fff;
  box-shadow:0 16px 34px -18px rgba(0,0,0,.6);
  overflow:hidden;
}
.qr-img{ width:100%; height:100%; object-fit:contain; border-radius:6px; }
.qr-placeholder{
  position:absolute;
  inset:9px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:8px;
  border:1.5px dashed #C3CEE0;
  background:
    linear-gradient(45deg,rgba(11,37,69,.035) 25%,transparent 25%,transparent 75%,rgba(11,37,69,.035) 75%),
    linear-gradient(45deg,rgba(11,37,69,.035) 25%,transparent 25%,transparent 75%,rgba(11,37,69,.035) 75%);
  background-size:14px 14px;
  background-position:0 0,7px 7px;
  text-align:center;
  padding:10px;
}
.qr-placeholder span{ font-size:14px; font-weight:600; color:var(--navy-800); letter-spacing:.08em; }
.qr-placeholder em{
  font-style:normal;
  font-size:11px;
  line-height:1.6;
  color:var(--ink-3);
  letter-spacing:.02em;
}

/* =========================================================
   页脚
   ========================================================= */
.site-footer{
  background:#061424;
  color:rgba(255,255,255,.55);
  padding:34px 0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:11px;
  color:rgba(255,255,255,.9);
  font-size:14.5px;
  letter-spacing:.04em;
}
.footer-copy{ font-size:13px; letter-spacing:.03em; }

/* =========================================================
   入场动效
   ========================================================= */
.reveal{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .9s var(--ease), transform .9s var(--ease);
  will-change:opacity,transform;
}
.reveal[data-delay="1"]{ transition-delay:.09s; }
.reveal[data-delay="2"]{ transition-delay:.18s; }
.reveal[data-delay="3"]{ transition-delay:.27s; }
.reveal[data-delay="4"]{ transition-delay:.36s; }
.reveal.is-in{ opacity:1; transform:none; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width:1080px){
  .about-grid{ grid-template-columns:1fr; gap:52px; }
}

@media (max-width:900px){
  .header-cta{ display:none; }
  .nav-toggle{ display:flex; }

  .nav{
    position:fixed;
    top:76px; left:0; right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:rgba(255,255,255,.97);
    -webkit-backdrop-filter:blur(14px);
    backdrop-filter:blur(14px);
    border-bottom:1px solid var(--line);
    box-shadow:0 20px 40px -24px rgba(11,37,69,.35);
    padding:8px 32px 20px;
    opacity:0;
    visibility:hidden;
    transform:translateY(-12px);
    transition:opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav.is-open{ opacity:1; visibility:visible; transform:none; }
  .nav a{
    padding:16px 0;
    border-bottom:1px solid var(--line);
    font-size:16px;
  }
  .nav a:last-child{ border-bottom:0; }
  .nav a::after{ display:none; }

  .contact-grid{ grid-template-columns:1fr; }
}

@media (max-width:640px){
  .wrap{ padding:0 22px; }
  .hero{ padding:140px 0 84px; }
  .hero-sub{ padding-left:16px; }
  .hero-stats{
    grid-template-columns:1fr;
    gap:16px;
    margin-top:54px;
    padding-top:28px;
  }
  .hero-stats li{
    flex-direction:row;
    align-items:baseline;
    gap:14px;
  }
  .hero-stats strong{ font-size:17px; min-width:56px; }
  .section{ padding:84px 0; }
  .section-head{ margin-bottom:44px; }
  .card{ padding:24px 22px; }
  .contact-card{ padding:30px 24px; }
  .footer-inner{ flex-direction:column; align-items:flex-start; gap:10px; }
}

@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition-duration:.01ms !important; }
  .reveal{ opacity:1; transform:none; }
  html{ scroll-behavior:auto; }
}
