/* ===== 甬鲜通官网样式 ===== */
:root {
    --primary: #00C853;
    --primary-dark: #00A844;
    --primary-light: #E8F9EF;
    --dark: #0D1F17;
    --dark-2: #1B3A2F;
    --text: #2C3E50;
    --text-light: #6B7C8F;
    --bg: #FFFFFF;
    --bg-alt: #F7FAF8;
    --border: #E8ECEF;
    --shadow: 0 10px 40px rgba(13, 31, 23, 0.08);
    --shadow-hover: 0 20px 60px rgba(13, 31, 23, 0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.en {
    font-family: "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.3em;
    font-weight: 300;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.05em;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
}

/* 未滚动时导航栏处于浅色 Hero 之上，统一用深色文字 */
.navbar:not(.scrolled) .nav-link {
    color: var(--text);
}

.navbar:not(.scrolled) .nav-logo {
    color: var(--dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

.navbar:not(.scrolled) .hamburger span {
    background: var(--dark);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 24px 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #F4FBF6 0%, #FFFFFF 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 200, 83, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 200, 83, 0.06) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 1s 0.2s forwards;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeUp 1s 0.4s forwards;
}

.title-line {
    display: block;
}

.title-line.accent {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #34C77B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 48px;
    line-height: 1.9;
    opacity: 0;
    animation: fadeUp 1s 0.6s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s 0.8s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 200, 83, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 18px 42px;
    font-size: 16px;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 11px;
    letter-spacing: 0.3em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--primary));
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== Sections ===== */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid var(--primary-light);
    border-radius: 20px;
    background: var(--primary-light);
}

.section-title {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-title.light {
    color: var(--dark);
}

.section-desc {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About ===== */
.about {
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.about-card {
    padding: 48px 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
}

.about-card-icon svg {
    width: 28px;
    height: 28px;
}

.about-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

/* ===== Services ===== */
.services {
    background: var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-item {
    background: var(--bg);
    padding: 48px 40px;
    border-radius: 8px;
    display: flex;
    gap: 32px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.service-number {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 48px;
    font-weight: 200;
    color: var(--primary);
    line-height: 1;
    opacity: 0.5;
    min-width: 80px;
    letter-spacing: -0.02em;
}

.service-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-content p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.service-tags span {
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 12px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* ===== Values ===== */
.values {
    background: linear-gradient(180deg, #F4FBF6 0%, #FFFFFF 100%);
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.values::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.values-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.values-left .section-tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-color: transparent;
}

.values-quote {
    margin-top: 40px;
    padding-left: 24px;
    border-left: 3px solid var(--primary);
}

.values-quote blockquote {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.values-quote p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.9;
}

.value-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.value-item:hover {
    background: var(--primary-light);
    border-color: rgba(0, 200, 83, 0.3);
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 28px;
    line-height: 1;
    min-width: 40px;
}

.value-item h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.value-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Contact ===== */
.contact {
    background: var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.contact-item {
    background: var(--bg);
    padding: 32px 24px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-icon.wechat-icon {
    background: #E8F9EF;
    color: #07C160;
}

.contact-detail h4 {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

a.contact-value:hover {
    color: var(--primary);
}

.contact-note {
    font-size: 12px;
    color: var(--text-light);
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, #0D1F17 0%, #1B3A2F 100%);
    color: #fff;
    padding: 48px 40px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.15) 0%, transparent 50%);
}

.cta-card > * {
    position: relative;
    z-index: 1;
}

.cta-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-card > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    font-size: 15px;
    line-height: 1.8;
}

.cta-card .btn-primary {
    width: 100%;
    justify-content: center;
    margin-bottom: 0;
}

/* 微信二维码（联系方式区） */
.contact-wx-qr {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px;
    margin: 4px 0 8px;
    display: block;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-top {
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 6px;
}

.footer-slogan {
    font-size: 14px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

.footer-icp {
    margin-top: 8px;
}

.footer-icp a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-icp a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Floating Contact ===== */
.float-contact {
    position: fixed;
    right: 24px;
    bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.float-contact.visible {
    opacity: 1;
    transform: translateY(0);
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.phone-btn {
    background: var(--primary);
}

.wechat-btn {
    background: #07C160;
}

.float-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Fade-in Animation ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .values-wrapper { grid-template-columns: 1fr; gap: 60px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .section-header { margin-bottom: 48px; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 32px;
        gap: 24px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }
    .nav-menu.active { right: 0; }
    .nav-menu .nav-link { color: var(--dark) !important; font-size: 18px; }
    .hamburger { display: flex; }
    .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--dark); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--dark); }
    .hero { padding: 80px 24px 60px; }
    .hero-title { font-size: 48px; }
    .hero-desc { font-size: 15px; }
    .contact-info { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .service-item { padding: 32px 24px; flex-direction: column; gap: 16px; }
    .service-number { font-size: 36px; min-width: auto; }
    .values-quote blockquote { font-size: 22px; }
    .float-btn { width: 46px; height: 46px; }
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    .hero-title { font-size: 36px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn { justify-content: center; width: 100%; }
    .section-title { font-size: 28px; }
    .cta-card { padding: 32px 24px; }
    .footer-brand { font-size: 18px; }
}
