.home-main {
    width: 92%;
    max-width: 1280px;
    margin: 0 auto;
}

/* =========================================================
   메인 히어로
========================================================= */

.hero {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 40px;
    margin-top: 28px;
    background:
    linear-gradient(rgba(5, 14, 24, 0.22), rgba(5, 14, 24, 0.22)),
    url("../images/main.png") center bottom / 100% auto no-repeat;
    background-position: center 65%;
    background-color: #08131f;
    border: 1px solid #405469;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* 문구 영역 */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 0;
    z-index: 1;
}

.hero-label {
    margin-bottom: 18px;

    color: #ffd43b;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
}

.hero h1 {
    margin: 0;

    color: #e9edf1;

    font-size: 52px;
    line-height: 1.25;
    letter-spacing: -1px;
}

.hero h1 span {
    color: #ffd43b;
}

/* LogAzac 로고 */
.hero-logo {
    width: 285px;
    max-width: 100%;
    height: auto;

    margin-top: 24px;

    display: block;

    image-rendering: pixelated;
}

/* 버튼 영역 */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.primary-btn,
.secondary-btn {
    min-width: 145px;
    height: 46px;

    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    font-size: 14px;
    font-weight: bold;
    text-decoration: none;

    transition: 0.2s;
}

.primary-btn {
    color: #11161b;
    background: #ffd43b;
}

.primary-btn:hover {
    background: #ffdf5e;
    transform: translateY(-1px);
}

.secondary-btn {
    color: #d5dce2;

    background: #181e24;

    border: 1px solid #46515a;
}

.secondary-btn:hover {
    color: #ffd43b;
    border-color: #ffd43b;

    transform: translateY(-1px);
}

/* =========================================================
   기능 소개
========================================================= */

.feature-section {
    padding: 35px 0 20px;
}

.section-title {
    margin-bottom: 30px;

    text-align: center;
}

.section-title span {
    color: #198754;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
}

.section-title h2 {
    margin: 10px 0 0;
    color: #17352a;
    font-size: 28px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.feature-card {
    min-height: 190px;
    padding: 26px;
    background: #f8fcfa;
    border: 1px solid #c7e2d5;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 81, 50, 0.04);
    transition: 0.2s;
}

.feature-card:hover {
    border-color: #58a77d;
    transform: translateY(-3px);
}

.feature-number {
    margin-bottom: 25px;
    color: #198754;
    font-size: 12px;
    font-weight: bold;
}

.feature-card h3 {
    margin: 0 0 10px;
    color: #17352a;
    font-size: 17px;
}

.feature-card p {
    margin: 0;
    color: #617a70;
    font-size: 13px;
    line-height: 1.7;
}

/* =========================================================
   태블릿
========================================================= */

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 340px 1fr;

        gap: 45px;

        min-height: 520px;
    }

    .capybara-image {
        max-width: 320px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-logo {
        width: 270px;
    }
}

/* =========================================================
   모바일
========================================================= */

@media (max-width: 760px) {
    .home-main {
        width: calc(100% - 24px);
    }
    .hero {
        min-height: 300px;
        margin-top: 18px;
        padding: 24px 14px;
        background-color: #08131f;
        background-position: center bottom;
        text-align: center;
    }
    .hero h1 {
        font-size: 32px;
        line-height: 1.25;
    }
    .hero-logo {
        width: 220px;
        margin-top: 18px;
    }
    .hero-actions {
        gap: 8px;
        margin-top: 18px;
    }
    .primary-btn,
    .secondary-btn {
        min-width: 120px;
        height: 40px;
        padding: 0 12px;
        font-size: 12px;
    }
    .feature-grid {
    grid-template-columns: 1fr;
}
}

/* =========================================================
   작은 모바일
========================================================= */

@media (max-width: 520px) {

    .hero h1 {
        font-size: 32px;
    }

    .capybara-image {
        max-width: 240px;
    }

    .hero-logo {
        width: 230px;
    }

    .hero-actions {
        width: 100%;

        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

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