/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1890ff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #333;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #1890ff;
}

.user-actions {
    display: flex;
    align-items: center;
}

.user-actions a {
    margin-left: 20px;
    color: #333;
}

.user-actions a:hover {
    color: #1890ff;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 轮播图样式 */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
}

.banner-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 18px;
}

/* 卡片样式 */
.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.card-description {
    color: #666;
    margin-bottom: 15px;
}

.card-action {
    display: inline-block;
    padding: 8px 16px;
    background-color: #1890ff;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.card-action:hover {
    background-color: #40a9ff;
}

/* 网格布局 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

/* 标题样式 */
.section-title {
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.section-title h2 {
    font-size: 30px;
    color: #333;
    display: inline-block;
    padding: 0 20px;
    background-color: #f5f7fa;
    position: relative;
    z-index: 1;
}

.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e8e8e8;
    z-index: 0;
}

/* 特色区块样式 */
.feature-block {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1890ff;
}

.feature-description {
    color: #666;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #52c41a;
    font-weight: bold;
}

/* 底部样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #1890ff;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a:hover {
    color: #1890ff;
}

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

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #1890ff;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1890ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #40a9ff;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        padding: 10px 0;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }

    nav ul li {
        margin: 5px 15px;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
    }

    .banner {
        height: 300px;
    }

    .banner-content h1 {
        font-size: 24px;
    }

    .banner-content p {
        font-size: 14px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 24px;
    }
}

/* 工具详情页样式 */
.tool-detail {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tool-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.tool-icon {
    font-size: 48px;
    margin-right: 20px;
    color: #1890ff;
}

.tool-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.tool-meta {
    color: #666;
}

.tool-description {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
}

.tool-features {
    margin-bottom: 30px;
}

.tool-features h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.tool-screenshots {
    margin-bottom: 30px;
}

.tool-screenshots h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.screenshot-item {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.screenshot-item img {
    width: 100%;
    height: auto;
}

.tool-usage {
    margin-bottom: 30px;
}

.tool-usage h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.usage-steps {
    list-style: none;
}

.usage-steps li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.usage-steps li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: #1890ff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.usage-steps {
    counter-reset: step-counter;
}

.tool-reviews {
    margin-bottom: 30px;
}

.tool-reviews h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.review-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-user {
    font-weight: bold;
}

.review-rating {
    color: #faad14;
}

.review-content {
    color: #666;
}

.tool-action {
    text-align: center;
    margin-top: 40px;
}

/* AI顾问页面样式 */
.consultant-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.consultant-type {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.consultant-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #1890ff;
}

.consultant-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.consultant-price {
    font-size: 20px;
    color: #fa541c;
    margin-bottom: 15px;
}

.consultant-features {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
}

.consultant-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.consultant-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #52c41a;
    font-weight: bold;
}

.consultation-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.consultation-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

/* 餐饮页面样式 */
.restaurant-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    margin: 0 10px 10px 0;
    background-color: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #1890ff;
    color: #fff;
    border-color: #1890ff;
}

.restaurant-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.restaurant-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.restaurant-info {
    padding: 20px;
}

.restaurant-name {
    font-size: 20px;
    margin-bottom: 10px;
}

.restaurant-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #666;
}

.restaurant-rating {
    color: #faad14;
}

.restaurant-tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.restaurant-tag {
    padding: 2px 8px;
    background-color: #f0f0f0;
    border-radius: 10px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.restaurant-description {
    color: #666;
    margin-bottom: 15px;
}

/* 出行页面样式 */
.booking-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.booking-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.ride-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.ride-option {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.ride-option:hover,
.ride-option.selected {
    border-color: #1890ff;
    transform: translateY(-5px);
}

.ride-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ride-type {
    font-size: 18px;
    font-weight: bold;
}

.ride-price {
    font-size: 20px;
    color: #fa541c;
    font-weight: bold;
}

.ride-features {
    list-style: none;
}

.ride-features li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.ride-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #52c41a;
    font-weight: bold;
}

/* AI平台页面样式 */
.platform-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    margin: 0 10px 10px 0;
    background-color: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.category-btn:hover,
.category-btn.active {
    background-color: #1890ff;
    color: #fff;
    border-color: #1890ff;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.platform-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.platform-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.platform-logo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 8px;
}

.platform-name {
    font-size: 20px;
    font-weight: bold;
}

.platform-description {
    color: #666;
    margin-bottom: 15px;
}

.platform-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.meta-item i {
    margin-right: 5px;
    color: #1890ff;
}

.platform-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.rating-stars {
    color: #faad14;
    margin-right: 10px;
}

.rating-score {
    font-weight: bold;
    font-size: 16px;
}

.platform-actions {
    display: flex;
    gap: 10px;
}

.platform-link {
    flex: 1;
    padding: 8px 16px;
    background-color: #1890ff;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s;
}

.platform-link:hover {
    background-color: #40a9ff;
}

.platform-details {
    padding: 8px 16px;
    background-color: #fff;
    color: #1890ff;
    border: 1px solid #1890ff;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s;
}

.platform-details:hover {
    background-color: #1890ff;
    color: #fff;
}

/* 商家入驻页面样式 */
.merchant-steps {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    position: relative;
}

.merchant-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e8e8e8;
    z-index: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.step-item.active .step-number {
    background-color: #1890ff;
    border-color: #1890ff;
    color: #fff;
}

.step-title {
    font-size: 16px;
    text-align: center;
}

.merchant-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.merchant-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.merchant-benefits {
    background-color: #f0f8ff;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
}

.benefits-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #1890ff;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 24px;
    color: #1890ff;
    margin-right: 15px;
    margin-top: 5px;
}

.benefit-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.benefit-content p {
    color: #666;
}

/* 联系我们页面样式 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 36px;
    color: #1890ff;
    margin-bottom: 15px;
}

.contact-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-content {
    color: #666;
}

.contact-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.faq-section {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-size: 18px;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    color: #666;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* 个人中心页面样式 */
.user-profile {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.profile-info h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.profile-meta {
    color: #666;
}

.profile-tabs {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.profile-tab {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.profile-tab:hover,
.profile-tab.active {
    color: #1890ff;
    border-bottom-color: #1890ff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.order-list {
    list-style: none;
}

.order-item {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-item:last-child {
    border-bottom: none;
}

.order-info h4 {
    margin-bottom: 5px;
}

.order-meta {
    color: #666;
    font-size: 14px;
}

.order-status {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
}

.order-status.pending {
    background-color: #fff7e6;
    color: #fa8c16;
}

.order-status.completed {
    background-color: #f6ffed;
    color: #52c41a;
}

.order-status.cancelled {
    background-color: #fff2f0;
    color: #ff4d4f;
}

.favorite-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.favorite-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

.favorite-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.favorite-info {
    padding: 15px;
}

.favorite-title {
    font-size: 16px;
    margin-bottom: 5px;
}

.favorite-meta {
    color: #666;
    font-size: 14px;
}

.history-list {
    list-style: none;
}

.history-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-item:last-child {
    border-bottom: none;
}

.history-info h4 {
    margin-bottom: 5px;
}

.history-time {
    color: #666;
    font-size: 14px;
}

/* 登录/注册页面样式 */
.auth-container {
    max-width: 500px;
    margin: 60px auto;
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.auth-tab:hover,
.auth-tab.active {
    color: #1890ff;
    border-bottom-color: #1890ff;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.auth-social {
    text-align: center;
    margin-top: 30px;
}

.auth-social p {
    margin-bottom: 20px;
    position: relative;
}

.auth-social p::before,
.auth-social p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: #f0f0f0;
}

.auth-social p::before {
    left: 0;
}

.auth-social p::after {
    right: 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: #1890ff;
    color: #fff;
    transform: translateY(-3px);
}

/* 404页面样式 */
.error-container {
    text-align: center;
    padding: 80px 20px;
}

.error-code {
    font-size: 120px;
    font-weight: bold;
    color: #1890ff;
    margin-bottom: 20px;
}

.error-message {
    font-size: 24px;
    margin-bottom: 30px;
}

.error-action {
    display: inline-block;
    padding: 12px 24px;
    background-color: #1890ff;
    color: #fff;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.error-action:hover {
    background-color: #40a9ff;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1890ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background-color: #52c41a;
}

.notification.error {
    background-color: #ff4d4f;
}

.notification.warning {
    background-color: #faad14;
}

.notification.info {
    background-color: #1890ff;
}

/* 骨架屏样式 */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.skeleton-img {
    height: 200px;
}

.skeleton-content {
    padding: 20px;
}

.skeleton-title {
    height: 24px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.skeleton-text:last-child {
    width: 60%;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 无障碍访问 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 深色模式 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1f1f1f;
        color: #f0f0f0;
    }

    .card,
    .feature-block,
    .tool-detail,
    .consultant-type,
    .consultation-form,
    .restaurant-card,
    .booking-form,
    .ride-option,
    .platform-card,
    .merchant-form,
    .merchant-benefits,
    .contact-item,
    .contact-form,
    .faq-section,
    .user-profile,
    .auth-container {
        background-color: #2d2d2d;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .card-title,
    .section-title h2,
    .feature-title,
    .tool-title,
    .consultant-title,
    .restaurant-name,
    .ride-type,
    .platform-name,
    .step-title,
    .benefits-title,
    .contact-title,
    .faq-question,
    .profile-info h2,
    .order-info h4,
    .favorite-title,
    .history-info h4,
    .auth-header h2 {
        color: #f0f0f0;
    }

    .card-description,
    .feature-description,
    .tool-description,
    .restaurant-description,
    .platform-description,
    .benefit-content p,
    .contact-content,
    .faq-answer,
    .profile-meta,
    .order-meta,
    .favorite-meta,
    .history-time,
    .auth-header p {
        color: #b0b0b0;
    }

    .section-title::after {
        background-color: #444;
    }

    .section-title h2 {
        background-color: #1f1f1f;
    }

    footer {
        background-color: #121212;
    }

    .footer-bottom {
        border-top-color: #333;
    }

    .filter-btn,
    .category-btn,
    .step-number {
        background-color: #2d2d2d;
        border-color: #444;
    }

    .step-item.active .step-number {
        background-color: #1890ff;
        border-color: #1890ff;
    }

    .merchant-steps::before {
        background-color: #444;
    }

    .profile-tabs,
    .order-item,
    .history-item {
        border-bottom-color: #444;
    }

    .auth-tabs {
        border-bottom-color: #444;
    }

    .auth-social p::before,
    .auth-social p::after {
        background-color: #444;
    }

    .skeleton {
        background: linear-gradient(90deg, #3d3d3d 25%, #2d2d2d 50%, #3d3d3d 75%);
    }
}