* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-light: #E3F2FD;
    --primary-medium: #90CAF9;
    --primary-dark: #2196F3;
    --secondary-light: #E0F2F1;
    --secondary-medium: #80DEEA;
    --accent-light: #F3E5F5;
    --accent-medium: #CE93D8;
    --text-dark: #37474F;
    --text-light: #78909C;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #FFFFFF 0%, #E3F2FD 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 히어로 섹션 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #E3F2FD 0%, #E0F2F1 50%, #F3E5F5 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-emoji {
    font-size: 4rem;
    animation: bounce 2s infinite;
    display: inline-block;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* 콘텐츠 섹션 */
.content {
    padding: 60px 20px;
    background: var(--white);
}

.content-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.content-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.content-header p {
    font-size: 1rem;
    color: var(--text-light);
}

.card-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.card:nth-child(1) {
    animation-delay: 0.3s;
}

.card:nth-child(2) {
    animation-delay: 0.4s;
}

.card:nth-child(3) {
    animation-delay: 0.5s;
}

.card:hover,
.card:active {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #E3F2FD 0%, #E0F2F1 100%);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.card-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.card-description {
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 12px;
}

.card-detail {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA 섹션 */
.cta {
    padding: 60px 20px;
    background: linear-gradient(135deg, #2196F3 0%, #00BCD4 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.cta-title {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    line-height: 1.7;
}

.cta-button {
    background: var(--white);
    color: var(--primary-dark);
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    margin-bottom: 15px;
    display: inline-block;
}

.cta-button:hover,
.cta-button:active {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    background: #f0f0f0;
}

.cta-button:active {
    transform: scale(0.98);
}

.cta-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* 푸터 */
.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
}

/* 모바일 반응형 (320px 이상) */
@media (min-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1.15rem;
    }
}

/* 태블릿 이상 (768px 이상) */
@media (min-width: 768px) {
    .card-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.7rem;
    }

    .hero-description {
        font-size: 1.3rem;
    }

    .content-header h2 {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }
}

/* 접근성 개선 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 터치 디바이스 최적화 */
@media (hover: none) and (pointer: coarse) {
    .card:active {
        transform: translateY(-8px);
    }

    .cta-button:active {
        transform: scale(0.98);
    }
}

