/**
 * x036 科技数码主题 - 基础样式
 */

:root {
    --primary: #2196f3;
    --primary-dark: #1976d2;
    --secondary: #263238;
    --accent: #00b0ff;
    --bg: #fafafa;
}

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

body {
    font-family: 'Orbitron', 'Roboto', sans-serif;
    color: var(--secondary);
    background: var(--bg);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.btn {
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.header { background: #fff; box-shadow: 0 2px 15px rgba(0,0,0,0.08); }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary); font-family: 'Orbitron', sans-serif; }
.nav ul { display: flex; gap: 2rem; list-style: none; }
.nav a { color: #555; font-weight: 500; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em; }
.nav a:hover { color: var(--primary); }

.hero {
    height: 80vh;
    background-size: cover;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.9) 0%, rgba(0, 176, 255, 0.85) 100%);
}

.hero-content { position: relative; z-index: 1; color: #fff; max-width: 600px; }
.hero h1 { font-size: 3rem; font-weight: 700; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.05em; }

.section { padding: 5rem 0; }
.section-title { font-size: 2.25rem; font-weight: 700; text-align: center; margin-bottom: 1rem; text-transform: uppercase; }
.section-subtitle { text-align: center; color: #666; margin-bottom: 3rem; }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.product-image { height: 220px; overflow: hidden; background: #f0f0f0; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 1.25rem; }
.product-name { font-weight: 600; margin-bottom: 0.5rem; text-transform: uppercase; font-size: 0.875rem; }
.product-price { color: var(--primary); font-weight: 700; font-size: 1.125rem; }

.footer { background: #0d47a1; color: #fff; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem; }
.footer h4 { color: var(--accent); margin-bottom: 1.5rem; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.1em; }
.footer a { color: rgba(255,255,255,0.7); display: block; margin-bottom: 0.75rem; }
.footer a:hover { color: var(--accent); }

@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); } .hero h1 { font-size: 2rem; } }
