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

:root {
    --primary-color: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    background-color: #fff;
    scroll-behavior: smooth;
}

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

/* 通用样式 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
    background-color: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background-color: var(--gray-50);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color);
}

.text-balance {
    text-wrap: balance;
}

/* 顶部导航 - 改进版 */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--gray-900);
    border-bottom: 1px solid var(--gray-800);
    backdrop-filter: blur(8px);
    background-color: rgba(15, 23, 42, 0.9);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.logo .subtitle {
    color: var(--gray-400);
    font-weight: 300;
    display: none;
}

@media (min-width: 640px) {
    .logo .subtitle {
        display: inline;
    }
}

/* 桌面导航 */
.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: 32px;
    }
    
    .desktop-nav a {
        color: var(--gray-300);
        text-decoration: none;
        font-size: 0.875rem;
        font-weight: 400;
        transition: color 0.3s;
        position: relative;
    }
    
    .desktop-nav a:hover {
        color: white;
    }
    
    .desktop-nav a::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: width 0.3s ease;
    }
    
    .desktop-nav a:hover::after {
        width: 100%;
    }
}

/* 移动菜单按钮 */
.mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* 移动导航菜单 */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--gray-900);
    z-index: 1000;
    padding: 80px 20px 40px;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.mobile-nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
}

.mobile-nav-cta {
    margin-top: 40px;
    text-align: center;
}

/* 英雄区域 */
.hero {
    background-color: var(--gray-50);
    padding: 80px 0;
}

@media (min-width: 1024px) {
    .hero {
        padding: 96px 0;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

@media (min-width: 1024px) {
    .hero-content {
        flex-direction: row;
        align-items: center;
    }
}

.hero-text {
    flex: 1;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
    }
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--gray-900);
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3.75rem;
    }
}

.hero-text h1 span {
    display: block;
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 8px;
}

@media (min-width: 768px) {
    .hero-text h1 span {
        font-size: 2.5rem;
    }
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* 特性卡片 */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s, transform 0.3s;
}

.feature-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* 优惠码区域 */
.coupon-section {
    background-color: white;
}

.coupon-code {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 32px 0;
}

.coupon-box {
    display: flex;
    align-items: center;
    border: 2px dashed var(--primary-color);
    border-radius: 12px;
    background-color: rgba(37, 99, 235, 0.05);
    overflow: hidden;
}

.coupon-text {
    padding: 16px 32px;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.coupon-copy {
    padding: 16px 24px;
    background-color: rgba(255, 255, 255, 0.4);
    border-left: 1px solid rgba(37, 99, 235, 0.2);
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-700);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-copy:hover {
    background-color: var(--gray-100);
    color: var(--primary-color);
}

/* 特性列表 */
.features-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .features-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.feature-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.3s;
}

.feature-item:hover .feature-item-icon {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.feature-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
    transition: color 0.3s;
}

.feature-item:hover h3 {
    color: var(--primary-color);
}

.feature-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* 价格对比表格 */
.price-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
    border: 1px solid var(--gray-200);
}

.price-table thead {
    background-color: rgba(243, 244, 246, 0.5);
}

.price-table th {
    padding: 20px 24px;
    text-align: left;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--gray-900);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: background-color 0.3s;
}

.price-table tbody tr:hover {
    background-color: rgba(243, 244, 246, 0.3);
}

.price-table tbody tr.highlighted {
    background-color: rgba(37, 99, 235, 0.05);
}

.price-table td {
    padding: 15px 24px;
    font-weight: 300;
}

.price-table .registrar-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.recommended-badge {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.price-ok, .price-bad {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.price-ok {
    color: var(--success);
}

.price-bad {
    color: var(--warning);
}

.table-footer {
    padding: 20px 24px;
    background-color: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* 步骤指南 - 调整宽度与原页面一致 */
.steps-section {
    background-color: var(--gray-50);
}

.steps-container {
    max-width: 768px; /* 原页面 max-w-3xl 对应 768px */
    margin: 0 auto;
}

.steps {
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--gray-100);
}

@media (min-width: 768px) {
    .steps::before {
        left: 32px;
    }
}

.step {
    position: relative;
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .step {
        gap: 32px;
    }
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 10;
    transition: all 0.3s;
    flex-shrink: 0;
}

.step:hover .step-number {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .step-number {
        width: 64px;
        height: 64px;
        font-size: 1.25rem;
    }
}

.step-content {
    flex: 1;
    background-color: var(--gray-50);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.step:hover .step-content {
    background-color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.step-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.6;
}

.step-tip {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
}

.tip-green {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.tip-blue {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.tip-purple {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

/* FAQ */
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    background-color: white;
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--gray-50);
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px 24px;
    max-height: 1000px;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* CTA区域 */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 72%;
    height: 100%;
    background: linear-gradient(to bottom right, #ff80b5, #9089fc);
    opacity: 0.3;
    filter: blur(60px);
    clip-path: polygon(74% 44%, 100% 62%, 98% 27%, 86% 0%, 80% 2%, 72% 33%, 60% 62%, 52% 68%, 47% 58%, 45% 35%, 28% 77%, 0% 65%, 18% 100%, 28% 77%, 76% 98%, 74% 44%);
}

.cta-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
}

@media (min-width: 1024px) {
    .cta-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cta-text h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 8px;
}

@media (min-width: 640px) {
    .cta-text h2 {
        font-size: 2.25rem;
    }
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--gray-100);
}

.btn-transparent {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-transparent:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

/* 页脚 */
.footer {
    background-color: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-column h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--gray-900);
}

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

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

.footer-column a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-600);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* 响应式调整 */
@media (max-width: 767px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h1 span {
        font-size: 1.75rem;
    }
    
    .price-table {
        font-size: 0.875rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 16px 12px;
    }
    
    .steps::before {
        left: 20px;
    }
    
    .step {
        gap: 16px;
    }
}

/* 平滑滚动动画 */
html {
    scroll-behavior: smooth;
}

/* 慢速滚动动画 */
.slow-scroll {
    scroll-behavior: auto;
}
skin
/* 学习提示 */
.learning-note {
    background-color: #fffde7;
    border-left: 4px solid #ffc107;
    padding: 16px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
}

.learning-note h3 {
    color: #ff9800;
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.learning-note p {
    color: #5d4037;
    font-size: 0.875rem;
}