* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: visible;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

.insurance-info {
    padding: 40px 30px;
    background: #f8f9fa;
}

.insurance-info h2 {
    color: #667eea;
    margin-bottom: 30px;
    font-size: 2em;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.info-card h3 {
    color: #764ba2;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.info-card p {
    color: #666;
    line-height: 1.8;
}

.benefits {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.benefits h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.benefits ul {
    list-style: none;
    padding-left: 0;
}

.benefits li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2em;
}

.insurance-detail {
    padding: 40px 30px;
    background: #ffffff;
}

.insurance-detail h2 {
    color: #667eea;
    margin-bottom: 30px;
    font-size: 2em;
    text-align: center;
}

.detail-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #667eea;
}

.detail-card h3 {
    color: #764ba2;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: 600;
}

.detail-card h4 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 15px;
}

.detail-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.detail-card p:last-child {
    margin-bottom: 0;
}

.detail-card ul {
    list-style: none;
    padding-left: 0;
}

.detail-card ul li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.8;
}

.detail-card.highlight {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left-color: #27ae60;
}

.detail-card.highlight h3 {
    color: #27ae60;
}

.detail-card.highlight ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2em;
}

.detail-card.warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left-color: #ff9800;
}

.detail-card.warning h3 {
    color: #e65100;
}

.detail-card.warning ul li:before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: #ff9800;
    font-weight: bold;
    font-size: 1.2em;
}

.usage-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.usage-item {
    background: white;
    padding: 20px;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.usage-item h4 {
    margin-top: 0;
}

.usage-item p {
    margin-bottom: 0;
    color: #666;
}

.form-section {
    padding: 40px 30px;
}

.form-section h2 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 2em;
    text-align: center;
}

.form-description {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

#consultationForm {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 1em;
}

.required {
    color: #e74c3c;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: #27ae60;
}

.checkbox-group {
    margin-bottom: 30px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.9em;
    margin-top: 5px;
    min-height: 20px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.info-section {
    padding: 40px 30px;
    background: #ffffff;
}

.info-header {
    text-align: center;
    margin-bottom: 40px;
}

.info-header h2 {
    color: #667eea;
    font-size: 2em;
    margin-bottom: 20px;
    line-height: 1.4;
}

.highlight-quote {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 10px;
    border-left: 5px solid #fff;
    margin: 20px 0;
    font-size: 1.2em;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.highlight-quote p {
    margin: 0;
}

.info-section .info-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #667eea;
}

.info-section .info-card h3 {
    color: #764ba2;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: 600;
}

.info-section .info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-section .info-card ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    line-height: 1.8;
}

.info-section .info-card ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.5em;
}

.info-section .info-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.info-section .info-card p:last-child {
    margin-bottom: 0;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.info-table th,
.info-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.info-table th {
    background: #667eea;
    color: white;
    font-weight: 600;
}

.info-table tr:hover {
    background: #f5f5f5;
}

.info-section .info-card.warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left-color: #ff9800;
}

.info-section .info-card.warning h3 {
    color: #e65100;
}

.info-section .info-card.example {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left-color: #2196f3;
}

.info-section .info-card.example h3 {
    color: #1565c0;
}

.info-section .info-card.example blockquote {
    background: white;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #2196f3;
    margin: 15px 0 0 0;
}

.info-section .info-card.highlight {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left-color: #27ae60;
}

.info-section .info-card.highlight h3 {
    color: #27ae60;
}

.info-section .info-card.highlight blockquote {
    background: white;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #27ae60;
    margin: 15px 0 0 0;
}

.info-section blockquote {
    margin: 15px 0;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.5);
    border-left: 4px solid #667eea;
    border-radius: 5px;
}

.info-section blockquote p {
    margin: 0;
    color: #333;
}

.info-footer {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    text-align: center;
}

.info-footer p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
    margin: 0;
}

.notice-section {
    padding: 30px;
    background: #f8f9fa;
    margin-top: 20px;
}

.notice-text {
    text-align: center;
    color: #666;
    font-size: 1em;
    margin-bottom: 20px;
    font-weight: 600;
}

.legal-notice {
    font-size: 0.75em;
    color: #666;
    line-height: 1.6;
    padding: 15px;
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.legal-notice h4 {
    color: #333;
    font-size: 1.1em;
    margin-bottom: 10px;
    font-weight: 600;
}

.legal-notice p {
    margin-bottom: 10px;
    color: #666;
}

.legal-notice p:last-child {
    margin-bottom: 0;
}

footer {
    text-align: center;
    padding: 20px;
    color: white;
    margin-top: 20px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .subtitle {
        font-size: 1em;
    }

    .insurance-info,
    .insurance-detail,
    .form-section,
    .info-section {
        padding: 30px 20px;
    }

    .info-header h2 {
        font-size: 1.5em;
    }

    .highlight-quote {
        font-size: 1em;
        padding: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-table {
        font-size: 0.9em;
    }

    .info-table th,
    .info-table td {
        padding: 8px 10px;
    }

    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group select {
        font-size: 16px; /* 모바일에서 줌 방지 */
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    header {
        padding: 30px 20px;
    }

    header h1 {
        font-size: 1.8em;
    }
}

