/**
 * 安徽圣恒印刷包装机械有限公司 - 高端官网样式
 * 主题色：深蓝 #1e3a8a，金色 #d4af37
 */

:root {
    --primary: #1e3a8a;
    --primary-dark: #0f216e;
    --primary-light: #3b5cb8;
    --secondary: #d4af37;
    --secondary-light: #f0d878;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #f1f5f9;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 10px 40px -10px rgba(212, 175, 55, 0.3);
    --radius: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title span {
    color: var(--secondary);
}

.section-desc {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 10px 30px -10px rgba(30, 58, 138, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -10px rgba(30, 58, 138, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #b8941d 100%);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -10px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 12px 0;
}

.header.scrolled .nav-link,
.header.scrolled .logo-text {
    color: var(--dark);
}

.header.scrolled .nav-link:hover {
    color: var(--primary);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    margin-right: 20px;
}

.logo img {
    height: 70px;
    width: auto;
    flex-shrink: 0;
    display: block;
}

.logo-text {
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.25;
    transition: var(--transition);
    white-space: nowrap;
}

.logo-text small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.header.scrolled .header-phone {
    color: var(--primary);
}

.header-phone i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.header.scrolled .mobile-menu-btn span {
    background: var(--dark);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 20px;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px -8px rgba(212, 175, 55, 0.55);
    color: var(--primary-dark);
}

@media (max-width: 992px) {
    .header-cta {
        display: none;
    }
}

/* Hero */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
    padding-bottom: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--secondary-light);
    font-weight: 500;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 58px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--secondary);
    position: relative;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.hero-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image-main {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.hero-image-bg {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary);
    border-radius: var(--radius-lg);
    z-index: 1;
}

/* Floating Cards */
.float-cards {
    position: relative;
    margin-top: -80px;
    z-index: 10;
}

.float-cards .container {
    max-width: 1100px;
}

.float-cards-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.float-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.float-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--secondary);
}

.float-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 28px;
}

.float-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.float-card-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* About Section */
.about {
    background: var(--gray-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 85%;
}

.about-img-sub {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 55%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--white);
}

.about-content {
    padding-left: 20px;
}

.about-text {
    font-size: 17px;
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.9;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature i {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 3px;
}

.about-feature span {
    font-weight: 600;
    color: var(--dark);
}

/* Products */
.products {
    background: var(--white);
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.product-tab {
    padding: 12px 28px;
    border-radius: 50px;
    background: var(--gray-light);
    color: var(--dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.product-tab:hover,
.product-tab.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 30px -10px rgba(30, 58, 138, 0.4);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.product-image {
    height: 220px;
    background: linear-gradient(135deg, var(--gray-light) 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--secondary);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
}

.product-info {
    padding: 24px;
}

.product-category {
    font-size: 13px;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.product-link:hover {
    color: var(--secondary);
    gap: 12px;
}

/* Technology */
.tech {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.tech .section-title,
.tech .section-desc {
    color: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.tech-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 40px 30px;
    transition: var(--transition);
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    border-color: var(--secondary);
}

.tech-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--secondary) 0%, rgba(212, 175, 55, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
    margin-bottom: 24px;
}

.tech-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.tech-card-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Applications */
.applications {
    background: var(--gray-light);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.app-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 360px;
    box-shadow: var(--shadow);
}

.app-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.app-card:hover img {
    transform: scale(1.1);
}

.app-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 60%, transparent 100%);
    color: var(--white);
    transition: var(--transition);
}

.app-card:hover .app-overlay {
    padding-bottom: 40px;
}

.app-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.app-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* Why Choose Us */
.why-us {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius);
    background: var(--gray-light);
    transition: var(--transition);
}

.why-card:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-8px);
}

.why-card:hover .why-title,
.why-card:hover .why-text {
    color: var(--white);
}

.why-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.why-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.why-text {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo img {
    height: 55px;
}

.footer-logo-text {
    font-weight: 700;
    font-size: 18px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 4px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a:hover {
    color: var(--secondary);
}

/* Page Banner */
.page-banner {
    min-height: 420px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-banner-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-banner-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--gray-light);
    padding: 16px 0;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--gray);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--primary);
    font-weight: 600;
}

/* Content Pages */
.content-section {
    padding: 80px 0;
}

.content-text {
    font-size: 17px;
    color: var(--gray);
    line-height: 1.9;
}

.content-text h3 {
    color: var(--primary-dark);
    font-size: 24px;
    margin: 40px 0 20px;
}

.content-text p {
    margin-bottom: 20px;
}

.content-text ul {
    list-style: none;
    margin: 20px 0;
}

.content-text li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}

.content-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.contact-info-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-info-text {
    color: var(--gray);
    line-height: 1.7;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: var(--gray-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* Map */
.map-container {
    height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav {
        gap: 18px;
    }
    .nav-link {
        font-size: 14px;
    }
    .header-cta {
        padding: 10px 18px;
        font-size: 13px;
    }
    .logo {
        gap: 10px;
        margin-right: 10px;
    }
    .logo img {
        height: 58px;
    }
    .logo-text {
        font-size: 15px;
    }
    .logo-text small {
        font-size: 10px;
    }
}

@media (max-width: 1080px) {
    .logo-text small {
        display: none;
    }
    .logo-text {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-title {
        font-size: 42px;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-image {
        display: none;
    }
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .about-images {
        margin-bottom: 40px;
    }
    .tech-grid,
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 40px;
        gap: 24px;
        transition: var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }
    .nav.active {
        right: 0;
    }
    .nav-link {
        color: var(--dark);
        font-size: 18px;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .header-contact {
        display: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    .section.about {
        padding-top: 100px !important;
    }
    .section-title {
        font-size: 32px;
    }
    .hero-title {
        font-size: 34px;
    }
    .hero {
        padding-bottom: 60px;
    }
    .float-cards {
        margin-top: -40px;
    }
    .logo img {
        height: 50px;
    }
    .logo-text {
        font-size: 13px;
    }
    .logo-text small {
        display: none;
    }
    .product-grid,
    .tech-grid,
    .app-grid,
    .why-grid,
    .float-cards-inner {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .cta-title {
        font-size: 32px;
    }
    .page-banner-title {
        font-size: 36px;
    }
}

/* ============ 新闻资讯 ============ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid #eef2f7;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}
.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-image img {
    transform: scale(1.08);
}
.news-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--secondary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
}
.news-content {
    padding: 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-date {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 12px;
}
.news-date i {
    margin-right: 6px;
    color: var(--primary);
}
.news-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}
.news-excerpt {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}
.news-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.news-link:hover {
    gap: 10px;
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ 补充：数字计数 / 表单提示 ============ */
.counter {
    display: inline-block;
    font-family: 'DIN Alternate', 'PingFang SC', Arial, sans-serif;
    font-variant-numeric: tabular-nums;
}

.alert-error,
.alert-success {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: alertIn 0.3s ease;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

@keyframes alertIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Admin styles are in admin/assets/css/admin.css */
