* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - 注释：现在使用 header.php 中的 header-nav 样式 */
/* header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-align: center;
}

.subtitle {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 20px;
    opacity: 0.9;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav a:hover,
nav a.active {
    background: rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.3em;
    opacity: 0.95;
}

/* Features */
.features {
    padding: 60px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #667eea;
}

.feature-card p {
    margin-bottom: 20px;
    color: #666;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.btn:hover {
    background: #5568d3;
}

.btn-primary {
    background: #f5576c;
    font-size: 1.1em;
    padding: 12px 30px;
}

.btn-primary:hover {
    background: #e04556;
}

/* Quick Start Form */
.quick-start {
    padding: 60px 0;
    background: white;
}

.quick-start h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    color: #333;
}

.quick-form {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.disclaimer {
    font-size: 0.9em;
    opacity: 0.7;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    .hero h2 {
        font-size: 2em;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-form {
        grid-template-columns: 1fr;
    }
}

/* 企业名称显示样式 */
.name-item {
    position: relative;
    transition: all 0.3s ease;
}

.name-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.name-item strong {
    color: #667eea;
    font-weight: 700;
    font-size: 1.15em;
    text-shadow: 0 1px 2px rgba(102, 126, 234, 0.2);
    padding: 0 2px;
}

.name-item.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #764ba2;
}

.name-item.selected strong {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
