/* css/style.css */
:root {
    --primary: #0A5C8E;
    --primary-dark: #043956;
    --primary-light: #E8F2F7;
    --accent: #E67E22;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-600: #475569;
    --gray-900: #0F172A;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-900);
    line-height: 1.5;
    background: var(--white);
}

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

/* 导航栏 */
.navbar {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.logo p {
    font-size: 0.75rem;
    color: var(--gray-600);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.quote-nav-btn {
    background: var(--primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 40px;
    margin-left: 1rem;
}

.quote-nav-btn:hover {
    background: var(--primary-dark);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero 区域 */
.hero {
    height: 85vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-outline, .btn-cta {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* 友情链接区域 */
.friendly-links {
    background: var(--primary-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.section-title p {
    color: var(--gray-600);
    margin-top: 0.5rem;
}

.link-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.quote-card {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-width: 200px;
}

.quote-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.quote-card .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.quote-card h3 {
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.quote-card p {
    color: var(--primary);
    font-weight: 500;
}

/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.product-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: all 0.2s;
}

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

.product-model {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    min-height: 48px;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.75rem 0;
}

.inquiry-link {
    display: inline-block;
    background: var(--gray-100);
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
}

.inquiry-link:hover {
    background: var(--primary);
    color: white;
}

/* 核心价值网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray-600);
}

/* 页脚 */
.footer {
    background: var(--gray-900);
    color: var(--gray-200);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: var(--gray-200);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero {
        height: 70vh;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

/* 动画 */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.6s ease-out;
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 60px;
    color: var(--gray-600);
}

/* 筛选栏 */
.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.filter-btn {
    padding: 8px 20px;
    background: var(--gray-100);
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
}

.search-bar {
    margin: 20px 0;
    display: flex;
    gap: 12px;
}

.search-bar input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 40px;
    font-size: 16px;
}

.search-bar button {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
}

.price-note {
    background: var(--primary-light);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    text-align: center;
}