/* 基础变量定义 */
:root {
    --primary: #FF8C00;
    --primary-light: #FFA500;
    --primary-lighter: #FFE0B2;
    --primary-lightest: #FFF8E1;
    --text: #333;
    --text-secondary: #666;
    --border: #e0e0e0;
    --bg: #f8f8f8;
    --card-bg: #fff;
    --success: #4CAF50;
    --info: #17a2b8;
    --warning: #FFC107;
    --danger: #F44336;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.16);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 基础样式 */
body {
    background-color: var(--bg);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    line-height: 1.6;
}

/* 组件样式 */
.selector-row {
    margin-top: 2rem;
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--primary-lighter);
}

.form-select, .btn {
    border-radius: 0.5rem;
    transition: var(--transition);
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 140, 0, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-0.125rem);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary-lightest);
    color: var(--primary);
}

.btn-outline-success {
    color: var(--success);
    border-color: var(--success);
}

.btn-outline-success:hover {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success);
}

/* 信息卡片样式 */
.info-card {
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.info-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
}

.highlight-text {
    background-color: var(--primary-lightest);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border-left: 3px solid var(--primary);
    color: var(--text);
    font-weight: 500;
}

.feature-card {
    background-color: var(--primary-lightest);
    border-radius: 0.75rem;
    padding: 1rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-header h6 {
    margin-bottom: 0;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
}

/* 标签组样式 */
.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.tag-group-card {
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.tag-province {
    background-color: rgba(255, 140, 0, 0.1);
    color: var(--primary);
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.tag-province:hover {
    background-color: rgba(255, 140, 0, 0.2);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-sm);
}

.tag-province:active {
    transform: translateY(0) scale(0.98);
}

.tag-industry {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.tag-industry:hover {
    background-color: rgba(76, 175, 80, 0.2);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-sm);
}

.tag-industry:active {
    transform: translateY(0) scale(0.98);
}

.company-card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: none;
    position: relative;
    background: white;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.company-card .card-header {
    padding: 1.5rem 1.5rem 0.5rem;
    border-bottom: none;
    background: transparent;
}

.company-card .card-body {
    padding: 0 1.5rem 1.5rem;
}

.company-logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -30px auto 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 3px solid white;
    position: relative;
    z-index: 1;
}

.company-logo i {
    font-size: 1.5rem;
    color: var(--primary);
}

.welcome-card {
    position: relative;
    color: var(--text);
    border: none;
    overflow: hidden;
}

.welcome-card .bg-gradient {
    z-index: 1;
}

.welcome-card > div {
    position: relative;
    z-index: 2;
}

.animate-number {
    transition: all 0.5s ease-out;
    display: inline-block;
}

.animate-number.animated {
    transform: translateY(-5px);
    color: var(--primary) !important;
}

.text-white-80 {
    color: rgba(255,255,255,0.8);
}

.tag-badge {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .tag-group-card {
        padding: 1rem;
    }

    .tag {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }

    .info-card {
        padding: 1rem;
    }

    .feature-card {
        margin-bottom: 1rem;
    }

    .feature-list li {
        font-size: 0.9rem;
    }

    .highlight-text {
        padding: 0.5rem;
    }

    .selector-row {
        padding: 1rem;
    }

    .form-select, .btn {
        margin-bottom: 0.5rem;
    }

    #submit-btn {
        width: 100%;
        padding: 0.5rem;
    }

    .tag-group-card {
        margin-bottom: 1rem;
    }
    
    .company-card .card-header h5 {
        font-size: 1rem;
    }
    .company-card .card-body {
        padding: 1rem;
    }
    .company-card .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
}