/* 랜딩 페이지 스타일 */
:root {
    --primary-color: #2A3B4C; /* 진한 슬레이트 블루로 변경 */
    --secondary-color: #3ABEFF; /* 밝은 하늘색으로 변경 */
    --accent-color: #00D4BB; /* 청록색 액센트 추가 */
    --dark-color: #1A1E23;
    --light-color: #F8F9FA;
    --text-color: #333;
    --light-gray: #f5f7fa;
    --dark-gray: #4f4f4f;
    --gradient-primary: linear-gradient(135deg, #2A3B4C 0%, #3A4A5C 100%);
    --gradient-accent: linear-gradient(135deg, #3ABEFF 0%, #00D4BB 100%);
    --gradient-mix: linear-gradient(135deg, #2A3B4C 0%, #00D4BB 100%);
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

/* 공통 스타일 요소 */
.highlight {
    color: var(--secondary-color);
    position: relative;
}

.section-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: rgba(35, 61, 138, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
}

/* 히어로 섹션 */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 40px;
    overflow: hidden;
    color: white;
    box-sizing: border-box;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) saturate(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(26, 30, 35, 0.85) 0%, 
                rgba(26, 30, 35, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.hero-text-container {
    width: 90%;
    max-width: 500px;
    background-color: rgba(26, 30, 35, 0.9);
    padding: 35px 25px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    text-align: center;
    margin: 0 auto;
    position: relative;
    border-left: none;
}

.hero-text-container::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 5px;
    background: var(--secondary-color);
    border-radius: 10px;
}

/* AI 시각화 요소 추가 */
.hero-ai-visual {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.ai-graphic {
    position: relative;
    width: 380px;
    height: 380px;
    animation: float 6s infinite ease-in-out;
}

.ai-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 212, 187, 0.2) 0%, rgba(58, 190, 255, 0.2) 100%);
    box-shadow: 0 0 60px rgba(58, 190, 255, 0.5), inset 0 0 40px rgba(58, 190, 255, 0.3);
    animation: pulse 4s infinite alternate;
}

.ai-inner-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: linear-gradient(225deg, rgba(58, 190, 255, 0.3) 0%, rgba(0, 212, 187, 0.3) 100%);
    box-shadow: 0 0 40px rgba(0, 212, 187, 0.5);
    animation: pulse 4s infinite alternate-reverse;
}

.ai-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ai-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    opacity: 0.7;
    box-shadow: 0 0 10px var(--accent-color);
}

.ai-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: orbitParticle 8s infinite linear;
}

.ai-particle:nth-child(2) {
    top: 70%;
    left: 15%;
    animation: orbitParticle 12s infinite linear reverse;
}

.ai-particle:nth-child(3) {
    top: 30%;
    left: 80%;
    animation: orbitParticle 10s infinite linear;
}

.ai-particle:nth-child(4) {
    top: 60%;
    left: 75%;
    animation: orbitParticle 9s infinite linear reverse;
}

.ai-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 40%;
    background: url('/images/lawmoa-logo.png') center/contain no-repeat;
    background-size: 100%;
    filter: drop-shadow(0 0 20px rgba(58, 190, 255, 0.8));
    animation: pulse 2s infinite alternate;
}

.ai-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.ai-line {
    position: absolute;
    background-color: var(--secondary-color);
    height: 2px;
    transform-origin: left center;
    animation: lineGrow 3s infinite alternate;
}

.ai-line:nth-child(1) {
    top: 30%;
    left: 50%;
    width: 40%;
    transform: rotate(45deg);
    animation-delay: 0.2s;
}

.ai-line:nth-child(2) {
    top: 50%;
    left: 50%;
    width: 45%;
    transform: rotate(0deg);
    animation-delay: 0.4s;
}

.ai-line:nth-child(3) {
    top: 70%;
    left: 50%;
    width: 35%;
    transform: rotate(-45deg);
    animation-delay: 0.6s;
}

.accent-bar {
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    margin: 20px auto 0;
}

.btn-start, .btn-learn {
    width: 100%;
    padding: 16px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-start {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 212, 187, 0.3);
    border: none;
}

.btn-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 212, 187, 0.4);
}

.btn-learn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-learn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* 신뢰성 배지 섹션 */
.trust-badges {
    background-color: white;
    padding: 30px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 3;
}

.badges-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background-color: var(--light-color);
    border-radius: 15px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.badge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(58, 190, 255, 0.15);
}

.badge-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(58, 190, 255, 0.25);
    flex-shrink: 0;
}

.badge-text {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.4;
}

/* 특징 섹션 */
.features-section {
    padding: 100px 0;
    background-color: white;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(35, 61, 138, 0.03) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(circle at 90% 90%, rgba(212, 175, 55, 0.03) 0%, rgba(255, 255, 255, 0) 50%);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 35px 30px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--box-shadow);
    border-color: transparent;
    color: white;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: white;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
    transition: var(--transition);
}

.feature-card:hover .feature-icon i {
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.feature-description {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.7;
    transition: var(--transition);
}

.feature-card:hover .feature-title,
.feature-card:hover .feature-description {
    color: white;
}

/* 사용 사례 섹션 */
.use-cases-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.use-cases-tabs {
    margin-top: 50px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-button {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.tab-button.active {
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.6s ease forwards;
}

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

.case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.case-item {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.case-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.case-item:hover .case-icon {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.case-item h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.case-item p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* 이용 방법 섹션 */
.how-it-works {
    padding: 100px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.steps-container::after {
    content: '';
    position: absolute;
    top: 80px;
    left: 5%;
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(212, 175, 55, 0) 0%, 
        rgba(212, 175, 55, 0.5) 15%, 
        rgba(212, 175, 55, 0.5) 85%, 
        rgba(212, 175, 55, 0) 100%);
    z-index: -1;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-description {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.steps-cta {
    text-align: center;
    margin-top: 60px;
}

/* 고객 경험 섹션 개선 */
.testimonials {
    background-color: var(--light-color);
    padding: 60px 0;
}

.testimonials-title {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.testimonials-title h2 span {
    color: var(--secondary-color);
}

.testimonials-title p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-slider {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.testimonial-card {
    border-radius: 10px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

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

.testimonial-rating {
    margin-bottom: 20px;
    color: #FFD700;
    font-size: 1.5rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #505965;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-grow: 1;
    font-style: italic;
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.testimonial-text::after {
    content: '"';
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding-top: 5px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-image i {
    font-size: 30px;
    color: var(--secondary-color);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.author-position {
    font-size: 0.9rem;
    color: #6B7C93;
    margin-top: 3px;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .testimonial-container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .testimonial-card {
        padding: 15px;
        margin: 0 auto;
        width: 85%;
        max-width: 350px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
        border-radius: 12px;
        transform: none !important; /* 기존 transform 속성 제거 */
    }
    
    .testimonial-indicators {
        margin-top: 20px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .testimonial-navigation {
        margin-top: 15px;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 10px;
    }
}

/* 초소형 모바일 화면에서도 중앙 정렬 보장 */
@media (max-width: 375px) {
    .testimonial-card {
        width: 90%;
        margin: 0 auto;
        padding: 12px;
        max-width: 300px;
    }
}

/* FAQ 섹션 */
.faq-section {
    padding: 100px 0;
    background-color: white;
}

.faq-container {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--box-shadow);
}

.faq-question {
    background-color: var(--light-gray);
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.active .faq-question {
    background-color: var(--primary-color);
    color: white;
}

.faq-item.active .faq-question::after {
    content: '−';
    color: white;
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: var(--transition);
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.7;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    height: auto;
    padding: 20px 25px;
}

/* 후킹 문구(CTA) 섹션 디자인 개선 */
.cta-section {
    background: linear-gradient(135deg, #2c4b5c 0%, #34a0a4 100%);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url('../img/pattern-dots.png'); */
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-title {
    color: white;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.cta-button-primary, 
.cta-button-secondary {
    background-color: white;
    color: #2c4b5c;
    font-weight: 600;
    padding: 15px 25px;
    border-radius: 30px;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    display: inline-block;
    max-width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cta-button-primary:hover,
.cta-button-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-title {
        font-size: 2rem;
        padding: 0 15px;
    }
    
    .cta-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        padding: 0 10px;
    }
    
    .cta-button-primary, 
    .cta-button-secondary {
        width: 100%;
        max-width: 280px;
        padding: 12px 15px;
        font-size: 1rem;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .features-grid, .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container::after {
        display: none;
    }
    
    .testimonial-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }
    
    .hero-text-container {
        max-width: 100%;
        margin-bottom: 40px;
        transform: translateX(0);
        padding: 30px;
    }
    
    .accent-bar {
        margin: 0 auto 20px;
    }
    
    .hero-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-ai-visual {
        width: 100%;
        max-width: 320px;
        margin-top: 30px;
        height: 320px;
    }
    
    .ai-graphic {
        width: 280px;
        height: 280px;
    }
    
    .badges-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 40px;
        min-height: auto;
    }
    
    .hero-text-container {
        max-width: 100%;
        padding: 30px 20px;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .btn-start, .btn-learn {
        padding: 14px 12px;
        font-size: 1rem;
    }
    
    .badges-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 15px;
    }
    
    .badge-item {
        padding: 15px;
    }
    
    .badge-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .badge-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 85px 0 30px;
    }
    
    .hero-text-container {
        padding: 25px 15px;
        border-radius: 15px;
        border-left-width: 4px;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .btn-start, .btn-learn {
        padding: 14px 12px;
        font-size: 1rem;
    }
    
    .badges-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .badge-item {
        padding: 16px;
        flex-direction: row;
        align-items: center;
        text-align: left;
        border-radius: 12px;
    }
    
    .badge-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .badge-text {
        font-size: 1rem;
        font-weight: 700;
    }
}

/* 애니메이션 효과 */
@keyframes pulse {
    0% { opacity: 0.7; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.05); }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* 스크롤 프로그레스 바 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background-color: var(--secondary-color);
    width: 0%;
    z-index: 2000;
    transition: width 0.1s ease;
}

/* 법률 아이콘 애니메이션 */
.legal-icon-animation {
    display: inline-block;
    margin: 15px 0;
    color: var(--secondary-color);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* 메인 로고 스타일 */
.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-logo {
    max-width: 300px;
    filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.3));
    animation: float 3s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* 텍스트 버튼 스타일 */
.btn-text {
    background: transparent;
    color: white;
    padding: 12px 0;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-text:hover {
    transform: translateX(5px);
    color: var(--secondary-color);
}

.btn-text i {
    transition: all 0.3s ease;
}

.btn-text:hover i {
    transform: translateX(5px);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* 애니메이션 효과 */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes orbitParticle {
    0% { transform: rotate(0deg) translateX(120px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}

@keyframes lineGrow {
    0% { width: 0; opacity: 0.3; }
    100% { width: 45%; opacity: 0.8; }
}

@keyframes lineExpand {
    0% { width: 0; }
    100% { width: 100px; }
}

/* 헤더 및 공통 레이아웃 수정 */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 모바일 최적화 - 일반 */
@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero-text-container {
        text-align: left;
        padding: 40px;
    }
    
    .accent-bar {
        margin: 0 0 20px 0;
    }
    
    .badges-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .hero-text-container {
        max-width: 550px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .badges-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* 모바일 최적화 - 작은 화면 */
@media (max-width: 480px) {
    .hero-section {
        padding: 30px 0;
        min-height: 500px;
        margin-top: 10px;
    }
    
    .hero-text-container {
        padding: 20px;
        border-left-width: 3px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .btn-start, .btn-learn {
        padding: 14px 12px;
        font-size: 1rem;
    }
    
    .badge-item {
        padding: 10px;
    }
    
    .badge-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
}

/* 추가 모바일 최적화 - 초소형 화면 */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .btn-start, .btn-learn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* 추가: 히어로 백그라운드 이미지 개선 */
.hero-background img {
    filter: brightness(0.6) contrast(1.1);
}

/* 추가: 읽기 쉬운 텍스트를 위한 섀도우 강화 */
.hero-title, .hero-subtitle {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* 아이콘 대체 스타일 */
.testimonial-author .author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author .author-image i {
    font-size: 30px;
    color: var(--secondary-color);
}

/* 각 카드별 아이콘 컬러 변형 */
.testimonial-card:nth-child(1) .author-image i {
    color: #3ABEFF;
}

.testimonial-card:nth-child(2) .author-image i {
    color: #00D4BB;
}

.testimonial-card:nth-child(3) .author-image i {
    color: #4A6CF7;
}

/* 텍스트 스타일 개선 */
.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #505965;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-grow: 1;
    font-style: italic;
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.testimonial-text::after {
    content: '"';
}

/* 작성자 정보 개선 */
.author-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.author-position {
    font-size: 0.9rem;
    color: #6B7C93;
    margin-top: 3px;
}

/* 슬라이드 내비게이션 버튼 디자인 복구 및 개선 */
.testimonial-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: var(--secondary-color);
    border: 1px solid rgba(0, 150, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.nav-btn i {
    font-size: 14px;
}

/* 모바일에서의 내비게이션 버튼 스타일 */
@media (max-width: 768px) {
    .testimonial-navigation {
        margin-top: 15px;
        gap: 12px;
    }
    
    .nav-btn {
        width: 36px;
        height: 36px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .nav-btn i {
        font-size: 12px;
    }
}

/* 랜딩 페이지 버튼 스타일 수정 */
.landing-container {
  width: 100%;
  max-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.landing-buttons {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* 반응형으로 버튼 크기 조정 */
.landing-buttons a,
.landing-buttons button {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
  padding: 12px 20px;
  text-align: center;
  border-radius: 8px;
  font-size: 16px;
}

/* 모바일 화면에서 더 작게 조정 */
@media (max-width: 480px) {
  .landing-buttons a,
  .landing-buttons button {
    padding: 10px 15px;
    font-size: 14px;
  }
}

/* 아주 작은 모바일 화면 (430px 이하) */
@media (max-width: 430px) {
    .btn-start, .btn-learn {
        padding: 12px 10px;
        font-size: 0.9rem;
        width: auto; /* 필요한 만큼만 너비 사용 */
        min-width: 110px; /* 최소 너비 지정 */
    }
    
    .hero-buttons {
        gap: 10px; /* 버튼 사이 간격도 줄이기 */
    }
}