/* 기본 설정 */
:root {
    --primary-color: #1a365d;    /* 네이비 블루 */
    --secondary-color: #2c5282;  /* 밝은 네이비 */
    --accent-color: #3182ce;     /* 하이라이트 블루 */
    --text-color: #2d3748;       /* 다크 그레이 */
    --light-gray: #f7fafc;       /* 매우 밝은 그레이 */
    --medium-gray: #e2e8f0;      /* 밝은 그레이 */
    --dark-gray: #718096;        /* 중간 그레이 */
    --white: #ffffff;
    --black: #000000;
    --font-family: 'Noto Sans KR', sans-serif;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.main-nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
}

.nav-list li {
    margin: 0 15px;
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.header-cta {
    margin-left: 20px;
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
}

.phone-btn i {
    margin-right: 5px;
}

.phone-btn:hover {
    background-color: var(--secondary-color);
}

/* 히어로 섹션 */
.hero {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.primary-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.secondary-btn {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    border: 1px solid var(--primary-color);
    transition: var(--transition);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* 신뢰 지표 */
.trust-indicators {
    padding: 50px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--medium-gray);
}

.trust-indicators .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.indicator {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    padding: 20px;
}

.indicator i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-right: 15px;
}

.indicator-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.indicator-text p {
    color: var(--dark-gray);
    font-size: 1rem;
}

/* 섹션 공통 스타일 */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
}

/* 소개 섹션 */
.about {
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.credentials {
    margin: 25px 0;
}

.credentials li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.credentials li i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* 보험상품 섹션 */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-color);
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--dark-gray);
    margin-bottom: 20px;
    min-height: 80px;
}

.service-link {
    color: var(--accent-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 가입절차 섹션 */
.process {
    background-color: var(--light-gray);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--medium-gray);
    z-index: 1;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-color);
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* 고객후기 섹션 */
.testimonials {
    background-color: var(--white);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
}

.testimonial {
    flex: 1;
}

.testimonial-content {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 80px;
    position: absolute;
    top: -20px;
    left: 20px;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.rating {
    color: #FFD700;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.author-info p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* FAQ 섹션 */
.faq {
    background-color: var(--light-gray);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.toggle-icon {
    color: var(--accent-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* 상담 신청 섹션 */
.contact {
    background-color: var(--white);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-item i {
    width: 60px;
    height: 60px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--accent-color);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.contact-form {
    flex: 1;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.privacy-policy {
    display: flex;
    align-items: center;
}

.privacy-policy input {
    width: auto;
    margin-right: 10px;
}

.submit-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* 플로팅 상담 버튼 */
.floating-cta {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.floating-phone,
.floating-consult {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.floating-phone {
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 1.5rem;
}

.floating-consult {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.5rem;
    position: relative;
}

.floating-consult span {
    position: absolute;
    white-space: nowrap;
    right: 70px;
    background-color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.floating-consult:hover span {
    opacity: 1;
    visibility: visible;
}

.floating-phone:hover,
.floating-consult:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 푸터 */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links,
.footer-contact {
    flex: 1;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-left: 10px;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        transition: var(--transition);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-list li {
        margin: 15px 0;
    }

    .hero .container,
    .about-content,
    .contact-content {
        flex-direction: column;
    }

    .process-steps {
        flex-wrap: wrap;
    }

    .process-steps::before {
        display: none;
    }

    .step {
        flex: 0 0 50%;
        margin-bottom: 40px;
    }

    .testimonial-slider {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logo,
    .footer-links,
    .footer-contact {
        margin-bottom: 30px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .social-links {
        margin-top: 20px;
    }

    .trust-indicators .container {
        flex-direction: column;
    }

    .indicator {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
    }

    .step {
        flex: 0 0 100%;
    }
} 