/* ===================================
   2025 Modern Landing Page Styles
   - 높은 전환율을 위한 디자인
   - 모바일 최적화
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #10b981;
    --accent: #f59e0b;
    
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HEADER
   =================================== */

.header {
    background: white;
    box-shadow: var(--shadow-sm);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5em;
    color: var(--primary);
    font-weight: 700;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s;
}

.phone-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.phone-icon {
    font-size: 1.2em;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.hero-text {
    padding-top: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.9em;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.2em;
}

.hero-title {
    font-size: 3em;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.highlight {
    display: block;
    color: #fbbf24;
}

.hero-description {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-hooks {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.hook-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    border-left: 4px solid #fbbf24;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.hook-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
}

.hook-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hook-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hook-text {
    color: white;
    font-size: 1.1em;
    line-height: 1.5;
}

.hook-text strong {
    font-weight: 700;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05em;
}

.feature-icon {
    font-size: 1.3em;
    color: #fbbf24;
}

/* ===================================
   FORM CARD
   =================================== */

.form-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    position: sticky;
    top: 100px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.8em;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.form-header p {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05em;
}

.consult-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95em;
}

.label-icon {
    font-size: 1.2em;
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1em;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-label-text {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.radio-label:hover {
    border-color: var(--primary);
    background: var(--gradient-light);
    transform: translateY(-2px);
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.radio-label input[type="radio"]:checked + .radio-text {
    font-weight: 800;
    color: var(--primary);
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background: var(--gradient-light);
    border-width: 3px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 4px 12px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.radio-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s;
}

.checkbox-group {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-text {
    font-size: 0.9em;
    color: var(--text-medium);
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-button:active {
    transform: translateY(0);
}

.button-icon {
    font-size: 1.3em;
    transition: transform 0.3s;
}

.submit-button:hover .button-icon {
    transform: translateX(5px);
}

.form-notice {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85em;
    margin-top: 10px;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.2em;
    color: var(--text-medium);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.problem-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 1.3em;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.problem-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ===================================
   SERVICE DETAILS
   =================================== */

.service-details {
    padding: 100px 0;
    background: var(--bg-light);
}

.service-list-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    font-size: 1.05em;
    color: var(--text-dark);
    font-weight: 500;
}

.service-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.service-item svg {
    flex-shrink: 0;
}

/* ===================================
   PROCESS SECTION
   =================================== */

.process {
    padding: 100px 0;
    background: white;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.process-step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.step-icon {
    font-size: 3em;
    margin-bottom: 20px;
    margin-top: 10px;
}

.process-step h3 {
    font-size: 1.3em;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.process-step p {
    color: var(--text-medium);
    line-height: 1.7;
}

.process-arrow {
    font-size: 2em;
    color: var(--primary);
    font-weight: 700;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 1.3em;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: #1f2937;
    color: #9ca3af;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-info h3,
.footer-contact h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.footer-info p,
.footer-contact p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-contact .phone {
    font-size: 1.5em;
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-contact .time {
    color: #d1d5db;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* ===================================
   FLOATING BUTTONS
   =================================== */

.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5em;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s;
}

.phone-button {
    background: var(--secondary);
    color: white;
}

.consult-button {
    background: var(--primary);
    color: white;
    font-size: 1em;
    font-weight: 700;
}

.floating-button:hover {
    transform: scale(1.1);
}

/* ===================================
   MODAL
   =================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 60px;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 500px;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 2em;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--text-medium);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.modal-close {
    padding: 15px 40px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--primary-dark);
}

/* ===================================
   PRIVACY DETAIL BUTTON & MODAL
   =================================== */

.privacy-detail-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s;
}

.privacy-detail-btn:hover {
    background: var(--primary);
    color: white;
}

.modal-large {
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-close-x {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2em;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close-x:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.privacy-modal-content {
    margin: 30px 0;
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 15px;
}

.privacy-modal-content::-webkit-scrollbar {
    width: 8px;
}

.privacy-modal-content::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.privacy-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.privacy-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h4 {
    color: var(--text-dark);
    font-size: 1.1em;
    margin-bottom: 15px;
    font-weight: 600;
}

.privacy-section ul {
    list-style: none;
    padding-left: 0;
}

.privacy-section li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-medium);
    line-height: 1.6;
}

.privacy-section li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary);
    font-weight: bold;
}

.privacy-section p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 10px;
}

.modal-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
    text-align: center;
}

.privacy-link-text {
    color: var(--text-medium);
    margin-bottom: 20px;
}

.privacy-link-text a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.privacy-link-text a:hover {
    color: var(--primary-dark);
}

.modal-confirm {
    padding: 15px 40px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-confirm:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-card {
        position: static;
    }

    .service-list-simple {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2em;
    }

    .hero-description {
        font-size: 1em;
    }

    .hero-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        font-size: 0.9em;
    }

    .form-card {
        padding: 30px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .service-list-simple {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8em;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .floating-button {
        width: 50px;
        height: 50px;
        font-size: 1.2em;
    }

    .radio-group {
        grid-template-columns: 1fr;
    }

    /* 모달 모바일 최적화 */
    .modal-content {
        padding: 40px 25px;
        margin: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-large {
        max-width: 95%;
        padding: 30px 20px;
        max-height: 90vh;
    }

    .modal-close-x {
        top: 10px;
        right: 10px;
    }

    .privacy-modal-content {
        max-height: 60vh;
    }

    .privacy-detail-btn {
        display: block;
        margin: 10px 0 0 0;
        width: 100%;
    }

    .checkbox-label {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .logo h1 {
        font-size: 1.2em;
    }

    .phone-link {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   SCROLL BEHAVIOR
   =================================== */

html {
    scroll-behavior: smooth;
}

