/* 全局样式 */
:root {
    --primary-color: #11998e;
    --secondary-color: #38ef7d;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --text-main: #1f2937;
    --text-secondary: #4b5563;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.5;
    overflow-x: hidden;
}

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

/* 顶部导航栏 - 与dashboard保持一致 */
.top-nav {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: white;
}

.logo i {
    margin-right: 10px;
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-menu a.active {
    background: rgba(255, 255, 255, 0.2);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* 认证按钮 */
.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-register,
.btn-login {
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-register {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-register:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-login {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* 保留原有的btn样式用于页面其他按钮 */
.btn {
    padding: 10px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #e5e7eb;
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(16, 185, 129, 0.05);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(16, 185, 129, 0.4);
}

.text-dark {
    color: var(--text-main) !important;
}

.language-selector {
    margin-left: 8px;
}

.language-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* 主要内容区域 */
.main-content {
    padding-top: 0;
    overflow: hidden;
}

/* Hero Wrapper & Background */
.hero-wrapper {
    position: relative;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #e8f5f3 0%, #f0f9ff 50%, #f5f3ff 100%);
    width: 100%;
    max-width: none;
}

.hero-background-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.blob-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(16, 185, 129, 0.15);
    animation: float-blob 20s infinite alternate;
}

.blob-2 {
    bottom: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.15);
    animation: float-blob 15s infinite alternate-reverse;
}

@keyframes float-blob {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 50px);
    }
}

/* Hero Section Layout */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-left {
    flex: 1;
    max-width: 580px;
    z-index: 1;
}

/* Hero Content Styling */
.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

/* Hero Right - 3D Phone Mockup */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    z-index: 1;
}

.phone-mockup-3d {
    position: relative;
    width: 300px;
    height: 600px;
    transform: rotateY(-12deg) rotateX(5deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease-out;
}

.phone-mockup-3d:hover {
    transform: rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.phone-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    border-radius: 40px;
    border: 8px solid #333;
    box-shadow:
        inset 0 0 0 2px #555,
        20px 20px 40px rgba(0, 0, 0, 0.3),
        -5px -5px 20px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #111;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.app-header {
    padding: 12px 20px 40px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    background: #f5f5f5;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px;
    margin-top: -20px;
}

.social-icon-item {
    aspect-ratio: 1;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.social-icon-item:hover {
    transform: scale(1.05);
}

.sms-notification-card {
    margin: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: slide-in 0.5s ease-out forwards;
    transform: translateY(20px);
    opacity: 0;
}

.sms-notification-card:nth-child(3) {
    animation-delay: 0.5s;
}

.sms-notification-card:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes slide-in {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.notif-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #888;
    margin-bottom: 6px;
}

.notif-content .sender {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
}

.notif-content .message {
    font-size: 12px;
    color: #555;
    line-height: 1.3;
}

.phone-shadow {
    position: absolute;
    bottom: -40px;
    left: 10%;
    width: 80%;
    height: 20px;
    background: rgba(0, 0, 0, 0.2);
    filter: blur(20px);
    border-radius: 50%;
    transform: rotateX(60deg);
}

/* 指示箭头 */
.instruction-arrow {
    text-align: center;
    margin: 40px 0;
}

.instruction-text {
    color: #333;
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
}

/* 步骤说明区域 */
.steps-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
}

.steps-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.4;
}

.steps-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    justify-content: center;
}

/* 步骤盒子 */
.step-box {
    flex: 1;
    max-width: 450px;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
}

.step-header {
    margin-bottom: 20px;
}

.step-number {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/* 搜索框 */
.search-box {
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: var(--primary-color);
}

/* 国家列表 */
.country-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.country-item:hover {
    background: white;
}

.country-item img {
    width: 30px;
    height: 20px;
    border-radius: 3px;
}

.country-item span:nth-child(2) {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.count {
    font-size: 12px;
    color: #999;
}

.more-countries {
    text-align: center;
    color: #666;
    font-size: 14px;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

/* 箭头图标 */
.arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

/* 服务列表 */
.service-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.service-item:hover {
    background: white;
}

.service-item img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.service-item span:nth-child(2) {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.price {
    font-weight: bold;
    color: var(--primary-color);
}

.more-services {
    text-align: center;
    color: #666;
    font-size: 14px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* 接收短信按钮 */
.btn-receive {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-receive:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* 滚动条样式 */
.country-list::-webkit-scrollbar,
.service-list::-webkit-scrollbar {
    width: 6px;
}

.country-list::-webkit-scrollbar-track,
.service-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.country-list::-webkit-scrollbar-thumb,
.service-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.country-list::-webkit-scrollbar-thumb:hover,
.service-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 博客文章区域 */
.blog-section {
    background: #ffffff;
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    font-weight: bold;
}

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

.article-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 20px;
}

.article-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

.no-content {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}

/* QA常见问题区域 */
.qa-section {
    background: #f0f7f6;
    padding: 60px 0;
}

.qa-list {
    max-width: 900px;
    margin: 0 auto;
}

.qa-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.qa-question {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.qa-question:hover {
    background: #fafafa;
}

.qa-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.qa-question .qa-icon {
    background: var(--primary-color);
    color: white;
}

.qa-answer .qa-icon {
    background: var(--primary-light);
    color: white;
}

.qa-text {
    flex: 1;
    margin-left: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.qa-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.qa-answer {
    display: none;
    padding: 0 20px 20px 20px;
    align-items: flex-start;
}

.qa-item.active .qa-answer {
    display: flex;
}

.qa-answer-text {
    flex: 1;
    margin-left: 15px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* 全站页脚 */
.site-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    padding-right: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 28px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-contact .footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
}

.footer-contact .footer-link:hover {
    color: white;
    text-decoration: underline;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
    }

    .steps-container {
        flex-direction: column;
    }

    .arrow-icon {
        transform: rotate(90deg);
        padding: 20px 0;
    }

    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }

    .nav {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .phone-mockup-3d {
        width: 280px;
        height: 560px;
    }

    .steps-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .qa-text {
        font-size: 14px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links a:hover {
        padding-left: 0;
    }
}