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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 0 0 auto;
}
.logo img{
	max-width: 250px;
}
.nav {
    flex: 1;
    text-align: center;
}

.nav ul {
    display: inline-flex;
    list-style: none;
}

.nav li {
    padding: 0 15px;
	position: relative;
}
.nav li:not(:last-child)::after{
    content: "|";
    position: absolute;
    right: 0;
    top: -1.5px;
}
.nav a {
    text-decoration: none;
        color: inherit;
    font-weight: 500;
    transition: color 0.3s;
	font-weight: bold;
}

.nav a:hover {
    color: #cc1517;
}
.btn-download {
    background-color: #cc1517;
    border: none;
    font-size: 16px;
    font-weight: 500;
    height: 44px;
    line-height: 22px;
    padding: 12px 16px;
    text-align: center;
    width: 100%;
	color: #fff !important;
}
.language-selector select {
	display: none;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
}

.scoreDisplay{
        position: absolute;
    top: 56%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
}
.titleDisplay{
    font-size: 22px; font-weight: bold; color: #333333; margin-bottom: 5px;
}
#numberDisplay{
    font-size: 22px; color: #00B16A; font-weight: bold;
}
.scoreMax{
    color: #434343;
}
/* 主内容区样式 */
.main {
    padding: 40px 0;
}

/* 评分卡片样式 */
.score-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease-out;
}

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

.score-header {
    margin-bottom: 20px;
}
.score-header .top{
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.score-header .top h1 {
    margin-bottom: 10px;
    color: #2d3748;
}
.score-header .top a{
	font-size: 16px;
	color: inherit;
	margin-left: 10px;
}
.score-content {
    position: relative;
}

.score-main {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.score-number {
    flex: 0 0 auto;
    margin-right: 30px;
    position: relative;
}
.subtitle {
    font-family: open-sans, sans-serif;
    font-size: 20px;
    font-size: 1.4285714286em;
    font-weight: 400;
}
.trustdata-alert {
    color: #fff;
    font-family: interstate, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 15px;
    line-height: 1.875rem;
    padding: 15px;
    text-align: center;
	font-weight: bold;
}
.trustdata-alert--green {
    background: #00b16a;
}
.score {
    font-size: 72px;
    font-weight: 700;
    color: #22c55e;
    line-height: 1;
}

.max-score {
    font-size: 24px;
    font-weight: 500;
    color: #718096;
}

.score-text {
    flex: 1;
}

.score-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #2d3748;
}

.score-text p {
    font-size: 16px;
    color: #718096;
}

.score-badge {
    flex: 0 0 auto;
    animation: pulse 2s infinite;
}

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

.score-info {
    background-color: #f7fafc;
    border-radius: 6px;
    padding: 20px;
    margin-top: 30px;
}

.score-info p {
    margin-bottom: 10px;
    color: #4a5568;
}

.score-info a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.score-info a:hover {
    text-decoration: underline;
}
.anchor{
	color: #c00;
	    text-decoration: underline;
		        font-size: 18px;
}
.disclaimer-link{
	display: block;
	        font-size: 12px;
			    color: inherit;
			    text-decoration: underline;
				text-align: center;
}
/* 信息区块样式 */
.key-info,
.website-info,
.security-check,
.related-websites {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease-out 0.1s both;
}

.website-info {
    animation-delay: 0.2s;
}

.security-check {
    animation-delay: 0.3s;
}

.related-websites {
    animation-delay: 0.4s;
}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2d3748;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #00b16a;
}

/* 信息网格样式 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.info-item {
    padding: 15px;
    background-color: #f7fafc;
    border-radius: 6px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.info-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #718096;
    font-weight: 500;
}

.info-item p {
    font-size: 18px;
    color: #2d3748;
    font-weight: 500;
}

/* 安全检查结果样式 */
.check-list {
    space-y: 15px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background-color: #f7fafc;
    border-radius: 6px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.check-item:hover {
    transform: translateX(5px);
}

.check-icon {
    margin-right: 15px;
    flex: 0 0 auto;
}

.check-icon.success svg {
    animation: checkScale 0.5s ease-out;
}

@keyframes checkScale {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.check-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #2d3748;
}

.check-content p {
    color: #718096;
}

/* 相关网站样式 */
.websites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.website-item {
    background-color: #f7fafc;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.website-item a {
    display: flex;
    align-items: center;
    padding: 15px;
    text-decoration: none;
    color: #333;
}

.website-logo {
    margin-right: 15px;
    flex: 0 0 auto;
}

.website-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.website-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #2d3748;
}

.website-info p {
    font-size: 14px;
    color: #22c55e;
    font-weight: 600;
}

/* 页脚样式 */
.footer {
    background-color: #2d3748;
    color: #fff;
    padding: 40px 0;
}

.footer-links {
display: flex;
    margin-bottom: 30px;
    justify-content: space-between;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    text-decoration: none;
    color: #cbd5e0;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
}

.social-links li {
    margin-right: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #4a5568;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.3s;
}

.social-links a:hover {
    background-color: #007bff;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #4a5568;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 10px;
    color: #cbd5e0;
    font-size: 14px;
}
.text-green {
    color: #00b16a;
}
h1{
	font-size: 2.2857142857em;
}
/* 响应式设计 */
@media (max-width: 992px) {
    .header-top {
        flex-direction: column;
        align-items: center;
    }
    .score-text h2::after{
		left: 50%;
		transform: translateX(-50%);
	}
    .logo {
        margin-bottom: 20px;
    }
    
    .nav {
        margin-bottom: 20px;
    }
    
    .score-main {
        flex-direction: column;
        text-align: center;
    }
    
    .score-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .score-badge {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
    }
    
    .nav li {
        margin: 10px 0;
    }
    .nav li::after{
		display: none;
	}
    .search-form {
        flex-direction: column;
    }
    
    .search-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .search-form button {
        border-radius: 4px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .websites-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px 0;
    }
    
    .main {
        padding: 20px 0;
    }
    .score-header .top{
		display: block;
	}
	.score-header .top a{
		margin: 0;
	}
	.subtitle{
		    font-size: 16px;
	}
	.trustdata-alert{
			font-size: 18px;
			text-align: center;
	}
    .score-card,
    .key-info,
    .website-info,
    .security-check,
    .related-websites {
        padding: 20px;
    }
    
    .score-header h1 {
        font-size: 24px;
    }
    
    .score {
        font-size: 48px;
    }
    
    .score-badge svg {
        width: 80px;
        height: 80px;
    }
	.security-check h2::after{
		display: none;
	}
}