:root {
    --primary: #003366;
    --primary-dark: #0d47a1;
    --secondary: #0099cc;
    --accent: #00cc99;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;

    --text: #333;
    --text-light: #666;
    --border: 1px solid #eaeaea;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.hide {
    display: none !important;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    animation: fadeInUp 1s ease-out 0.6s both;
    box-shadow: 0 4px 15px rgba(230, 74, 25, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background-color: #bf360c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 74, 25, 0.5);
}

/* 悬浮二维码 */
.floating-qr {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 999;
    transition: var(--transition);
}

.floating-qr:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.qr-code {
    width: 140px;
    height: 140px;
    margin: 0 auto 0.4rem;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.qr-code img {
    max-width: 100%;
    height: auto;
}

.qr-text {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

/* 通用内容区域 */
.section {
    padding: 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray);
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: var(--secondary);
    bottom: -10px;
    left: 20%;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}
