@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;700&display=swap');

/* General Body Styling */
body {
    background-color: #121212;
    color: #E0E0E0;
    font-family: 'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* New Floating Header */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(20, 20, 20, 0.7);
    border-radius: 50px; /* Capsule shape */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.header-logo img {
    height: 40px;
    vertical-align: middle;
}

.logo-text {
    margin-left: 15px;
    font-size: 1.2em;
    font-weight: 500;
    letter-spacing: 2px;
}

.btn-primary {
    background-color: #fff;
    color: #000;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.btn-primary:hover {
    background-color: #ccc;
    color: #000;
}

.btn-primary.active {
    background-color: #444;
    color: #fff;
    pointer-events: none;
}

/* Cooperation Page Styles */
.cooperation-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 100px; /* Offset for fixed header */
}

.cooperation-container {
    text-align: center;
    background-color: #1a1a1a;
    padding: 60px;
    border-radius: 12px;
    border: 1px solid #282828;
    max-width: 600px;
    width: 90%;
}

.cooperation-container h1 {
    font-size: 2.8em;
    margin-top: 0;
    margin-bottom: 20px;
}

.cooperation-intro {
    font-size: 1.2em;
    color: #a0a0a0;
    margin-bottom: 40px;
}

.contact-details p {
    font-size: 1.2em;
    margin: 15px 0;
    color: #e0e0e0;
}

.contact-details p a {
    color: #e0e0e0;
    text-decoration: underline;
    text-decoration-color: #555;
    transition: color 0.3s, text-decoration-color 0.3s;
}

.contact-details p a:hover {
    color: #fff;
    text-decoration-color: #fff;
}

.qr-code-container {
    margin-top: 50px;
}

.qr-code-container img {
    width: 200px;
    height: 200px;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.qr-code-container p {
    color: #888;
    font-size: 1em;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

h1, h2, h3 {
    color: #FFFFFF;
    font-weight: 300;
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5em;
    font-weight: bold;
}

h2 {
    font-size: 2.5em;
    border-bottom: 1px solid #282828;
    padding-bottom: 20px;
    margin-bottom: 40px;
    text-align: center;
}

h3 {
    font-size: 1.8em;
    color: #e8e8e8;
}

p {
    color: #a0a0a0;
    margin-bottom: 20px;
}

a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFFFFF;
}

/* Hero Section with Centered Logo */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000; /* 纯黑背景 */
    padding: 0 5%;
    position: relative; /* 允许伪元素覆盖 */
    overflow: hidden;
}

/* 科技感方形边框 - 已移除 */
.hero::before {
    display: none;
}

.hero .logo {
    margin-bottom: 30px;
}

.hero .logo img {
    height: 220px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

/* 已移除 pulse 动画关键帧 */

.hero .brand-name {
    margin-bottom: 30px;
}

.hero .brand-name h1 {
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0,0,0,0.7);
    font-size: 3.5em;
    letter-spacing: 4px;
}

.hero .brand-name h2 {
    margin: 5px 0 0;
    font-size: 1.8em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 8px;
    border: none;
    padding: 0;
    font-weight: 300;
}

.hero p {
    font-size: 1.4em;
    color: #ccc;
    margin-top: 20px;
    font-weight: 300;
}

/* Section Styling */
.section {
    padding: 80px 0;
    border-bottom: 1px solid #282828;
}

.section:last-of-type {
    border-bottom: none;
}

.section-dark {
    background-color: #1a1a1a;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: start;
}

/* About Section */
#about .about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Keywords Section */
#keywords .keyword-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.keyword-item {
    background-color: #1f1f1f;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.keyword-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.keyword-item h3 {
    margin-top: 0;
    color: #fff;
}

/* Comparison Table */
#comparison {
    background-color: #0f0f0f;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.comparison-table th, .comparison-table td {
    border: 1px solid #282828;
    padding: 20px;
    text-align: left;
}

.comparison-table th {
    background-color: #1a1a1a;
    color: #fff;
    font-size: 1.2em;
}

.comparison-table td {
    color: #bbb;
}

.comparison-table tr td:first-child {
    font-weight: bold;
    color: #ddd;
}

/* Mottos Section */
#mottos .motto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.motto-item {
    background-color: #1f1f1f;
    padding: 40px;
    text-align: center;
    border-radius: 5px;
    font-size: 1.4em;
    font-style: italic;
    color: #e0e0e0;
    border-left: 3px solid #555;
    transition: background-color 0.3s, border-color 0.3s;
}

.motto-item:hover {
    background-color: #252525;
    border-left-color: #fff;
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    color: #888;
    padding: 60px 0;
    font-size: 0.9em;
}

.footer .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0; /* 修正对齐问题 */
}

.footer-col p, .footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #888;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.qr-code img {
    width: 150px;
    height: 150px;
    background: white;
    padding: 5px;
    border-radius: 4px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #282828;
}

/* 滚动指示器样式已删除，避免干扰视觉焦点 */

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 8px 15px;
    }

    .header-logo img {
        height: 30px;
    }

    .logo-text {
        font-size: 1em;
        margin-left: 10px;
    }

    .btn-primary {
        padding: 8px 18px;
        font-size: 0.9em;
    }
    
    .hero .logo img {
        height: 100px;
    }
    
    .hero .brand-name h1 {
        font-size: 2.5em;
    }
    
    .hero .brand-name h2 {
        font-size: 1.2em;
        letter-spacing: 4px;
    }

    .hero::before {
        display: none;
    }

    .hero p {
        font-size: 1.1em;
    }

    h2 {
        font-size: 2em;
    }

    #mottos .motto-grid {
        grid-template-columns: 1fr;
    }

    .footer .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer .footer-container .footer-col {
        margin-bottom: 30px;
    }

    .qr-code img {
        margin: 0 auto;
    }

    .cooperation-container {
        padding: 40px 25px;
    }

    .cooperation-container h1 {
        font-size: 2.2em;
    }
} 