* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #f0f9f0 0%, #e6f7e6 100%);
    color: #333;
    line-height: 1.6;
    padding: 0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 15px;
    position: relative;
}

/* 头部样式 */
header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #07C160 0%, #05a84e 100%);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(5, 168, 78, 0.2);
    color: white;
    position: relative;
    overflow: hidden;
    animation: headerFloat 3s ease-in-out infinite alternate;
}

@keyframes headerFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

header p {
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* 跑马灯样式 */
.marquee-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 12px 15px;
    margin: 0 0 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.marquee-title {
    display: flex;
    align-items: center;
    color: #07C160;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1rem;
}

.marquee-title i {
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.marquee {
    height: 24px;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    position: absolute;
    white-space: nowrap;
    animation: marquee 100s linear infinite;
}

.marquee-item {
    display: inline-block;
    padding: 2px 15px;
    font-size: 0.9rem;
    color: #666;
    position: relative;
}

.marquee-item:after {
    content: "•";
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    color: #ddd;
}

.marquee-item:last-child:after {
    display: none;
}

.marquee-item .success {
    color: #07C160;
    font-weight: bold;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* 定位表单 */
.locate-form {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.locate-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-title {
    text-align: center;
    color: #07C160;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-title i {
    margin-right: 10px;
    animation: pulse 2s infinite;
}

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

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    font-size: 0.95rem;
}

.phone-input {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.phone-input:focus-within {
    border-color: #07C160;
    box-shadow: 0 0 0 2px rgba(7, 193, 96, 0.2);
}

.phone-prefix {
    padding: 0 15px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #07C160;
}

.phone-input input {
    flex: 1;
    border: none;
    padding: 14px 15px;
    font-size: 1.1rem;
    outline: none;
    background: transparent;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #07C160 0%, #05a84e 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(7, 193, 96, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(7, 193, 96, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.6s ease;
}

.submit-btn:hover:after {
    transform: rotate(30deg) translate(25%, 25%);
}

/* 进度条样式 */
.progress-container {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    display: none;
}

.progress-header {
    text-align: center;
    color: #07C160;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.progress-steps {
    margin-bottom: 20px;
}

.progress-step {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed .step-icon {
    background: #07C160;
}

.step-icon {
    width: 30px;
    height: 30px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 0.9rem;
    transition: all 0.5s ease;
}

.step-text {
    flex: 1;
    font-size: 0.95rem;
}

.progress-bar-container {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #07C160 0%, #05a84e 100%);
    border-radius: 4px;
    width: 0;
    transition: width 0.5s ease;
}

.progress-info {
    text-align: center;
    font-size: 1.2rem;
    color: #07C160;
    margin-bottom: 15px;
    font-weight: 600;
}

.progress-time {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: -30px;
}

/* 特色介绍 */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-card {
    width: calc(50% - 7px);
    background: white;
    border-radius: 12px;
    padding: 15px 12px;
    margin-bottom: 14px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
    border-color: #07C160;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: #07C160;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: #05a84e;
}

.feature-title {
    font-weight: 600;
    color: #07C160;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.feature-desc {
    font-size: 0.8rem;
    color: #666;
}

/* 定位结果 */
.result-container {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 25px;
    display: none;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-header {
    text-align: center;
    color: #07C160;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.result-content {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
}

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

.result-label {
    font-weight: 500;
    color: #666;
}

.result-value {
    font-weight: 500;
}

.masked-value {
    color: transparent;
    background: repeating-linear-gradient(45deg, #07C160, #07C160 2px, #f9f9f9 2px, #f9f9f9 4px);
    border-radius: 3px;
    padding: 2px 5px;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.masked-value::before {
    content: "******";
    position: absolute;
    left: 0;
    top: 0;
    color: #07C160;
    background: #f9f9f9;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    letter-spacing: 2px;
}

.map-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.map-link {
    flex: 0 0 48%;
    text-align: center;
    padding: 12px;
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-link.baidu {
    background: linear-gradient(90deg, #2932E1 0%, #1a22c4 100%);
}

.map-link.gaode {
    background: linear-gradient(90deg, #0091FF 0%, #0075e0 100%);
}

.map-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.auth-section {
    background: #f0f9f0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #d0ecd0;
}

.auth-title {
    text-align: center;
    color: #e74c3c;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.auth-input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 4px;
    transition: all 0.3s ease;
}

.auth-input:focus {
    border-color: #07C160;
    box-shadow: 0 0 0 2px rgba(7, 193, 96, 0.2);
}

.auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.auth-prompt {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.auth-link {
    color: #07C160;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: #05a84e;
    text-decoration: underline;
}

/* 用户评价 - 垂直滚动 */
.reviews-container {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 25px;
}

.section-title {
    text-align: center;
    color: #07C160;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title i {
    margin-right: 10px;
}

.reviews-vertical {
    height: 300px;
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
}

.review-list {
    animation: scrollVertical 40s linear infinite;
}

.review-list:hover {
    animation-play-state: paused;
}

@keyframes scrollVertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.review-item {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #07C160;
    transition: all 0.3s ease;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.review-user {
    font-weight: 600;
    color: #07C160;
}

.review-date {
    color: #999;
    font-size: 0.85rem;
}

.review-content {
    color: #555;
    line-height: 1.5;
    font-size: 0.95rem;
}

.review-form {
    background: #f0f9f0;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #d0ecd0;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #07C160;
    box-shadow: 0 0 0 2px rgba(7, 193, 96, 0.2);
}

textarea.form-control {
    height: 100px;
    resize: none;
}

.submit-review {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

/* 页脚 */
footer {
    text-align: center;
    padding: 20px 0;
    color: #888;
    font-size: 0.85rem;
}

.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    z-index: 1000;
    opacity: 0;
    transition: all 0.4s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .form-title, .result-header, .section-title {
        font-size: 1.2rem;
    }

    .feature-card {
        width: calc(50% - 5px);
        padding: 12px 8px;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .feature-title {
        font-size: 0.9rem;
    }

    .feature-desc {
        font-size: 0.75rem;
    }

    .reviews-vertical {
        height: 250px;
    }

    .map-links {
        flex-direction: column;
    }

    .map-link {
        margin-bottom: 10px;
    }
}
