/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f59e0b;
}

.logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #f59e0b;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}


.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* PDF Cards Section */
.pdf-cards-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pdf-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.pdf-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.pdf-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.pdf-preview {
    margin-bottom: 1.5rem;
}

/* Candlestick Images */
.candlestick-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.image-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.candlestick-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.image-full {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.candlestick-full-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Chart Patterns */
.chart-patterns {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pattern-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.chart-pattern {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
}

.pattern-name {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: white;
}

.pattern-chart {
    font-size: 0.7rem;
    color: #f59e0b;
}

.pdf-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.page-count, .format {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.page-count i, .format i {
    color: #f59e0b;
}

.pdf-download-btn {
    width: 100%;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pdf-download-btn:hover {
    background: linear-gradient(45deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

/* Info Section */
.info-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.content-info h2, .benefits-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
}

.info-item i {
    color: #3b82f6;
    font-size: 1.2rem;
    width: 20px;
}

.info-item span {
    color: #374151;
    font-weight: 500;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
}

.benefit-item i {
    color: #10b981;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.benefit-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.benefits {
    margin-bottom: 2.5rem;
}

.benefit {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: white;
}

.benefit i {
    color: #f59e0b;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* 蜡烛图预览区域 */
.candlestick-preview {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    position: relative;
    z-index: 1;
    max-width: 100%;
    overflow: hidden;
}

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

.candlestick-preview h3 {
    color: #f59e0b;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.preview-download-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.preview-download-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.preview-download-btn:active {
    transform: translateY(0);
}

.preview-download-btn i {
    font-size: 0.9rem;
}

.preview-download-btn span {
    font-size: 0.8rem;
}

.preview-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.preview-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.preview-item:hover .preview-img {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
}

.preview-img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(245, 158, 11, 0.1);
    transition: all 0.3s ease;
}

.preview-full {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.preview-full:hover {
    transform: scale(1.02);
}

.preview-full:hover .preview-full-img {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
}

.preview-full-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(245, 158, 11, 0.1);
    transition: all 0.3s ease;
}

.cta-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), transparent);
    pointer-events: none;
}

.price {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.email-input-container {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.email-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.email-input:focus {
    outline: none;
    border-color: #f59e0b;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.risk-warning {
    font-size: 0.85rem;
    color: #fca5a5;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    margin: 1rem 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.risk-warning i {
    color: #fca5a5;
    font-size: 1rem;
}

.privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.8;
    font-size: 0.85rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.privacy-note i {
    color: #f59e0b;
}

.action-option {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(245, 158, 11, 0.1);
    position: relative;
    z-index: 1;
    flex: 1;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.action-option h4 {
    color: #f59e0b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.email-btn {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8) !important;
}

.email-btn:hover {
    background: linear-gradient(45deg, #1d4ed8, #1e40af) !important;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4) !important;
}

.download-btn {
    background: linear-gradient(45deg, #10b981, #059669) !important;
}

.download-btn:hover {
    background: linear-gradient(45deg, #059669, #047857) !important;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4) !important;
}

.redirect-btn {
    background: linear-gradient(45deg, #8b5cf6, #7c3aed) !important;
}

.redirect-btn:hover {
    background: linear-gradient(45deg, #7c3aed, #6d28d9) !important;
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4) !important;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f59e0b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: block;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.cta-button {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    color: #0f172a;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
    background: linear-gradient(45deg, #d97706, #b45309);
}

.cta-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Book Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-mockup {
    perspective: 1000px;
}

.book-cover {
    background: url('pdf/vstar-candlestick-charts-cryptocurrency-cn.png') center/cover no-repeat;
    width: 300px;
    height: 400px;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
    border: 2px solid rgba(245, 158, 11, 0.2);
    position: relative;
    overflow: hidden;
}

.book-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.75) 100%);
    border-radius: 15px;
    z-index: 1;
}

.book-cover > * {
    position: relative;
    z-index: 2;
}

.book-cover:hover {
    transform: rotateY(-10deg) rotateX(2deg);
}

.book-cover h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #f59e0b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.book-cover h4 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 600;
}

.book-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.book-stats span {
    background: rgba(245, 158, 11, 0.25);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(245, 158, 11, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    font-weight: 600;
    color: #f59e0b;
}

/* Features Section - Simplified */
.features {
    padding: 4rem 0;
    background: #f8fafc;
}

.features-simple {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.feature-item i {
    font-size: 2rem;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.feature-item span {
    font-weight: 600;
    color: #1f2937;
    font-size: 1rem;
    line-height: 1.4;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(245, 158, 11, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.05), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Testimonials Carousel */
.testimonials {
    padding: 4rem 0;
    background: white;
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.testimonial-slide {
    display: none;
    padding: 2rem;
    background: #f8fafc;
    border-left: 4px solid #f59e0b;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 200px;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

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

.testimonial {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid #f59e0b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #4b5563;
    line-height: 1.6;
}

.author strong {
    display: block;
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Carousel Navigation Dots */
.carousel-dots {
    text-align: center;
    margin-top: 2rem;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: #d1d5db;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.dot.active,
.dot:hover {
    background-color: #f59e0b;
}

/* Final CTA */
.final-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.urgency {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.urgency-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.urgency-item i {
    color: #f59e0b;
}

.cta-button.large {
    font-size: 1.3rem;
    padding: 1.5rem 3rem;
    margin-bottom: 1rem;
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

.guarantee i {
    color: #f59e0b;
}

/* Footer */
.footer {
    background: #1f2937;
    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 {
    margin-bottom: 1rem;
    color: #f59e0b;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-section p i {
    margin-right: 0.5rem;
    color: #f59e0b;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #f59e0b;
}

/* Legal Links */
.legal-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #f59e0b;
}

/* Legal Modal */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.legal-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.legal-modal-content .close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.3s ease;
}

.legal-modal-content .close:hover {
    color: #f59e0b;
}

#legalContent h2 {
    color: #1f2937;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f59e0b;
    padding-bottom: 0.5rem;
}

#legalContent h3 {
    color: #374151;
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem 0;
}

#legalContent p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

#legalContent ul {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

#legalContent li {
    margin-bottom: 0.5rem;
}

/* Bottom CTA Section */
.bottom-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.bottom-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.01)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.bottom-cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.bottom-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.bottom-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.bottom-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.bottom-cta-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    min-width: 200px;
    justify-content: center;
}

.bottom-cta-btn.primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.bottom-cta-btn.primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.bottom-cta-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.bottom-cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.bottom-cta-btn i {
    font-size: 0.9rem;
}

.bottom-cta-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.bottom-cta-note i {
    color: #f59e0b;
    font-size: 0.8rem;
}


@keyframes slideUpIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    opacity: 0.6;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .hero-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }
    
    .book-cover {
        width: 250px;
        height: 350px;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .book-cover h3 {
        font-size: 1.2rem;
    }
    
    .book-cover h4 {
        font-size: 1rem;
    }
    
    .candlestick-preview {
        margin: 1.5rem 0;
        padding: 1.25rem;
        max-width: 100%;
        overflow: hidden;
    }
    
    .candlestick-preview h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .preview-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .preview-img {
        height: 90px;
        width: 100%;
        object-fit: contain;
        object-position: center;
        border-radius: 8px;
    }
    
    .preview-full-img {
        height: 140px;
        width: 100%;
        object-fit: contain;
        object-position: center;
        border-radius: 8px;
    }
    
    .pattern-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .features-simple {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.25rem;
    }
    
    .feature-item i {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-item span {
        font-size: 0.9rem;
    }
    
    .testimonial-slide {
        padding: 1.5rem;
        min-height: 180px;
    }
    
    .testimonials h2 {
        font-size: 2rem;
    }
    
    .urgency {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .legal-links {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .legal-links a {
        font-size: 0.85rem;
    }
    
    .legal-modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    .floating-cta {
        bottom: 15px;
        padding: 1rem 1.5rem;
        max-width: 95%;
        gap: 0.75rem;
        z-index: 9999;
        display: flex !important;
    }
    
    .floating-stats {
        gap: 0.75rem;
    }
    
    .floating-stat {
        font-size: 0.75rem;
    }
    
    .floating-cta-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}


@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .hero-content {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }
    
    .cta-section {
        padding: 1.25rem;
    }
    
    .current-price {
        font-size: 1.8rem;
    }
    
    .features h2,
    .testimonials h2,
    .final-cta h2 {
        font-size: 1.8rem;
    }
    
    .book-cover {
        width: 180px;
        height: 250px;
        padding: 1.5rem;
    }
    
    .book-cover h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .book-cover h4 {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .book-cover .pattern-row {
        gap: 0.25rem;
    }
    
    .pattern-item {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .candlestick-preview {
        margin: 1rem 0;
        padding: 1rem;
    }
    
    .preview-header {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        text-align: center;
    }
    
    .candlestick-preview h3 {
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .preview-download-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .preview-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .preview-img {
        height: 70px;
        object-fit: contain;
        object-position: center;
    }
    
    .preview-full-img {
        height: 100px;
        object-fit: contain;
        object-position: center;
    }
    
    .features-simple {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .feature-item i {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-item span {
        font-size: 0.85rem;
    }
}

/* Extra small devices (320px and below) */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .book-cover {
        width: 150px;
        height: 200px;
        padding: 1rem;
    }
    
    .book-cover h3 {
        font-size: 0.9rem;
    }
    
    .book-cover h4 {
        font-size: 0.75rem;
    }
    
    .pattern-item {
        padding: 0.2rem 0.4rem;
        font-size: 0.6rem;
    }
    
    .candlestick-preview {
        padding: 0.75rem;
        margin: 0.75rem 0;
    }
    
    .preview-header {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }
    
    .candlestick-preview h3 {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    .preview-download-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        min-width: 80px;
    }
    
    .preview-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
        margin-bottom: 0.5rem;
    }
    
    .preview-img {
        height: 60px;
        object-fit: contain;
        object-position: center;
    }
    
    .preview-full-img {
        height: 80px;
        object-fit: contain;
        object-position: center;
    }
    
    .cta-section {
        padding: 1rem;
    }
    
    .action-option h4 {
        font-size: 0.9rem;
    }
    
    .action-option button {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    .floating-cta {
        bottom: 15px;
        padding: 0.8rem;
        max-width: 92%;
        border-radius: 12px;
    }
    
    .floating-content {
        gap: 0.6rem;
    }
    
    .floating-info {
        flex-direction: column;
        gap: 0.2rem;
        align-items: flex-start;
    }
    
    .floating-member-count,
    .floating-activity {
        font-size: 0.6rem;
    }
    
    .floating-divider {
        display: none;
    }
    
    .floating-btn {
        padding: 0.7rem 1rem;
        font-size: 0.7rem;
        flex: 1;
    }
    
    .floating-btn span:first-child {
        font-size: 0.75rem;
    }
    
    .floating-free {
        font-size: 0.6rem;
    }
    
    .floating-close {
        top: 6px;
        right: 6px;
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }
}

/* 超小手机 (320px以下) */
@media (max-width: 320px) {
    .floating-cta {
        bottom: 10px;
        padding: 0.6rem;
        max-width: 88%;
        border-radius: 10px;
    }
    
    .floating-content {
        gap: 0.5rem;
    }
    
    .floating-info {
        flex-direction: column;
        gap: 0.15rem;
        align-items: flex-start;
    }
    
    .floating-member-count,
    .floating-activity {
        font-size: 0.55rem;
    }
    
    .floating-divider {
        display: none;
    }
    
    .floating-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.65rem;
        flex: 1;
    }
    
    .floating-btn span:first-child {
        font-size: 0.7rem;
    }
    
    .floating-free {
        font-size: 0.55rem;
    }
    
    .floating-close {
        top: 4px;
        right: 4px;
        width: 22px;
        height: 22px;
        font-size: 0.6rem;
    }
}

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

.hero-text,
.hero-image,
.feature-card,
.testimonial {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Bottom CTA Mobile Responsive */
@media (max-width: 768px) {
    .bottom-cta {
        padding: 3rem 0;
    }
    
    .bottom-cta h2 {
        font-size: 2.2rem;
    }
    
    .bottom-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .bottom-cta-btn {
        width: 100%;
        max-width: 350px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .bottom-cta {
        padding: 2.5rem 0;
    }
    
    .bottom-cta h2 {
        font-size: 1.8rem;
    }
    
    .bottom-cta p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .bottom-cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        max-width: 280px;
    }
    
    .bottom-cta-note {
        font-size: 0.8rem;
    }
}
