/* CoinReturn.io - 专业虚拟货币钱包与资产恢复服务 */
/* 现代化响应式设计 */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

/* 语言切换器 */
.language-switcher {
    position: relative;
    display: inline-block;
}

/* 语言切换器样式修复 */
.lang-btn {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.2);
}

.lang-btn .flag {
    font-size: 1.2rem;
    margin-right: 8px;
}

.lang-btn .lang-name {
    margin-right: 8px;
    font-size: 0.9rem;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.language-switcher:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    max-height: 300px;
    overflow-y: auto;
}

.language-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #eee;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background-color: #f8f9fa;
}

.lang-option.active {
    background-color: #e3f2fd;
    color: #1976d2;
}

.lang-option .flag {
    font-size: 1.1rem;
    margin-right: 10px;
}

.lang-option .lang-name {
    font-size: 0.9rem;
}

/* 导航样式 */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* 移动端菜单切换按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

/* 移动端导航 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 60, 114, 0.95);
    z-index: 1001;
}

.mobile-nav-content {
    padding: 2rem;
    margin-top: 80px;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    margin-bottom: 1rem;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem;
    display: block;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255,255,255,0.2);
}

/* 响应式设计 */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-list {
        gap: 0.8rem;
    }
    
    .nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        position: relative;
    }
    
    .logo {
        align-self: flex-start;
        margin-left: 0;
    }
    
    .nav-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        position: relative;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .language-switcher {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .lang-btn {
        padding: 6px 12px;
    }
    
    .lang-btn .lang-name {
        display: none;
    }
}

/* 主要内容 */
.main-content {
    min-height: calc(100vh - 200px);
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item img {
    width: auto;
    height: auto;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-item p {
    opacity: 0.9;
}

/* 按钮样式 */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,107,0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* 服务区域 */
.services-section {
    padding: 4rem 0;
    background: white;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 60px;
    height: 60px;
    filter: none;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #5a6fd8;
}

/* 合作伙伴区域样式 */
.partners-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.partners-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 60px;
    font-weight: 700;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 100%;
    height: 100px;
    max-width: 200px;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

/* 钱包恢复页面样式 */
.wallet-recovery-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.wallet-recovery-content .main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.service-description {
    margin-bottom: 50px;
}

.service-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
}

.service-description strong {
    color: #2c5aa0;
    font-weight: 600;
}

/* 钱包图标网格 */
.wallet-icons-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.wallet-icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-height: 80px;
}

.wallet-icon-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.wallet-icon-item img {
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 司法解封页面图标网格样式 */
.judicial-icons-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.judicial-icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.judicial-icon-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.judicial-icon-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.judicial-icon-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.3);
}

/* 钱包图标网格响应式设计 */
@media (max-width: 1200px) {
    .wallet-icons-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
    }
    
    .wallet-icon-item {
        min-height: 70px;
        padding: 12px;
    }
    
    .wallet-icon-item img {
        max-width: 50px;
        max-height: 50px;
    }
    
    .judicial-icons-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
    }
    
    .judicial-icon-item {
        padding: 12px;
    }
    
    .judicial-icon-item img {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 992px) {
    .wallet-recovery-content .main-title {
        font-size: 2.2rem;
    }
    
    .wallet-icons-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        padding: 20px;
    }
    
    .wallet-icon-item {
        min-height: 60px;
        padding: 10px;
    }
    
    .wallet-icon-item img {
        max-width: 45px;
        max-height: 45px;
    }
    
    .judicial-icons-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        padding: 20px;
    }
    
    .judicial-icon-item {
        padding: 10px;
    }
    
    .judicial-icon-item img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .wallet-recovery-content .main-title {
        font-size: 1.9rem;
        margin-bottom: 30px;
    }
    
    .service-description p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .wallet-icons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 15px;
    }
    
    .wallet-icon-item {
        min-height: 55px;
        padding: 8px;
    }
    
    .wallet-icon-item img {
        max-width: 40px;
        max-height: 40px;
    }
    
    .judicial-icons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 15px;
    }
    
    .judicial-icon-item {
        padding: 8px;
    }
    
    .judicial-icon-item img {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .wallet-recovery-content {
        padding: 20px 15px;
    }
    
    .wallet-recovery-content .main-title {
        font-size: 1.6rem;
    }
    
    .wallet-icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 12px;
    }
    
    .wallet-icon-item {
        min-height: 50px;
        padding: 6px;
    }
    
    .wallet-icon-item img {
        max-width: 35px;
        max-height: 35px;
    }
    
    .judicial-icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 12px;
    }
    
    .judicial-icon-item {
        padding: 6px;
    }
    
    .judicial-icon-item img {
        width: 30px;
        height: 30px;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 20px;
    }
    
    .partners-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
    }
    
    .partner-logo {
        height: 80px;
        padding: 15px;
    }
    
    .partner-logo img {
        max-width: 100px;
        max-height: 50px;
    }
    
    .partners-section {
        padding: 60px 0;
    }
    
    .partners-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .partner-logo {
        max-width: 250px;
    }
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #4CAF50;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ecf0f1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .main-nav .nav-menu {
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .services-section {
        padding: 2rem 0;
    }
    
    .main-nav .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out;
}

.feature-item {
    animation: fadeInUp 0.8s ease-out;
}

.service-card {
    animation: fadeInUp 0.8s ease-out;
}

/* 交易所资产找回页面业务场景样式 */
.service-scenarios .scenario-item p strong {
    font-size: 1.17em !important;
    font-weight: bold !important;
    color: #333 !important;
    display: inline;
}

/* 联系页面样式 */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-content {
    padding: 4rem 0;
    background: white;
}

.contact-info-centered {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
}

.contact-row:not(.address-row) .contact-item {
    flex: 1;
    min-width: calc(50% - 0.75rem);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 200px;
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.address-row {
    justify-content: center;
}

.address-item {
    width: 100%;
    max-width: none;
    justify-content: center;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.contact-value {
    font-size: 1.1em;
    color: #ffffff;
    font-weight: 600;
}

.contact-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.contact-text {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}



.quick-help {
    margin-top: 4rem;
    text-align: center;
}

.quick-help h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    color: #333;
}

.link-icon {
    font-size: 2rem;
}

.link-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.link-content p {
    font-size: 0.9rem;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .contact-row {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 2rem 0;
    }
    
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-content {
        padding: 2rem 0;
    }
    
    .contact-item {
        min-width: auto;
        flex: 1;
    }
    
    .quick-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-item {
        min-width: auto;
    }
}

/* 滚动条样式 */
.lang-dropdown::-webkit-scrollbar {
    width: 6px;
}

.lang-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.lang-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}