/* Import Korean Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;800;900&family=Black+Han+Sans&family=Jua&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', 'Black Han Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Fixed Mobile Width Container */
.container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Global Animations */
@keyframes slideInFromLeft {
    0% { opacity: 0; transform: translateX(-100px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
    0% { opacity: 0; transform: translateX(100px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.3), 0 0 40px rgba(255, 215, 0, 0.2); }
    50% { text-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 60px rgba(255, 215, 0, 0.4); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Black Han Sans', 'Noto Sans KR', sans-serif;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.02em;
}



.emphasis-text {
    font-family: 'Jua', sans-serif;
    font-weight: 400;
}

.korean-bold {
    font-family: 'Black Han Sans', sans-serif;
    font-weight: 400;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2E8B57 0%, #006400 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.stock-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    animation: stockPatternMove 20s linear infinite;
}

@keyframes stockPatternMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(60px) translateY(60px); }
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 20px;
}

.badge-text {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
    line-height: 1.2;
}

.hero-title .highlight {
    color: #FFD700;
    position: relative;
    animation: textGlow 3s ease-in-out infinite;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: underlineExpand 2s ease-out 0.5s forwards;
}

@keyframes underlineExpand {
    0% { width: 0; }
    100% { width: 100%; }
}

.hero-title .emphasis {
    color: #32CD32;
    animation: slideInFromRight 1s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-weight: 500;
    line-height: 1.6;
    max-width: 90%;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    animation: scaleIn 0.6s ease-out both;
    transform-origin: center;
    transition: transform 0.3s ease;
}

.feature-item:nth-child(1) { animation-delay: 0.8s; }
.feature-item:nth-child(2) { animation-delay: 1s; }
.feature-item:nth-child(3) { animation-delay: 1.2s; }

.feature-item:hover {
    transform: scale(1.1);
}

.feature-icon {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.feature-item:nth-child(2) .feature-icon { animation-delay: 0.3s; }
.feature-item:nth-child(3) .feature-icon { animation-delay: 0.6s; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Profile Card */
.profile-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
    transform-origin: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.profile-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.placeholder-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2E8B57, #006400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.profile-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #333;
}

.profile-info p {
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 0.9rem;
}

.stats {
    display: flex;
    justify-content: space-around;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 900;
    color: #2E8B57;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    line-height: 1.2;
}

/* Buttons */
.cta-button {
    background: linear-gradient(135deg, #32CD32, #228B22);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(50, 205, 50, 0.3);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 280px;
    text-align: center;
    margin:0 auto;
}

.cta-button img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(50, 205, 50, 0.4);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #2E8B57, #006400);
    box-shadow: 0 10px 30px rgba(46, 139, 87, 0.3);
}

.cta-button.secondary:hover {
    box-shadow: 0 15px 40px rgba(46, 139, 87, 0.4);
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 40px;
    color: #1a1a1a;
    position: relative;
    line-height: 1.3;
    padding: 0 10px;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #32CD32, #2E8B57);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Stats Section */
.stats-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #1F4E79 0%, #2E8B57 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
    animation: pulse 2s ease-in-out infinite;
}

.stats-section .stat-number {
    font-family: 'Black Han Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #FFD700;
    display: block;
    margin-bottom: 8px;
    line-height: 1;
}

.stats-section .stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Success Stories Section */
.success-stories {
    padding: 60px 0;
    background: #f8f9fa;
}

.stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.story-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #2E8B57;
    animation: slideInFromLeft 0.8s ease-out both;
}

.story-card:nth-child(2) { animation-delay: 0.2s; }
.story-card:nth-child(3) { animation-delay: 0.4s; }

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.story-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
    font-weight: 500;
    position: relative;
    padding-left: 25px;
}

.story-quote::before {
    content: '"';
    font-size: 3rem;
    color: #2E8B57;
    position: absolute;
    left: -10px;
    top: -15px;
    font-family: serif;
}

.story-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.author-name {
    font-family: 'Black Han Sans', sans-serif;
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.author-detail {
    color: #666;
    font-size: 0.85rem;
}

.story-gain {
    font-family: 'Black Han Sans', sans-serif;
    font-size: 1.3rem;
    color: #32CD32;
    background: linear-gradient(135deg, #32CD32, #228B22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Benefits Section */
.benefits {
    padding: 60px 0;
    background: linear-gradient(135deg, #2E8B57 0%, #006400 100%);
}

.benefits .section-title {
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
    animation: scaleIn 0.8s ease-out both;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }
.benefit-item:nth-child(5) { animation-delay: 0.5s; }
.benefit-item:nth-child(6) { animation-delay: 0.6s; }

.benefit-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

.benefit-item h3 {
    font-family: 'Black Han Sans', sans-serif;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Features Section */
.features {
    padding: 60px 0;
    background: white;
}

.feature-row {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    margin-bottom: 60px;
    text-align: center;
}

.feature-row.reverse {
    direction: ltr;
}

.feature-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1a1a1a;
    line-height: 1.3;
}

.feature-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 500;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
    font-weight: 600;
    padding-left: 5px;
}

/* Image Placeholders */
.image-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 0 auto;
    max-width: 280px;
}

.chart-image {
    background: linear-gradient(135deg, #2E8B57, #006400);
}

.chart-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 2rem;
    z-index: 2;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 120px;
}

.bar {
    width: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px 4px 0 0;
    animation: barGrow 2s ease-in-out infinite alternate;
}

.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.4s; }
.bar:nth-child(4) { animation-delay: 0.6s; }
.bar:nth-child(5) { animation-delay: 0.8s; }

@keyframes barGrow {
    0% { transform: scaleY(0.8); }
    100% { transform: scaleY(1.1); }
}

.book-image {
    background: linear-gradient(135deg, #32CD32, #228B22);
}

.book-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 2rem;
    z-index: 2;
}

.book-pages {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page {
    width: 150px;
    height: 25px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    animation: pageFlip 3s ease-in-out infinite;
}

.page:nth-child(2) { animation-delay: 0.5s; }
.page:nth-child(3) { animation-delay: 1s; }

@keyframes pageFlip {
    0%, 100% { transform: rotateY(0deg); opacity: 0.8; }
    50% { transform: rotateY(10deg); opacity: 1; }
}

.community-image {
    background: linear-gradient(135deg, #2E8B57, #228B22);
}

.community-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 2rem;
    z-index: 2;
}

.community-avatars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: avatarBounce 2s ease-in-out infinite;
}

.avatar:nth-child(2) { animation-delay: 0.3s; }
.avatar:nth-child(3) { animation-delay: 0.6s; }
.avatar:nth-child(4) { animation-delay: 0.9s; }

@keyframes avatarBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Guidelines Section */
.guidelines {
    padding: 60px 0;
    background: #f8f9fa;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.guideline-card {
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.guideline-card:hover {
    transform: translateY(-10px);
    border-color: #2E8B57;
}

.guideline-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.guideline-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.guideline-card p {
    color: #666;
    font-weight: 500;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #2E8B57 0%, #006400 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 500;
}

/* Floating Button */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.floating-button {
    background: linear-gradient(135deg, #32CD32, #228B22);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(50, 205, 50, 0.4);
    animation: floatingPulse 2s ease-in-out infinite;
    transition: transform 0.3s ease;
    min-height: 44px;
    min-width: 120px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.floating-button img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.floating-button:hover {
    transform: scale(1.05);
}

.floating-button:active {
    transform: scale(0.98);
}

@keyframes floatingPulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(50, 205, 50, 0.4); }
    50% { box-shadow: 0 12px 30px rgba(50, 205, 50, 0.6); }
}