﻿
/* ========================================
   1. 全局基础设置
======================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #101110;
    --panel: #181a18;
    --text: #f3f5f0;
    --muted: #a0a59c;
    --lime: #c5ff43;
    --line: rgba(255, 255, 255, .12);
    --max: 1160px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font: 16px/1.7 Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img,
svg {
    max-width: 100%;
}

.wrap {
    width: min(var(--max), calc(100% - 56px));
    margin: auto;
}

.lime,
.hero h1 span,
.pagehero h1 span {
    color: var(--lime);
}


/* ========================================
   2. 顶部导航栏 Header
======================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(16, 17, 16, .94);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--line);
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    position: relative;
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-weight: 850;
    letter-spacing: 1px;
    font-size: 19px;
}

.logo b {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 9px;
    background: var(--lime);
    color: #101110;
    font-size: 25px;
}

.logo img {
    display: block;
    width: 150px;
    height: auto;
    max-height: 50px;
    object-fit: contain;
}

/* 导航菜单 */

.nav nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.nav nav a {
    font-size: 13px;
    color: #d7dbd2;
    transition: color .2s;
}

.nav nav a:hover,
.nav nav a:focus-visible {
    color: var(--lime);
}

/* 手机菜单按钮 */

.hamb {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--lime);
    padding: 8px 12px;
}


/* ========================================
   3. 语言切换按钮
======================================== */

.language-switch {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#lang.lang,
#lang:not(.lang) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 75px;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: border-color .2s, background .2s;
}

#lang.lang .language-flag,
#lang .language-flag {
    display: block;
    width: 24px;
    height: 16px;
    flex: 0 0 24px;
    max-width: none;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

#lang.lang:hover,
#lang:hover {
    border-color: var(--lime);
    background: rgba(197, 255, 67, .08);
}


/* ========================================
   4. 首页主视觉 Hero
======================================== */

.hero {
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

/* 背景网格 */

.grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(
        90deg,
        transparent,
        #000 25%,
        #000 80%,
        transparent
    );
}

/* 主视觉内容 */

.hero-in {
    position: relative;
    z-index: 2;
    padding-top: 70px;
    padding-bottom: 100px;
}

/* 顶部标签 */

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #46562a;
    background: #1c2315;
    color: var(--lime);
    padding: 7px 13px;
    border-radius: 30px;
    font-size: 12px;
    margin-bottom: 27px;
}

.pill i {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 10px var(--lime);
}

/* 主标题 */

h1 {
    font-size: clamp(44px, 6.5vw, 78px);
    line-height: 1.12;
    letter-spacing: -2.8px;
    max-width: 850px;
    overflow-wrap: anywhere;
}

/* 简介文字 */

.lead {
    max-width: 550px;
    color: var(--muted);
    font-size: 16px;
    margin-top: 25px;
    line-height: 1.9;
}

/* 按钮区域 */

.actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* 通用按钮 */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 21px;
    min-height: 50px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s, background .2s, border-color .2s;
}

.btn:hover {
    transform: translateY(-2px);
}

/* 绿色按钮 */

.primary {
    background: var(--lime);
    color: #101110;
}

.primary:hover {
    background: #d8ff7d;
}

/* 透明边框按钮 */

.outline {
    border-color: var(--line);
}

.outline:hover {
    border-color: var(--lime);
    color: var(--lime);
}

/* Hero 底部提示 */

.hero-foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #747b70;
    font-size: 10px;
    letter-spacing: 1.4px;
}

/* 右侧装饰圆环 */

.orb {
    position: absolute;
    right: 8%;
    top: 24%;
    width: 300px;
    height: 300px;
    border: 1px solid #39452b;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transform: rotate(-25deg) scaleX(.7);
    opacity: .75;
}

.orb:before,
.orb:after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid #39452b;
    border-radius: 50%;
    transform: rotate(65deg) scaleX(.7);
}

.orb:after {
    inset: 45px;
    transform: rotate(-35deg) scaleX(.8);
}

.orb div {
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    border: 1px solid var(--lime);
    border-radius: 25px;
    color: var(--lime);
    font-size: 58px;
    font-weight: 900;
    transform: rotate(25deg) scaleX(1.4);
    background: #151a11;
}


/* ========================================
   5. 通用内容区
======================================== */

.section {
    padding: 95px 0;
}

.eyebrow {
    display: block;
    color: var(--lime);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 15px;
}

h2 {
    font-size: clamp(29px, 4vw, 46px);
    line-height: 1.25;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
}

.sub {
    margin-top: 15px;
    color: var(--muted);
}


/* ========================================
   6. 品牌展示卡片
======================================== */

.cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 35px;
}

.card {
    min-width: 0;
    min-height: 320px;
    padding: 29px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(197, 255, 67, .08),
            transparent 40%
        ),
        var(--panel);
    transition: transform .2s, border-color .2s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #60763a;
}

.card small {
    display: flex;
    justify-content: space-between;
    color: #8b9285;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.card small span {
    color: var(--lime);
    font-size: 18px;
}

.symbol {
    font-size: 63px;
    font-weight: 900;
    color: var(--lime);
    line-height: 1.2;
    margin-top: 22px;
}

.outline-symbol {
    color: transparent;
    -webkit-text-stroke: 1px #f3f5f0;
}

.card h3 {
    font-size: 24px;
    margin-top: 12px;
    letter-spacing: 1px;
}

.card p,
.split p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 8px;
}

.more {
    display: inline-block;
    color: var(--lime);
    font-size: 13px;
    font-weight: bold;
    margin-top: 22px;
}


/* ========================================
   7. 公司介绍区域
======================================== */

.shade {
    background: #141614;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.split {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 70px;
    align-items: center;
}

.split p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 24px;
}


/* ========================================
   8. 商务合作 CTA 区域
======================================== */

.cta {
    background: var(--lime);
    color: #101110;
    padding: 65px 0;
}

.cta .eyebrow {
    color: #39491c;
}

.cta-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.cta h2 {
    max-width: 720px;
}

.dark {
    background: #101110;
    color: var(--lime);
}


/* ========================================
   9. 网站底部 Footer
======================================== */

footer {
    background: #0b0c0b;
}

.foot {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 50px;
    padding-top: 60px;
    padding-bottom: 50px;
}

.foot p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 15px;
}

.foot strong {
    display: block;
    font-size: 13px;
    margin-bottom: 12px;
}

.foot > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.foot > div > a:not(.logo) {
    color: var(--muted);
    font-size: 12px;
}

.foot a:hover,
.bottom a:hover {
    color: var(--lime);
}

.bottom {
    border-top: 1px solid var(--line);
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #777d72;
    font-size: 11px;
}


/* ========================================
   10. 内页通用样式
======================================== */

.pagehero {
    padding: 95px 0 75px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(
            ellipse at 85% 10%,
            rgba(197, 255, 67, .07),
            transparent 45%
        );
}

.pagehero h1 {
    font-size: clamp(40px, 6vw, 66px);
}

.pagehero p {
    max-width: 650px;
    color: var(--muted);
    margin-top: 22px;
    line-height: 1.9;
}

.narrow {
    max-width: 820px;
}

.narrow h2 {
    font-size: 24px;
    margin: 28px 0 12px;
}

.narrow p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.95;
    margin-bottom: 18px;
}

.note {
    margin: 25px 0;
    padding: 17px 20px;
    border-left: 3px solid var(--lime);
    background: var(--panel);
    color: var(--muted);
    font-size: 13px;
}


/* ========================================
   11. 联系页面 Contact
======================================== */

.contactgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.contactbox {
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--panel);
}

.contactbox h2 {
    font-size: 23px;
    line-height: 1.5;
    margin: 10px 0 14px;
}

.contactbox p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
    margin: 12px 0;
    overflow-wrap: anywhere;
}

/* 联系信息条目 */

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 26px;
}

.contact-icon {
    display: flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(197, 255, 67, .09);
    color: var(--lime);
    font-size: 13px;
    font-weight: 700;
}

.contact-info-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-info-item p {
    margin: 0;
    overflow-wrap: anywhere;
}

/* 联系提示 */

.contact-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 30px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(197, 255, 67, .06);
    color: #c6d0bd;
    font-size: 13px;
    line-height: 1.8;
}

.lime-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--lime);
}

/* 联系表单 */

.contactbox form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}

.contactbox label {
    font-size: 13px;
    font-weight: 600;
    margin-top: 5px;
}

.contactbox input,
.contactbox textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    background: #101210;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.contactbox input::placeholder,
.contactbox textarea::placeholder {
    color: #777d72;
}

.contactbox input:focus,
.contactbox textarea:focus {
    border-color: var(--lime);
    box-shadow: 0 0 0 3px rgba(197, 255, 67, .08);
}

.contactbox textarea {
    min-height: 150px;
    resize: vertical;
}

.contactbox button {
    align-self: flex-start;
    margin-top: 12px;
}

/* Formspree 垃圾留言隐藏字段 */

.contactbox input[name="_gotcha"] {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}


/* ========================================
   12. 平板适配
======================================== */

@media (max-width: 850px) {

    .orb {
        right: -90px;
        opacity: .3;
    }

    .nav nav {
        gap: 16px;
    }

    .split {
        gap: 35px;
    }

    .contactgrid {
        gap: 20px;
    }

    .contactbox {
        padding: 24px;
    }
}


/* ========================================
   13. 手机端适配
======================================== */

@media (max-width: 700px) {

    .wrap {
        width: calc(100% - 36px);
    }

    .nav {
        min-height: 68px;
    }

    .hamb {
        display: block;
    }

    /* 手机导航菜单 */

    .nav nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        padding: 14px 18px 22px;
        background: #101110;
        border-bottom: 1px solid var(--line);
        align-items: stretch;
        gap: 0;
    }

    .nav nav.open {
        display: flex;
        flex-direction: column;
    }

    .nav nav a {
        padding: 12px 4px;
        border-bottom: 1px solid var(--line);
    }

    #lang {
        align-self: flex-start;
        margin-top: 12px;
    }

    /* 首页主视觉 */

    .hero {
        min-height: 600px;
    }

    .hero-in {
        padding-top: 65px;
        padding-bottom: 115px;
    }

    h1 {
        font-size: clamp(39px, 10vw, 58px);
        letter-spacing: -1.5px;
    }

    .lead {
        font-size: 14px;
    }

    /* 装饰圆环 */

    .orb {
        right: -160px;
        top: 35%;
        opacity: .16;
        width: 250px;
        height: 250px;
    }

    /* 主视觉底部文字 */

    .hero-foot {
        flex-direction: column;
        gap: 4px;
        font-size: 9px;
    }

    /* 通用内容区 */

    .section {
        padding: 68px 0;
    }

    /* 品牌卡片 */

    .cards {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: 295px;
        padding: 24px;
    }

    /* 公司介绍 */

    .split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* 商务合作 */

    .cta {
        padding: 48px 0;
    }

    .cta-in {
        align-items: flex-start;
        flex-direction: column;
        gap: 23px;
    }

    /* 页脚 */

    .foot {
        grid-template-columns: 1fr 1fr;
        gap: 30px 18px;
        padding-top: 45px;
    }

    .foot > div:first-child {
        grid-column: 1 / -1;
    }

    .bottom {
        padding: 14px 0;
        min-height: 68px;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 2px;
    }

    /* 内页标题 */

    .pagehero {
        padding: 70px 0 55px;
    }

    .pagehero h1 {
        font-size: clamp(37px, 9vw, 52px);
        letter-spacing: -1.2px;
    }

    .section .narrow {
        padding-top: 0;
    }

    /* 联系页面 */

    .contactgrid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contactbox {
        padding: 22px;
    }

    .contactbox button {
        align-self: stretch;
        width: 100%;
    }

}


/* ========================================
   14. 超小屏手机适配
======================================== */

@media (max-width: 360px) {

    .wrap {
        width: calc(100% - 28px);
    }

    .logo {
        font-size: 17px;
    }

    .actions {
        flex-direction: column;
    }

    .actions .btn {
        width: 100%;
    }

    .foot {
        grid-template-columns: 1fr;
    }

    .foot > div:first-child {
        grid-column: auto;
    }

    .contactbox {
        padding: 18px;
    }

}
