/* ===================================
   韩国投资者社群落地页样式
   配色方案: 午夜靛蓝 #1B263B, #E8DAB2, #EAEDED
   字体: Noto Sans KR
=================================== */

/* CSS Variables */
:root {
    --primary-color: #1B263B;
    --secondary-color: #E8DAB2;
    --light-bg: #EAEDED;
    --white: #ffffff;
    --text-dark: #1B263B;
    --text-light: #5a6a7a;
    --accent-gold: #D4A574;
    --gradient-primary: linear-gradient(135deg, #1B263B 0%, #2d3f5c 100%);
    --gradient-hero: linear-gradient(180deg, #1B263B 0%, #253349 50%, #1B263B 100%);
    --shadow-sm: 0 2px 8px rgba(27, 38, 59, 0.08);
    --shadow-md: 0 4px 20px rgba(27, 38, 59, 0.12);
    --shadow-lg: 0 8px 40px rgba(27, 38, 59, 0.16);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

/* ===================================
   Hero Section
=================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url(../images/bgc.png) no-repeat center center;
    background-size: cover;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(232, 218, 178, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(232, 218, 178, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(27, 38, 59, 0.5) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    display: block;
    width: 4px;
    height: 4px;
    background: rgba(232, 218, 178, 0.3);
    border-radius: 50%;
    animation: float 15s infinite;
}

.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 12s; }
.hero-particles span:nth-child(2) { left: 20%; top: 60%; animation-delay: 2s; animation-duration: 18s; }
.hero-particles span:nth-child(3) { left: 35%; top: 40%; animation-delay: 4s; animation-duration: 14s; }
.hero-particles span:nth-child(4) { left: 50%; top: 70%; animation-delay: 1s; animation-duration: 16s; }
.hero-particles span:nth-child(5) { left: 65%; top: 25%; animation-delay: 3s; animation-duration: 13s; }
.hero-particles span:nth-child(6) { left: 75%; top: 55%; animation-delay: 5s; animation-duration: 17s; }
.hero-particles span:nth-child(7) { left: 85%; top: 35%; animation-delay: 2s; animation-duration: 15s; }
.hero-particles span:nth-child(8) { left: 45%; top: 85%; animation-delay: 6s; animation-duration: 19s; }
.hero-particles span:nth-child(9) { left: 90%; top: 75%; animation-delay: 4s; animation-duration: 11s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(-100px) translateX(20px);
        opacity: 0.5;
    }
    90% {
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 0 120px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 218, 178, 0.15);
    border: 1px solid rgba(232, 218, 178, 0.3);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--secondary-color);
    font-size: 14px;
}

.hero-badge span {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: var(--secondary-color);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
    opacity: 0.5;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 24px 48px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 48px;
}

/* 福利文案 - PC端和手机端都显示 */
.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    text-align: center;
    align-items: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.benefit-item i {
    color: var(--secondary-color);
    font-size: 14px;
    flex-shrink: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-cta {
    font-size: 18px;
    padding: 18px 48px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===================================
   CTA Button
=================================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(232, 218, 178, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232, 218, 178, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button i {
    font-size: 18px;
}

.cta-button.large {
    font-size: 18px;
    padding: 20px 48px;
}

/* ===================================
   Section Common Styles
=================================== */
.section {
    padding: 100px 0;
}

.alt-bg {
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.section-tag i {
    font-size: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

/* ===================================
   Feature Rows
=================================== */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-image {
    position: relative;
}

.feature-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.feature-image-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.feature-icon-box {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.feature-icon-box i {
    font-size: 80px;
    color: var(--secondary-color);
    opacity: 0.9;
}

.feature-content {
    padding: 20px 0;
}

.feature-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.feature-title i {
    color: var(--primary-color);
    font-size: 24px;
}

.feature-desc {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-dark);
    padding: 10px 0;
    border-bottom: 1px solid rgba(27, 38, 59, 0.08);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: #4CAF50;
    font-size: 18px;
}

/* ===================================
   Target Section
=================================== */
.target-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.target-card {
    background: var(--white);
    padding: 40px 28px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(27, 38, 59, 0.06);
}

.target-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.target-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.target-icon i {
    font-size: 28px;
    color: var(--secondary-color);
}

.target-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.target-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   Testimonials Section
=================================== */
.testimonials-section {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(27, 38, 59, 0.06);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.testimonial-info h5 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 13px;
    color: var(--text-light);
}

.testimonial-rating {
    margin-left: auto;
}

.testimonial-rating i {
    color: #FFB800;
    font-size: 14px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 16px;
}

.testimonial-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.testimonial-date i {
    font-size: 12px;
}

/* ===================================
   CTA Section
=================================== */
.cta-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.cta-box {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(232, 218, 178, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
}

.cta-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   Footer
=================================== */
.footer {
    background: var(--primary-color);
    padding: 48px 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo i {
    font-size: 28px;
    color: var(--secondary-color);
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   Fixed Bottom CTA
=================================== */
.fixed-bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 16px 24px;
    background: linear-gradient(to top, rgba(27, 38, 59, 0.98) 0%, rgba(27, 38, 59, 0.95) 50%, transparent 100%);
    padding-top: 40px;
}

.fixed-cta {
    width: 100%;
    max-width: 480px;
    font-size: 17px;
    padding: 18px 36px;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(232, 218, 178, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(232, 218, 178, 0.5);
    }
}

/* Add padding to body for fixed button */
body {
    padding-bottom: 100px;
}

/* ===================================
   Responsive Design
=================================== */
@media (max-width: 1024px) {
    .feature-row {
        gap: 48px;
    }
    
    .target-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats {
        padding: 20px 32px;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-row.reverse {
        direction: ltr;
    }
    
    .feature-image {
        order: 1;
    }
    
    .feature-content {
        order: 2;
        text-align: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .target-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .target-card {
        padding: 32px 24px;
    }
    
    .cta-box {
        padding: 60px 32px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .feature-title {
        font-size: 24px;
        justify-content: center;
    }
    
    .feature-desc {
        text-align: center;
    }
    
    .feature-list {
        text-align: left;
    }
    
    .feature-list li {
        justify-content: center;
    }
    
    .fixed-cta {
        font-size: 15px;
        padding: 16px 28px;
    }
    
    .section-header {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding: 40px 0 100px;
    }
    
    .hero-badge {
        padding: 8px 18px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .cta-button.large {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .feature-title {
        font-size: 22px;
        flex-wrap: wrap;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .testimonial-header {
        flex-wrap: wrap;
    }
    
    .testimonial-rating {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
    }
    
    .benefit-item {
        font-size: 14px;
    }
}

/* ===================================
   Modal 弹窗样式
=================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 38, 59, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: var(--primary-color);
    color: var(--white);
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.modal-header h3 i {
    color: var(--secondary-color);
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
}

.modal-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    margin-top: 24px;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.disclaimer-warning {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(27, 38, 59, 0.08);
    padding: 16px 20px;
    border-radius: var(--border-radius);
    margin-top: 24px;
    border-left: 4px solid var(--primary-color);
}

.disclaimer-warning i {
    color: var(--primary-color);
    font-size: 18px;
    flex-shrink: 0;
}

.disclaimer-warning span {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

@media (max-width: 480px) {
    .modal {
        padding: 16px;
    }
    
    .modal-content {
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 20px;
    }
}

