/* ===================================
   안유화 교수 커뮤니티 랜딩 페이지
   Color Palette: 
   - Primary: #1A535C (Malachite Teal)
   - Accent: #B08B59 (Gold Bronze)
   - Dark: #2D2D2D
   - Font: Noto Serif KR
=================================== */

:root {
    --color-primary: #1A535C;
    --color-primary-light: #236b76;
    --color-primary-dark: #123d43;
    --color-accent: #B08B59;
    --color-accent-light: #c9a36f;
    --color-accent-dark: #8f7048;
    --color-dark: #2D2D2D;
    --color-text: #3a3a3a;
    --color-text-light: #666666;
    --color-white: #ffffff;
    --color-cream: #faf8f5;
    --color-cream-dark: #f0ebe3;
    --gradient-malachite: linear-gradient(135deg, #1A535C 0%, #236b76 50%, #1A535C 100%);
    --gradient-gold: linear-gradient(135deg, #B08B59 0%, #c9a36f 50%, #B08B59 100%);
    --shadow-sm: 0 2px 8px rgba(26, 83, 92, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 83, 92, 0.12);
    --shadow-lg: 0 8px 40px rgba(26, 83, 92, 0.16);
    --shadow-gold: 0 4px 20px rgba(176, 139, 89, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif KR', serif;
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.7;
    overflow-x: hidden;
    padding-bottom: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Live Notification Bubble
=================================== */
.live-notification {
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 1000;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.live-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-content {
    background: var(--color-white);
    border: 1px solid var(--color-cream-dark);
    border-left: 4px solid var(--color-accent);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--color-dark);
}

.notification-content i {
    color: var(--color-accent);
    font-size: 18px;
}

/* ===================================
   Stock Ticker
=================================== */
.stock-ticker {
    background: var(--color-dark);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
}

.stock-ticker::before,
.stock-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.stock-ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-dark), transparent);
}

.stock-ticker::after {
    right: 0;
    background: linear-gradient(-90deg, var(--color-dark), transparent);
}

.ticker-wrap {
    display: flex;
    width: 100%;
}

.ticker-content {
    display: flex;
    animation: ticker 40s linear infinite;
    white-space: nowrap;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    padding: 0 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.ticker-item.up {
    color: #4ade80;
}

.ticker-item.down {
    color: #f87171;
}

.ticker-item i {
    margin-right: 6px;
}

/* ===================================
   Hero Section
=================================== */
.hero {
    background: url(../images/bgc.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(176, 139, 89, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-container {
    text-align: center;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--color-white);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    color: var(--color-accent);
}

.hero-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: 20px;
}

.title-accent {
    color: var(--color-accent);
    position: relative;
}

.title-highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-accent);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-gold);
    color: var(--color-white);
    padding: 18px 40px;
    border: none;
    border-radius: var(--radius-xl);
    font-family: 'Noto Serif KR', serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(176, 139, 89, 0.4);
}

.hero-image-container {
    position: absolute;
    right: 5%;
    bottom: 0;
    width: 35%;
    max-width: 400px;
    z-index: 1;
}

.hero-image-frame {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
}

.hero-dec-1 {
    width: 200px;
    height: 200px;
    background: rgba(176, 139, 89, 0.2);
    top: 10%;
    left: -20%;
    filter: blur(40px);
}

.hero-dec-2 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    bottom: 20%;
    right: -10%;
    filter: blur(30px);
}

/* ===================================
   Sections Common
=================================== */
.section {
    padding: 100px 0;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 83, 92, 0.1);
    color: var(--color-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.section-badge.gold {
    background: rgba(176, 139, 89, 0.1);
    color: var(--color-accent-dark);
}

.section-badge.center {
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-title.center {
    text-align: center;
}

.section-desc {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.section-desc.center {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* ===================================
   Content Grid (Left-Right Layouts)
=================================== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-image {
    position: relative;
}

.image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 83, 92, 0.9));
    padding: 40px 20px 20px;
}

.overlay-text {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
}

.image-card.alt {
    background: var(--gradient-malachite);
 
}

.image-card.alt img {
    border-radius: var(--radius-md);
}

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-gold);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-gold);
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-cream-dark);
    font-size: 15px;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--color-accent);
    font-size: 18px;
    width: 24px;
}

.section-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 30px;
    border: none;
    border-radius: var(--radius-xl);
    font-family: 'Noto Serif KR', serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* ===================================
   Benefits Section
=================================== */
.benefits-section {
    background: var(--color-white);
}

.benefit-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: var(--color-cream-dark);
    transform: translateX(5px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-malachite);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    color: var(--color-white);
    font-size: 20px;
}

.benefit-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.benefit-content p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* ===================================
   Learn Section
=================================== */
.learn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.learn-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.learn-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.learn-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-malachite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.learn-icon i {
    color: var(--color-white);
    font-size: 28px;
}

.learn-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.learn-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===================================
   Testimonials Section
=================================== */
.testimonial-section {
    background: var(--color-white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--color-cream);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-cream-dark);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-malachite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar i {
    color: var(--color-white);
    font-size: 20px;
}

.testimonial-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
}

.testimonial-info span {
    font-size: 13px;
    color: var(--color-text-light);
}

.testimonial-rating {
    margin-left: auto;
}

.testimonial-rating i {
    color: var(--color-accent);
    font-size: 14px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.8;
    font-style: italic;
}

/* ===================================
   CTA Section
=================================== */
.cta-section {
    background: var(--gradient-malachite);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    line-height: 1.8;
}

.cta-benefits {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.cta-benefits li i {
    color: var(--color-accent);
}

.cta-action {
    text-align: center;
}

.cta-button.large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-gold);
    color: var(--color-white);
    padding: 20px 40px;
    border: none;
    border-radius: var(--radius-xl);
    font-family: 'Noto Serif KR', serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
    width: 100%;
    justify-content: center;
}

.cta-button.large:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(176, 139, 89, 0.5);
}

.cta-note {
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ===================================
   Footer
=================================== */
.footer {
    background: var(--color-dark);
    padding: 60px 0 100px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

/* ===================================
   Fixed Bottom CTA
=================================== */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
   
    padding: 15px 20px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;

}

.fixed-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-gold);
    color: var(--color-white);
    padding: 16px 50px;
    border: none;
    border-radius: var(--radius-xl);
    font-family: 'Noto Serif KR', serif;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(176, 139, 89, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(176, 139, 89, 0.6);
    }
}

.fixed-cta-button:hover {
    transform: scale(1.03);
}

/* ===================================
   Responsive Design
=================================== */
@media (max-width: 1024px) {
    .hero-image-container {
        display: none;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
    
    .learn-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 30px;
    }
    
    .cta-benefits {
        justify-content: center;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .hero {
        min-height: auto;
        padding: 60px 20px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .learn-grid {
        grid-template-columns: 1fr;
    }
    

    
    .fixed-cta-button {
        padding: 14px 30px;
        font-size: 15px;
    }
    
    .live-notification {
        left: 10px;
        right: 10px;
        bottom: 90px;
    }
    
    .notification-content {
        font-size: 13px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        padding: 16px 30px;
        font-size: 16px;
    }
    
    .section-cta {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

