/* ===========================
   Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f8fafb;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 540px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    background: linear-gradient(135deg, #E0F7FA 0%, #B3E5FC 100%);
    padding: 60px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(129, 212, 250, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

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

.hero .container {
    position: relative;
    z-index: 1;
}

.profile-area {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.profile-image {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 150, 136, 0.1);
}

.profile-image svg {
    width: 80%;
    height: 80%;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #00695c;
    margin-bottom: 20px;
    line-height: 1.4;
    animation: fadeInDown 0.8s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: 15px;
    color: #00897b;
    line-height: 1.8;
    max-width: 450px;
    margin: 0 auto;
    font-weight: 400;
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

/* ===========================
   Content Section
   =========================== */
.content-section {
    padding: 80px 20px;
    background-color: #f8fafb;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #00695c;
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) {
    .cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* ===========================
   Card Styles
   =========================== */
.card {
    background: white;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 150, 136, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

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

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

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

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 150, 136, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #E0F7FA 0%, #B3E5FC 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #00695c;
    margin-bottom: 10px;
}

.card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    background: linear-gradient(135deg, #80DEEA 0%, #4DD0E1 100%);
    padding: 60px 20px;
    text-align: center;
}

.cta-content {
    animation: fadeInUp 0.8s ease-out;
}

.cta-title {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #00695c;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: none;
    font-family: 'Noto Sans KR', sans-serif;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    background: #f0f0f0;
}

.cta-button:active {
    transform: translateY(0);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: white;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.footer p {
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-description {
        font-size: 13px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-subtitle {
        font-size: 14px;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 15px;
    }
}

/* ===========================
   Scroll Animation Triggers
   =========================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

