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

:root {
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #764ba2;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --danger-color: #f56565;
    --text-primary: #1a202c;
    --text-secondary: #718096;
    --border-color: #e2e8f0;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
}

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

/* 顶部导航 */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 0;
    white-space: nowrap;
    overflow: visible;
}

.logo .slogan {
    font-size: 9px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 15px;
}

.nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
    font-size: 13px;
    white-space: nowrap;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-color);
}

.user-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.btn-register {
    padding: 8px 16px;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-register:hover {
    background: var(--primary-color);
    color: white;
}

.btn-hotline {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-hotline {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-hotline:hover {
    opacity: 0.9;
}

/* 调整logo容器为一行显示 */
.logo {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    flex-shrink: 1;
}

/* 英雄区 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-desc {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* 通用区块样式 */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-desc {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

/* 服务项目 */
.services {
    background: var(--bg-white);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.service-features li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* 收费标准 */
.pricing {
    background: var(--bg-light);
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.price {
    margin: 20px 0;
}

.currency {
    font-size: 24px;
    color: var(--primary-color);
    vertical-align: top;
}

.amount {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
}

.unit {
    font-size: 16px;
    color: var(--text-secondary);
}

.price-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.pricing-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.btn-order {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-order:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.platform-fee {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.platform-fee h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.platform-fee p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.platform-fee strong {
    color: var(--danger-color);
    font-size: 18px;
}

/* 订单大厅 */
.orders {
    background: var(--bg-white);
}

.order-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.order-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.order-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.order-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.order-tag {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
}

.order-type {
    background: var(--bg-white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.order-price {
    margin-left: auto;
    color: var(--danger-color);
    font-weight: bold;
    font-size: 16px;
}

.order-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.order-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-secondary);
}

.btn-grab {
    padding: 8px 24px;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-grab:hover {
    background: #38a169;
}

.load-more {
    text-align: center;
}

.btn-load-more {
    padding: 12px 40px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-load-more:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 服务流程 */
.process {
    background: var(--bg-light);
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.step-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.step-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-arrow {
    font-size: 36px;
    color: var(--text-secondary);
}

/* 用户协议 */
.agreement {
    background: var(--bg-white);
}

.agreement-content {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.agreement-content h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.agreement-content h3:first-child {
    margin-top: 0;
}

.agreement-content p {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.agreement-actions {
    text-align: center;
    padding: 20px;
}

.agreement-actions label {
    margin-right: 20px;
    font-size: 14px;
}

.btn-confirm {
    padding: 10px 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-confirm:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
}

.btn-confirm:not(:disabled):hover {
    background: var(--primary-dark);
}

/* 关于我们 */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.about-text p {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.about-text h4 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    padding: 8px 0;
    color: var(--text-secondary);
}

.about-licenses h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.license-item {
    background: var(--bg-white);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.license-item span:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.license-item span:last-child {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 页脚 */
.footer {
    background: #1a202c;
    color: white;
    padding: 40px 0 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.8;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.radio-group input[type="radio"] {
    cursor: pointer;
}

.verify-code {
    display: flex;
    gap: 10px;
}

.verify-code input {
    flex: 1;
}

.btn-send-code {
    padding: 12px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.btn-send-code:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.btn-submit {
    padding: 12px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    opacity: 0.9;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.modal-tip {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.modal-tip a {
    color: var(--primary-color);
    text-decoration: none;
}

.agreement-check {
    font-size: 14px;
}

.agreement-check label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.agreement-check input[type="checkbox"] {
    cursor: pointer;
}

.agreement-check a {
    color: var(--primary-color);
}

/* 新增样式 */
.service-type-display {
    text-align: center;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 16px;
    color: var(--text-primary);
}

.service-type-display span {
    color: var(--primary-color);
    font-weight: 600;
}

.required {
    color: var(--danger-color);
}

.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info-detail {
    margin-bottom: 25px;
}

.contact-info-detail p {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 15px;
}

.contact-info-detail p:last-child {
    border-bottom: none;
}

.contact-info-detail strong {
    color: var(--text-primary);
    display: inline-block;
    min-width: 100px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 28px;
    }

    .nav {
        display: none;
    }

    .header .container {
        flex-wrap: wrap;
    }

    .logo h1 {
        font-size: 12px;
    }

    .logo .slogan {
        font-size: 8px;
    }

    .user-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .btn-register,
    .btn-hotline {
        font-size: 11px;
        padding: 6px 12px;
    }

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

    .process-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
}