/* 전역 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 타이포그래피 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.4;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: url(../images/bgc.jpg) no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* Stock Ticker */
.stock-ticker {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ticker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.stock-symbol {
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.stock-price {
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.stock-price.up {
    color: #00ff88;
}

.stock-price.down {
    color: #ff4444;
}

.stock-change {
    font-size: 0.8rem;
    font-weight: 700;
}

.stock-change {
    color: #00ff88;
}

.ticker-item:nth-child(3) .stock-change {
    color: #ff4444;
}

/* Hero Title */
.hero-title {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.title-highlight {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 700;
}

/* Hero Features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.feature-item i {
    font-size: 1.2rem;
    color: #ffd700;
}

/* CTA Buttons */
.cta-button {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 900;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
    background: linear-gradient(45deg, #f7931e, #ff6b35);
}

.cta-button.large {
    padding: 1.5rem 3rem;
    font-size: 1.4rem;
}

.hero-cta {
    margin-top: 1rem;
}

/* Hero Decoration */
.hero-decoration {
    position: absolute;
    right: -10%;
    top: 20%;
    width: 600px;
    height: 400px;
    opacity: 0.1;
    z-index: 1;
}

.chart-container {
    width: 100%;
    height: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #1e3c72;
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 600;
}

/* Activity Introduction */
.activity-intro {
    padding: 6rem 0;
    background: #f8f9fa;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.intro-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #ff6b35;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
}

.intro-card h3 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.intro-card p {
    color: #666;
    line-height: 1.8;
    font-weight: 600;
}

/* Features Section */
.features {
    padding: 6rem 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.feature-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 이미지 지연 로딩 스타일 */
.feature-image img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-image img:not(.lazy) {
    opacity: 1;
}

/* 이미지 로딩 실패 대체 */
.feature-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

.feature-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.8), rgba(247, 147, 30, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.feature-image:hover .image-overlay {
    opacity: 1;
}

.feature-content h3 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.feature-content p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #333;
}

.feature-list i {
    color: #00ff88;
    font-size: 1.2rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border: 2px solid #ff6b35;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ff6b35;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 700;
    color: #333;
}

/* Community Features */
.community-features {
    margin-bottom: 2.5rem;
}

.community-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #ff6b35;
}

.community-item i {
    font-size: 2rem;
    color: #ff6b35;
    min-width: 40px;
}

.community-item h4 {
    margin-bottom: 0.5rem;
    color: #1e3c72;
    font-weight: 900;
}

.community-item p {
    color: #666;
    margin: 0;
    font-weight: 600;
}

/* Activity Rules */
.activity-rules {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.activity-rules .section-header h2 {
    color: white;
}

.activity-rules .section-header h2::after {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
}

.activity-rules .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.rule-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.rule-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.rule-card h3 {
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.rule-card p {
    opacity: 0.9;
    line-height: 1.8;
    font-weight: 600;
}

/* Benefits Box */
.benefits-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.benefits-box h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 900;
}

.benefits-box h3 i {
    color: #ffd700;
    margin-right: 0.8rem;
}

.benefits-list {
    display: grid;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.benefit-item i {
    color: #ffd700;
    font-size: 1.2rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #ff6b35;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    color: #333;
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.author-info span {
    color: #666;
    font-weight: 600;
}

.profit-badge {
    background: linear-gradient(45deg, #00ff88, #00cc70);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 900;
    font-size: 1.1rem;
}

/* Final CTA */
.final-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 700;
}

.urgency-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffd700;
}

.urgency-text i {
    font-size: 1.3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    opacity: 0.9;
}

.trust-item i {
    color: #ffd700;
    font-size: 1.2rem;
}

/* Floating Button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.floating-button {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: float 3s ease-in-out infinite;
}

.floating-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 반응형 디자인 - 태블릿 */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .feature-row {
        gap: 3rem;
    }
    
    .hero-decoration {
        display: none;
    }
}

/* 반응형 디자인 - 모바일 가로 */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }
    
    h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    h3 {
        font-size: 1.6rem;
    }
    
    /* Hero 섹션 모바일 최적화 */
    .hero {
        min-height: 100vh;
        background-position: center center;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 2rem 1rem;
        max-width: 100%;
    }
    
    .stock-ticker {
        flex-direction: row;
        gap: 1rem;
        padding: 0.8rem 1rem;
        margin-bottom: 2rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .ticker-item {
        min-width: 100px;
        flex-shrink: 0;
    }
    
    .stock-symbol {
        font-size: 0.8rem;
    }
    
    .stock-price {
        font-size: 1rem;
    }
    
    .stock-change {
        font-size: 0.7rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .feature-item {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Feature 섹션 모바일 최적화 */
    .features {
        padding: 4rem 0;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .feature-row.reverse {
        direction: ltr;
    }
    
    .feature-image {
        order: -1;
    }
    
    .feature-image img {
        height: 250px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* 섹션 간격 조정 */
    .activity-intro,
    .activity-rules,
    .testimonials,
    .final-cta {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .intro-grid,
    .testimonials-grid {
        gap: 2rem;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .rule-card {
        padding: 2rem 1.5rem;
    }
    
    .community-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .community-item i {
        margin-bottom: 0.5rem;
    }
    
    /* CTA 버튼 모바일 최적화 */
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .cta-button.large {
        padding: 1.2rem 2.5rem;
        font-size: 1.3rem;
    }
    
    /* 플로팅 버튼 모바일 최적화 */
    .floating-cta {
        bottom: 20px;
        left: 20px;
        right: 20px;
        transform: none;
    }
    
    .floating-button {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* 혜택 박스 모바일 최적화 */
    .benefits-box {
        padding: 2rem 1.5rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* 반응형 디자인 - 모바일 세로 */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    /* Hero 섹션 */
    .hero-content {
        padding: 1.5rem 1rem;
    }
    
    .hero-title {
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .stock-ticker {
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .ticker-item {
        min-width: 90px;
    }
    
    .hero-features {
        margin-bottom: 1.5rem;
    }
    
    .feature-item {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        border-radius: 20px;
    }
    
    /* 카드 스타일 */
    .intro-card,
    .testimonial-card,
    .rule-card {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Feature 이미지 */
    .feature-image img {
        height: 200px;
    }
    
    /* 통계 아이템 */
    .stat-item {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* 커뮤니티 아이템 */
    .community-item {
        padding: 1rem;
    }
    
    .community-item i {
        font-size: 1.5rem;
    }
    
    /* CTA 버튼 */
    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
    
    .cta-button.large {
        padding: 1.1rem 2rem;
        font-size: 1.2rem;
    }
    
    /* 플로팅 버튼 */
    .floating-button {
        padding: 0.9rem;
        font-size: 0.95rem;
        gap: 0.6rem;
    }
    
    /* 섹션 헤더 */
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    /* 혜택 목록 */
    .benefit-item {
        font-size: 1rem;
        gap: 0.8rem;
    }
    
    /* 후기 카드 */
    .testimonial-author {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .profit-badge {
        align-self: flex-end;
        padding: 0.4rem 0.8rem;
        font-size: 1rem;
    }
    
    /* 최종 CTA */
    .cta-content h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .cta-content p {
        font-size: 1.2rem;
    }
    
    .urgency-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* 매우 작은 화면 (320px 이하) */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.9rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-content {
        padding: 1rem 0.5rem;
    }
    
    .stock-ticker {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .ticker-item {
        min-width: auto;
        width: 100%;
    }
    
    .cta-button,
    .floating-button {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
    
    .intro-card,
    .testimonial-card,
    .rule-card {
        padding: 1.5rem 1rem;
    }
}

/* 터치 디바이스 최적화 */
@media (hover: none) and (pointer: coarse) {
    .cta-button:hover,
    .floating-button:hover,
    .intro-card:hover,
    .testimonial-card:hover,
    .rule-card:hover,
    .feature-item:hover {
        transform: none;
    }
    
    .cta-button:active,
    .floating-button:active {
        transform: scale(0.95);
    }
    
    .intro-card:active,
    .testimonial-card:active,
    .rule-card:active {
        transform: scale(0.98);
    }
}
