/**********************************************************************************
    KONEKSI WEBSITE - CSS STYLES
    블랙/네이비 톤앤매너 - 신뢰성 있는 데이터 보안 기업 이미지
**********************************************************************************/

/**********************************************************************************
    FONTS
**********************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800&family=Pretendard:wght@300;400;500;700&display=swap');

/**********************************************************************************
    CSS VARIABLES - KONEKSI BRAND COLORS
**********************************************************************************/
:root {
    /* Primary Colors */
    --primary-black: #000000;
    --primary-navy: #1a237e;
    --secondary-navy: #303f9f;
    --accent-blue: #2196f3;
    --accent-teal: #00BCD4;

    /* Text Colors */
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --text-light-gray: #e0e0e0;

    /* Background Colors */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-navy: #0f1419;
    --bg-overlay: rgba(0, 0, 0, 0.8);

    /* Accent Colors */
    --highlight-blue: #4fc3f7;
    --border-gray: #333;

    /* Typography */
    --font-primary: "Pretendard", "Outfit", AppleGothic, sans-serif;
    --font-english: "Outfit", sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max-width: 1400px;
}

/**********************************************************************************
    RESET & BASE
**********************************************************************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-white);
    background: var(--primary-black);
    line-height: 1.6;
    letter-spacing: -0.02em;
    overflow-x: hidden;
}

ol, ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

button {
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
}

/**********************************************************************************
    LAYOUT
**********************************************************************************/
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

/**********************************************************************************
    BUTTONS
**********************************************************************************/
.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    background: var(--accent-blue);
    color: var(--text-white);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary:hover {
    background: var(--secondary-navy);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 32px;
    background: transparent;
    color: var(--text-white);
    font-weight: 600;
    border: 2px solid var(--text-white);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-black);
}

.btn-primary-large {
    display: inline-block;
    padding: 20px 48px;
    background: var(--accent-blue);
    color: var(--text-white);
    font-weight: 700;
    font-size: 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-primary-large:hover {
    background: var(--secondary-navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
}

/**********************************************************************************
    HEADER
**********************************************************************************/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-family: var(--font-english);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-white);
}

.logo img {
    height: 25px;
    width: auto;
}

.nav {
    display: flex;
    gap: 48px;
}

.nav a {
    font-weight: 500;
    color: var(--text-white);
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--accent-blue);
}

/* 모바일 nav 내 도입문의는 데스크톱에서 숨김 */
.nav-contact-mobile {
    display: none;
}

/* Header Actions - 언어선택 + 도입문의 버튼 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-contact-header {
    padding: 10px 24px;
    background: var(--accent-blue);
    color: var(--text-white);
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-contact-header:hover {
    background: var(--secondary-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.language-selector {
    position: relative;
}

.language-current {
    padding: 8px 12px;
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    min-width: 100px;
}

.language-current:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-blue);
}

.current-flag {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.current-lang {
    font-weight: 500;
}

.dropdown-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.language-selector.on .dropdown-arrow {
    transform: rotate(180deg);
}

/* 기본 드롭다운 스타일 - 숨김 */
.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    min-width: 120px;
}

/* on 상태일 때 드롭다운 보이기 */
.language-selector.on .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text-white);
    cursor: pointer;
    transition: background 0.2s ease;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-option.active {
    background: rgba(33, 150, 243, 0.1);
    color: var(--accent-blue);
}

.language-option img {
    width: 18px;
    height: auto;
    border-radius: 2px;
}


.language-option:first-child {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.language-option:last-child {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        padding: 100px 40px 40px 40px;
        flex-direction: column;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
        z-index: 999;
        overflow-y: auto;
    }

    .nav.mobile-open {
        transform: translateX(0);
    }

    .nav::before {
        content: '';
        position: absolute;
        top: 24px;
        left: 50%;
        transform: translateX(-50%);
        width: 140px;
        height: 20px;
        background-image: url('../images/koneksi-logo.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .nav a {
        font-size: 28px;
        font-weight: 600;
        padding: 24px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        transition: all 0.3s ease;
    }

    .nav a:hover {
        color: var(--accent-blue);
        padding-left: 16px;
    }

    .nav a:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* 모바일 메뉴에서 도입문의 링크 표시 */
    .nav-contact-mobile {
        display: block !important;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* 모바일에서 header-actions 스타일 */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        margin-right: 8px;
        z-index: 10;
    }

    /* 모바일에서 도입문의 버튼 스타일 */
    .btn-contact-header {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* 모바일에서 언어 토글 스타일 수정 */
    .language-toggle {
        z-index: 1001;
    }

    .language-current {
        padding: 6px 8px;
        min-width: auto;
    }

    .current-lang {
        display: none; /* 모바일에서 '한국어' 텍스트 숨김 */
    }

    .current-flag {
        width: 18px;
    }

    .dropdown-arrow {
        margin-left: 4px;
    }

    /* 모바일에서 드롭다운 크기 조정 */
    .language-dropdown {
        min-width: 100px;
        right: -10px;
        left: auto;
    }

    /* 메뉴가 열렸을 때 body 스크롤 방지 (선택사항) */
    body.menu-open {
        overflow: hidden;
    }
}

/**********************************************************************************
    IDENTITY SECTION
**********************************************************************************/
.identity-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--primary-black);
    overflow: hidden;
}

.identity-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--section-padding);
}

.main-title h1 {
    font-family: var(--font-english);
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    /* color: var(--text-white); */
}

.main-title h1.animated-title {
    user-select: none !important;
    font-weight: 900 !important;
    letter-spacing: 0.125rem !important;
    position: relative !important;
    cursor: pointer !important;
    text-align: center !important;
    width: fit-content !important;
    color: transparent !important;
    background-image: linear-gradient(to right, #FFF 20%, #4fc3f7 40%, #4fc3f7 60%, #FFF 80%) !important;
    background-size: 200% 200% !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    animation: titleMove 5s linear infinite !important;
}

.subtitle {
    font-size: 24px;
    color: var(--text-light-gray);
    margin-bottom: 32px;
    font-weight: 500;
}

.description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 48px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.action-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Background Video Slider */
.bg-video-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.identity-video-swiper {
    width: 100%;
    height: 100%;
}

.identity-video-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/**********************************************************************************
    SOLUTION SECTION
**********************************************************************************/
.solution-section {
    padding: var(--section-padding);
    background: var(--bg-navy);
    position: relative;
}

.solution-header {
    text-align: center;
    margin-bottom: 80px;
}

.solution-title h2 {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 32px;
    color: var(--text-white);
    line-height: 1.3;
}

.koneksi_small { font-size: 33px;}

.product-name {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.koneksi {
    font-family: var(--font-english);
    font-size: 48px;
    font-weight: 800;
    color: var(--text-white);
}

.datark {
    font-family: var(--font-english);
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-navy);
    background: var(--text-white);
    padding: 8px 16px;
    border-radius: 8px;
}

.solution-description {
    font-size: 18px;
    color: var(--text-light-gray);
    line-height: 1.8;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: center;
    margin-bottom: 60px;
}

.solution-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
}

.feature-icon {
    font-weight: 600;
    color: var(--accent-blue);
    min-width: 100px;
    font-size: 24px;
}

.feature-arrow {
    color: var(--text-gray);
    font-size: 15px;
    min-width: 18px;
}

.feature-title {
    color: var(--text-white);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.6;
}

.solution-description-bottom {
    text-align: center;
    margin-bottom: 40px;
}

.solution-description-bottom p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-light-gray);
}

.highlight {
    color: var(--accent-blue);
    font-weight: 700;
}

.solution-bottom {
    text-align: center;
}

.solution-bottom p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .solution-content {
        grid-template-columns: 1fr;
        gap: 40px;
        display: block;
    }

    .product-name {
        flex-direction: column;
        gap: 8px;
    }

    .koneksi, .datark {
        font-size: 36px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }
}

/**********************************************************************************
    BENEFITS SECTION
**********************************************************************************/
.benefits-section {
    padding: var(--section-padding);
    background: var(--primary-black);
    position: relative;
    background-image: url('../images/sec_bg_1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.benefits-section .container {
    position: relative;
    z-index: 2;
}

.benefits-header {
    text-align: center;
    margin-bottom: 80px;
}

.benefits-quote {
    font-size: clamp(20px, 3vw, 32px);
    line-height: 1.6;
    color: var(--text-light-gray);
    max-width: 900px;
    margin: 0 auto;
}

.benefits-slider .swiper {
    padding-bottom: 60px;
}

.benefit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    min-height: 400px;
}

.benefit-text {
    text-align: right;
}

.benefit-diagram {
    text-align: left;
}

.benefit-text h3 {
    font-size: 36px;
    color: var(--text-white);
    margin-bottom: 24px;
}

.benefit-text p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
}

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

.benefit-diagram img {
    max-width: 80%;
    height: auto;
    border-radius: 12px;
    opacity: 0.9;
}

.platform-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.platform-item {
    padding: 24px;
    background: var(--bg-navy);
    color: var(--text-white);
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--accent-blue);
}

.benefits-pagination {
    text-align: center;
    margin-top: 40px;
}

.benefits-pagination .swiper-pagination-bullet {
    background: var(--text-gray);
    opacity: 0.5;
}

.benefits-pagination .swiper-pagination-bullet-active {
    background: var(--accent-blue);
    opacity: 1;
}

.benefits-prev,
.benefits-next {
    color: var(--accent-blue);
    font-size: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.benefits-prev {
    left: 10px;
}

.benefits-next {
    right: 10px;
}

@media (max-width: 768px) {
    .benefit-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .platform-options {
        grid-template-columns: 1fr;
    }
}

/**********************************************************************************
    REFERENCES SECTION
**********************************************************************************/
.references-section {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.references-header {
    text-align: center;
    margin-bottom: 80px;
}

.references-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--text-white);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.reference-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-gray);
}

.reference-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-blue);
}

.reference-category {
    font-size: 16px;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 16px;
}

.reference-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-navy);
    color: var(--text-white);
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 24px;
}

/* Impact Charts */
.impact-chart {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    height: 200px;
}

/* 숫자만 표시 */
.number-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    padding: 40px;
}

.number-display .chart-number {
    font-size: 72px;
    font-weight: 700;
    color: var(--text-white);
    font-family: var(--font-english);
    line-height: 1;
}

.number-display .chart-unit {
    font-size: 48px;
    font-weight: 600;
    color: var(--accent-blue);
    line-height: 1;
}

/* 원형 그래프 */
.circle-chart {
    width: 200px;
    height: 200px;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 15;
}

.circle-progress {
    fill: none;
    stroke: var(--accent-blue);
    stroke-width: 15;
    stroke-linecap: round;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    transition: stroke-dashoffset 2s ease;
}

.circle-chart .chart-number {
    font-size: 36px;
    font-weight: 700;
    fill: var(--text-white);
    text-anchor: middle;
    dominant-baseline: middle;
    transform: rotate(90deg);
    transform-origin: center;
    font-family: var(--font-english);
}

.circle-chart .chart-unit {
    font-size: 36px;
    font-weight: 600;
    fill: var(--accent-blue);
    text-anchor: middle;
    dominant-baseline: middle;
    transform: rotate(90deg);
    transform-origin: center;
}

/* 비교 바 그래프 */
.comparison-bar-chart {
    width: 100%;
    max-width: 220px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.bar-label-left {
    font-size: 14px;
    color: var(--text-gray);
    min-width: 60px;
    font-weight: 500;
}

.bar-wrapper {
    flex: 1;
    position: relative;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
}

.bar-base {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

.bar-reduced {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--highlight-blue));
    border-radius: 6px;
    transition: width 2s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.bar-value,
.bar-value-reduced {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    font-family: var(--font-english);
}

.savings-label {
    text-align: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.savings-label .chart-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-white);
    font-family: var(--font-english);
}

.savings-label .chart-unit {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-blue);
    margin-left: 4px;
}

/* 라인 그래프 */
.line-chart {
    width: 100%;
    max-width: 200px;
}

.line-chart svg {
    width: 100%;
    height: 140px;
    margin-bottom: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 10px;
}

/* 그리드 라인 */
.grid-line-chart {
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 1;
    stroke-dasharray: 4, 4;
}

/* X축, Y축 라인 (L자형) */
.axis-line {
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 2;
}

.line-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 2;
}

.line-progress {
    fill: none;
    stroke: var(--accent-blue);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 2s ease;
    filter: drop-shadow(0 0 6px var(--accent-blue));
}

.line-label {
    text-align: center;
}

.line-label .chart-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-white);
    font-family: var(--font-english);
}

.line-label .chart-unit {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-blue);
    margin-left: 4px;
}

.reference-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-darker);
    border-radius: 8px;
    border: 1px solid var(--border-gray);
}

.reference-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* Desktop/Mobile Toggle */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Ensure desktop references grid is preserved */
.references-grid.desktop-only {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px !important;
}

/* References Slider for Mobile */
.references-slider .swiper {
    padding-bottom: 60px;
}

.references-slider .reference-item {
    margin: 0 auto;
    width: 100%;
}

.references-pagination {
    text-align: center;
    margin-top: 30px;
}

.references-pagination .swiper-pagination-bullet {
    background: var(--text-gray);
    opacity: 0.5;
}

.references-pagination .swiper-pagination-bullet-active {
    background: var(--accent-blue);
    opacity: 1;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: initial !important;
    }

    .references-slider .swiper {
        display: block !important;
    }
}

/**********************************************************************************
    PARTNERS SECTION
**********************************************************************************/
.partners-section {
    padding: var(--section-padding);
    background: var(--primary-black);
    position: relative;
    background-image: url('../images/sec_bg_2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.83);
    z-index: 1;
}

.partners-section .container {
    position: relative;
    z-index: 2;
}

.partners-header {
    text-align: center;
    margin-bottom: 80px;
}

.partners-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--text-white);
    line-height: 1.3;
}

.partners-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.partners-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partner-logo {
    height: 85px;
    width: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 1);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
}

.partner-logo:hover {
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
}

.partner-logo img {
    max-width: 85%;
    max-height: 70px;
    object-fit: contain;
    opacity: 1;
}

/* Logo placeholder styles */
.logo-placeholder {
    color: var(--text-light-gray);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    opacity: 0.8;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.partner-logo:hover .logo-placeholder {
    color: var(--accent-blue);
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .partners-row {
        gap: 24px;
    }

    .partner-logo {
        width: 110px;
        height: 110px;
    }
}

/**********************************************************************************
    CTA SECTION
**********************************************************************************/
.cta-section {
    padding: var(--section-padding);
    background:
        linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8)),
        url('../images/in_bg.webp'),
        linear-gradient(-45deg, #000000, #1a237e, #303f9f, #2196f3, #1a237e, #000000);
    background-size: cover, cover, 400% 400%;
    background-position: center, center, center;
    background-repeat: no-repeat, no-repeat, repeat;
    animation: gradientShift 15s ease infinite;
    text-align: center;
    position: relative;
}

.cta-content {
    margin-bottom: 80px;
}

.cta-content h2 {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--text-white);
    margin-bottom: 32px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 20px;
    color: var(--text-light-gray);
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-alternative {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 60px;
}

.cta-alternative h3 {
    font-size: 32px;
    color: var(--text-white);
    margin-bottom: 24px;
}

.cta-alternative p {
    font-size: 18px;
    color: var(--text-light-gray);
    margin-bottom: 40px;
}

.cta-buttons-alt {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-demo {
    padding: 16px 32px;
    background: var(--accent-blue);
    color: var(--text-white);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-blue);
}

.btn-demo:hover {
    background: transparent;
    color: var(--accent-blue);
}

.btn-contact {
    padding: 16px 32px;
    background: transparent;
    color: var(--text-white);
    font-weight: 600;
    border: 2px solid var(--text-white);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--text-white);
    color: var(--primary-navy);
}

@media (max-width: 768px) {
    .cta-buttons-alt {
        flex-direction: column;
        align-items: center;
    }
}

/**********************************************************************************
    FOOTER
**********************************************************************************/
.footer {
    background: var(--bg-darker);
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-gray);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.footer-logo {
    font-family: var(--font-english);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-white);
}
.footer-logo img { width: 165px; }

.footer-info {
    color: var(--text-gray);
    line-height: 1.8;
}

.footer-info p {
    margin-bottom: 8px;
}

.footer-info strong {
    color: var(--text-white);
}

.footer-policies {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
}

.policy-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 6px;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.policy-link i {
    color: var(--accent-blue);
    font-size: 16px;
}

.policy-link:hover {
    background: rgba(33, 150, 243, 0.1);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.policy-divider {
    color: #444;
    font-size: 14px;
}

.copyright {
    margin-top: 12px;
    font-size: 13px;
    color: #666;
}

.footer-link {
    color: var(--accent-blue);
    text-decoration: underline;
}

.footer-link:hover {
    color: var(--text-white);
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent-blue);
    color: var(--text-white);
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-btn:hover {
    background: var(--secondary-navy);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-icon {
    color: var(--text-light-gray);
    font-size: 14px;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    color: var(--text-gray);
    font-size: 14px;
    padding: 8px 12px;
    background: var(--border-gray);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-blue);
    color: var(--text-white);
}

/**********************************************************************************
    MAP SECTION
**********************************************************************************/
.map-section {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.map-header {
    text-align: center;
    margin-bottom: 48px;
}

.map-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-white);
}

.map-container {
    margin-bottom: 48px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    filter: grayscale(20%) brightness(0.8);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%) brightness(1);
}

.location-info {
    display: flex;
    justify-content: center;
}

.location-details {
    text-align: center;
    max-width: 800px;
}

.location-details h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
}

.location-details .address {
    font-size: 18px;
    color: var(--text-light-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-info p {
    color: var(--text-gray);
    font-size: 16px;
}

.contact-info span {
    color: var(--accent-blue);
    font-weight: 600;
    margin-right: 8px;
}

/**********************************************************************************
    CTA SECTION UPDATES
**********************************************************************************/
.cta-subtitle {
    margin: 32px 0;
    text-align: center;
}

.cta-subtitle h3 {
    font-size: 24px;
    color: var(--text-light-gray);
    margin-bottom: 16px;
    font-weight: 500;
}

.cta-subtitle p {
    color: var(--text-gray);
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .map-header h2 {
        font-size: 36px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer {
        padding: 32px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer-logo img {
        width: 100px;
        margin-bottom: 8px;
    }

    .footer-info {
        font-size: 10px;
        line-height: 1.5;
    }

    .footer-info p {
        margin-bottom: 5px;
    }

    .footer-info strong {
        font-size: 11px;
    }

    .footer-policies {
        flex-direction: column;
        gap: 10px;
        margin: 12px 0;
    }

    .policy-link {
        width: 100%;
        justify-content: center;
        padding: 10px 12px;
        font-size: 12px;
    }

    .policy-link i {
        font-size: 14px;
    }

    .policy-divider {
        display: none;
    }

    .copyright {
        font-size: 11px;
    }

    .footer-buttons {
        gap: 10px;
    }

    .footer-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .social-icon {
        font-size: 11px;
    }

    .social-links {
        justify-content: center;
        gap: 10px;
    }

    .social-link {
        font-size: 12px;
        padding: 6px 8px;
    }
}

/**********************************************************************************
    SECTION BACKGROUND EFFECTS
**********************************************************************************/

/* Solution Section - Floating Shapes */
.section-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.1;
    z-index: 1;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-blue), var(--secondary-navy));
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    border-radius: 50%;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 70%;
    border-radius: 20% 80% 30% 70% / 60% 40% 60% 40%;
}

/* Benefits Section - Grid Pattern */
.section-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.05;
    z-index: 1;
}

.grid-lines {
    position: relative;
    width: 100%;
    height: 100%;
}

.grid-line {
    position: absolute;
    background: var(--accent-blue);
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
    top: 0;
}

.grid-line.vertical:nth-child(1) { left: 20%; }
.grid-line.vertical:nth-child(2) { left: 50%; }
.grid-line.vertical:nth-child(3) { left: 80%; }

.grid-line.horizontal {
    width: 100%;
    height: 1px;
    left: 0;
}

.grid-line.horizontal:nth-child(4) { top: 25%; }
.grid-line.horizontal:nth-child(5) { top: 50%; }
.grid-line.horizontal:nth-child(6) { top: 75%; }

/* References Section - Particles */
.section-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.15;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0.8;
}

.particle:nth-child(1) { top: 20%; left: 10%; }
.particle:nth-child(2) { top: 40%; left: 30%; }
.particle:nth-child(3) { top: 60%; left: 70%; }
.particle:nth-child(4) { top: 30%; left: 85%; }
.particle:nth-child(5) { top: 80%; left: 20%; }
.particle:nth-child(6) { top: 70%; left: 60%; }

/* Partners Section - Wave Pattern */
.section-bg-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.08;
    z-index: 1;
}

.wave-pattern {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.wave-pattern path {
    fill: var(--accent-blue);
}

/* Map Section - Hexagon Pattern */
.section-bg-hexagons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.06;
    z-index: 1;
}

.hexagon-pattern {
    position: relative;
    width: 100%;
    height: 100%;
}

.hexagon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--accent-blue);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
}

.hexagon:nth-child(1) { top: 15%; left: 15%; }
.hexagon:nth-child(2) { top: 30%; left: 75%; }
.hexagon:nth-child(3) { top: 60%; left: 25%; }
.hexagon:nth-child(4) { top: 45%; left: 60%; }
.hexagon:nth-child(5) { top: 80%; left: 80%; }

/* Section Container Positioning */
.solution-section,
.benefits-section,
.references-section,
.partners-section,
.map-section {
    position: relative;
    overflow: hidden;
}

/* Temporarily remove initial states to see if GSAP is working */
/*
.solution-section .container,
.benefits-section .container,
.references-section .container,
.partners-section .container,
.map-section .container {
    opacity: 0;
    transform: translateY(50px);
}

.solution-header,
.benefits-header,
.references-header,
.partners-header,
.map-header {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
}

.reference-item {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
}

.partner-logo {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
}
*/

.solution-section .container,
.benefits-section .container,
.references-section .container,
.partners-section .container,
.map-section .container {
    position: relative;
    z-index: 2;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .section-bg-pattern,
    .section-bg-grid,
    .section-bg-particles,
    .section-bg-waves,
    .section-bg-hexagons {
        opacity: 0.03;
    }

    .shape {
        transform: scale(0.7);
    }

    .hexagon {
        transform: scale(0.8);
    }
}

/**********************************************************************************
    AOS ANIMATIONS
**********************************************************************************/
[data-aos] {
    transition-duration: 1s;
}

/**********************************************************************************
    SWIPER CUSTOMIZATION
**********************************************************************************/
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--text-gray);
    opacity: 0.5;
    border-radius: 50%;
}

.swiper-pagination-bullet-active {
    background: var(--accent-blue);
    opacity: 1;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--accent-blue);
    font-size: 24px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: var(--text-white);
}

/**********************************************************************************
    UTILITIES
**********************************************************************************/
.text-center {
    text-align: center;
}

.mb-large {
    margin-bottom: 80px;
}

.mb-medium {
    margin-bottom: 48px;
}

.mb-small {
    margin-bottom: 24px;
}

/**********************************************************************************
    KEYFRAME ANIMATIONS
**********************************************************************************/
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes titleMove {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: -200% center;
    }
}

/* ==================== Awards Section ==================== */
.awards-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 50%, #0f0f1e 100%);
    position: relative;
    overflow: hidden;
}

.awards-header {
    text-align: center;
    margin-bottom: 80px;
}

.awards-header h2, .references-header h2, .partners-header h2,
.solution-title h2, .section-header h2{
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.awards-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin: 0;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.award-item {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.05) 0%, rgba(26, 35, 126, 0.05) 100%);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.award-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.1), transparent);
    transition: left 0.6s ease;
}

.award-item:hover::before {
    left: 100%;
}

.award-item:hover {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(26, 35, 126, 0.1) 100%);
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.2);
}

.award-logo {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(33, 150, 243, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 12px;
}

.award-item:hover .award-logo {
    border-color: var(--accent-blue);
    background: rgba(33, 150, 243, 0.1);
    transform: scale(1.05) rotate(2deg);
}

.award-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 1;
}

.award-content {
    flex: 1;
}

.award-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 12px;
}

.award-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 140px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), transparent);
    transition: width 0.3s ease;
}

.award-item:hover .award-content h4::after {
    width: 320px;
}

.award-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.award-content ul li {
    font-size: 15px;
    color: var(--text-gray);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.award-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(33, 150, 243, 0.6);
}

/* Responsive */
@media (max-width: 968px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .awards-section {
        padding: 60px 0;
    }

    .awards-header {
        margin-bottom: 40px;
    }

    .awards-header h2 {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .awards-subtitle {
        font-size: 14px;
    }

    .awards-grid {
        gap: 16px;
    }

    .award-item {
        padding: 20px;
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 16px;
    }

    .award-logo {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .award-content h4 {
        font-size: 16px;
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    .award-content h4::after {
        display: none;
    }

    .award-content ul {
        display: none;
    }
}

/**********************************************************************************
    CONTACT MODAL
**********************************************************************************/
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.contact-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 85vh;
    background: #0a0a0a;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    z-index: 10000;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.modal-body {
    position: relative;
    width: 100%;
    height: 100%;
    color: var(--text-white);
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    color-scheme: dark;
}

/* Contact Form Styling - Black Theme */
.contact-form-wrapper {
    padding: 40px;
    margin: 0 auto;
    height: 100%;
    overflow-y: auto;
}

/* 스크롤바 스타일링 */
.contact-form-wrapper::-webkit-scrollbar {
    width: 12px;
}

.contact-form-wrapper::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 6px;
}

.contact-form-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 6px;
    border: 2px solid #1a1a1a;
}

.contact-form-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-navy);
}

/* Firefox 스크롤바 */
.contact-form-wrapper {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) #1a1a1a;
}

.form-header-image {
    text-align: center;
    margin-bottom: 20px;
}

.form-header-image img {
    height: auto;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
    text-align: center;
}

.form-description {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 6px;
    color: var(--text-white);
    font-size: 14px;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1a1a1a;
    color: var(--text-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.radio-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #333;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-white);
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.radio-label:hover {
    border-color: var(--accent-blue);
    background: rgba(33, 150, 243, 0.1);
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-label input[type="radio"]:checked + span,
.radio-label:has(input[type="radio"]:checked) {
    border-color: var(--accent-blue);
    background: var(--accent-blue);
    color: var(--text-white);
    font-weight: 600;
}

.radio-label span {
    pointer-events: none;
}

.checkbox-group {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: var(--text-white);
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    cursor: pointer;
    accent-color: var(--accent-blue);
    margin-top: 2px;
}

.privacy-text {
    line-height: 1.6;
}

.privacy-details {
    margin-top: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--accent-blue);
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-gray);
}

/* ==========================================
   Policy Modals
   ========================================== */

.policy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}

.policy-modal.active {
    display: flex;
}

.policy-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 1;
}

.policy-modal .modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 80vh;
    max-height: 800px;
    background: #1a1a1a;
    border-radius: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.policy-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: all 0.3s ease;
    z-index: 3;
}

.policy-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.policy-modal .modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 32px;
    background: #222;
    border-bottom: 1px solid #333;
}

.policy-modal .modal-header i {
    font-size: 24px;
    color: var(--accent-blue);
}

.policy-modal .modal-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
}

.policy-modal .modal-body {
    flex: 1;
    overflow: hidden;
    background: #1a1a1a;
}

.policy-modal .modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .policy-modal .modal-content {
        width: 95%;
        height: 85vh;
        border-radius: 8px;
    }

    .policy-modal .modal-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    .policy-modal .modal-header {
        padding: 16px 20px;
    }

    .policy-modal .modal-header i {
        font-size: 20px;
    }

    .policy-modal .modal-header h2 {
        font-size: 18px;
    }
}

.privacy-details p {
    margin-bottom: 8px;
}

.privacy-details p:last-child {
    margin-bottom: 0;
}

.privacy-details strong {
    color: var(--text-white);
    font-size: 13px;
}

.btn-submit {
    width: 100%;
    padding: 16px 32px;
    background: var(--accent-blue);
    color: var(--text-white);
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-submit:hover {
    background: var(--secondary-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

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

.btn-submit:disabled {
    background: #444;
    cursor: not-allowed;
    transform: none;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease;
}

.form-success svg {
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 16px;
    color: var(--text-gray);
}

.form-error {
    padding: 16px;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 8px;
    margin-top: 16px;
}

.form-error p {
    color: #f44336;
    font-size: 14px;
    margin: 0;
    text-align: center;
}

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

/* 모바일 모달 및 폼 스타일 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 90vh;
        max-width: none;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    .contact-form-wrapper {
        padding: 24px 20px;
    }

    .form-title {
        font-size: 24px;
    }

    .form-description {
        font-size: 14px;
        margin-bottom: 24px;
    }


    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
    }
}

/* body에 모달이 열렸을 때 스크롤 방지 */
body.modal-open {
    overflow: hidden;
}

/* Award Details Box */
.award-details-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1005;
    display: none;
    align-items: center;
    justify-content: center;
}

.award-details-box.active {
    display: flex;
}

.details-content {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.details-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

#awardDetailsContent h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--accent-blue);
}

#awardDetailsContent ul {
    list-style: none;
    padding: 0;
}

#awardDetailsContent ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}


