/* 기본 */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Pretendard', Arial, sans-serif;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    color: #111;
}

/* 헤더 */
header {
    text-align: center;
    padding: 50px 20px 20px;
}

header h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* 히어로 */
.hero {
    max-width: 900px;
    margin: 0 auto 30px;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;

    background: url('/assets/img/cherry.jpg') center/cover no-repeat;
    filter: brightness(1.05);
}

/* 메인 */
main {
    max-width: 900px;
    margin: auto;
    padding: 0 20px 30px;
}

/* 소개 */
.intro {
    margin-bottom: 35px;
}

.intro h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.intro p {
    color: #555;
    line-height: 1.7;
}

/* 입력 영역 */
.input-area {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.input-area h2 {
    margin-bottom: 10px;
}

/* 입력 */
input {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 16px;
    transition: 0.2s;
}

input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

/* 버튼 */
button {
    width: 100%;
    margin-top: 12px;
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: #111;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #2563eb;
}

/* 결과 영역 */
.result-area {
    margin-top: 24px;
}

/* 결과 박스 */
.result-box {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(37,99,235,0.2);
}

.result-price {
    font-size: 34px;
    font-weight: 700;
}

.result-state {
    margin-top: 10px;
    font-size: 16px;
    opacity: 0.95;
}

/* 비교 */
.compare-box {
    margin-top: 12px;
    padding: 18px;
    background: #fff;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

/* 콘텐츠 영역 */
.content-area {
    margin-top: 45px;
}

.content-area h2 {
    margin-bottom: 18px;
}

/* 카드 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.content-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;

    text-decoration: none;
    color: #111;
    font-weight: 600;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border: 1px solid rgba(0,0,0,0.04);

    transition: all 0.2s ease;
}

.content-card:hover {
    background: #111;
    color: #fff;
    transform: translateY(-4px);
}

/* 화살표 */
.content-card::after {
    content: "→";
    opacity: 0.5;
}

.content-card:hover::after {
    opacity: 1;
}

/* 체크 영역 */
.fraud-check,
.deal-check {
    margin-top: 40px;
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* 푸터 */
footer {
    margin-top: 50px;
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: #777;
}

/* 모바일 */
@media (max-width: 600px) {

    .hero {
        height: 180px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 24px;
    }

    .result-price {
        font-size: 28px;
    }
}