/* =============================================================================
   Main CSS - Pixel-perfect styles based on Figma design
   ============================================================================= */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    font-weight: 400;
    color: #333333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

/* =============================================================================
   Main Container
   ============================================================================= */
.main-container {
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
}

/* =============================================================================
   Hero Section
   ============================================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.9;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Title */
.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

/* Hero Subtitle */
.hero__subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Hero Profile */
.hero__profile {
    margin: 3rem 0;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero__profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero__profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

/* Hero CTA Button */
.hero__cta {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: #ffffff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    margin: 2rem 0 3rem 0;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero__cta:hover {
    background: linear-gradient(45deg, #ee5a52, #ff6b6b);
    box-shadow: 0 6px 24px rgba(255, 107, 107, 0.6);
    transform: translateY(-2px);
}

.hero__cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

/* Hero Description */
.hero__description {
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero__description-text {
    font-size: 1.125rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero__description-text--secondary {
    font-size: 1rem;
    opacity: 0.9;
}

/* =============================================================================
   Features Section
   ============================================================================= */
.features {
    padding: 6rem 0;
    background: #ffffff;
}

.features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Feature Cards */
.feature-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.feature-card__icon {
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.feature-card__icon-emoji {
    font-size: 2.5rem;
    display: block;
}

.feature-card__content {
    flex: 1;
}

.feature-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature-card__description {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
}

/* Features CTA Banner */
.features__cta-banner {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: #ffffff;
}

.features__cta-text {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

/* =============================================================================
   Promotional Section
   ============================================================================= */
.promo {
    padding: 4rem 0;
    background: #f8f9fa;
}

.promo__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.promo__image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.promo__image:hover {
    transform: scale(1.02);
}

/* =============================================================================
   Community Section
   ============================================================================= */
.community {
    padding: 6rem 0;
    background: #ffffff;
}

.community__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.community__card {
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.community__title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.community__title-icon {
    font-size: 1.5rem;
}

.community__features {
    list-style: none;
    padding: 0;
}

.community__feature-item {
    font-size: 1.125rem;
    color: #555555;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
}

.community__feature-item:last-child {
    border-bottom: none;
}

.community__feature-item::before {
    content: '•';
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 1rem;
}

/* =============================================================================
   Disclaimer Section
   ============================================================================= */
.disclaimer {
    padding: 2rem 0;
    background: #fff3cd;
    border-top: 1px solid #ffeaa7;
}

.disclaimer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.disclaimer__text {
    font-size: 0.875rem;
    color: #856404;
    text-align: center;
    line-height: 1.6;
    margin: 0;
}

/* =============================================================================
   Fixed Bottom Banner
   ============================================================================= */
.fixed-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    padding: 1rem 0;
    box-shadow: 0 -4px 16px rgba(231, 76, 60, 0.3);
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.fixed-banner.hidden {
    transform: translateY(100%);
}

.fixed-banner__link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.125rem;
    text-align: center;
    padding: 0 1rem;
    min-height: 48px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fixed-banner__link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.fixed-banner__text {
    margin: 0 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.fixed-banner__emoji {
    font-size: 1.5rem;
    animation: pointHand 2s ease-in-out infinite;
}

.fixed-banner__close {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fixed-banner__close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

@keyframes pointHand {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* Responsive Design for Banner */
@media (max-width: 768px) {
    .fixed-banner__text {
        font-size: 1rem;
        margin: 0 0.5rem;
    }
    
    .fixed-banner__emoji {
        font-size: 1.25rem;
    }
    
    .fixed-banner__close {
        right: 0.5rem;
        width: 28px;
        height: 28px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .fixed-banner__text {
        font-size: 0.875rem;
        margin: 0 0.25rem;
    }
    
    .fixed-banner__emoji {
        font-size: 1rem;
    }
    
    .fixed-banner__link {
        padding: 0 0.5rem;
        min-height: 44px;
    }
}

/* =============================================================================
   Footer
   ============================================================================= */
.footer {
    background: #2c3e50;
    color: #ffffff;
    padding: 3rem 0 2rem 0;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer__company-info {
    margin-bottom: 2rem;
}

.footer__company-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer__company-item {
    font-size: 0.875rem;
    color: #bdc3c7;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer__privacy {
    margin-bottom: 2rem;
}

.footer__privacy-text {
    font-size: 0.875rem;
    color: #bdc3c7;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer__privacy-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__privacy-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer__privacy-link:hover {
    color: #5dade2;
    text-decoration: underline;
}

.footer__privacy-separator {
    color: #bdc3c7;
    font-size: 0.875rem;
}

.footer__terms {
    margin-bottom: 2rem;
}

.footer__terms-text {
    font-size: 0.875rem;
    color: #bdc3c7;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer__terms-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__terms-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer__terms-link:hover {
    color: #5dade2;
    text-decoration: underline;
}

.footer__terms-separator {
    color: #bdc3c7;
    font-size: 0.875rem;
}

/* Footer Navigation */
.footer__nav {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer__nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__nav-item {
    display: inline-block;
}

.footer__nav-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer__nav-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer__nav-separator {
    color: #7f8c8d;
    font-size: 0.875rem;
}

/* =============================================================================
   Animations
   ============================================================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =============================================================================
   Utility Classes
   ============================================================================= */
.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;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* =============================================================================
   Print Styles
   ============================================================================= */
@media print {
    .hero__cta,
    .footer__nav {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        background: none;
        color: #000000;
    }
    
    .hero__title,
    .hero__subtitle,
    .hero__description-text {
        color: #000000;
        text-shadow: none;
    }
}