* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-blue: #4da6ff;
    --light-blue: #e6f2ff;
    --white: #ffffff;
    --accent-orange: #ff9900;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --success-green: #28a745;
    --warning-yellow: #ffc107;
    --error-red: #dc3545;
}

body {
    background-color: var(--light-blue);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--primary-blue);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(77, 166, 255, 0.5);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    text-shadow: 0 0 10px rgba(77, 166, 255, 0.2);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--primary-blue);
    background: rgba(77, 166, 255, 0.1);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 80%;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-blue);
}

/* 申诉介绍 */
.appeal-intro {
    margin-top: 100px;
    padding: 80px 0;
    text-align: center;
    background: url('../bj.png') no-repeat center center/cover;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.appeal-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(77, 166, 255, 0.2);
}

.intro-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.appeal-intro h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.appeal-intro p {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-light);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #cce6ff, #e6f2ff);
    color: #4da6ff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid #cce6ff;
    box-shadow: var(--shadow);
}

.btn:hover {
    background: transparent;
    color: #4da6ff;
    border-color: #4da6ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 申诉类型 */
.appeal-types {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--primary-blue);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-orange);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.type-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.type-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.type-card.active {
    border-color: var(--accent-orange);
    background: rgba(255, 153, 0, 0.05);
}

.type-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
}

.type-card:hover .type-icon {
    background: var(--accent-orange);
    transform: scale(1.1);
}

.type-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.type-card p {
    color: var(--text-light);
}

/* 申诉表单 */
.appeal-form-section {
    padding: 80px 0;
    background: rgba(230, 242, 255, 0.5);
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-light);
    font-size: 18px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 2px rgba(77, 166, 255, 0.2);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
    min-height: 80px;
}

.form-group small {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
}

.checkbox-group a {
    color: var(--primary-blue);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* 申诉须知 */
.appeal-rules {
    padding: 80px 0;
    background: var(--white);
}

.rules-content {
    max-width: 1000px;
    margin: 0 auto;
}

.rules-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.rule-item {
    background: var(--light-blue);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--accent-orange);
}

.rule-item h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rule-item h3 i {
    color: var(--accent-orange);
}

.rule-item ul {
    list-style: none;
    padding-left: 0;
}

.rule-item li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: var(--text-light);
}

.rule-item li::before {
    content: '•';
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 联系我们 */
.contact-section {
    padding: 80px 0;
    background: rgba(230, 242, 255, 0.5);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-item p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-item small {
    color: var(--text-light);
    font-size: 14px;
}

/* 页脚 */
footer {
    background: var(--primary-blue);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 22px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        gap: 15px;
    }

    .appeal-intro h1 {
        font-size: 36px;
    }

    .appeal-intro p {
        font-size: 18px;
    }

    .mobile-menu {
        display: block;
    }

    .nav-menu {
        display: none;
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }

    .nav-menu.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .form-container {
        padding: 20px;
    }

    .types-grid {
        grid-template-columns: 1fr;
    }

    .rules-list {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 5s ease-in-out infinite;
}

/* 表单验证样式 */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error-red);
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: var(--success-green);
}

.error-message {
    color: var(--error-red);
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}
