/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: 'Pretendard', -apple-system, sans-serif;
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.header-inner {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    /* flex-direction: column; */
    gap: 8px;
    align-items: end;
    color: #2563eb;
}

.logo img {
    height: 35px;
}

.logo span {
    font-size: 16px;
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.auth-buttons .btn-text {
    text-decoration: none;
    color: #64748b;
    margin-right: 15px;
    font-weight: 500;
}

.btn-outline {
    text-decoration: none;
    border: 1px solid #2563eb;
    color: #2563eb;
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 500;
}

/* Main Content */
.main-content {
    padding: 60px 20px;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.hero p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Input Area */
.input-group {
    display: flex;
    background: #fff;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 10px;
}

.input-group input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    outline: none;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.helper-text {
    text-align: left;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 50px;
}

/* Result Card */
.result-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    max-width: 960px;
    margin: 0 auto 60px;
    overflow: hidden;
    text-align: left;
}

.card-header {
    background: #fcfcfd;
    padding: 15px 25px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: bold;
}

.card-body {
    padding: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.result-info {
    flex: 1;
}

.result-input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.button-row {
    display: flex;
    gap: 10px;
}

.btn-action {
    flex: 1;
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.qr-box {
    width: 120px;
    height: 120px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #334155;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-item {
    background: #fff;
    padding: 40px 20px;
    border-radius: 15px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.icon-circle.yellow {
    background: #fffbeb;
    color: #f59e0b;
}

.icon-circle.blue {
    background: #eff6ff;
    color: #3b82f6;
}

.icon-circle.teal {
    background: #f0fdfa;
    color: #14b8a6;
}

.feature-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-item p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 50px 0;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    margin-top: 40px;
}

.footer-links {
    margin-bottom: 10px;
    color: #94a3b8;
}

.footer-links a {
    text-decoration: none;
    color: #64748b;
    margin: 0 10px;
}

.copyright {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.mobile-br {
    display: none;
}

/* --- 모바일 반응형 (Responsive) --- */
@media (max-width: 768px) {

    .mobile-br {
        display: block;
    }

    .container {
        padding: 20px;
    }

    .header .mobile-login {
        display: flex;
        flex-direction: column;
    }

    .header .auth-buttons {
        display: flex;
        gap: 1rem;
        align-items: center;
        height: 100%;
    }

    .logo a {
        display: flex;
        flex-direction: column;
    }

    .auth-buttons {
        font-size: 14px;
    }

    .auth-buttons .btn-text {
        margin-right: 10px;
    }

    .auth-buttons .btn-outline {
        font-size: 14px;
    }


    .input-group {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
    }

    .input-group input {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .card-body {
        flex-direction: column;
    }

    .qr-box {
        order: -1;
        /* QR코드를 위로 올림 */
    }

    .button-row {
        flex-direction: column;
    }

    .features {
        grid-template-columns: 1fr;
        /* 3열을 1열로 변경 */
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .helper-text {
        text-align: center;
    }

    .footer-links {
        font-size: 12px;
    }
}