:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --white: #ffffff;
    --success-color: #10b981;
    --warning-color: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Floating Button */
.floating-button-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-button {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background: linear-gradient(45deg, var(--success-color), #059669);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
}

.floating-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.6);
}

.floating-button .icon {
    margin-right: 8px;
    font-size: 16px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Sections */
section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

/* Content Row Layout */
.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.content-row.reverse {
    direction: rtl;
}

.content-row.reverse .content-text,
.content-row.reverse .content-image {
    direction: ltr;
}

.content-text h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.content-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Image Placeholder */
.image-placeholder {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Chart Mini */
.chart-mini {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 350px;
    height: 250px;
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.profile-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.profile-card ul {
    list-style: none;
}

.profile-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.profile-card li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Books Section */
.books-section {
    background: var(--light-bg);
}

.book-cover {
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.book-cover:hover {
    transform: scale(1.05);
}

.book-features {
    list-style: none;
    margin-top: 1rem;
}

.book-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.book-features li::before {
    content: '📚';
    position: absolute;
    left: 0;
}

/* Teaching Section */
.teaching-section {
    background: var(--white);
}

.features-list {
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.feature-icon {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* Stats Container */
.stats-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Method Diagram */
.method-diagram {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 350px;
    height: 300px;
}

/* Learning Steps */
.learning-steps {
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 700;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

/* Community Benefits */
.community-benefits {
    margin-top: 1.5rem;
}

.benefit-point {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.benefit-icon {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* Community Visual */
.community-visual {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Strategy Section */
.strategy-section {
    background: var(--light-bg);
}

.strategy-chart {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 350px;
    height: 300px;
}

.strategy-points {
    margin-top: 1.5rem;
}

.point {
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

/* Dividend Benefits */
.dividend-benefits {
    margin-top: 1.5rem;
}

.dividend-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.dividend-icon {
    margin-right: 1rem;
    font-size: 2rem;
}

.dividend-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.dividend-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
}

/* Dividend Chart */
.dividend-chart {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 350px;
    height: 300px;
}

/* Join Section */
.join-section {
    text-align: center;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: var(--white);
}

.join-section h2 {
    color: var(--white);
}

.join-section p {
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

/* Footer */
footer {
    background: var(--text-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

/* Disclaimer */
.disclaimer {
    background: #f8f9fa;
    padding: 2rem 0;
    border-top: 1px solid #e9ecef;
}

.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
}

.disclaimer h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.disclaimer ul {
    list-style: none;
    padding-left: 0;
}

.disclaimer li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.disclaimer li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .profile-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .content-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-row.reverse {
        direction: ltr;
    }

    .stats-container {
        flex-direction: row;
        justify-content: space-around;
    }

    .stat-item {
        flex: 1;
        margin: 0 0.5rem;
    }

    .chart-mini,
    .method-diagram,
    .strategy-chart,
    .dividend-chart {
        width: 100%;
        height: 200px;
    }

    .floating-button {
        font-size: 12px;
        padding: 12px 20px;
    }

    .floating-button-container {
        bottom: 15px;
        right: 15px;
    }
}

/* Google Ads Compliance */
.ad-disclosure {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin: 2rem 0;
    font-size: 0.9rem;
    color: #856404;
}

.risk-warning {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 1rem;
    margin: 2rem 0;
    font-size: 0.9rem;
    color: #721c24;
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
} 