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

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

/* 容器 */
.container {
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
}

/* 顶部提示条 */
.top-notice {
    background: #fff3cd;
    color: #856404;
    padding: 10px 15px;
    text-align: center;
    position: relative;
    font-size: 14px;
    border-bottom: 1px solid #ffeaa7;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: #856404;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 头部区域 */
.header {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 40px 20px 60px;
    text-align: center;
    overflow: hidden;
}

.header-decoration {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.header-decoration::before {
    content: '';
    position: absolute;
    top: 60px;
    right: 60px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.logo-area {
    position: relative;
    z-index: 2;
}

.logo {
    margin-bottom: 20px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.logo-icon {
    font-size: 36px;
    filter: brightness(0) invert(1);
}

.main-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 14px;
    opacity: 0.9;
    font-weight: normal;
}

/* 主要内容 */
.main-content {
    padding: 20px;
}

/* 章节标题 */
.section-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid #4CAF50;
    font-weight: bold;
}

/* 环评登记部分 */
.env-section {
    margin-bottom: 40px;
}

.primary-btn {
    width: 100%;
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.primary-btn:hover {
    background: #45a049;
}

.primary-btn:active {
    transform: translateY(1px);
}

/* 统计数据 */
.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 20px 0;
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #666;
}

.stat-divider {
    color: #ddd;
    font-size: 20px;
    margin: 0 10px;
}

/* 选择平台理由 */
.reasons-section {
    margin-bottom: 40px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.reason-card {
    background: #4CAF50;
    color: white;
    padding: 20px 15px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reason-card::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.7);
}

.reason-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.reason-card p {
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.9;
}

/* 信息部分 */
.info-section {
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    gap: 20px;
}

.info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.info-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.info-card h3 {
    color: #2196F3;
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* 联系我们 */
.contact-section {
    margin-bottom: 30px;
}

.contact-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect width="1200" height="400" fill="%23333"/><path d="M600,200 L700,150 L500,150 Z" fill="%23666"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
}

.contact-banner h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-banner p {
    font-size: 14px;
    opacity: 0.8;
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 12px;
    border-top: 1px solid #eee;
}

/* 悬浮回执按钮 - 美化版本 */
.floating-order-btn {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A24 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.floating-order-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

.floating-order-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.floating-order-btn .btn-icon {
    font-size: 20px;
    margin-bottom: 2px;
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.floating-order-btn .btn-text {
    font-size: 12px;
    color: white;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* 添加呼吸灯效果 */
@keyframes pulse {
    0% {
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    }

    50% {
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.7);
    }

    100% {
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    }
}

.floating-order-btn.pulse {
    animation: pulse 2s infinite;
}

/* 登录状态提示 */
.login-status {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 12px;
    color: #4CAF50;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login-status.loading {
    color: #ff9800;
}

.login-status.error {
    color: #f44336;
}

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

    .subtitle {
        font-size: 13px;
    }

    .logo-circle {
        width: 70px;
        height: 70px;
    }

    .logo-icon {
        font-size: 30px;
    }

    .stats-grid {
        padding: 15px 0;
    }

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

    .stat-label {
        font-size: 11px;
    }

    .reasons-grid {
        gap: 12px;
    }

    .reason-card {
        padding: 15px 10px;
        min-height: 100px;
    }

    .reason-card h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .reason-card p {
        font-size: 13px;
    }

    .info-card {
        padding: 15px;
    }

    .info-card h3 {
        font-size: 15px;
    }

    .info-card p {
        font-size: 13px;
    }

    .floating-order-btn {
        width: 60px;
        height: 60px;
        right: 15px;
    }

    .floating-order-btn .btn-icon {
        font-size: 16px;
        margin-bottom: 1px;
    }

    .floating-order-btn .btn-text {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 15px;
    }

    .header {
        padding: 30px 15px 50px;
    }

    .main-title {
        font-size: 22px;
    }

    .primary-btn {
        padding: 12px;
        font-size: 16px;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* 保持统计数据为一排显示 */
    .stats-grid {
        display: flex;
        justify-content: space-between;
        gap: 8px;
    }

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

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

    .stat-label {
        font-size: 10px;
        line-height: 1.2;
    }

    .stat-divider {
        margin: 0 5px;
        font-size: 16px;
    }

    .contact-banner {
        padding: 30px 15px;
    }
}

/* 隐藏类 */
.hidden {
    display: none !important;
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}