<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="深圳市狂风信息技术有限公司 —— 专业软件开发与信息咨询服务,助力企业数字化转型。">
<meta name="keywords" content="软件开发,信息咨询,深圳,信息技术,数字化转型,定制软件">
<title>深圳市狂风信息技术有限公司 - 软件开发与信息咨询服务</title>
<style>
  :root {
    --primary: #0b3b8c;
    --primary-dark: #082a63;
    --accent: #00b4d8;
    --accent-light: #7dd3fc;
    --ink: #1e293b;
    --muted: #64748b;
    --bg: #f8fafc;
    --card: #ffffff;
    --border: #e2e8f0;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(11, 59, 140, 0.10);
    --shadow-lg: 0 20px 50px rgba(11, 59, 140, 0.16);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
                 "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }

  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }

  .container { width: min(1120px, 92%); margin: 0 auto; }

  /* ===== 导航 ===== */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(8, 42, 99, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: box-shadow .3s;
  }
  .nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.25); }
  .nav .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; letter-spacing: .5px; }
  .brand .logo {
    width: 36px; height: 36px; border-radius: 9px;
    background: linear-gradient(135deg, var(--accent), #0077b6);
    display: grid; place-items: center;
    color: #fff; font-size: 18px; font-weight: 800;
    box-shadow: 0 4px 12px rgba(0,180,216,.45);
  }
  .nav-links { display: flex; gap: 28px; }
  .nav-links a { color: rgba(255,255,255,.82); font-size: 15px; transition: color .2s; }
  .nav-links a:hover { color: var(--accent-light); }
  .nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }

  /* ===== Hero ===== */
  .hero {
    position: relative;
    padding: 160px 0 110px;
    background:
      radial-gradient(900px 420px at 85% -10%, rgba(0,180,216,.35), transparent 60%),
      radial-gradient(700px 380px at 0% 20%, rgba(125,211,252,.22), transparent 55%),
      linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #1253b8 100%);
    color: #fff;
    overflow: hidden;
  }
  .hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent);
  }
  .hero .container { position: relative; z-index: 1; text-align: center; }
  .hero .badge {
    display: inline-block; padding: 6px 16px; margin-bottom: 22px;
    border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
    font-size: 13px; letter-spacing: 2px; color: rgba(255,255,255,.9);
    background: rgba(255,255,255,.08);
  }
  .hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: 2px; line-height: 1.3; }
  .hero h1 .accent { color: var(--accent-light); }
  .hero .subtitle { margin: 20px auto 0; max-width: 640px; font-size: 17px; color: rgba(255,255,255,.82); }
  .hero .cta { margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
  .btn {
    display: inline-block; padding: 13px 34px; border-radius: 999px;
    font-size: 15px; font-weight: 600; transition: transform .2s, box-shadow .2s;
  }
  .btn-primary { background: var(--accent); color: #06324a; box-shadow: 0 8px 24px rgba(0,180,216,.4); }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,180,216,.55); }
  .btn-ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; }
  .btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
  .hero .stats {
    margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    max-width: 760px; margin-left: auto; margin-right: auto;
  }
  .stat { padding: 18px 10px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
  .stat b { display: block; font-size: 30px; color: var(--accent-light); }
  .stat span { font-size: 13px; color: rgba(255,255,255,.75); }

  /* ===== 通用 section ===== */
  section { padding: 90px 0; }
  .section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
  .section-head .tag { color: var(--accent); font-size: 14px; letter-spacing: 3px; font-weight: 600; }
  .section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; color: var(--primary-dark); margin: 10px 0 14px; }
  .section-head p { color: var(--muted); font-size: 15.5px; }

  /* ===== 关于我们 ===== */
  .about { background: var(--card); }
  .about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
  .about h3 { font-size: 22px; color: var(--primary-dark); margin-bottom: 16px; }
  .about p { color: var(--muted); margin-bottom: 14px; font-size: 15.5px; }
  .about-points { margin-top: 20px; display: grid; gap: 12px; }
  .about-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 15px; }
  .about-points .tick {
    flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 3px;
    background: linear-gradient(135deg, var(--accent), #0077b6);
    color: #fff; font-size: 12px; display: grid; place-items: center;
  }
  .about-visual {
    position: relative; border-radius: var(--radius);
    background: linear-gradient(160deg, #eaf6ff, #f0f9ff 60%);
    border: 1px solid var(--border);
    padding: 34px; display: grid; gap: 14px;
  }
  .about-visual .chip {
    background: var(--card); border: 1px solid var(--border); border-radius: 10px;
    padding: 12px 16px; font-size: 14px; color: var(--ink);
    box-shadow: 0 4px 14px rgba(11,59,140,.06);
    display: flex; align-items: center; gap: 10px;
  }
  .about-visual .chip b { color: var(--primary); }

  /* ===== 服务 ===== */
  .services .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
  .service-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 36px 32px; box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
  }
  .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .service-card .icon {
    width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--primary), #1253b8);
    box-shadow: 0 8px 20px rgba(11,59,140,.3);
  }
  .service-card .icon svg { width: 28px; height: 28px; }
  .service-card h3 { font-size: 20px; color: var(--primary-dark); margin-bottom: 10px; }
  .service-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
  .service-card ul { display: grid; gap: 10px; }
  .service-card ul li {
    display: flex; gap: 9px; align-items: flex-start;
    font-size: 14.5px; color: var(--ink);
  }
  .service-card ul li::before {
    content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; margin-top: 9px;
    background: var(--accent);
  }

  /* ===== 优势 ===== */
  .strengths { background: linear-gradient(180deg, #f0f7ff, var(--bg)); }
  .strengths .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .strength {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 30px 24px; text-align: center; box-shadow: var(--shadow);
    transition: transform .25s;
  }
  .strength:hover { transform: translateY(-5px); }
  .strength .num {
    width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 12px;
    display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff;
    background: linear-gradient(135deg, var(--accent), #0077b6);
  }
  .strength h4 { font-size: 16.5px; color: var(--primary-dark); margin-bottom: 8px; }
  .strength p { font-size: 13.5px; color: var(--muted); }

  /* ===== 流程 ===== */
  .process .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
  .step { text-align: center; position: relative; }
  .step .dot {
    width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; font-size: 19px; color: #fff;
    background: linear-gradient(135deg, var(--primary), #1253b8);
    box-shadow: 0 8px 22px rgba(11,59,140,.3);
    position: relative; z-index: 1;
  }
  .step h4 { font-size: 16.5px; color: var(--primary-dark); margin-bottom: 8px; }
  .step p { font-size: 13.5px; color: var(--muted); max-width: 220px; margin: 0 auto; }

  /* ===== 联系 ===== */
  .contact { background: var(--primary-dark); color: #fff; }
  .contact .section-head h2 { color: #fff; }
  .contact .section-head p { color: rgba(255,255,255,.72); }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
  .contact-info { display: grid; gap: 18px; }
  .contact-item {
    display: flex; gap: 14px; align-items: flex-start;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px; padding: 16px 18px;
  }
  .contact-item .ico {
    flex: none; width: 40px; height: 40px; border-radius: 10px;
    background: rgba(0,180,216,.25); display: grid; place-items: center;
  }
  .contact-item .ico svg { width: 20px; height: 20px; }
  .contact-item b { display: block; font-size: 14px; color: var(--accent-light); margin-bottom: 2px; }
  .contact-item span { font-size: 15px; color: rgba(255,255,255,.9); }
  .contact-form {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius); padding: 28px;
  }
  .contact-form h3 { font-size: 18px; margin-bottom: 18px; }
  .contact-form input, .contact-form textarea {
    width: 100%; margin-bottom: 14px; padding: 12px 14px;
    border-radius: 10px; border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08); color: #fff; font-size: 14.5px; font-family: inherit;
    outline: none; transition: border-color .2s;
  }
  .contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.5); }
  .contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
  .contact-form textarea { resize: vertical; min-height: 96px; }
  .contact-form .btn { width: 100%; text-align: center; border: 0; cursor: pointer; }
  .contact-form .btn:disabled { opacity: .65; cursor: not-allowed; }
  .contact-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
  .contact-form .form-status { margin-top: 12px; font-size: 14px; min-height: 20px; }
  .contact-form .form-status.ok { color: #9ef0b0; }
  .contact-form .form-status.err { color: #ffb4b4; }

  /* ===== Footer ===== */
  footer { background: #061b3f; color: rgba(255,255,255,.6); padding: 26px 0; font-size: 13.5px; text-align: center; }
  footer a { color: rgba(255,255,255,.85); }
  footer .sep { margin: 0 8px; opacity: .4; }

  /* ===== 动画 ===== */
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.visible { opacity: 1; transform: none; }

  /* ===== 响应式 ===== */
  @media (max-width: 920px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .services .grid, .strengths .grid, .process .steps { grid-template-columns: 1fr 1fr; }
    .hero { padding: 130px 0 80px; }
  }
  @media (max-width: 600px) {
    .nav-links {
      display: none; position: absolute; top: 64px; left: 0; right: 0;
      background: var(--primary-dark); flex-direction: column; gap: 0;
      padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12);
    }
    .nav-links.open { display: flex; }
    .nav-links a { display: block; padding: 14px 22px; }
    .nav-toggle { display: block; }
    .services .grid, .strengths .grid, .process .steps, .hero .stats { grid-template-columns: 1fr; }
    section { padding: 64px 0; }
  }
</style>
</head>
<body>

<!-- ===== 导航 ===== -->
<nav class="nav" id="nav">
  <div class="container">
    <a class="brand" href="#top">
      <span class="logo">狂</span>
      <span>深圳市狂风信息技术有限公司</span>
    </a>
    <ul class="nav-links" id="navLinks">
      <li><a href="#about">关于我们</a></li>
      <li><a href="#services">核心服务</a></li>
      <li><a href="#strengths">我们的优势</a></li>
      <li><a href="#process">合作流程</a></li>
      <li><a href="#contact">联系我们</a></li>
    </ul>
    <button class="nav-toggle" id="navToggle" aria-label="打开菜单">☰</button>
  </div>
</nav>

<!-- ===== Hero ===== -->
<header class="hero" id="top">
  <div class="container">
    <span class="badge">K U A N G F E N G · 让技术创造价值</span>
    <h1>深圳市狂风信息技术有限公司<br><span class="accent">软件开发 · 信息咨询</span></h1>
    <p class="subtitle">
      专注于软件开发与信息咨询服务的高新技术企业,以专业的技术能力与严谨的服务态度,
      为企业提供从规划、设计、开发到运维的全流程数字化解决方案。
    </p>
    <div class="cta">
      <a href="#services" class="btn btn-primary">了解核心服务</a>
      <a href="#contact" class="btn btn-ghost">联系我们</a>
    </div>
    <div class="stats">
      <div class="stat"><b>100+</b><span>服务企业客户</span></div>
      <div class="stat"><b>200+</b><span>成功交付项目</span></div>
      <div class="stat"><b>98%</b><span>客户满意度</span></div>
    </div>
  </div>
</header>

<!-- ===== 关于我们 ===== -->
<section class="about" id="about">
  <div class="container">
    <div class="section-head reveal">
      <span class="tag">ABOUT US</span>
      <h2>关于我们</h2>
      <p>一家立足深圳、面向全国的综合性信息技术服务企业</p>
    </div>
    <div class="about-grid">
      <div class="reveal">
        <h3>以技术为引擎,以服务为根本</h3>
        <p>
          深圳市狂风信息技术有限公司成立于深圳,是一家集软件开发与信息咨询服务于一体的综合性信息技术企业。
          公司拥有一支经验丰富、技术过硬的专业团队,深耕行业多年,
          持续为客户提供高质量的软件产品与信息服务。
        </p>
        <p>
          我们坚持以客户需求为导向,以技术创新为驱动,秉承"专业、高效、诚信、共赢"的经营理念,
          帮助各行业客户优化业务流程、提升运营效率、实现数字化转型升级。
        </p>
        <ul class="about-points">
          <li><span class="tick">✓</span>全流程服务:需求分析、方案设计、开发实施、运维保障一站式完成</li>
          <li><span class="tick">✓</span>行业经验丰富:覆盖政务、金融、制造、零售、教育等多个领域</li>
          <li><span class="tick">✓</span>技术栈全面:前后端开发、移动应用、大数据、云计算等多元能力</li>
          <li><span class="tick">✓</span>服务响应迅速:完善的项目管理与售后支持体系</li>
        </ul>
      </div>
      <div class="about-visual reveal">
        <div class="chip"><b>需求分析</b><span>深入理解业务场景</span></div>
        <div class="chip"><b>方案设计</b><span>输出专业落地方案</span></div>
        <div class="chip"><b>开发交付</b><span>敏捷迭代保质保量</span></div>
        <div class="chip"><b>运维支持</b><span>持续优化保驾护航</span></div>
      </div>
    </div>
  </div>
</section>

<!-- ===== 核心服务 ===== -->
<section class="services" id="services">
  <div class="container">
    <div class="section-head reveal">
      <span class="tag">OUR SERVICES</span>
      <h2>核心服务</h2>
      <p>两大主营业务,覆盖企业信息化建设与数字化升级的核心需求</p>
    </div>
    <div class="grid">
      <div class="service-card reveal">
        <div class="icon">
          <svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
            <polyline points="16 18 22 12 16 6"/><polyline points="8 6 2 12 8 18"/>
          </svg>
        </div>
        <h3>软件开发</h3>
        <p>提供从需求到交付的全生命周期软件开发服务,助力企业构建数字化业务能力。</p>
        <ul>
          <li>定制化软件开发(管理系统、业务平台、行业软件)</li>
          <li>Web 应用与移动端应用开发(iOS / Android / 小程序)</li>
          <li>企业信息化系统集成与数据平台建设</li>
          <li>软件系统维护、升级与性能优化</li>
          <li>新技术应用(大数据、人工智能、物联网方向)</li>
        </ul>
      </div>
      <div class="service-card reveal">
        <div class="icon">
          <svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
            <circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/>
            <path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/>
          </svg>
        </div>
        <h3>信息咨询服务</h3>
        <p>凭借专业的行业洞察与丰富实战经验,为企业决策提供权威、全面的信息支持。</p>
        <ul>
          <li>企业数字化转型咨询与信息化规划</li>
          <li>行业市场调研、数据分析与决策支持</li>
          <li>IT 治理、信息安全与合规咨询</li>
          <li>软件选型、技术架构评估与优化建议</li>
          <li>项目可行性分析与商业方案设计</li>
        </ul>
      </div>
    </div>
  </div>
</section>

<!-- ===== 我们的优势 ===== -->
<section class="strengths" id="strengths">
  <div class="container">
    <div class="section-head reveal">
      <span class="tag">WHY US</span>
      <h2>我们的优势</h2>
      <p>选择狂风信息,就是选择专业、可靠与高效</p>
    </div>
    <div class="grid">
      <div class="strength reveal">
        <div class="num">01</div>
        <h4>专业团队</h4>
        <p>资深开发与咨询专家组成,技术能力扎实,项目经验丰富。</p>
      </div>
      <div class="strength reveal">
        <div class="num">02</div>
        <h4>定制方案</h4>
        <p>深入理解客户业务,量身定制解决方案,拒绝千篇一律。</p>
      </div>
      <div class="strength reveal">
        <div class="num">03</div>
        <h4>质量保障</h4>
        <p>严格的项目管理与质量体系,全流程把控,交付即精品。</p>
      </div>
      <div class="strength reveal">
        <div class="num">04</div>
        <h4>贴心服务</h4>
        <p>完善售后与快速响应机制,7×24 小时为客户保驾护航。</p>
      </div>
    </div>
  </div>
</section>

<!-- ===== 合作流程 ===== -->
<section class="process" id="process">
  <div class="container">
    <div class="section-head reveal">
      <span class="tag">PROCESS</span>
      <h2>合作流程</h2>
      <p>清晰透明的合作路径,让每一步都安心可控</p>
    </div>
    <div class="steps">
      <div class="step reveal">
        <div class="dot">1</div>
        <h4>需求沟通</h4>
        <p>充分了解业务需求与目标,明确项目范围与预期。</p>
      </div>
      <div class="step reveal">
        <div class="dot">2</div>
        <h4>方案设计</h4>
        <p>输出专业方案与报价,双方确认后签署合作协议。</p>
      </div>
      <div class="step reveal">
        <div class="dot">3</div>
        <h4>开发交付</h4>
        <p>敏捷迭代开发,阶段性汇报,按时保质完成交付。</p>
      </div>
      <div class="step reveal">
        <div class="dot">4</div>
        <h4>运维支持</h4>
        <p>提供持续运维与技术支持,保障系统稳定运行。</p>
      </div>
    </div>
  </div>
</section>

<!-- ===== 联系我们 ===== -->
<section class="contact" id="contact">
  <div class="container">
    <div class="section-head reveal">
      <span class="tag">CONTACT US</span>
      <h2>联系我们</h2>
      <p>期待与您携手,共创数字化未来</p>
    </div>
    <div class="contact-grid">
      <div class="contact-info reveal">
        <div class="contact-item">
          <span class="ico">
            <svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
              <path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/>
            </svg>
          </span>
          <div><b>公司地址</b><span>深圳市南山区科技园</span></div>
        </div>
        <div class="contact-item">
          <span class="ico">
            <svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
              <path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.96.37 1.9.72 2.78a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.88.35 1.82.6 2.78.72A2 2 0 0 1 22 16.92z"/>
            </svg>
          </span>
          <div><b>联系电话</b><span>———</span></div>
        </div>
        <div class="contact-item">
          <span class="ico">
            <svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
              <rect x="2" y="4" width="20" height="16" rx="2"/><path d="m22 7-10 6L2 7"/>
            </svg>
          </span>
          <div><b>电子邮箱</b><span>service@kf-info.com</span></div>
        </div>
        <div class="contact-item">
          <span class="ico">
            <svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
              <circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/>
            </svg>
          </span>
          <div><b>工作时间</b><span>周一至周五 9:00 - 18:00</span></div>
        </div>
      </div>
      <form class="contact-form reveal" id="feedbackForm">
        <h3>在线留言</h3>
        <input type="text" name="name" placeholder="您的称呼" maxlength="50" required>
        <input type="tel" name="phone" placeholder="联系电话" maxlength="30" required>
        <input type="email" name="email" placeholder="电子邮箱(选填)" maxlength="100">
        <textarea name="message" placeholder="请简单描述您的需求…" maxlength="2000" required></textarea>
        <input type="text" name="website" class="hp-field" tabindex="-1" autocomplete="off" aria-hidden="true">
        <button type="submit" class="btn btn-primary" id="feedbackSubmit">提交留言</button>
        <p class="form-status" id="feedbackStatus" role="status"></p>
      </form>
    </div>
  </div>
</section>

<!-- ===== Footer ===== -->
<footer>
  <div class="container">
    © <span id="year"></span> 深圳市狂风信息技术有限公司
    <span class="sep">|</span>
    软件开发
    <span class="sep">|</span>
    信息咨询服务
    <span class="sep">|</span>
    <a href="#top">返回顶部</a>
    <div style="margin-top:8px; font-size:13px;">
      <a href="https://beian.miit.gov.cn/" target="_blank" rel="noopener">粤ICP备2020123046号-1</a>
    </div>
  </div>
</footer>

<script>
  // 当前年份
  document.getElementById('year').textContent = new Date().getFullYear();

  // 移动端导航
  var toggle = document.getElementById('navToggle');
  var links = document.getElementById('navLinks');
  toggle.addEventListener('click', function () {
    links.classList.toggle('open');
  });
  links.addEventListener('click', function (e) {
    if (e.target.tagName === 'A') links.classList.remove('open');
  });

  // 导航滚动阴影
  var nav = document.getElementById('nav');
  window.addEventListener('scroll', function () {
    nav.classList.toggle('scrolled', window.scrollY > 10);
  });

  // 滚动入场动画
  var observer = new IntersectionObserver(function (entries) {
    entries.forEach(function (entry) {
      if (entry.isIntersecting) {
        entry.target.classList.add('visible');
        observer.unobserve(entry.target);
      }
    });
  }, { threshold: 0.12 });
  document.querySelectorAll('.reveal').forEach(function (el) { observer.observe(el); });

  // 留言反馈:提交到本机 /api/feedback,由服务器转发(前端不包含任何收件邮箱信息)
  (function () {
    var form = document.getElementById('feedbackForm');
    if (!form) return;
    var statusEl = document.getElementById('feedbackStatus');
    var submitBtn = document.getElementById('feedbackSubmit');

    form.addEventListener('submit', function (e) {
      e.preventDefault();
      if (form.querySelector('.hp-field').value) return; // 蜜罐被填 -> 忽略机器人

      statusEl.textContent = '';
      statusEl.className = 'form-status';
      submitBtn.disabled = true;
      submitBtn.textContent = '提交中…';

      var payload = {
        name: form.name.value.trim(),
        phone: form.phone.value.trim(),
        email: form.email.value.trim(),
        message: form.message.value.trim()
      };

      fetch('/api/feedback', {
        method: 'POST',
        headers: { 'Content-Type': 'application/json' },
        body: JSON.stringify(payload)
      })
        .then(function (res) {
          return res.json().then(function (j) { return { ok: res.ok, j: j }; });
        })
        .then(function (res) {
          if (res.ok) {
            statusEl.textContent = '提交成功,我们会尽快与您联系!';
            statusEl.className = 'form-status ok';
            form.reset();
          } else {
            statusEl.textContent = (res.j && res.j.error) || '提交失败,请稍后重试';
            statusEl.className = 'form-status err';
          }
        })
        .catch(function () {
          statusEl.textContent = '网络异常,提交失败,请稍后重试';
          statusEl.className = 'form-status err';
        })
        .finally(function () {
          submitBtn.disabled = false;
          submitBtn.textContent = '提交留言';
        });
    });
  })();
</script>
</body>
</html>
