* {
    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;
    background: #fff;
    color: #374151;
    line-height: 1.6;
}

a {
    color: #dc2626;
    text-decoration: none;
}

a:hover {
    color: #b91c1c;
}

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

.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #dc2626;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

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

.nav a {
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #dc2626;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 0;
    right: 0;
    height: 3px;
    background: #dc2626;
    border-radius: 2px;
}

.hero {
    background: linear-gradient(135deg, #fef2f2 0%, #fff 50%, #fff 100%);
    padding: 60px 0;
}

.hero-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 16px;
}

.hero h1 span {
    color: #dc2626;
}

.hero p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 32px;
}

.search-box {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.search-box input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.search-box input:focus {
    outline: none;
    border-color: #dc2626;
}

.search-box button {
    padding: 14px 32px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.search-box button:hover {
    background: #b91c1c;
}

.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: #6b7280;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.12);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f3f4f6;
}

.card-body {
    padding: 20px;
}

.card-number {
    display: inline-block;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.card-area {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 12px;
}

.card-features {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

.footer {
    background: #111827;
    color: #9ca3af;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #9ca3af;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    text-align: center;
}

.form-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.form-group label .required {
    color: #dc2626;
    margin-left: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}

.btn:hover {
    background: #b91c1c;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-secondary {
    background: #fff;
    color: #dc2626;
    border: 1px solid #dc2626;
}

.btn-secondary:hover {
    background: #fef2f2;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-approved {
    background: #dcfce7;
    color: #16a34a;
}

.status-rejected {
    background: #fee2e2;
    color: #dc2626;
}

.alert {
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.alert-info {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.result-count {
    margin-bottom: 24px;
    color: #6b7280;
    font-size: 15px;
}

.result-count strong {
    color: #dc2626;
}

.no-result {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.no-result-icon {
    font-size: 60px;
    margin-bottom: 16px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #6b7280;
    background: #f3f4f6;
    transition: all 0.2s;
}

.pagination a:hover {
    background: #dc2626;
    color: #fff;
}

.pagination .active {
    background: #dc2626;
    color: #fff;
    font-weight: 500;
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #374151;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        gap: 16px;
    }
    .nav a.active::after {
        display: none;
    }
    .hero h1 {
        font-size: 32px;
    }
    .card-grid {
        grid-template-columns: 1fr;
    }
    .search-box {
        flex-direction: column;
    }
    .form-container {
        padding: 24px;
    }
}
