/* ========================================
   폰트 선언
======================================== */
@font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-1Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-2ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-3Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-9Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #0a0a0a;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}
/* ========================================
   Flow 섹션
======================================== */
.flow-section {
    background-image: url('/images/mobile/flow.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.flow-content {
    text-align: center;
    padding: 80px 20px 80px;
}

.flow-siren {
    max-width: 15%;
    height: auto;
    margin-bottom: 10px;
}

.flow-text {
    font-family: 'Paperlogy', sans-serif;
    font-size: 24px;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 30px;
}

.flow-text .bold {
    font-weight: 700;
}

.flow-text .red {
    color: #FF0000;
}

.flow-text.red {
    color: #FF0000;
}

.flow-text-last {
    margin-bottom: 40px;
}

.flow-arrow {
    max-width: 75%;
    height: auto;
    margin-bottom: 30px;
}

.banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.banner-inner .badge {
    background: #e53935;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 15px;
    border-radius: 20px;
}

.banner-inner .phone-number {
    font-size: 24px;
    font-weight: 900;
    color: #000;
    letter-spacing: 1px;
}

/* ========================================
   24시 변호사 직접상담
======================================== */
.direct-consult {
    background: #e53935;
    padding: 15px 20px;
    text-align: center;
}

.direct-consult p {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.direct-consult .highlight {
    color: #ffd700;
}

/* ========================================
   검사출신 소개 섹션
======================================== */
.prosecutor-intro {
    background: #1a4a8c;
    padding: 50px 20px;
}

.intro-container {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.intro-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 15px;
}

.intro-title {
    font-family: 'Paperlogy', serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 30px;
}

.intro-features {
    text-align: left;
}

.prosecutor-intro .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.prosecutor-intro .feature-item:last-child {
    border-bottom: none;
}

.prosecutor-intro .check-icon {
    width: 22px;
    height: 22px;
    background: #fff;
    color: #1a4a8c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.prosecutor-intro .feature-item span:last-child {
    font-size: 14px;
    color: #fff;
}

/* ========================================
   변호사 프로필 섹션
======================================== */
.lawyer-section {
    background-image: url('/images/mobile/lawer-section.png');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    aspect-ratio: 1000 / 2339;
    position: relative;
}

.lawyer-text-overlay {
    position: absolute;
    top: 48%;
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
}

.lawyer-text-overlay .lawyer-desc {
    font-size: 18px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 100;
}

.lawyer-text-overlay .highlight-cyan {
    color: #00EEFF;
    font-weight: 700;
}

.lawyer-text-overlay .lawyer-name {
    font-size: 18px;
    color: #fff;
}

.lawyer-text-overlay .lawyer-name .name {
    font-size: 24px;
    font-weight: bold;
}

.lawyer-text-overlay .lawyer-name .title {
    font-weight: 100;
}

.lawyer-career-box {
    position: absolute;
    top: 60%;
    left: 10%;
    right: 10%;
}

.lawyer-career-box .career-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lawyer-career-box .career-list li {
    font-size: 12px;
    color: #000;
    line-height: 1.6;
}

.lawyer-career-box .career-list li::before {
    content: "·";
    font-weight: bold;
    padding-right: 5px;
}

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

.profile-area {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.profile-image {
    width: 140px;
    height: 180px;
    background: linear-gradient(135deg, #333 0%, #222 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 13px;
    border: 2px solid #c9a227;
    flex-shrink: 0;
}

.profile-info {
    padding-top: 10px;
}

.profile-label {
    color: #c9a227;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 5px;
}

.profile-name {
    font-family: 'Paperlogy', serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 8px;
}

/* ========================================
   상담 신청 폼
======================================== */
.contact-section {
    background: #1a1a1a;
    padding: 50px 20px;
}

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

.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-intro {
    font-size: 18px;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 20px;
}

.contact-intro .text-red {
    color: #ff3b3b;
}

.contact-intro .text-cyan {
    color: #00EEFF;
}

.contact-title {
    font-family: 'Paperlogy', serif;
    font-size: 28px;
    font-weight: 700;
}

.contact-title .text-white {
    color: #fff;
}

.contact-title .text-cyan {
    color: #00EEFF;
}

.field-label {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-bottom: 8px;
}

.contact-form {
    max-width: 100%;
}

.form-field {
    margin-bottom: 15px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 16px;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-field input::placeholder {
    color: #666;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: #c9a227;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    padding: 0;
    border-radius: 4px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 14px;
    color: #aaa;
}

.privacy-link {
    font-size: 13px;
    color: #c9a227;
    text-decoration: underline;
}

.submit-btn {
    width: auto;
    padding: 12px 40px;
    background: #0088ff;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 136, 255, 0.3);
}

/* ========================================
   Footer
======================================== */
footer {
    background: #111;
    color: #999;
    padding: 60px 20px 120px;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.footer-left {
    flex: 0 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-info p {
    font-size: 12px;
    line-height: 1.8;
}

.footer-address,
.footer-contact,
.footer-email {
    display: inline;
}

.footer-address::before,
.footer-contact::before,
.footer-email::before {
    content: " | ";
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 12px;
    color: #999;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

/* ========================================
   하단 고정 바 (모바일)
======================================== */
.fixed-bottom-buttons {
    display: none;
}

@media (max-width: 768px) {
    .fixed-bottom-buttons {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        height: 80px;
        z-index: 999;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .fixed-btn-left,
    .fixed-btn-right {
        flex: 1;
        border: none;
        background: transparent;
        font-size: 14px;
        font-weight: 400;
        color: #000;
        cursor: pointer;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        transition: background 0.3s;
    }

    .fixed-btn-left img,
    .fixed-btn-right img {
        height: 30px;
        width: auto;
    }

    .fixed-btn-left:active,
    .fixed-btn-right:active {
        background: #f5f5f5;
    }

    .fixed-btn-divider {
        width: 1px;
        height: 60%;
        background: #e0e0e0;
        align-self: center;
    }

    body {
        padding-bottom: 80px;
    }

    /* Footer 모바일 */
    footer {
        padding: 40px 20px 40px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-left,
    .footer-right {
        width: 100%;
    }

    .footer-logo img {
        height: 40px;
    }

    .footer-info p {
        font-size: 11px;
    }

    .footer-address,
    .footer-contact,
    .footer-email {
        display: block;
    }

    .footer-address::before,
    .footer-contact::before,
    .footer-email::before {
        content: none;
    }
}

/* ========================================
   반응형 (데스크톱 - 중앙 정렬)
======================================== */
@media (min-width: 768px) {
    body {
        max-width: 480px;
        margin: 0 auto;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    }

    .fixed-bottom-bar {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
    }

    .timer-display {
        font-size: 120px;
    }

    .highlight-title .text-red,
    .highlight-title .text-white {
        font-size: 56px;
    }
}

/* ========================================
   작은 화면 대응
======================================== */
@media (max-width: 360px) {
    .timer-display {
        font-size: 72px;
        letter-spacing: 5px;
    }

    .highlight-title .text-red,
    .highlight-title .text-white {
        font-size: 36px;
        letter-spacing: 8px;
    }

    .banner-inner .phone-number {
        font-size: 20px;
    }
}

/* ========================================
   히어로 섹션
======================================== */
.hero-section {
    background-image: url('/images/mobile/hero-section.png');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
}

.hero-section .hero-content {
    text-align: center;
    padding: 120px 20px 160px;
    font-family: 'Paperlogy', sans-serif;
}

.hero-title {
    color: #FF0000;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0;
}

.hero-subtitle {
    font-family: 'Pretendard', sans-serif;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 40px;
}

.hero-gif {
    margin-bottom: 120px;
    width: 80%;
    min-height: 100px;
    margin-left: auto;
    margin-right: auto;
}

.hero-gif img {
    max-width: 100%;
    height: auto;
}

.hero-golden {
    color: #FF0000;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 120px;
}

.hero-golden .bold {
    font-weight: 700;
}

.hero-desc {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
}

/* Caution Tape */
.caution-tape {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 10;
}

.caution-tape-top {
    top: 0;
    transform: translateY(-50%);
}

.caution-tape-bottom {
    bottom: 0;
    transform: translateY(50%);
}

