:root {
    --border: rgba(234, 88, 12, 0.16) !important;
    --glow: rgba(234, 88, 12, 0.22) !important;
    --radius: 16px !important;
}

* {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

html {
    font-size: 15px !important;
}

body {
    font-family: 'Noto Sans KR', sans-serif !important;
    background-color: #fff7ed !important;
    color: #1c1917 !important;
    line-height: 1.8 !important;
    overflow-x: hidden !important;
    font-size: 1.1em !important;
}

.hero-top {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 45%, #fff7ed 100%) !important;
    padding: 5rem 1.5rem 4rem !important;
    text-align: center !important;
    border-bottom: 1px solid var(--border) !important;
}

.hero-top::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(234, 88, 12, 0.14) 0%, transparent 70%) !important;
    pointer-events: none !important;
}

.header-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background: rgba(234, 88, 12, 0.12) !important;
    border: 1px solid var(--border) !important;
    border-radius: 999px !important;
    padding: 0.35rem 1rem !important;
    font-size: 0.82rem !important;
    color: #c2410c !important;
    margin-bottom: 1.4rem !important;
    letter-spacing: 0.04em !important;
}

.hero-top h1 {
    font-size: clamp(1.75rem, 4.5vw, 2.8rem) !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #ea580c 15%, #fb923c 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 0.8rem !important;
    letter-spacing: -0.02em !important;
    line-height: 1.35 !important;
    max-width: 820px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-top .sub {
    font-size: 1.08rem !important;
    color: #78716c !important;
    max-width: 600px !important;
    margin: 0 auto 2rem !important;
}

.official-cta-wrap {
    text-align: center !important;
    padding: 2.5rem 1.5rem 1rem !important;
    position: relative !important;
    z-index: 2 !important;
}

.official-cta-wrap--hero {
    padding: 1.8rem 1.5rem 0 !important;
    margin-top: 0.5rem !important;
}

.btn-official-3d {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    padding: 1.15rem 2.8rem !important;
    font-size: 1.12rem !important;
    font-weight: 800 !important;
    font-family: 'Noto Sans KR', sans-serif !important;
    color: #ffffff !important;
    text-decoration: none !important;
    letter-spacing: -0.01em !important;
    border-radius: 14px !important;
    border: none !important;
    cursor: pointer !important;
    position: relative !important;
    background: linear-gradient(180deg, #fb923c 0%, #ea580c 45%, #c2410c 100%) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 6px 0 #9a3412,
        0 10px 20px rgba(234, 88, 12, 0.45),
        0 20px 40px rgba(194, 65, 12, 0.2) !important;
    transform: translateY(0) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.btn-official-3d:hover {
    transform: translateY(-2px) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 8px 0 #9a3412,
        0 14px 28px rgba(234, 88, 12, 0.5),
        0 24px 48px rgba(194, 65, 12, 0.25) !important;
    color: #ffffff !important;
}

.btn-official-3d:active {
    transform: translateY(4px) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 2px 0 #9a3412,
        0 4px 12px rgba(234, 88, 12, 0.35) !important;
}

.btn-official-3d svg {
    flex-shrink: 0 !important;
}

.wave-sep {
    display: block !important;
    width: 100% !important;
    line-height: 0 !important;
    margin-top: -1px !important;
}

.container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 2.5rem 20px 0 !important;
    position: relative !important;
}

.card {
    background-color: #ffffff !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    padding: 2.2rem !important;
    margin-bottom: 2rem !important;
    position: relative !important;
    overflow: hidden !important;
    transition: box-shadow 0.3s !important;
    box-shadow: 0 2px 12px rgba(28, 25, 23, 0.06) !important;
}

.card::before {
    content: '' !important;
    position: absolute !important;
    top: -60px !important;
    right: -60px !important;
    width: 200px !important;
    height: 200px !important;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.08) 0%, transparent 70%) !important;
    pointer-events: none !important;
}

.card:hover {
    box-shadow: 0 8px 32px var(--glow) !important;
}

.card-icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    background: linear-gradient(135deg, #ea580c, #c2410c) !important;
    border-radius: 12px !important;
    display: block !important;
    position: relative !important;
    margin-bottom: 1.2rem !important;
    box-shadow: 0 4px 14px var(--glow) !important;
    line-height: 0 !important;
    overflow: hidden !important;
}

.card-icon svg {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    fill: none !important;
    stroke: #fff !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.card h2 {
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    color: #ea580c !important;
    margin-bottom: 1rem !important;
    line-height: 1.35 !important;
}

.card h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #f97316 !important;
    margin: 1.4rem 0 0.7rem !important;
    line-height: 1.4 !important;
}

.card p {
    font-size: 0.97rem !important;
    color: #44403c !important;
    margin-bottom: 0.9rem !important;
    line-height: 1.85 !important;
}

.card p:last-child {
    margin-bottom: 0 !important;
}

.hbox {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.08), rgba(194, 65, 12, 0.04)) !important;
    border-left: 3px solid #fb923c !important;
    border-radius: 0 10px 10px 0 !important;
    padding: 1.1rem 1.3rem !important;
    margin: 1.2rem 0 !important;
    font-size: 0.95rem !important;
    color: #44403c !important;
}

.hbox strong {
    color: #c2410c !important;
}

.checklist {
    list-style: none !important;
    margin-top: 1rem !important;
}

.checklist li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    padding: 0.6rem 0 !important;
    border-bottom: 1px solid rgba(234, 88, 12, 0.08) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #44403c !important;
}

.checklist li:last-child {
    border-bottom: none !important;
}

.check-icon {
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

.wbox {
    background: rgba(225, 29, 72, 0.08) !important;
    border: 1px solid rgba(225, 29, 72, 0.25) !important;
    border-radius: 10px !important;
    padding: 1.1rem 1.3rem !important;
    margin: 1.2rem 0 !important;
    display: flex !important;
    gap: 0.9rem !important;
    align-items: flex-start !important;
}

.wbox svg {
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

.wbox p {
    margin: 0 !important;
    font-size: 0.93rem !important;
    color: #be123c !important;
}

/* ── HERO BOTTOM IMAGES (수정 금지) ── */
.hero-bottom-img {
    width: 600px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

@media(max-width: 640px) {
    .hero-bottom-img {
        width: 100%;
        height: auto;
    }
}

/* ── FOOTER THUMBNAILS ── */
.footer-thumb-wrap {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    padding: 2rem 20px 1rem !important;
    flex-wrap: wrap !important;
}

.footer-thumb-img {
    width: 425px !important;
    height: 250px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    display: block !important;
    border: 1px solid rgba(234, 88, 12, 0.15) !important;
    background: #ffedd5 !important;
    box-shadow: 0 4px 16px rgba(28, 25, 23, 0.08) !important;
}

@media (max-width: 640px) {
    .footer-thumb-wrap {
        padding: 1.5rem 12px 1rem !important;
        gap: 14px !important;
    }

    .footer-thumb-img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 425 / 250 !important;
        object-fit: contain !important;
    }
}

.img-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffedd5 !important;
    color: #78716c !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    line-height: 1.5 !important;
    padding: 1rem !important;
}

.footer-thumb-img.img-placeholder {
    width: 425px !important;
    height: 250px !important;
    overflow: auto !important;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
    border: 1px dashed rgba(234, 88, 12, 0.35) !important;
}

.footer-thumb-img .prompt-inner {
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    color: #44403c !important;
    text-align: left !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
}

.footer-thumb-img .prompt-inner p {
    margin: 0 0 0.35rem !important;
    color: #44403c !important;
}

.footer-thumb-img .prompt-inner strong {
    color: #c2410c !important;
}

footer {
    text-align: center !important;
    padding: 3rem 1rem 2.5rem !important;
    border-top: 1px solid var(--border) !important;
    margin-top: 1rem !important;
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #c2410c 0%, #9a3412 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.footer-icon-wrap {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto 0.8rem !important;
}

.footer-icon {
    display: block !important;
    margin: 0 auto !important;
}

footer::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(251, 146, 60, 0.18) 0%, transparent 70%) !important;
    pointer-events: none !important;
}

.footer-logo {
    font-size: 1.4rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin-bottom: 0.5rem !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    text-align: center !important;
}

.footer-sub {
    font-size: 0.85rem !important;
    color: #fed7aa !important;
    position: relative !important;
    z-index: 1 !important;
    line-height: 1.7 !important;
    width: 100% !important;
    max-width: 720px !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

br.mo {
    display: none !important;
}

@media(max-width:640px) {
    br.mo {
        display: block !important;
    }

    .hero-top {
        padding: 3.5rem 1rem 2.5rem !important;
    }

    .card {
        padding: 1.5rem !important;
    }

    .card p,
    .card h3,
    .hbox,
    .wbox p,
    .checklist li {
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
    }

    .card h2 {
        font-size: 1.25rem !important;
        word-break: keep-all !important;
    }

    .btn-official-3d {
        padding: 0.95rem 2.2rem !important;
        font-size: 1.02rem !important;
    }
}

.hero-top,
footer,
.wave-sep {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}
