body {
    font-family: 'Noto Sans KR', sans-serif;
    background: #f7f8fa;
    margin: 0;
    color: #222;
}
.container {
    background: #fff;
    min-height: 100vh;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin: 0 auto;
}
main {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
    padding: 0 16px;
}
.main-left {
    flex: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.main-right {
    flex: 1;
    min-width: 220px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    margin-top: 36px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 12px 32px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}
.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #2563eb;
}
.header nav a {
    margin: 0 12px;
    color: #222;
    text-decoration: none;
    font-weight: 500;
}
.auth {
    display: flex;
    align-items: center;
}
.auth a {
    margin-right: 12px;
    color: #888;
    text-decoration: none;
}
.signup-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-weight: bold;
    cursor: pointer;
}
.input-form {
    padding: 36px 0 16px 0;
    text-align: center;
}
.input-form h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}
.input-form p {
    color: #666;
    margin-bottom: 18px;
}
.input-form textarea {
    width: 96%;
    min-height: 160px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    font-size: 1rem;
    resize: none;
    margin-bottom: 12px;
    background: #fafbfc;
}
.input-form button {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 32px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 28px;
}
.result {
    background: #f3f4f6;
    margin: 0 0 24px 0;
    border-radius: 10px;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.result h2 {
    margin: 0 0 8px 0;
    font-size: 1.08rem;
}
.result .desc {
    color: #888;
    font-size: 0.93rem;
    margin-bottom: 10px;
}
.summary-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    min-height: 60px;
    padding: 18px;
    font-size: 0.99rem;
    color: #333;
    width: 90%;
    box-sizing: border-box;
}
.main-bottom {
    display: flex;
    gap: 18px;
    margin: 0 0 32px 0;
}
.left,
.center,
.right {
    flex: 1;
}
.recent,
.popular,
.tips {
    background: #fff;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}
.recent h3,
.popular h3,
.tips h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #2563eb;
}
.recent ul,
.popular ul,
.tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.recent li,
.popular li,
.tips li {
    margin-bottom: 8px;
    font-size: 0.98rem;
    display: flex;
    justify-content: space-between;
}
.ad {
    width: 100%;
    min-height: 220px;
    margin-left: 0;
}
.ad-box {
    background: #f3f4f6;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    height: 220px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 1.1rem;
}

/* 상단 광고 영역 */
.top-ad {
    width: 100%;
    margin: 0 0 24px 0;
}

.top-ad-box {
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 8px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.ad-label {
    position: absolute;
    top: 4px;
    right: 8px;
    background: #e9ecef;
    color: #6c757d;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.ad-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.footer {
    background: #1e293b;
    color: #fff;
    padding: 32px 0 0 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto 18px auto;
    font-size: 0.98rem;
    gap: 32px;
}
.footer-content > div {
    flex: 1;
    margin-right: 18px;
}
.footer-content > div:last-child {
    margin-right: 0;
}
.footer-content b {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 12px;
    display: block;
}
.footer-content a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 0;
    display: block;
    margin-bottom: 6px;
}
.footer-content a:hover {
    color: #f1f5f9;
}
.footer-bottom {
    border-top: 1px solid #334155;
    padding: 12px 0;
    text-align: center;
    font-size: 0.95rem;
    color: #cbd5e1;
    position: relative;
}
.footer-icons {
    position: absolute;
    right: 32px;
    top: 12px;
}
.footer-icons a {
    margin-left: 8px;
    vertical-align: middle;
}
.footer-content a {
    color: #fff;
    text-decoration: none;
}
.footer-content a:hover {
    color: #cbd5e1;
}
@media (max-width: 900px) {
    main {
        flex-direction: column;
        max-width: 100%;
        padding: 0 4px;
    }

    .top-ad {
        margin: 0 0 18px 0;
    }

    .top-ad-box {
        height: 70px;
        font-size: 0.9rem;
    }
    .container {
        max-width: 100%;
    }
    .main-right {
        max-width: 100%;
        margin-top: 0;
        margin-bottom: 24px;
    }

    /* 모바일에서 input-form, result, ad 영역 패딩 조정 */
    .input-form {
        padding: 36px 30px 16px 30px;
    }

    .result {
        margin: 24px 30px;
    }

    .ad-box {
        margin: 0 30px;
    }

    /* 팁 세션들을 세로로 배치 */
    .main-bottom {
        flex-direction: column;
        gap: 16px;
    }

    .left,
    .center,
    .right {
        flex: none;
        width: 100%;
    }

    .recent,
    .popular,
    .tips {
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .result,
    .input-form {
        padding: 18px 0;
    }
    .input-form textarea,
    .summary-box {
        width: 96%;
        margin-left: auto;
        margin-right: auto;
    }
    .main-right {
        min-width: 0;
        order: -1;
        margin-bottom: 18px;
    }
    .ad-box {
        height: 100px;
        min-height: 60px;
        font-size: 1rem;
    }

    /* 모바일에서 input-form, result, ad 영역 패딩 조정 */
    .input-form {
        padding: 36px 30px 16px 30px;
    }

    .result {
        padding: 24px 30px;
    }

    .ad-box {
        margin: 0 30px;
    }
}

/* 푸터 반응형 개선 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-content > div {
        margin-right: 0;
    }

    .footer-icons {
        position: static;
        margin-top: 12px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* customAlert 스타일 */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: rgba(30, 41, 59, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
}
.custom-alert-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    padding: 61px 28px 34px 28px;
    min-width: 353px;
    max-width: 90vw;
    text-align: center;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
}
.custom-alert-logo {
    position: absolute;
    left: 15px;
    top: 17px;
}
.custom-alert-message {
    font-size: 1.08rem;
    color: #222;
    margin-bottom: 18px;
    margin-top: 8px;
}
.custom-alert-ok {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 32px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    margin: 17px 0 0 0;
}

/* 광고 오버레이(애드센스 버튼) 스타일 */
.ad-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.55);
    border-radius: 8px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s;
}
.ad-blur-box {
    text-align: center;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.25s, transform 0.25s;
}
.ad-blur-message {
    font-size: 0.98rem;
    color: #888;
    margin-bottom: 22px;
}
.ad-blur-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #f3f4f6;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #2563eb;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
}

.logo-img {
    width: 120px;
    height: 40px;
    object-fit: cover;
    vertical-align: middle;
}
.custom-alert-logo .logo-img {
    width: 120px;
    height: 40px;
    margin-bottom: 8px;
    object-fit: cover;
}

/* 서비스 소개스타일 */
.service-intro {
    max-width: 700px;
    margin: 48px auto 64px auto;
    text-align: center;
    padding: 32px 18px 48px 18px;
    background: #f7f8fa;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.service-intro h1 {
    font-size: 2.1rem;
    margin-bottom: 18px;
    color: #2563eb;
}
.service-desc {
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 32px;
}
.service-features {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.feature {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    padding: 24px 18px;
    min-width: 180px;
    max-width: 220px;
    flex: 1;
}
.feature h3 {
    color: #2563eb;
    margin-bottom: 10px;
}
.model-badge {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    border-radius: 6px;
    padding: 6px 18px;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.05rem;
}
.service-model {
    margin-top: 18px;
    background: #fff;
    border-radius: 10px;
    padding: 18px 12px 12px 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
    display: inline-block;
}
.service-detail {
    margin-top: 32px;
    background: #fff;
    border-radius: 10px;
    padding: 18px 12px 12px 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
    display: inline-block;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.service-detail h3 {
    color: #2563eb;
    margin-bottom: 10px;
    text-align: center;
}
.service-detail ul {
    padding-left: 18px;
    margin: 0;
    color: #333;
    font-size: 1.05rem;
}
@media (max-width: 700px) {
    .service-features {
        flex-direction: column;
        gap: 12px;
    }
    .feature {
        max-width: 100%;
    }
    .service-detail {
        max-width: 98vw;
    }
}

/* 법적 문서 스타일 */
.legal-content {
    max-width: 800px;
    margin: 48px auto 64px auto;
    padding: 32px 24px 48px 24px;
    background: #f7f8fa;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.legal-content h1 {
    font-size: 2.1rem;
    margin-bottom: 18px;
    color: #2563eb;
    text-align: center;
}

.legal-text {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
}

.last-updated {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 24px;
    text-align: center;
    font-style: italic;
}

.legal-text h2 {
    color: #2563eb;
    margin: 32px 0 12px 0;
    font-size: 1.3rem;
}

.legal-text h2:first-of-type {
    margin-top: 0;
}

.legal-text p {
    line-height: 1.6;
    margin-bottom: 16px;
    color: #333;
}

.legal-text ul {
    margin: 16px 0;
    padding-left: 20px;
}

.legal-text li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #333;
}

@media (max-width: 800px) {
    .legal-content {
        margin: 32px 16px 48px 16px;
        padding: 24px 16px 32px 16px;
    }

    .legal-text {
        padding: 24px 20px;
    }

    .legal-content h1 {
        font-size: 1.8rem;
    }
}

/* 이용가이드 스타일 */
.guide-content {
    max-width: 900px;
    margin: 48px auto 64px auto;
    padding: 32px 24px 48px 24px;
    background: #f7f8fa;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.guide-content h1 {
    font-size: 2.1rem;
    margin-bottom: 18px;
    color: #2563eb;
    text-align: center;
}

.guide-intro {
    text-align: center;
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 32px;
}

.guide-section {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
}

.guide-section h2 {
    color: #2563eb;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-number {
    background: #2563eb;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: #2563eb;
    margin-bottom: 8px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.tip-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.tip-card h3 {
    color: #2563eb;
    margin-bottom: 8px;
}

.use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.use-case {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.use-case h3 {
    color: #2563eb;
    margin-bottom: 8px;
}

.warnings ul {
    padding-left: 20px;
}

.warnings li {
    margin-bottom: 8px;
    color: #dc2626;
}

.troubleshooting {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trouble-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.trouble-item h3 {
    color: #2563eb;
    margin-bottom: 8px;
}

/* API 가이드 스타일 */
.api-content {
    max-width: 900px;
    margin: 48px auto 64px auto;
    padding: 32px 24px 48px 24px;
    background: #f7f8fa;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.api-content h1 {
    font-size: 2.1rem;
    margin-bottom: 18px;
    color: #2563eb;
    text-align: center;
}

.api-intro {
    text-align: center;
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 32px;
}

.api-section {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
}

.api-section h2 {
    color: #2563eb;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.endpoint-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.endpoint h3 {
    color: #2563eb;
    margin-bottom: 8px;
}

.endpoint code {
    background: #1e293b;
    color: #e2e8f0;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    display: inline-block;
    margin: 8px 0;
}

.code-example {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.code-example h3 {
    color: #2563eb;
    margin-bottom: 12px;
}

.code-example pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 12px 0;
}

.code-example code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.limits ul {
    padding-left: 20px;
}

.limits li {
    margin-bottom: 8px;
}

.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.tier {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.tier h3 {
    color: #2563eb;
    margin-bottom: 8px;
}

.support ul {
    padding-left: 20px;
    margin-top: 12px;
}

.support li {
    margin-bottom: 6px;
}

/* 문의하기 스타일 */
.contact-content {
    max-width: 800px;
    margin: 48px auto 64px auto;
    padding: 32px 24px 48px 24px;
    background: #f7f8fa;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-content h1 {
    font-size: 2.1rem;
    margin-bottom: 18px;
    color: #2563eb;
    text-align: center;
}

.contact-intro {
    text-align: center;
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 32px;
}

.contact-form-container {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    margin-bottom: 32px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #6b7280;
}

.checkbox-label input[type='checkbox'] {
    margin-top: 2px;
}

.submit-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 8px;
}

.submit-btn:hover {
    background: #1d4ed8;
}

/* Google Forms 리다이렉트 스타일 */
.google-form-redirect {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.google-form-redirect h2 {
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.google-form-redirect p {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.form-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}

.feature-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

.google-form-btn {
    background: #4285f4;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(66, 133, 244, 0.2);
}

.google-form-btn:hover {
    background: #3367d6;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(66, 133, 244, 0.3);
}

.btn-icon {
    font-size: 1.2rem;
}

.contact-info {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
}

.contact-info h2 {
    color: #2563eb;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.info-item {
    text-align: center;
    padding: 16px;
}

.info-item h3 {
    color: #2563eb;
    margin-bottom: 8px;
}

.faq-link {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
}

.faq-link h2 {
    color: #2563eb;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.faq-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.faq-link a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .guide-content,
    .api-content,
    .contact-content {
        margin: 32px 16px 48px 16px;
        padding: 24px 16px 32px 16px;
    }

    .guide-content h1,
    .api-content h1,
    .contact-content h1 {
        font-size: 1.8rem;
    }

    .tips-grid,
    .use-cases,
    .pricing-tiers,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 24px 20px;
    }

    .google-form-redirect {
        padding: 24px 16px;
    }

    .form-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .google-form-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* FAQ 스타일 */

.faq-section {
    max-width: 700px;
    margin: 48px auto 64px auto;
    text-align: center;
    padding: 32px 18px 48px 18px;
    background: #f7f8fa;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.faq-section h1 {
    font-size: 2.1rem;
    margin-bottom: 28px;
    color: #2563eb;
}
.faq-list {
    text-align: left;
    margin: 0 auto;
    max-width: 600px;
}
.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    padding: 18px 18px 14px 18px;
    margin-bottom: 18px;
}
.faq-q {
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 6px;
}
.faq-a {
    color: #333;
    font-size: 1.05rem;
}

/* 상단으로 이동 버튼 */
.scroll-to-top {
    position: fixed;
    bottom: 80px;
    right: 55px;
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* 로딩 스피너 애니메이션 */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 헤더 레이아웃: 데스크탑(900px 초과) */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: 100%;
}
.logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.nav-menu {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
    gap: 16px;
}
.hamburger {
    display: none;
}
.hamburger {
    width: 38px;
    height: 38px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    margin-left: 12px;
    cursor: pointer;
    z-index: 1200;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 4px;
    margin: 3px 0;
    background: #2563eb;
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.open span {
    width: 13px;
}
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
#mobileNav {
    display: none;
}

/* 헤더 메뉴/햄버거 display 명확화 */
.nav-menu {
    display: flex !important;
}
.hamburger {
    display: none !important;
}

@media (max-width: 900px) {
    .header-inner {
        justify-content: center;
    }
    .logo {
        flex: 1;
        justify-content: center;
    }
    .nav-menu {
        display: none !important;
    }
    .hamburger {
        display: flex !important;
    }
    #mobileNav {
        display: flex;
    }
    .mobile-nav-overlay {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1100;
        justify-content: flex-start;
        align-items: flex-end;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }
    .mobile-nav-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }
    .mobile-nav-overlay nav {
        background: #fff;
        width: 220px;
        height: 100%;
        padding: 48px 0 0 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.08);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .mobile-nav-overlay.open nav {
        transform: translateX(0);
    }
    .mobile-nav-overlay nav a {
        padding: 16px 32px;
        width: 100%;
        color: #2563eb;
        font-size: 1.1rem;
        text-decoration: none;
        border-bottom: 1px solid #f0f0f0;
        font-weight: 500;
    }
    .mobile-nav-overlay nav a:last-child {
        border-bottom: none;
    }
}

/* 광고 영역(main-left 내부) 여백 조정 */
.main-left > .ad {
    margin: 24px 0 24px 0;
}

@media (max-width: 900px) {
    .main-right.mobile-ad {
        display: block !important;
        margin: 18px 0 18px 0;
        width: 100%;
        box-sizing: border-box;
    }
}
