/* 
 * 안유화 교수 투자 커뮤니티 랜딩 페이지
 * 색상: 일몰 산호 #FF6B6B, #FFB6B9, #2C3E50
 * 폰트: Nanum Gothic
 */

:root {
    --primary: #FF6B6B;
    --primary-light: #FFB6B9;
    --primary-dark: #E55A5A;
    --dark: #2C3E50;
    --dark-light: #34495E;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray: #6C757D;
    --shadow: 0 10px 40px rgba(44, 62, 80, 0.1);
    --shadow-lg: 0 20px 60px rgba(44, 62, 80, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nanum Gothic', sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background-color: var(--white);
    padding-bottom: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   실시간 알림 버블
============================================ */
.notification-bubble {
    position: fixed;
    bottom: 100px;
    left: 20px;
    background: var(--white);
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0;
    transform: translateX(-100%);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.notification-bubble.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.notification-content i {
    color: var(--primary);
    font-size: 16px;
}

/* ============================================
   Hero Section
============================================ */
.hero {
    position: relative;
    background: url(../images/bgc.png) no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 60px;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 182, 185, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
    animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.5);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--primary-light);
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
}

.hero h1 .highlight {
    color: var(--primary-light);
    position: relative;
}

.hero-description {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-light);
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    position: relative;
    width: 400px;
    height: 480px;
}

.hero-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-placeholder i {
    font-size: 120px;
    color: var(--primary-light);
    opacity: 0.8;
}

.image-placeholder span {
    font-size: 24px;
    color: var(--white);
    font-weight: 700;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    color: var(--primary);
    font-size: 20px;
}

.floating-card span {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
}

.card-1 {
    top: 20%;
    left: -60px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    right: -40px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* ============================================
   CTA Buttons
============================================ */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    border: none;
    border-radius: 50px;
    font-family: 'Nanum Gothic', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.5);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-button.secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.cta-button.large {
    padding: 22px 44px;
    font-size: 18px;
}

.cta-button .btn-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* ============================================
   Section Headers
============================================ */
.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
}

/* ============================================
   About Section
============================================ */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-portrait {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--gray-light) 0%, #E8E8E8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-placeholder i {
    font-size: 100px;
    color: var(--primary-light);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
}

.about-badge i {
    font-size: 24px;
}

.about-badge span {
    font-weight: 700;
}

.about-text h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.9;
}

.credential-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
}

.credential-item i {
    color: var(--primary);
    font-size: 18px;
}

/* ============================================
   Benefits Section
============================================ */
.benefits-section {
    padding: 100px 0;
    background: var(--gray-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.benefit-icon i {
    font-size: 32px;
    color: var(--white);
}

.benefit-card h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--dark);
}

.benefit-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* ============================================
   Expertise Section
============================================ */
.expertise-section {
    padding: 100px 0;
    background: var(--white);
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.expertise-content.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.expertise-content.reverse .expertise-text {
    order: 1;
}

.expertise-content.reverse .expertise-image {
    order: 2;
}

.expertise-text h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
}

.expertise-text p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.9;
}

.expertise-list {
    list-style: none;
    margin-bottom: 30px;
}

.expertise-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.expertise-list li i {
    color: var(--primary);
    font-size: 20px;
    width: 24px;
}

.expertise-portrait {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.expertise-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expertise-placeholder i {
    font-size: 120px;
    color: var(--white);
    opacity: 0.6;
}

/* ============================================
   How Section
============================================ */
.how-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
}

.how-section .section-tag {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.how-section .section-header h2 {
    color: var(--white);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.step-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    flex: 1;
    max-width: 280px;
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.step-content h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.step-arrow {
    color: var(--primary-light);
    font-size: 24px;
}

/* ============================================
   Testimonials Section
============================================ */
.testimonials-section {
    padding: 100px 0;
    background: var(--gray-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar i {
    color: var(--white);
    font-size: 20px;
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h5 {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
}

.testimonial-info span {
    font-size: 13px;
    color: var(--gray);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 14px;
}

.testimonial-card > p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
}

/* ============================================
   CTA Section
============================================ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content > p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-section .cta-button {
    background: var(--white);
    color: var(--primary);
}

.cta-section .cta-button:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-3px);
}

.cta-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ============================================
   Footer
============================================ */
.footer {
    padding: 40px 0;
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.footer p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.7;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

/* ============================================
   Fixed CTA Button
============================================ */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    
    padding: 16px 20px;
    z-index: 999;
    display: flex;
    justify-content: center;
}

.cta-button.fixed {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
    width: 100%;
    max-width: 400px;
    justify-content: center;
}

.cta-button.fixed:hover {
    transform: scale(1.02);
}

/* ============================================
   Responsive Design
============================================ */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .image-frame {
        width: 320px;
        height: 400px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 90px;
    }
    
    .hero {
        padding-top: 40px;
    }
    #herobtn{
        display: none;
    }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .image-frame {
        width: 280px;
        height: 340px;
    }
    
    .floating-card {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .expertise-content,
    .expertise-content.reverse {
        grid-template-columns: 1fr;
    }
    
    .expertise-content.reverse .expertise-text,
    .expertise-content.reverse .expertise-image {
        order: unset;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .step-item {
        max-width: 100%;
        width: 100%;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .credential-list {
        grid-template-columns: 1fr;
    }
    
    .notification-bubble {
        left: 10px;
        right: 10px;
        bottom: 110px;
    }
    
    .cta-button.fixed {
        padding: 16px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .image-frame {
        width: 220px;
        height: 280px;
    }
    
    .image-placeholder i {
        font-size: 80px;
    }
}

/* ============================================
   Modal Styles
============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.9);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}

.modal-header h3 i {
    font-size: 22px;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close i {
    color: var(--white);
    font-size: 18px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(80vh - 88px);
}

.modal-body h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
    margin-top: 24px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 12px;
}

.modal-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.modal-body ul li {
    font-size: 14px;
    color: var(--gray);
    padding: 8px 0 8px 24px;
    position: relative;
    line-height: 1.6;
}

.modal-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.disclaimer-warning {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.disclaimer-warning i {
    font-size: 32px;
}

.disclaimer-warning p {
    color: var(--white);
    margin: 0;
    font-size: 18px;
}

.disclaimer-note {
    background: #FFF3E0;
    border-left: 4px solid #FF9800;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 24px;
}

.disclaimer-note p {
    margin: 0;
    color: #E65100;
    font-size: 14px;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-container {
        max-height: 90vh;
        margin: 10px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 20px;
        max-height: calc(90vh - 76px);
    }
    
    .modal-body h4 {
        font-size: 16px;
    }
    
    .modal-body p,
    .modal-body ul li {
        font-size: 14px;
    }
}

