/* ============================================================
   筑浪 · 前台官网展示页样式
   ============================================================ */
:root {
    --brand: #0e9f56;
    --brand-dark: #0a7d44;
    --brand-deep: #064e2b;
    --brand-bright: #0fdc78;
    --brand-ink: #004d26;
    --brand-soft: #e9f7ef;
    --ink: #17211c;
    --body: #4b5a53;
    --muted: #8a978f;
    --line: #e6eae7;
    --bg: #ffffff;
    --bg-soft: #f4f8f5;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(16, 40, 28, .04), 0 10px 30px rgba(16, 40, 28, .07);
    --shadow-sm: 0 1px 2px rgba(16, 40, 28, .05), 0 4px 14px rgba(16, 40, 28, .05);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--body);
    font-size: 15px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 999px;
    padding: 4px 14px;
    margin-bottom: 14px;
}
.section-head h2 { font-size: 30px; line-height: 1.35; color: var(--ink); font-weight: 700; }
.section-head p { margin-top: 12px; color: var(--muted); }

/* ---------- 顶栏 ---------- */
.site-head {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.site-head.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 12px rgba(16, 40, 28, .05); }
.site-head .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand-logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: 1px; }
.brand-logo .mark {
    width: 34px; height: 34px; border-radius: 9px;
    background: linear-gradient(135deg, var(--brand-bright), var(--brand));
    color: var(--brand-ink);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 17px; font-weight: 800;
}
.brand-logo em { font-style: normal; color: var(--brand); }
.brand-logo small { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .08em; margin-left: 2px; align-self: flex-end; padding-bottom: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
    position: relative;
    padding: 8px 14px; border-radius: 8px;
    font-size: 14.5px; color: var(--body);
    transition: color .15s, background .15s;
}
.nav a:hover { color: var(--brand-dark); background: var(--brand-soft); }
.nav a.active { color: var(--brand-dark); font-weight: 600; }
.nav a.nav-login {
    margin-left: 6px; padding: 8px 18px; border-radius: 999px; font-weight: 600;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff;
    box-shadow: 0 6px 16px rgba(14, 159, 86, .28);
}
.nav a.nav-login:hover { color: #fff; box-shadow: 0 8px 22px rgba(14, 159, 86, .38); transform: translateY(-1px); }

.nav-toggle { display: none; width: 40px; height: 40px; border: none; background: none; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
    content: ""; position: relative; transition: transform .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- 首屏 ---------- */
.hero {
    position: relative;
    padding: 158px 0 96px;
    background:
        radial-gradient(640px 340px at 88% 8%, rgba(15, 220, 120, .12), transparent 60%),
        radial-gradient(520px 300px at 4% 88%, rgba(14, 159, 86, .08), transparent 60%),
        linear-gradient(180deg, var(--bg-soft), #fff 78%);
    overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 6px 16px; font-size: 13px; color: var(--brand-dark); font-weight: 600;
    box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-bright); box-shadow: 0 0 0 3px rgba(15, 220, 120, .25); }
.hero h1 { font-size: 46px; line-height: 1.25; color: var(--ink); font-weight: 800; letter-spacing: .5px; }
.hero h1 .hl {
    background: linear-gradient(120deg, var(--brand), var(--brand-bright));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin-top: 20px; font-size: 16.5px; max-width: 520px; color: var(--body); }
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: none; border-radius: 10px; padding: 13px 28px;
    font-size: 15px; font-weight: 600; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; box-shadow: 0 8px 20px rgba(14, 159, 86, .28); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(14, 159, 86, .36); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }

.hero-visual { position: relative; }
.hero-visual .frame {
    border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow);
    transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
    transition: transform .4s;
    background: var(--brand-soft);
    aspect-ratio: 4 / 3.4;
}
.hero-visual .frame:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .float-card {
    position: absolute; left: -26px; bottom: 34px;
    background: #fff; border-radius: 14px; box-shadow: var(--shadow);
    padding: 14px 18px; display: flex; align-items: center; gap: 12px;
    animation: floaty 4.5s ease-in-out infinite;
}
.hero-visual .float-card .ic {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--brand-soft); color: var(--brand-dark);
    display: inline-flex; align-items: center; justify-content: center;
}
.hero-visual .float-card b { display: block; font-size: 14px; color: var(--ink); }
.hero-visual .float-card span { font-size: 12px; color: var(--muted); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- 数据条 ---------- */
.stats { background: linear-gradient(135deg, var(--brand-deep), var(--brand-dark) 55%, #0c8a4c); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 46px; padding-bottom: 46px; }
.stat { text-align: center; color: #fff; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -12px; top: 18%; height: 64%; width: 1px; background: rgba(255, 255, 255, .22); }
.stat b { font-size: 38px; font-weight: 800; letter-spacing: .5px; display: block; line-height: 1.2; }
.stat b i { font-style: normal; font-size: 20px; font-weight: 700; color: var(--brand-bright); margin-left: 2px; }
.stat span { font-size: 13.5px; color: rgba(255, 255, 255, .78); }

/* ---------- 关于我们 ---------- */
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; }
.about-visual .frame { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.1; background: var(--bg-soft); }
.about-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .tag {
    position: absolute; right: -18px; top: 26px;
    background: #fff; border-radius: 12px; box-shadow: var(--shadow);
    padding: 12px 18px; text-align: center;
}
.about-visual .tag b { display: block; font-size: 22px; color: var(--brand-dark); font-weight: 800; }
.about-visual .tag span { font-size: 12px; color: var(--muted); }
.about-text h2 { font-size: 30px; color: var(--ink); font-weight: 700; line-height: 1.35; }
.about-text > p { margin-top: 16px; }
.about-points { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; }
.about-points .ck {
    flex: none; width: 22px; height: 22px; border-radius: 50%;
    background: var(--brand-soft); color: var(--brand-dark);
    display: inline-flex; align-items: center; justify-content: center; margin-top: 3px;
}
.about-points b { color: var(--ink); font-weight: 600; }
.about-points p { font-size: 13.5px; color: var(--muted); margin-top: 1px; }

/* ---------- 产品服务 ---------- */
.services { background: var(--bg-soft); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
    background: #fff; border-radius: var(--radius); padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(14, 159, 86, .25); }
.service-card .ic {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-soft), #d8f3e3);
    color: var(--brand-dark);
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.service-card h3 { font-size: 17px; color: var(--ink); font-weight: 700; }
.service-card p { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

/* ---------- 新闻动态 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line);
    transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card .thumb { aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card .date { font-size: 12.5px; color: var(--brand); font-weight: 600; letter-spacing: .04em; }
.news-card h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-top: 8px; line-height: 1.5; }
.news-card p { font-size: 13.5px; color: var(--muted); margin-top: 8px; flex: 1; }
.news-card .more { margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--brand-dark); display: inline-flex; align-items: center; gap: 6px; }
.news-card .more svg { transition: transform .15s; }
.news-card:hover .more svg { transform: translateX(3px); }

/* ---------- 联系我们 ---------- */
.contact { background: var(--bg-soft); }
.contact .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 30px; color: var(--ink); font-weight: 700; line-height: 1.35; }
.contact-info > p { margin-top: 14px; }
.contact-list { list-style: none; margin-top: 28px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .ic {
    flex: none; width: 44px; height: 44px; border-radius: 12px;
    background: #fff; color: var(--brand-dark);
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
}
.contact-list b { display: block; color: var(--ink); font-size: 14.5px; }
.contact-list span { font-size: 13px; color: var(--muted); }

.contact-form {
    background: #fff; border-radius: 18px; box-shadow: var(--shadow);
    padding: 34px 32px;
}
.contact-form h3 { font-size: 19px; color: var(--ink); font-weight: 700; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--body); margin-bottom: 6px; font-weight: 500; }
.field input, .field textarea {
    width: 100%; padding: 11px 13px;
    border: 1px solid var(--line); border-radius: 9px;
    outline: none; background: #fff; color: var(--ink);
    transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14, 159, 86, .12); }
.field textarea { resize: vertical; min-height: 108px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- 加入我们 ---------- */
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.join-card {
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow); padding: 30px 30px 26px;
}
.join-card h3 { font-size: 20px; color: var(--ink); font-weight: 700; }
.join-card .join-sub { font-size: 13px; color: var(--muted); margin: 6px 0 22px; }
.join-card .btn-primary { width: 100%; }
.join-card button:disabled { opacity: .6; cursor: not-allowed; }
.join-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 22px; }
@media (max-width: 760px) { .join-grid { grid-template-columns: 1fr; } }

/* ---------- 页脚 ---------- */
.site-foot { background: #101a15; color: rgba(255, 255, 255, .62); padding: 54px 0 26px; }
.site-foot .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-foot .brand-logo { color: #fff; }
.site-foot .brand-logo em { color: var(--brand-bright); }
.site-foot .fdesc { margin-top: 14px; font-size: 13px; max-width: 260px; }
.site-foot h4 { color: #fff; font-size: 14.5px; font-weight: 600; margin-bottom: 14px; }
.site-foot ul { list-style: none; display: grid; gap: 9px; font-size: 13.5px; }
.site-foot ul a:hover { color: var(--brand-bright); }
.site-foot .bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: 12.5px; flex-wrap: wrap; gap: 10px; }
.site-foot .bottom a { color: rgba(255, 255, 255, .5); }
.site-foot .bottom a:hover { color: var(--brand-bright); }

/* ---------- 返回顶部 ---------- */
.back-top {
    position: fixed; right: 26px; bottom: 30px; z-index: 90;
    width: 44px; height: 44px; border-radius: 12px; border: none;
    background: #fff; color: var(--brand-dark);
    box-shadow: var(--shadow);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .25s, transform .25s, visibility .25s;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--brand-soft); }

/* ---------- Toast ---------- */
.toast {
    position: fixed; left: 50%; top: 84px; transform: translateX(-50%);
    background: var(--ink); color: #fff;
    border-radius: 10px; padding: 11px 22px; font-size: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
    z-index: 200; opacity: 0; transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(4px); }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-visual .float-card { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .site-foot .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
    .hero { padding-top: 128px; }
    .hero .container { grid-template-columns: 1fr; gap: 44px; }
    .hero h1 { font-size: 36px; }
    .hero-visual { max-width: 560px; }
    .hero-visual .float-card { left: 12px; }
    .stats .container { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
    .stat + .stat::before { display: none; }
    .about .container { grid-template-columns: 1fr; gap: 40px; }
    .about-visual { max-width: 560px; }
    .contact .container { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .section-head h2, .about-text h2, .contact-info h2 { font-size: 25px; }
}
@media (max-width: 720px) {
    .nav {
        position: fixed; inset: 68px 0 auto 0;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 10px 16px 16px;
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .2s, transform .2s, visibility .2s;
        box-shadow: 0 18px 30px rgba(16, 40, 28, .08);
    }
    .nav.open { transform: none; opacity: 1; visibility: visible; }
    .nav a { padding: 12px 14px; font-size: 15px; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .hero h1 { font-size: 31px; }
    .hero-cta .btn { flex: 1; }
    .service-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .site-foot .grid { grid-template-columns: 1fr; gap: 26px; }
    .contact-form { padding: 26px 20px; }
    .brand-logo small { display: none; }
}
