/* Web Font */
@font-face {
    font-family: 'Jeongmeokbawi';
    src: url('../fonts/SSRockRegular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', 'NanumSquare', sans-serif;
    background-color: #f5f5f5;
    color: #292f32;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

/* Background Image */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('../images/intro/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20.4%; /* 209px / 1024px */
    background: linear-gradient(180deg, rgba(245, 245, 245, 0.3) 0%, rgba(255, 255, 255, 0.5) 100%);
}

.gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 47.8%; /* 490px / 1024px */
    background: linear-gradient(180deg, rgba(245, 245, 245, 0.3) 0%, rgba(210, 232, 255, 0.5) 100%);
}

/* Main Wrapper */
.wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Header */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    text-align: center;
}

.logo {
    width: 100px;
    height: 35px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.slogan h1 {
    font-family: 'Jeongmeokbawi';
    font-size: 80px;
    font-weight: 400;
    letter-spacing: -1.6px;
    line-height: 1.28;
    color: #292f32;
    margin: 0;
}

/* Body - Content Cards */
.body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 720px;
}

.content-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    background: transparent;
    border-radius: 30px;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    cursor: pointer;
}

/* Card Image Section */
.card-img {
    width: 100%;
    height: 200px;
    border-radius: 30px 30px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.card-img-1 {
    background: #D1EEFE;
}

.card-img-2 {
    background: #FFF5E9;
}

.icon-placeholder {
    width: 150px;
    height: 134px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-icon {
    width: 150px;
    height: 134px;
    object-fit: contain;
    display: block;
}

.card-icon-2 {
    width: 134px;
    height: 128px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.icon-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    z-index: 1;
}

/* Card Description Section */
.card-desc {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 0 0 30px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.card-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.14;
    text-align: center;
    color: #292f32;
    margin: 0;
}

/* Buttons */
.card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 150px;
    height: 40px;
    border: none;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans KR', 'NanumSquare', sans-serif;
}

.card-button > span {
    padding-bottom: 2px;
}

.button-1 {
    background-color: #05acc7;
}

.button-1:hover {
    background-color: #048a9f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 172, 199, 0.3);
}

.button-2 {
    background-color: #f7a539;
}

.button-2:hover {
    background-color: #e6942a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 165, 57, 0.3);
}

.arrow-icon {
    flex-shrink: 0;
}

/* Footer */
.footer {
    width: 100%;
    text-align: center;
    padding: 20px 0;
}

.footer p {
    font-size: 16px;
    color: #91a9b6;
    line-height: 1.66;
    margin: 0;
}

/* Large Desktop Styles */
@media (min-width: 1600px) {
    .wrap {
        max-width: 720px;
    }
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .body {
        gap: 30px;
    }

    .container {
        padding: 20px 16px;
    }

    .wrap {
        gap: 40px;
    }

    .header {
        gap: 20px;
    }

    .logo {
        width: 100px;
        height: 35px;
    }

    .slogan h1 {
        font-size: 70px;
        letter-spacing: -0.8px;
    }

    .content-card {
        max-width: 100%;
    }

    .card-desc {
        padding: 20px 15px;
    }

    .card-img {
        height: 180px;
    }

    .icon-placeholder {
        width: 120px;
        height: 107px;
    }

    .card-icon {
        width: 120px;
        height: 107px;
    }

    .card-icon-2 {
        width: 107px;
        height: 102px;
    }

    .card-title {
        font-size: 25px;
    }

    .card-button {
        width: 140px;
        height: 38px;
        font-size: 18px;
    }

    .footer {
        padding: 16px 0;
    }

    .footer p {
        font-size: 14px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .body {
        gap: 20px;
    }

    .slogan h1 {
        font-size: 50px;
    }

    .card-title {
        font-size: 22px;
    }

    .card-desc {
        padding: 15px 10px;
    }

    .card-button {
        width: 130px;
        height: 35px;
        font-size: 16px;
    }
}

