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

/*body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f9fafb;
}
*/
.container {
    max-width: 1280px !important;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    word-break: keep-all;
}

p {
    word-break: keep-all;
    line-height: 1.7;
}

/* Header */
.kjh_header {
	width:100%;
	max-width:1280px;
	
	margin:0 auto;
    background: white;
    box-shadow: 0 0px 0px rgba(0,0,0,0.1);
    position: sticky;
    top: 0px;
    z-index: 1000;
}

.kjh_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    max-width: 100%;
    margin: 0 auto;
}

.kjh_nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
	cursor:pointer;
}

.kjh_nav-logo {
    font-size: 2rem;
    color: #3b82f6;
}

.kjh_nav-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

/* Buttons */
.btn {
    /*display: inline-flex;*/
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: #f97316;
    color: white;
	font-size:1rem;
}

.btn-secondary:hover {
    background: #ea580c;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.btn-white {
    background: white;
    color: #f97316;
}

.btn-white:hover {
    background: #f3f4f6;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    padding: 4rem 0 6rem;
}

.hero-content {
    text-align: center;
    max-width: 4xl;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #dbeafe;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #dbeafe;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-subtitle {
        font-size: 2.5rem;
    }
}

/* Calculator Card */
.calculator-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 28rem;
    margin: 0 auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    color: #1f2937;
}

.calculator-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.calculator-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Forms */
.calculator-form,
.consultation-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    font-weight: 500;
    color: #374151;
}

input, select {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus, select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Debt Types Section */
.debt-types {
    background: white;
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.quote-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #dbeafe;
    color: #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-title.white {
    color: white;
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
}

.section-description.white {
    color: #dbeafe;
}

.section-note {
    color: #6b7280;
    font-size: 0.875rem;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }
}

/* Debt Grid */
.debt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 1024px) {
    .debt-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.debt-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.debt-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.debt-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.debt-card h3 {
    font-size: 0.875rem;
    font-weight: 700;
}

@media (min-width: 1024px) {
    .debt-card {
        padding: 2rem;
    }
    
    .debt-icon {
        font-size: 3rem;
    }
    
    .debt-card h3 {
        font-size: 1rem;
    }
}

/* Debt Card Colors */
.debt-card-blue { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.debt-card-green { background: linear-gradient(135deg, #dcfce7, #bbf7d0); }
.debt-card-purple { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); }
.debt-card-orange { background: linear-gradient(135deg, #fed7aa, #fdba74); }
.debt-card-red { background: linear-gradient(135deg, #fecaca, #fca5a5); }
.debt-card-yellow { background: linear-gradient(135deg, #fef3c7, #fed7aa); }
.debt-card-indigo { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); }
.debt-card-pink { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }

/* Benefits Section */
.benefits {
    background: #f9fafb;
    padding: 4rem 0;
}

.benefits-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.benefit-success .benefit-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.benefit-primary .benefit-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.benefit-secondary .benefit-icon {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.benefit-number {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benefit-success .benefit-number {
    color: #22c55e;
}

.benefit-primary .benefit-number {
    color: #3b82f6;
}

.benefit-secondary .benefit-number {
    color: #f97316;
}

.benefit-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.benefit-description {
    color: #6b7280;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: linear-gradient(90deg, #f97316, #ea580c);
    color: white;
    padding: 4rem 0;
}

.cta-content {
    text-align: center;
    max-width: 3xl;
    margin: 0 auto;
}

.cta-icon {
    background: rgba(255,255,255,0.1);
    border-radius: 1rem;
    padding: 0.5rem;
    display: inline-block;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #fed7aa;
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

/* Testimonials Section */
.testimonials {
    background: white;
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s;
    border: none;
}

.testimonial-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 1.5rem;
}

.testimonial-info h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: #6b7280;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.star {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-text {
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-amount {
    background: rgba(255,255,255,0.7);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.testimonial-amount .label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.testimonial-amount .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #22c55e;
}

.testimonial-amount .detail {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 4rem 0;
}

.new-badge {
    background: #f97316;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-card {
    text-align: center;
}

.stat-icon {
    width: 5rem;
    height: 5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
}

.stat-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #dbeafe;
}

/* Final CTA Section */
.final-cta {
    position: relative;
    padding: 4rem 0;
    color: white;
    background-image: url('https://images.unsplash.com/photo-1556761175-b413da4baf72?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}

.final-cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 3xl;
    margin: 0 auto;
}

.final-cta-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.final-cta-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #fed7aa;
}

.final-cta-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.final-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .final-cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .final-cta-title {
        font-size: 3rem;
    }
    
    .final-cta-subtitle {
        font-size: 2rem;
    }
}

/* Footer */
.footer {
    background: #374151;
    color: #d1d5db;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-icon {
    font-size: 2rem;
    color: #3b82f6;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-info {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-links h3,
.footer-contact h3 {
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
}

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

.contact-info {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-privacy {
    border-top: 1px solid #4b5563;
    padding-top: 2rem;
}

.privacy-notice {
    background: #4b5563;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.privacy-notice h4 {
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.privacy-notice p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-copyright {
    text-align: center;
    font-size: 0.875rem;
}

.footer-copyright a {
    color: #3b82f6;
    text-decoration: none;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    color: #9ca3af;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
}

.close:hover {
    color: #374151;
}

/* Calculator Result */
.calculator-result {
    text-align: center;
}

.result-card {
    border: 2px solid #22c55e;
    border-radius: 1rem;
    padding: 1.5rem;
}

.result-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 1rem;
}

.result-section {
    margin-bottom: 1rem;
}

.result-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.result-value {
    font-size: 1.125rem;
    font-weight: 600;
}

.result-highlight {
    background: rgba(34, 197, 94, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
}

.result-highlight .result-value {
    font-size: 2rem;
    font-weight: 700;
    color: #22c55e;
}

.result-info {
    background: #dbeafe;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
}

.result-info p {
    font-size: 0.875rem;
    color: #1e40af;
    margin: 0;
}

.result-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Consultation Form */
.consultation-form h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.consultation-form > p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.consultation-notice {
    background: #fef3c7;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
}

.consultation-notice p {
    font-size: 0.875rem;
    color: #92400e;
    margin: 0.25rem 0;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 1rem;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 1rem;
}

.success-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.success-info {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}



/* Floating CTA */

@media (max-width: 768px) { /* 모바일 */
.floating-cta {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
	display:none;
}

.floating-btn {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: #f97316;
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    animation: pulse 3s infinite;
    transition: all 0.2s;
}
}
@media (min-width: 769px) { /* PC */

.floating-cta {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
}

.floating-btn {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background: #f97316;
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    animation: pulse 3s infinite;
    transition: all 0.2s;
}

}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}
/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(249, 115, 22, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    }
}

.fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading States */
.loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .calculator-card {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .final-cta-buttons {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }
}