* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
}

/* ===========================
   Header
   =========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header__container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    align-items: center;
    height: 80px;
}

.header__logo {
    display: flex;
    align-items: center;
    grid-column: 1 / 3;
    justify-self: start;
    height: 100%;
}

.header__logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    width: auto;
    height: 32px;
}

.logo-img {
    height: 20px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.logo-img--white {
    opacity: 1;
}

.logo-img--colored {
    opacity: 0;
}

/* 스크롤 시 로고 변경 및 배경 진하게 */
.header.scrolled .logo-img--white {
    opacity: 0;
}

.header.scrolled .logo-img--colored {
    opacity: 1;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* 텍스트 로고 스타일 */
.header__logo-text {
    font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    text-decoration: none;
}

/* Header Navigation */
.header__nav {
    grid-column: 4 / 10;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.header__menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.header__menu-item {
    margin: 0;
    padding: 0;
}

.header__menu-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.01em;
    transition: opacity 0.3s ease;
    padding: 8px 0;
}

.header__menu-link:hover {
    opacity: 0.7;
}

.header.scrolled .header__menu-link {
    color: #1a1a1a;
}

/* Hamburger Menu - 데스크톱에서는 완전히 숨김 */
.hamburger-menu {
    display: none;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.header.scrolled .hamburger-line {
    background: #1a1a1a;
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Panel - 데스크톱에서는 완전히 숨김 */
.mobile-menu {
    display: none;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
}


/* Header Actions */
.header__actions {
    grid-column: 11 / 13;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    gap: 0;
}

/* RTL Support for Desktop */
@media (min-width: 769px) {
    [dir="rtl"] .header__container {
        align-items: center !important;
    }

    [dir="rtl"] .header__logo {
        grid-column: 11 / 13;
        justify-self: end;
        align-items: center !important;
        height: 100% !important;
        display: flex !important;
    }

    [dir="rtl"] .header__actions {
        grid-column: 1 / 3;
        justify-content: flex-start;
        align-items: center !important;
        height: 100% !important;
        display: flex !important;
    }

    [dir="rtl"] .header__logo-link {
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
    }

    [dir="rtl"] .language-button {
        height: auto !important;
    }
}

[dir="rtl"] .language-dropdown {
    right: 0;
    left: auto;
}

/* 모바일에서는 드롭다운 항상 오른쪽 */
@media (max-width: 768px) {
    [dir="rtl"] .language-dropdown {
        right: 0;
        left: auto;
    }
}

/* Language Selector */
.language-selector {
    position: relative;
}

/* Language Button */
.language-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.language-button__text {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.language-button__icon {
    color: #ffffff;
    transition: transform 0.3s ease;
}

.language-button[aria-expanded="true"] .language-button__icon {
    transform: rotate(180deg);
}

/* Language Dropdown */
.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Language Option */
.language-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: left;
}

.language-option:hover {
    background: rgba(0, 0, 0, 0.05);
}

.language-option__label {
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.language-option__code {
    font-size: 12px;
    font-weight: 500;
    color: #666666;
    letter-spacing: -0.01em;
}

/* 스크롤 시 언어 버튼 스타일 변경 */
.header.scrolled .language-button:hover {
    background: rgba(0, 0, 0, 0.08);
}

.header.scrolled .language-button__text,
.header.scrolled .language-button__icon {
    color: #1a1a1a;
}

.header.scrolled .language-dropdown {
    background: rgba(255, 255, 255, 0.98);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .header__container {
        padding: 0 24px;
        height: 60px;
    }

    .logo-img {
        height: 18px;
    }

    .header__logo-link {
        height: 28px;
    }

    .header__logo-text {
        font-size: 20px;
    }

    .header__actions {
        grid-column: auto;
    }

    .language-button {
        padding: 6px 12px;
    }

    .language-button__text {
        font-size: 13px;
    }

    .language-button__icon {
        width: 14px;
        height: 14px;
    }

    /* 모바일에서는 데스크톱 메뉴 숨기고 햄버거 메뉴 표시 */
    .header__nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 32px;
        height: 32px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 4px;
        margin-left: 12px;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 70%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1002;
        overflow-y: auto;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1001;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu__close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        cursor: pointer;
        color: #1a1a1a;
        transition: all 0.3s ease;
        border-radius: 8px;
    }

    .mobile-menu__close:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .mobile-menu__close svg {
        width: 24px;
        height: 24px;
    }

    .mobile-menu__nav {
        padding: 80px 24px 24px;
    }

    .mobile-menu__list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-menu__item {
        margin: 0;
        padding: 0;
    }

    .mobile-menu__link {
        display: block;
        padding: 16px 0;
        font-size: 18px;
        font-weight: 500;
        color: #1a1a1a;
        text-decoration: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }

    .mobile-menu__link:hover {
        color: #5C57DD;
        padding-left: 8px;
    }

    .mobile-menu__item:last-child .mobile-menu__link {
        border-bottom: none;
    }

    /* 모바일에서는 항상 로고 왼쪽, 언어 버튼 오른쪽 */
    .header__container {
        display: flex !important;
        justify-content: space-between !important;
        grid-template-columns: none !important;
    }

    .header__logo {
        grid-column: auto !important;
        justify-self: start !important;
        order: 1 !important;
    }

    .header__actions {
        grid-column: auto !important;
        justify-content: flex-end !important;
        order: 2 !important;
    }

    /* 아랍어에서는 모바일도 로고 오른쪽, 언어 버튼 왼쪽 */
    [dir="rtl"] .header__container {
        display: flex !important;
        flex-direction: row-reverse !important;
    }

    [dir="rtl"] .header__logo {
        order: 1 !important;
        justify-self: end !important;
    }

    [dir="rtl"] .header__actions {
        order: 2 !important;
        justify-content: flex-start !important;
    }
}

/* 히어로 섹션 */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px; /* 헤더 높이만큼 패딩 */
    box-sizing: border-box;
}

/* 백그라운드 비디오 */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

/* 비디오 오버레이 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* 히어로 콘텐츠 */
.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: #ffffff;
}

/* 스크롤 인디케이터 */
.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
}

.scroll-border {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    position: relative;
    background: transparent;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-move 2s infinite;
}

@keyframes scroll-move {
    0% {
        top: 8px;
        opacity: 1;
    }
    50% {
        top: 20px;
        opacity: 0.5;
    }
    100% {
        top: 32px;
        opacity: 0;
    }
}

/* Core Tech Section */
.core-tech {
    padding: 180px 0;
    background: #ffffff;
    color: #333333;
}

.core-tech__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.core-tech__label {
    text-align: center;
    margin-bottom: 20px;
}

.core-tech__label .label-text {
    display: inline-block;
    color: #555555;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.core-tech__title {
    color: #000000;
    font-size: 46px;
    font-weight: 600;
    line-height: 1.522;
    letter-spacing: -0.01em;
    text-align: center;
    max-width: 884px;
    margin: 0 auto 80px;
}

.core-tech__grid {
    display: grid;
    grid-template-columns: 632px 632px;
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto;
    justify-content: center;
}

.tech-card {
    position: relative;
    width: 632px;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
}

.tech-card__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tech-card__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.tech-card__content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px;
    z-index: 3;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tech-card__tag {
    margin-bottom: 16px;
    text-align: center;
}

.tag-text {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    text-transform: uppercase;
    padding: 8px 16px;
    background: #ffffff;
    border-radius: 20px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tech-card__description {
    font-size: 1.3rem;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* ===========================
   CoreChat Section
   =========================== */
:root {
    --purple: #5C57DD;
    --text-primary: #555555;
    --text-title: #000000;
    --border-gray: #EEEEEE;
    --section-padding: 100px;
    --container-max-width: 1920px;
}

.corechat {
    width: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
}

.corechat__container {
    width: 100%;
    max-width: var(--container-max-width);
    position: relative;
}

/* Section Label */
.corechat__label {
    text-align: center;
    margin-bottom: 20px;
}

.corechat__label .label-text {
    display: inline-block;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* Section Title */
.corechat__title {
    color: var(--text-title);
    font-size: 46px;
    font-weight: 600;
    line-height: 1.522;
    letter-spacing: -0.01em;
    text-align: center;
    max-width: 884px;
    margin: 0 auto 80px;
}

/* Features Container */
.corechat__features {
    display: flex;
    flex-direction: column;
    gap: 80px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Feature Card */
.feature {
    position: relative;
    width: 100%;
}

/* Badge */
.feature__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple);
    border-radius: 100px;
    padding: 12px 16px;
    margin: 0 auto 16px;
    width: fit-content;
}

.feature__badge .badge-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* Description */
.feature__description {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-align: center;
    margin-bottom: 30px;
}

/* Preview Card Container */
.feature__preview {
    width: 100%;
    display: flex;
    justify-content: center;
}

.preview-card {
    width: 100%;
    max-width: 1280px;
    height: 885px;
    background: #ffffff;
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    box-shadow: 0px 25px 50px 0px rgba(69, 69, 80, 0.15);
    overflow: hidden;
    position: relative;
}

/* Preview Card Header */
.preview-card__header {
    width: 100%;
    height: 28px;
    background: linear-gradient(180deg, #F8F8F8 0%, #FAFAFA 100%);
    border-bottom: 1px solid var(--border-gray);
}

/* Preview Card Content */
.preview-card__content {
    width: 100%;
    height: calc(100% - 28px);
    background: #ffffff;
    position: relative;
}

/* Chat Agent Specific */
.feature--chat .preview-card__content {
    background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.chat-video {
    position: absolute;
    top: 0;
    left: -1px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Store Specific */
.feature--store .preview-card__content {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.store-video {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Responsive - Desktop */
@media (min-width: 1024px) and (max-width: 1439px) {
    .corechat__title {
        font-size: 40px;
        max-width: 800px;
    }
    
    .preview-card {
        height: 700px;
    }
}

/* Responsive - Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .corechat {
        padding: 80px 20px;
    }
    
    .corechat__title {
        font-size: 32px;
        line-height: 1.4;
        margin-bottom: 60px;
    }
    
    .corechat__title br {
        display: none;
    }
    
    .corechat__features {
        gap: 80px;
    }
    
    .feature__badge {
        margin-bottom: 24px;
    }
    
    .feature__description {
        font-size: 18px;
        margin-bottom: 24px;
    }
    
    .preview-card {
        height: auto;
    }

    .preview-card__content {
        height: auto;
        position: relative;
    }

    .chat-video,
    .store-video {
        position: relative;
        width: 100%;
        height: auto;
        display: block;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .corechat {
        padding: 60px 16px;
    }
    
    .corechat__label .label-text {
        font-size: 16px;
    }
    
    .corechat__title {
        font-size: 24px;
        line-height: 1.4;
        margin-bottom: 48px;
        padding: 0 10px;
    }
    
    .corechat__title br {
        display: none;
    }
    
    .corechat__features {
        gap: 60px;
    }
    
    .feature__badge {
        padding: 10px 14px;
        margin-bottom: 20px;
    }
    
    .feature__badge .badge-text {
        font-size: 14px;
    }
    
    .feature__description {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .preview-card {
        height: auto;
        border-radius: 12px;
    }
    
    .preview-card__header {
        height: 24px;
    }

    .preview-card__content {
        height: auto;
        position: relative;
    }

    .chat-video,
    .store-video {
        position: relative;
        width: 100%;
        height: auto;
        display: block;
    }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 600px;
        padding-top: 60px; /* 모바일 헤더 높이만큼 패딩 */
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-title br {
        display: none;
    }
    
    .core-tech {
        padding: 80px 0;
    }
    
    .corechat-section {
        padding: 80px 0;
    }
    
    .chat-content {
        flex-direction: column;
        height: auto;
    }
    
    .chat-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .agent-grid {
        grid-template-columns: 1fr;
    }
    
    .agent-categories {
        gap: 16px;
    }
    
    .core-tech__title {
        font-size: 2rem;
        margin-bottom: 60px;
    }
    
    .core-tech__title br {
        display: none;
    }
    
    .core-tech__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 632px;
    }
    
    .tech-card {
        width: 100%;
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.1rem;
        line-height: 1.2;
    }
    
    .hero-title br {
        display: none;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .core-tech {
        padding: 60px 0;
    }
    
    .core-tech__title {
        font-size: 24px;
        margin-bottom: 50px;
    }
    
    .core-tech__title br {
        display: none;
    }
    
    .tech-card {
        width: 100%;
        height: 300px;
    }
    
    .tech-card__content {
        padding: 24px;
    }
    
    .tech-card__description {
        font-size: 1rem;
    }
}

/* ===========================
   Our Service Section
   =========================== */
.our-service {
    width: 100%;
    min-height: 1188px;
    padding: 180px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white, #FFFFFF);
}

.our-service__wrapper {
    width: 100%;
    max-width: 1920px;
}

/* Label */
.our-service__label {
    text-align: center;
    margin-bottom: 20px;
}

.our-service__label .label-text {
    color: var(--text-secondary, #555555);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* Title */
.our-service__title {
    color: var(--black, #000000);
    font-size: 46px;
    font-weight: 600;
    line-height: 1.522;
    letter-spacing: -0.01em;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

/* Container */
.our-service__container {
    width: 100%;
    margin: 0 auto;
}

/* Card */
.service-card {
    background: var(--gray-bg, #ECECEC);
    border-radius: 8px;
    overflow: hidden;
}

/* Desktop Only Styles */
@media (min-width: 1401px) {
    .our-service__container {
        position: relative;
        max-width: 1280px;
        height: 776px;
        padding: 0 20px;
    }

    .service-card {
        position: absolute;
    }

    .service-card--legal {
        left: 0;
        top: 0;
        width: 632px;
        height: 380px;
    }

    .service-card--patent {
        left: 648px;
        top: 0;
        width: 308px;
        height: 380px;
    }

    .service-card--customs {
        left: 972px;
        top: 0;
        width: 308px;
        height: 380px;
    }

    /* Card Positions - Row 2 */
    .service-card--book {
        left: 0;
        top: 396px;
        width: 308px;
        height: 380px;
    }

    .service-card--hr {
        left: 324px;
        top: 396px;
        width: 308px;
        height: 380px;
    }

    .service-card--medical {
        left: 648px;
        top: 396px;
        width: 632px;
        height: 380px;
    }
}

/* Background Image */
.service-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Label Badge */
.service-card__label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--label-bg, rgba(33, 33, 33, 0.8));
    backdrop-filter: blur(10px);
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--white, #FFFFFF);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.571;
    letter-spacing: -0.01em;
    z-index: 2;
    white-space: nowrap;
}

.service-card--book .service-card__label {
    top: 29px;
    left: 24px;
}

.service-card--medical .service-card__label {
    top: 23px;
}

/* Responsive - Large Desktop */
@media (max-width: 1400px) {
    .our-service__title {
        font-size: 40px;
        padding: 0 40px;
        margin-bottom: 60px;
    }

    .our-service__container {
        width: 80%;
        max-width: 900px;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
        margin: 0 auto;
    }

    .service-card {
        position: relative !important;
        width: 100% !important;
        height: 80px !important;
        left: auto !important;
        top: auto !important;
    }

    .service-card--legal,
    .service-card--patent,
    .service-card--customs,
    .service-card--book,
    .service-card--hr,
    .service-card--medical {
        position: relative !important;
        width: 100% !important;
        height: 80px !important;
        left: auto !important;
        top: auto !important;
    }

    .service-card__image {
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        object-fit: cover;
        object-position: center;
    }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .our-service {
        padding: 60px 20px;
    }

    .our-service__title {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .our-service__title br {
        display: none;
    }

    .our-service__container {
        width: 70%;
        max-width: 700px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
        margin: 0 auto;
    }

    .service-card {
        position: relative !important;
        width: 100% !important;
        height: 110px !important;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .our-service {
        padding: 40px 16px;
        min-height: auto;
    }

    .our-service__label .label-text {
        font-size: 16px;
    }

    .our-service__title {
        font-size: 24px;
        line-height: 1.4;
        margin-bottom: 32px;
        padding: 0 16px;
    }

    .our-service__title br {
        display: none;
    }

    .our-service__container {
        width: 85%;
        max-width: 600px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
        margin: 0 auto;
    }

    .service-card {
        position: relative !important;
        width: 100% !important;
        height: 160px !important;
    }

    .service-card__label {
        font-size: 12px;
        padding: 6px 8px;
        top: 16px !important;
        left: 16px !important;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .our-service__title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 28px;
        padding: 0 12px;
    }

    .our-service {
        padding: 30px 12px;
    }

    .our-service__container {
        width: 90%;
        max-width: 400px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 0;
        margin: 0 auto;
    }

    .service-card {
        position: relative !important;
        width: 100% !important;
        height: 120px !important;
    }
}

/* Accessibility */

.service-card:focus-within {
    outline: 3px solid #5C57DD;
    outline-offset: 4px;
}

/* ===========================
   Partner Logos Section
   =========================== */
.partner-logos {
    width: 100%;
    padding-bottom: 180px;
    background: #ffffff;
    overflow: hidden;
}

.partner-logos__container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo Row */
.logo-row {
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
}

.logo-row:last-child {
    margin-bottom: 0;
}

/* Logo Track */
.logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll-horizontal 120s linear infinite;
}

.logo-row--second .logo-track {
    animation: scroll-horizontal-reverse 120s linear infinite;
}

.logo-row--third .logo-track {
    animation: scroll-horizontal-reverse 130s linear infinite;
}


/* Logo Item */
.logo-item {
    flex-shrink: 0;
    margin-right: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    opacity: 1;
}

.logo-item img {
    max-height: 60px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Animations */
@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-horizontal-reverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .partner-logos {
        padding: 60px 0;
    }

    .logo-row {
        margin-bottom: 30px;
    }

    .logo-item {
        margin-right: 40px;
        height: 50px;
    }

    .logo-item img {
        max-height: 50px;
        max-width: 150px;
    }

    .logo-track {
        animation-duration: 100s;
    }

    .logo-row--second .logo-track {
        animation-duration: 100s;
    }

    .logo-row--third .logo-track {
        animation-duration: 110s;
    }

}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .partner-logos {
        padding: 40px 0;
    }

    .partner-logos__container {
        padding: 0 16px;
    }

    .logo-row {
        margin-bottom: 24px;
    }

    .logo-item {
        margin-right: 30px;
        height: 40px;
    }

    .logo-item img {
        max-height: 40px;
        max-width: 120px;
    }

    .logo-track {
        animation-duration: 80s;
    }

    .logo-row--second .logo-track {
        animation-duration: 80s;
    }

    .logo-row--third .logo-track {
        animation-duration: 90s;
    }

}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .logo-track {
        animation: none;
    }
    
    .logo-row--second .logo-track {
        animation: none;
    }

    .logo-row--third .logo-track {
        animation: none;
    }

}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    position: relative;
    width: 100%;
    height: 586px;
    background: var(--gray-bg, #EEEEEE);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Image */
.cta-section__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-section__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Content */
.cta-section__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

/* Title */
.cta-section__title {
    color: var(--white, #FFFFFF);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-align: center;
    margin: 0;
}

/* CTA Button */
.cta-section__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cta-section__button:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.cta-section__button:active {
    transform: translateY(-2px);
}

.button-text {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    line-height: 2.727;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Responsive - Desktop */
@media (max-width: 1400px) {
    .cta-section__bg-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .cta-section {
        height: 500px;
    }

    .cta-section__title {
        font-size: 40px;
        line-height: 1.3;
    }

    .cta-section__button {
        width: 180px;
        height: 72px;
    }

    .button-text {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .cta-section {
        height: 400px;
    }

    .cta-section__content {
        gap: 32px;
        padding: 0 24px;
    }

    .cta-section__title {
        font-size: 32px;
        line-height: 1.4;
    }

    .cta-section__button {
        width: 160px;
        height: 64px;
    }

    .button-text {
        font-size: 18px;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .cta-section {
        height: 350px;
    }

    .cta-section__content {
        gap: 24px;
        padding: 0 20px;
    }

    .cta-section__title {
        font-size: 24px;
        line-height: 1.4;
    }

    .cta-section__button {
        width: 140px;
        height: 56px;
    }

    .button-text {
        font-size: 16px;
        line-height: 2;
    }
}

/* CTA Section Accessibility */
@media (prefers-reduced-motion: reduce) {
    .cta-section__button {
        transition: none;
    }

    .cta-section__button:hover {
        transform: none;
    }
}

.cta-section__button:focus {
    outline: 3px solid var(--white, #FFFFFF);
    outline-offset: 4px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .cta-section__title {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}

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

.cta-section__content {
    animation: fadeInUp 0.8s ease-out;
}

.cta-section__title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-section__button {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: #121212;
    padding: 60px 0;
}

.footer__container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer__content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__info {
    text-align: center;
}

.footer__copyright {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 8px 0;
    opacity: 0.8;
}

.footer__description {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    opacity: 0.6;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .footer {
        padding: 50px 0;
    }

    .footer__container {
        padding: 0 24px;
    }

    .footer__content {
        gap: 32px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0;
    }

    .footer__container {
        padding: 0 16px;
    }

    .footer__content {
        gap: 24px;
    }

    .footer__copyright,
    .footer__description {
        font-size: 13px;
    }
}

/* ===========================
   뉴스 페이지 스타일
   =========================== */

/* 서브페이지 공통 */
.subpage-main {
    padding-top: 80px;
}

/* 뉴스 페이지 헤더 - 항상 어두운 배경 */
.header--dark {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(25px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(200%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
}

.header--dark .logo-img--white {
    opacity: 0 !important;
}

.header--dark .logo-img--colored {
    opacity: 1 !important;
}

.header--dark .header__menu-link {
    color: #1a1a1a !important;
}

.header--dark .language-button__text,
.header--dark .language-button__icon {
    color: #1a1a1a !important;
}

.header--dark .hamburger-line {
    background: #1a1a1a !important;
}

.page-header {
    padding: 80px 0 60px 0;
    background: #ffffff;
}

.page-header .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-title {
    font-size: 60px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.page-description {
    font-size: 18px;
    color: #666666;
    line-height: 1.6;
}

/* News/Blog 탭 컨테이너 */
.tabs-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px 60px 40px;
}

/* News/Blog 탭 - iOS 스타일 */
.content-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    background: #f5f5f7;
    padding: 4px;
    border-radius: 50px;
    width: 100%;
}

.tab-btn {
    flex: 1;
    padding: 18px 32px;
    border: none;
    background: transparent;
    color: #666666;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.tab-btn:hover:not(.active) {
    color: #1d1d1f;
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-btn:active {
    transform: translateY(0);
}

.tab-btn:focus {
    outline: none;
}

.tab-btn.active {
    color: #ffffff;
    background: #1d1d1f;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 뉴스 리스트 섹션 */
.news-list-section {
    padding: 0 0 160px 0;
    background: #ffffff;
}

.news-list-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 25px;
}

/* 뉴스 컨트롤 */
.news-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.news-count {
    color: #999999;
    font-size: 14px;
    font-weight: 400;
}

/* 검색 */
.news-search {
    display: flex;
    align-items: center;
    position: relative;
}

.search-input {
    width: 300px;
    padding: 12px 50px 12px 16px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    color: #333333;
    transition: all 0.3s ease;
    height: 48px;
}

.search-input:focus {
    outline: none;
    border-color: #5C57DD;
}

.search-input::placeholder {
    color: #999999;
}

.search-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #666666;
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: #5C57DD;
}

/* 뉴스 리스트 */
.news-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 80px;
}

/* 뉴스 페이지 아이템 */
.news-page-item {
    display: flex;
    align-items: center;
    padding: 40px 0;
    transition: all 0.3s ease;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    cursor: pointer;
}

/* 블로그 컨텐츠 기본 숨김 */
.blog-type {
    display: none;
}

.news-page-item:hover {
    transform: none;
    box-shadow: none;
}

.news-image {
    width: 460px;
    height: 300px;
    flex-shrink: 0;
    margin-right: 32px;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.news-page-item:hover .news-image img {
    transform: scale(1.02);
}

.news-page-item .news-content {
    flex: 1;
    padding: 0;
}

.news-meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.news-category {
    background: #ffffff;
    color: #5C57DD;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #5C57DD;
}

.news-page-item .news-date {
    color: #999999;
    font-size: 16px;
    font-weight: 400;
    margin-top: 16px;
    display: block;
}

.news-page-item .news-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: #888888;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    color: #5C57DD;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #4A45CC;
}

.news-link::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.news-link:hover::after {
    transform: translateX(4px);
}

/* 페이지네이션 */
.pagination-section {
    margin-top: 60px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e9ecef;
    background: #ffffff;
    color: #666666;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #5C57DD;
    color: #5C57DD;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 16px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: #666666;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    background: #f8f9fa;
    color: #5C57DD;
}

.pagination-number.active {
    background: #5C57DD;
    color: #ffffff;
}

.pagination-dots {
    color: #999999;
    margin: 0 8px;
}

/* 푸터 오버라이드 (뉴스 페이지용) */
.news-main .footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* ==================== 뉴스 상세페이지 스타일 ==================== */

/* 뉴스 상세 섹션 */
.news-detail-section {
    padding: 0 0 160px 0;
    background: #ffffff;
}

.news-detail-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 뉴스 아티클 */
.news-detail-article {
    max-width: 1280px;
    margin: 0 auto;
    background: #ffffff;
}

/* 뉴스 헤더 */
.news-header {
    margin: 80px 0 40px 0;
    padding-bottom: 32px;
    border-bottom: 1px solid #e3e3e3;
}

.news-header .news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.news-header .news-category {
    background: #ffffff;
    color: #5C57DD;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #5C57DD;
}

.news-header .news-date {
    color: #999999;
    font-size: 16px;
    font-weight: 400;
}

.news-header .news-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.news-header .news-subtitle {
    font-size: 18px;
    color: #888888;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* 뉴스 상세페이지 이미지 */
.news-detail-image {
    margin-bottom: 40px;
    width: 800px;
    height: 522px;
}

.news-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.image-caption {
    font-size: 14px;
    color: #888888;
    margin-top: 12px;
    text-align: center;
    font-style: italic;
}

/* 뉴스 본문 */
.news-detail-section .news-content {
    margin-bottom: 60px;
}

.news-detail-section .news-content p {
    font-size: 18px;
    color: #333333;
    line-height: 1.8;
    margin-bottom: 24px;
}

.news-detail-section .news-content p:last-child {
    margin-bottom: 0;
}

/* 리스트 스타일 개선 */
.news-detail-section .news-content ul {
    margin: 24px 0;
    padding-left: 0;
    list-style: none;
}

.news-detail-section .news-content li {
    font-size: 18px;
    color: #333333;
    line-height: 1.8;
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

.news-detail-section .news-content li:before {
    content: "•";
    color: #1d1d1f;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.news-detail-section .news-content li:last-child {
    margin-bottom: 0;
}

/* 강조 텍스트 스타일 */
.news-detail-section .news-content strong {
    color: #1d1d1f;
    font-weight: 600;
}

/* 제목 스타일 (h3) */
.news-detail-section .news-content h3 {
    font-size: 20px;
    color: #1d1d1f;
    font-weight: 600;
    margin: 40px 0 20px 0;
    line-height: 1.4;
}

/* 뉴스 액션 버튼 섹션 */
.news-actions-section {
    margin-top: 60px;
    padding: 40px 0 80px 0;
    border-top: 1px solid #e9ecef;
}

.news-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.original-btn,
.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.original-btn {
    background: #ffffff;
    color: #666666;
    border: 1px solid #e9ecef;
}

.original-btn:hover {
    background: #f8f9fa;
    color: #333333;
    transform: translateY(-1px);
}

.back-btn {
    background: #1d1d1f;
    color: #ffffff;
    border: 1px solid #1d1d1f;
}

.back-btn:hover {
    background: #333333;
    color: #ffffff;
    transform: translateY(-1px);
}

/* 관련 뉴스 */
.related-news {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid #f1f3f4;
}

.related-news .section-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: left;
}

.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.related-news-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.related-news-item:last-child {
    border-bottom: none;
}

.related-news-item:hover .news-title {
    transform: translateX(12px);
}

.news-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    margin-right: 16px;
    flex-shrink: 0;
}

.news-arrow svg {
    width: 16px;
    height: 16px;
}

.related-news-item .news-title {
    font-size: 16px;
    font-weight: 500;
    color: #1d1d1f;
    line-height: 1.4;
    flex: 1;
    margin: 0;
    transition: transform 0.3s ease;
}

.related-news-item .news-date {
    font-size: 14px;
    color: #888888;
    font-weight: 400;
    margin-left: 16px;
    flex-shrink: 0;
}

/* 뉴스 페이지 반응형 */
@media (max-width: 1200px) {
    .news-image {
        width: 460px;
        height: 300px;
        margin-right: 24px;
    }
    
    .news-page-item {
        padding: 32px 0;
    }
    
    .search-input {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .content-tabs {
        margin-bottom: 0;
        padding: 3px;
        gap: 0;
    }
    
    .tab-btn {
        padding: 14px 24px;
        font-size: 16px;
    }

    .page-header {
        padding: 60px 0 40px 0;
    }
    
    .page-header .container {
        padding: 0 24px;
    }
    
    .page-title {
        font-size: 36px;
        margin-bottom: 12px;
    }
    
    .page-description {
        font-size: 16px;
    }
    
    
    .news-detail-section {
        padding: 0 0 80px 0;
    }
    
    .news-detail-section .container {
        padding: 0 24px;
    }
    
    .news-header {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }
    
    .news-header .news-meta {
        margin-bottom: 16px;
        gap: 12px;
    }
    
    .news-header .news-date {
        font-size: 14px;
    }
    
    .news-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .news-count {
        text-align: center;
    }
    
    .search-input {
        width: 100%;
    }
    
    .news-page-item {
        flex-direction: column;
        padding: 24px 0;
    }
    
    .news-image {
        width: 100%;
        height: 195px;
        margin-right: 0;
        margin-bottom: 16px;
    }
    
    .news-grid {
        margin-bottom: 60px;
    }
    
    .news-page-item .news-title {
        font-size: 18px;
    }
    
    .pagination-numbers {
        margin: 0 8px;
    }
    
    .pagination-number,
    .pagination-btn {
        width: 36px;
        height: 36px;
    }

    .related-news-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0;
    }
    
    .news-arrow {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .related-news-item .news-title {
        margin-bottom: 8px;
    }
    
    .related-news-item .news-date {
        margin-left: 0;
    }

    .news-actions {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .original-btn,
    .back-btn {
        width: 100%;
        justify-content: center;
        padding: 18px 32px;
    }

    .news-header .news-title {
        font-size: 28px;
    }
    
    .news-header .news-subtitle {
        font-size: 16px;
    }
    
    .news-detail-image {
        width: 100%;
        height: auto;
        margin-bottom: 32px;
    }
    
    .news-detail-image img {
        width: 100%;
        height: auto;
    }
    
    .news-detail-section .news-content p {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .news-detail-section .news-content li {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 8px;
        padding-left: 20px;
    }
    
    .news-detail-section .news-content h3 {
        font-size: 18px;
        margin: 32px 0 16px 0;
    }
}

@media (max-width: 480px) {
    .content-tabs {
        padding: 3px;
        gap: 4px;
    }
    
    .tab-btn {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .page-header {
        padding: 40px 0 30px 0;
    }
    
    .page-header .container {
        padding: 0 20px;
    }
    
    .page-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .page-description {
        font-size: 14px;
    }
    
    .news-detail-section {
        padding: 0 0 60px 0;
    }
    
    .news-detail-section .container {
        padding: 0 20px;
    }

    .news-header {
        margin-bottom: 24px;
        padding-bottom: 20px;
    }
    
    .news-header .news-meta {
        margin-bottom: 12px;
        gap: 10px;
    }
    
    .news-header .news-category {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .news-header .news-date {
        font-size: 13px;
    }
    
    .news-header .news-title {
        font-size: 22px;
        line-height: 1.35;
        margin-bottom: 6px;
    }
    
    .news-header .news-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .news-detail-image {
        margin-bottom: 24px;
    }
    
    .image-caption {
        font-size: 13px;
        margin-top: 10px;
    }
    
    .news-detail-section .news-content {
        margin-bottom: 40px;
    }
    
    .news-detail-section .news-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .news-detail-section .news-content li {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 8px;
        padding-left: 18px;
    }
    
    .news-detail-section .news-content h3 {
        font-size: 17px;
        margin: 24px 0 12px 0;
    }
    
    .news-actions-section {
        margin-top: 40px;
        padding: 30px 0 50px 0;
    }
    
    .news-actions {
        gap: 12px;
    }
    
    .original-btn,
    .back-btn {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .related-news {
        margin-top: 50px;
        padding-top: 30px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .related-news-item .news-title {
        font-size: 15px;
    }
    
    .related-news-item .news-date {
        font-size: 13px;
    }

    .pagination-numbers {
        gap: 2px;
    }
}

/* ===========================
   회사소개 페이지 스타일
   =========================== */

.company-main .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.company-header-section {
    padding-top: 40px;
    margin-bottom: 60px;
}

.company-page-title {
    font-weight: 700;
    font-size: 60px;
    line-height: 1.2em;
    letter-spacing: -0.01em;
    color: #212121;
    margin-bottom: 32px;
}

.company-subtitle {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.6em;
    letter-spacing: -0.01em;
    color: #5C57DD;
    margin: 40px 0 20px 0;
}

.company-main-title {
    font-weight: 600;
    font-size: 58px;
    line-height: 1.3em;
    letter-spacing: -0.01em;
    color: #000000;
    margin-bottom: 20px;
}

.company-description {
    font-weight: 300;
    font-size: 18px;
    line-height: 1.556em;
    letter-spacing: -0.01em;
    color: #555;
    margin-bottom: 60px;
}

.company-visual-container {
    position: relative;
    width: 100vw;
    height: 680px;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cubes-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.company-image {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 120%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(92, 87, 221, 0.08);
    pointer-events: none;
}

.company-content-section {
    margin-bottom: 40px;
}

.company-content-text {
    font-weight: 300;
    font-size: 18px;
    line-height: 1.8em;
    letter-spacing: -0.01em;
    color: #333333;
    max-width: 1256px;
    white-space: pre-line;
}

.company-quote-section {
    margin-bottom: 180px;
}

.company-quote-text {
    font-weight: 600;
    font-size: 32px;
    line-height: 1.5em;
    letter-spacing: -0.01em;
    color: #000000;
    max-width: 976px;
    margin-bottom: 80px;
}

.company-author {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4em;
    letter-spacing: -0.01em;
    color: #666666;
}

/* 회사소개 페이지 반응형 */
@media (max-width: 1200px) {
    .company-main .container {
        padding: 0 40px;
    }

    .company-header-section {
        padding-top: 30px;
        margin-bottom: 50px;
    }

    .company-page-title {
        font-size: 48px;
        margin-bottom: 28px;
    }

    .company-subtitle {
        margin: 32px 0 16px 0;
    }

    .company-main-title {
        font-size: 48px;
    }

    .company-description {
        margin-bottom: 50px;
    }

    .company-visual-container {
        height: 500px;
        margin-bottom: 60px;
    }

    .company-content-section {
        margin-bottom: 30px;
    }

    .company-quote-section {
        margin-bottom: 120px;
    }

    .company-quote-text {
        font-size: 28px;
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .company-main .container {
        padding: 0 24px;
    }

    .company-header-section {
        padding-top: 20px;
        margin-bottom: 40px;
    }

    .company-visual-container {
        height: 400px;
        margin-bottom: 50px;
    }

    .company-page-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .company-subtitle {
        font-size: 16px;
        margin: 24px 0 12px 0;
    }

    .company-main-title {
        font-size: 32px;
        line-height: 1.4em;
        margin-bottom: 16px;
    }

    .company-description {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .company-content-section {
        margin-bottom: 30px;
    }

    .company-content-text {
        font-size: 16px;
        line-height: 1.7em;
    }

    .company-quote-section {
        margin-bottom: 80px;
    }

    .company-quote-text {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .company-author {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .company-main .container {
        padding: 0 25px;
    }

    .company-header-section {
        padding-top: 16px;
        margin-bottom: 30px;
    }

    .company-page-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .company-subtitle {
        font-size: 14px;
        margin: 20px 0 10px 0;
    }

    .company-main-title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .company-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .company-visual-container {
        height: 300px;
        margin-bottom: 40px;
    }

    .company-content-text {
        font-size: 15px;
    }

    .company-quote-section {
        margin-bottom: 60px;
    }

    .company-quote-text {
        font-size: 20px;
        line-height: 1.4em;
        margin-bottom: 30px;
    }

    .company-author {
        font-size: 15px;
    }
}

/* ===========================
   Scroll to Top 버튼
   =========================== */

.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 56px;
    height: 56px;
    background: #5C57DD;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(92, 87, 221, 0.3);
}

.scroll-to-top:hover {
    background: #4a47c4;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(92, 87, 221, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top svg {
    color: #ffffff;
}

.scroll-to-top.on-white-bg {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.scroll-to-top.on-white-bg:hover {
    background: #f5f5f5;
    border-color: #5C57DD;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.scroll-to-top.on-white-bg svg {
    color: #1a1a1a;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}


/* 아랍어도 왼쪽 정렬로 통일 */
.rtl-mode {
    direction: ltr; /* 레이아웃은 LTR 유지 */
}

.rtl-mode .news-page-item {
    text-align: left; /* 텍스트도 왼쪽 정렬로 통일 */
}

.rtl-mode .news-title,
.rtl-mode .news-excerpt,
.rtl-mode .blog-title,
.rtl-mode .blog-excerpt {
    text-align: left;
}

.rtl-mode .news-meta {
    text-align: left;
}

.rtl-mode .news-date {
    text-align: left;
}

/* 아랍어 폰트 설정 */
[lang="ar"] {
    font-family: 'Arial', 'Tahoma', 'Segoe UI', sans-serif;
}

[lang="ar"] .page-title,
[lang="ar"] .news-title,
[lang="ar"] .news-excerpt,
[lang="ar"] .blog-title,
[lang="ar"] .blog-excerpt,
[lang="ar"] .news-category,
[lang="ar"] .blog-category {
    font-family: 'Arial', 'Tahoma', 'Segoe UI', sans-serif;
    direction: ltr; /* 왼쪽 정렬로 통일 */
    text-align: left;
}

/* 아랍어 텍스트 줄 간격 조정 */
[lang="ar"] .news-excerpt,
[lang="ar"] .blog-excerpt {
    line-height: 1.6;
}

/* 아랍어 버튼 텍스트 */
[lang="ar"] .tab-btn {
    font-family: 'Arial', 'Tahoma', 'Segoe UI', sans-serif;
}

/* 플로팅 버튼 컨테이너 */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

/* 플로팅 버튼 공통 스타일 */
.floating-btn {
    width: 120px;
    height: 50px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    position: relative;
    border: none;
    overflow: hidden;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.floating-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    stroke: currentColor;
}

/* 영상 바로가기 버튼 - 라인 스타일 */
.floating-video-btn {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid #5C57DD !important;
    color: #5C57DD !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.floating-video-btn:hover {
    background: #5C57DD !important;
    color: white !important;
    border: 2px solid #5C57DD !important;
    box-shadow: 0 12px 40px rgba(92, 87, 221, 0.3);
}

/* 회사소개서 다운로드 버튼 - 플랫한 색상 */
.floating-download-btn {
    background: #5C57DD !important;
    color: white !important;
    border: none !important;
}

.floating-download-btn:hover {
    background: #4A46C7 !important;
    color: white !important;
    box-shadow: 0 12px 40px rgba(92, 87, 221, 0.3);
}

/* 모바일에서 플로팅 버튼 위치 조정 */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 100px;
        height: 45px;
        border-radius: 100px;
    }
    
    .floating-btn svg {
        width: 20px;
        height: 20px;
    }
}
