/* ==================== Reset & Base Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Modern & Premium */
    --primary-color: #2D3748;
    --primary-dark: #1A202C;
    --accent-color: #4F46E5;
    --accent-light: #6366F1;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-color: #10B981;
    --secondary-light: #34D399;
    
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-light: #718096;
    --text-white: #FFFFFF;
    
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7FAFC;
    --bg-accent: #EEF2FF;
    --bg-dark: #2D3748;
    
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Mobile-First Width */
    --max-width: 480px;
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #F9FAFB;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

/* ==================== Mobile Container - H5 Width ==================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    background: var(--bg-primary);
}

/* ==================== Hero Section ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    padding: var(--spacing-2xl) 0;
    width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 2;
    background: transparent;
}

.hero-content {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.title-main {
    font-size: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.5px;
}

.title-highlight {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: var(--spacing-2xl);
    font-weight: 400;
}

/* Profile Section */
.hero-profile {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.profile-image {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-lg);
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.profile-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
}

.profile-badge i {
    color: white;
    font-size: 16px;
}

.profile-name {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.5px;
}

.profile-title {
    font-size: 16px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.profile-credentials {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.credential-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 14px;
    color: var(--text-secondary);
}

.credential-item i {
    color: var(--accent-color);
    font-size: 16px;
    width: 20px;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg) var(--spacing-sm);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ==================== CTA Buttons ==================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: var(--spacing-lg) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    width: 100%;
    font-family: 'Noto Sans KR', sans-serif;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button.large {
    padding: var(--spacing-xl) var(--spacing-2xl);
    font-size: 18px;
}

/* ==================== Section Styles ==================== */
section {
    padding: var(--spacing-2xl) 0;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-badge {
    display: inline-block;
    background: var(--bg-accent);
    color: var(--accent-color);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* ==================== Mission Section ==================== */
.mission-section {
    background: var(--bg-secondary);
}

.mission-section .container {
    background: transparent;
}

.mission-intro {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.mission-intro strong {
    color: var(--accent-color);
    font-weight: 700;
}

.mission-problems {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.problem-item {
    display: flex;
    gap: var(--spacing-md);
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.problem-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FEE2E2, #FECACA);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-icon i {
    color: #DC2626;
    font-size: 18px;
}

.problem-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.problem-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.mission-quote {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border-left: 4px solid rgba(255, 255, 255, 0.5);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.mission-quote i {
    font-size: 32px;
    opacity: 0.3;
    margin-bottom: var(--spacing-md);
}

.mission-quote p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-weight: 400;
}

.mission-quote cite {
    font-size: 14px;
    font-style: normal;
    opacity: 0.9;
    font-weight: 600;
}

/* ==================== Feature Sections ==================== */
.feature-section {
    background: var(--bg-primary);
}

.feature-section.feature-right {
    background: var(--bg-secondary);
}

.feature-section.feature-right .container,
.feature-section.feature-left .container {
    background: transparent;
}

.feature-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.feature-image {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.image-badge i {
    color: white;
    font-size: 24px;
}

.feature-content {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.feature-number {
    display: inline-block;
    font-size: 48px;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    line-height: 1;
}

.feature-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.5px;
}

.feature-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.feature-list i {
    color: var(--secondary-color);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ==================== Benefits Section ==================== */
.benefits-section {
    background: var(--bg-secondary);
}

.benefits-section .container {
    background: transparent;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.benefit-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.benefit-icon i {
    font-size: 24px;
    color: var(--accent-color);
}

.benefit-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.benefit-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==================== Testimonials Section ==================== */
.testimonials-section {
    background: var(--bg-primary);
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar i {
    color: white;
    font-size: 20px;
}

.testimonial-author {
    flex: 1;
}

.testimonial-author h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.testimonial-author p {
    font-size: 13px;
    color: var(--text-light);
}

.testimonial-rating {
    display: flex;
    gap: 2px;
}

.testimonial-rating i {
    color: #FFA500;
    font-size: 14px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.testimonial-date {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
}

/* ==================== Philosophy Section ==================== */
.philosophy-section {
    background: var(--primary-dark);
    color: white;
}

.philosophy-section .container {
    background: transparent;
}

.philosophy-content {
    text-align: center;
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
}

.philosophy-icon i {
    font-size: 36px;
    color: var(--secondary-color);
}

.philosophy-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: var(--spacing-2xl);
}

.philosophy-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.philosophy-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.philosophy-number {
    display: inline-block;
    font-size: 40px;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #10B981, #34D399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    line-height: 1;
}

.philosophy-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.philosophy-item p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* ==================== Final CTA Section ==================== */
.final-cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.final-cta-section .container {
    background: transparent;
}

.final-cta-content {
    text-align: center;
}

.final-cta-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.5px;
}

.final-cta-subtitle {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.final-cta-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.cta-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: 15px;
    font-weight: 600;
}

.cta-feature i {
    color: var(--secondary-color);
    font-size: 18px;
}

.final-cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    font-size: 13px;
    margin-top: var(--spacing-lg);
    opacity: 0.9;
}

.final-cta-note i {
    font-size: 16px;
}

/* ==================== Footer ==================== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-2xl) 0;
    width: 100%;
}

.footer .container {
    background: transparent;
}

.footer-content {
    text-align: center;
}

.footer-text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.footer-text strong {
    color: white;
    font-weight: 700;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    font-size: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-disclaimer {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 400px;
    margin: 0 auto;
}

/* ==================== Fixed Bottom CTA ==================== */
.fixed-cta-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.fixed-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    font-family: 'Noto Sans KR', sans-serif;
    max-width: var(--max-width);
    width: calc(100% - var(--spacing-2xl));
}

.fixed-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.fixed-cta-button:active {
    transform: translateY(0);
}

.fixed-cta-button i:first-child {
    font-size: 18px;
}

/* ==================== Responsive Design - Tablet & Desktop ==================== */
@media (min-width: 768px) {
    :root {
        --max-width: 420px;
    }
    
    body {
        background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
        position: relative;
        min-height: 100vh;
    }
    
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
        pointer-events: none;
        z-index: 0;
    }
    
    .hero,
    section,
    .footer {
        width: 100%;
        max-width: var(--max-width);
        margin-left: auto;
        margin-right: auto;
        position: relative;
        z-index: 1;
    }
    
    .hero {
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.15);
        margin-top: 20px;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    
    section {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
    
    .footer {
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        margin-bottom: 80px;
    }
    
    .fixed-cta-wrapper {
        max-width: var(--max-width);
        left: 50%;
        right: auto;
        width: var(--max-width);
        margin-left: calc(var(--max-width) / -2);
    }
    
    .fixed-cta-button {
        width: calc(100% - var(--spacing-2xl));
        max-width: 100%;
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==================== Animations ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* ==================== Utility Classes ==================== */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }
