/* Website 154 - 齿轮转动风格 (Gear Rotation)
 * 布局：齿轮旋转动画，机械工业风格
 * 主题色：橙色 (#ea580c) + 琥珀色 (#d97706)
 */

:root {
    --primary-color: #ea580c;
    --primary-dark: #c2410c;
    --primary-light: #fb923c;
    --accent-color: #d97706;
    --accent-light: #fbbf24;
    --bg-dark: #1f1a0a;
    --bg-card: #2a2415;
    --text-primary: #fef3c7;
    --text-secondary: #fcd34d;
    --text-dark: #1f1a0a;
    --border-color: #92400e;
    --shadow-color: rgba(234, 88, 12, 0.4);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2010 50%, var(--bg-dark) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.gear-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(31, 26, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gear-icon {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: var(--bg-card);
    border-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-light);
    transition: all 0.3s ease;
}

.main-content {
    padding-top: 70px;
}

.gear-hero {
    padding: 80px 40px;
    text-align: center;
    position: relative;
}

.gear-hero::before {
    content: '⚙️';
    position: absolute;
    font-size: 200px;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 30s linear infinite;
}

.gear-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.gear-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gear-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.gear-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid var(--border-color);
}

.gear-card::before {
    content: '⚙️';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 80px;
    opacity: 0.1;
    animation: rotate 20s linear infinite reverse;
}

.gear-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.gear-card .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.gear-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--primary-light);
}

.gear-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.gear-card .card-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.gear-section {
    padding: 80px 40px;
    background: rgba(234, 88, 12, 0.1);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--primary-light);
}

.gear-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.gear-item {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.gear-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.gear-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.gear-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.gear-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.gear-contact {
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-dark) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gear-contact-card {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.gear-contact-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.gear-contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.gear-contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-light);
}

.gear-contact-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.gear-footer {
    background: var(--bg-dark);
    padding: 40px;
    text-align: center;
    border-top: 2px solid var(--border-color);
}

.gear-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .gear-nav {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(31, 26, 10, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        transform: translateY(-150%);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: flex;
    }

    .gear-hero {
        padding: 60px 20px;
    }

    .gear-hero h1 {
        font-size: 2rem;
    }

    .gear-grid {
        padding: 20px;
        grid-template-columns: 1fr;
    }

    .gear-section,
    .gear-contact {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
