/* ============================================
   Pre-survey Guide 모바일 최적화 CSS v6.48.26
   "읽는 페이지가 아니라, 넘어가는 페이지"
   ============================================ */

/* 모바일 전용 미디어 쿼리 (768px 이하) */
@media (max-width: 768px) {
    
    /* ========== 기본 레이아웃 ========== */
    body {
        padding: 0;
    }
    
    .container {
        border-radius: 0;
    }
    
    /* ========== 1. Hero Section: 동기 부여 (Why) ========== */
    .header {
        padding: 60px 25px !important;
    }
    
    .header h1 {
        font-size: 24px !important;
        line-height: 1.5 !important;
        margin-bottom: 15px !important;
    }
    
    .header .subtitle {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }
    
    /* 시간 강조 */
    .time-badge {
        display: inline-block;
        background: rgba(255, 215, 0, 0.2);
        color: #ffd700;
        padding: 8px 20px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 20px;
        border: 2px solid #ffd700;
    }
    
    /* ========== 2. 인사말 간소화 ========== */
    .greeting {
        padding: 20px !important;
        margin-bottom: 30px !important;
    }
    
    .greeting p {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
    
    /* ========== 3. 설문 목적 숨김 (핵심만) ========== */
    .purpose-section-full {
        display: none;
    }
    
    /* ========== 4. 설문 항목: 아이콘 그리드 ========== */
    .survey-items-mobile {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 30px 0;
    }
    
    .survey-item-card {
        background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
        border-radius: 16px;
        padding: 25px 15px;
        text-align: center;
        border: 2px solid #e0e0e0;
        transition: all 0.3s;
    }
    
    .survey-item-card:hover {
        transform: translateY(-3px);
        border-color: #667eea;
        box-shadow: 0 6px 15px rgba(102, 126, 234, 0.2);
    }
    
    .survey-item-icon {
        font-size: 40px;
        margin-bottom: 12px;
    }
    
    .survey-item-title {
        font-size: 15px;
        font-weight: 700;
        color: #333;
        margin-bottom: 8px;
    }
    
    .survey-item-desc {
        font-size: 12px;
        color: #666;
        line-height: 1.5;
    }
    
    /* 기존 survey-areas 숨김 */
    .survey-areas {
        display: none !important;
    }
    
    /* ========== 5. 안심 문구: 가장 강력하게 ⭐ ========== */
    .security-badge {
        background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%) !important;
        border: 3px solid #4caf50 !important;
        padding: 30px 20px !important;
        margin: 40px 0 !important;
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3) !important;
    }
    
    .security-badge i {
        font-size: 60px !important;
        color: #4caf50 !important;
        margin-bottom: 15px !important;
    }
    
    .security-badge h3 {
        font-size: 22px !important;
        color: #2e7d32 !important;
        margin-bottom: 15px !important;
    }
    
    .security-badge p {
        font-size: 15px !important;
        color: #2e7d32 !important;
        font-weight: 600 !important;
        line-height: 1.8 !important;
    }
    
    .security-highlight {
        display: block;
        margin-top: 12px;
        font-size: 16px !important;
        color: #1b5e20 !important;
        font-weight: 700 !important;
        padding: 10px;
        background: white;
        border-radius: 8px;
    }
    
    /* ========== 6. 안내사항: 한 줄 요약 ========== */
    .notice-simple {
        background: #fff3e0;
        border-left: 4px solid #ff9800;
        padding: 20px;
        border-radius: 10px;
        margin: 25px 0;
        text-align: center;
    }
    
    .notice-simple p {
        font-size: 14px !important;
        color: #e65100;
        line-height: 1.7;
        margin: 0 !important;
    }
    
    /* 기존 notice-box 숨김 */
    .notice-box {
        display: none !important;
    }
    
    /* ========== 7. 하단 CTA: 크고 명확하게 ========== */
    .cta-section-mobile {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 40px 20px;
        margin: 40px -20px -50px;
        text-align: center;
        color: white;
    }
    
    .cta-title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .cta-description {
        font-size: 14px;
        margin-bottom: 30px;
        line-height: 1.7;
        opacity: 0.95;
    }
    
    .btn-start {
        width: 100%;
        max-width: 400px;
        padding: 20px 30px;
        background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
        color: #1a2332;
        font-size: 18px;
        font-weight: 700;
        border: none;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
        cursor: pointer;
        transition: all 0.3s;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-decoration: none;
    }
    
    .btn-start:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(255, 215, 0, 0.5);
    }
    
    .btn-start:active {
        transform: translateY(-1px);
    }
    
    .btn-start i {
        font-size: 20px;
    }
    
    /* ========== 7. 하단 CTA 버튼 ========== */
    .btn-container {
        margin-top: 40px !important;
        padding-top: 30px !important;
        display: block !important;
    }
    
    .btn-next {
        display: block !important;
        width: 100% !important;
        padding: 18px 30px !important;
        font-size: 18px !important;
        border-radius: 12px !important;
        text-align: center !important;
    }
    
    /* ========== 8. 콘텐츠 영역 ========== */
    .content {
        padding: 40px 20px 50px !important;
    }
    
    .section {
        margin-bottom: 40px !important;
    }
    
    .section h2 {
        font-size: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .section p {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
    
    /* ========== 9. Purpose List 모바일 최적화 ========== */
    .purpose-list {
        display: block !important;
        padding: 0 !important;
        margin: 20px 0 !important;
    }
    
    .purpose-list li {
        display: block !important;
        padding: 15px !important;
        padding-left: 45px !important;
        margin-bottom: 12px !important;
        font-size: 14px !important;
        line-height: 1.7 !important;
        background: #e8f5e9 !important;
        border-radius: 8px !important;
        border-left: 4px solid #4caf50 !important;
        position: relative !important;
        text-align: left !important;
        word-break: keep-all !important;
        color: #2e7d32 !important;
    }
    
    .purpose-list li i {
        position: absolute !important;
        left: 15px !important;
        top: 17px !important;
        font-size: 18px !important;
        color: #4caf50 !important;
        margin-right: 0 !important;
    }
    
    .purpose-list li strong {
        font-weight: 600 !important;
        color: #2e7d32 !important;
    }
    
    /* ========== 10. Contact Box 숨김 ========== */
    .contact-box {
        display: none !important;
    }
    
    /* ========== 11. Closing Message 숨김 ========== */
    .greeting:last-of-type {
        display: none !important;
    }
    
    /* ========== 12. Footer ========== */
    .footer {
        padding: 25px 20px !important;
        font-size: 12px !important;
    }
}

/* ========== 작은 모바일 (480px 이하) ========== */
@media (max-width: 480px) {
    .header h1 {
        font-size: 22px !important;
    }
    
    .header .subtitle {
        font-size: 14px !important;
    }
    
    .survey-items-mobile {
        grid-template-columns: 1fr;
    }
    
    .survey-item-card {
        padding: 30px 20px;
    }
    
    .survey-item-icon {
        font-size: 48px;
    }
    
    .survey-item-title {
        font-size: 16px;
    }
    
    .survey-item-desc {
        font-size: 13px;
    }
    
    .security-badge i {
        font-size: 50px !important;
    }
    
    .security-badge h3 {
        font-size: 20px !important;
    }
    
    .btn-start {
        font-size: 17px;
        padding: 18px 25px;
    }
}
