/* CSS Variables */
:root {
    --primary-color: #FF3131;
    --text-primary: #020202;
    --text-secondary: rgba(2, 2, 2, 0.6);
    --background-light: #F5F5F7;
    --white: #FFFFFF;
    --black: #000000;
    --font-primary: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: "Pretendard GOV", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    background: white;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
}

/* 기본 스크롤바 숨기기 */
::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 커스텀 스크롤바 손잡이 */
.custom-scrollbar {
    position: fixed;
    right: 8px;
    top: 0;
    width: 8px;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

.custom-scrollbar-thumb {
    position: absolute;
    right: 0;
    width: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.3s ease, width 0.2s ease;
}

.custom-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
    width: 10px;
}

.custom-scrollbar-thumb.dragging {
    background: rgba(0, 0, 0, 0.6);
    width: 10px;
}

/* 스크롤 애니메이션을 위한 기본 클래스 */
.fade-in-section {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 다양한 애니메이션 딜레이 */
.fade-in-section.delay-1 {
    transition-delay: 0.1s;
}

.fade-in-section.delay-2 {
    transition-delay: 0.2s;
}

.fade-in-section.delay-3 {
    transition-delay: 0.3s;
}

.fade-in-section.delay-4 {
    transition-delay: 0.4s;
}

/* 좌측에서 슬라이드인 */
.slide-in-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 우측에서 슬라이드인 */
.slide-in-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Services to Footer Gradient Background */
.services-section {
    background: white;
    padding-bottom: 80px;
}

.review-section {
    background: white;
    padding-bottom: 150px;
}

.contact-section {
    margin-top: 100px;
    margin-bottom: 0;
    padding-bottom: 400px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 1) 0%,
        rgba(250, 250, 252, 1) 40%,
        rgba(248, 248, 250, 1) 70%,
        rgba(245, 245, 247, 1) 100%);
}

/* Footer styles */
footer {
    margin-top: 100px;
    background: transparent;
}

.gradient-section {
    width: 100vw;
    height: 2500px;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 1) 0%, 
        rgba(0, 0, 0, 1) 20%, 
        rgba(0, 0, 0, 0.95) 30%, 
        rgba(0, 0, 0, 0.9) 40%, 
        rgba(0, 0, 0, 0.8) 50%, 
        rgba(0, 0, 0, 0.65) 60%, 
        rgba(0, 0, 0, 0.5) 70%, 
        rgba(0, 0, 0, 0.35) 80%, 
        rgba(0, 0, 0, 0.2) 85%, 
        rgba(0, 0, 0, 0.1) 90%, 
        rgba(0, 0, 0, 0.03) 95%, 
        rgba(0, 0, 0, 0) 100%);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    display: flex;
    align-items: flex-start;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    overflow: hidden;
    justify-content: center;
    padding-top: 0;
    z-index: 1;
}


/* Radial Lines Background */
.radial-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -999;
    pointer-events: auto;
    cursor: pointer;
}


#radial-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -999;
}


/* Hero Title Section */
.hero-title-section {
    position: absolute;
    top: clamp(100px, 15vh, 150px);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 100;
    max-width: 1200px;
    width: 90%;
}

.hero-label {
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.8);
}

.hero-title-section .hero-main-title {
    font-family: var(--font-primary);
    font-size: clamp(60px, min(10vw, 14vh), 140px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: clamp(20px, 3vh, 30px);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.03em;
    color: white;
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: clamp(16px, min(2vw, 2.4vh), 24px);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: clamp(6px, 1vh, 8px);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-text-container {
    text-align: center;
    color: white;
    z-index: 10;
    position: relative;
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow: visible;
    pointer-events: none;
}

.hero-main-title {
    font-family: var(--font-primary);
    font-size: clamp(60px, min(8vw, 12vh), 120px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: clamp(30px, 4vh, 40px);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), text-shadow 0.3s ease;
    cursor: default;
}

.hero-main-title:hover {
    transform: translateY(-10px);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.three-js-canvas {
    display: block;
    width: 100vw;
    height: clamp(150px, 20vh, 200px);
    margin-bottom: clamp(40px, 6vh, 60px);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.scrolling-text {
    width: 100vw;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: clamp(40px, 6vh, 60px);
    margin-top: clamp(80px, 12vh, 120px);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    pointer-events: none;
}

.hero-main-title-scroll {
    font-family: var(--font-primary);
    font-size: clamp(100px, min(15vw, 28vh), 280px);
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.05em;
    display: inline-block;
    will-change: transform;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}

@keyframes marquee {
    0% { 
        transform: translate(0) 
    }
    to { 
        transform: translate(-33.3333%) 
    }
}

.hero-brand {
    font-family: var(--font-primary);
    font-size: clamp(80px, 12vw, 200px);
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
    cursor: default;
}

.hero-brand:hover {
    transform: translateY(-8px);
    filter: brightness(1.1) drop-shadow(0 8px 25px rgba(255, 255, 255, 0.2));
}

.main {
    padding-top: 100px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    background: var(--white);
    box-sizing: border-box;
    margin-top: -200px;
}

/* Interactive Cursor */
.cursor-follow {
    display: none;
}

.cursor-dot {
    display: none;
}

.cursor-ring {
    width: 30px;
    height: 30px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
    z-index: 10000;
}

/* Hide on touch devices */

/* Touch scrolling improvements */
* {
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent zoom on input focus */
input, textarea, select {
    font-size: 16px;
}


/* Typography */
.section-title {
    font-family: var(--font-primary);
    font-size: clamp(40px, 6vh, 60px);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    text-align: left !important;
}

.withcoreal-block {
    background-size: contain !important;
    background-repeat: no-repeat !important;
}


/* Container */
.container-center-horizontal {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.main-screen {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-sizing: border-box;
}

/* Header */
header {
    height: 80px;
    line-height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: none;
    z-index: 100;
    transition: all 0.3s ease, border-bottom-color 0.3s ease;
    width: 100vw;
    display: flex;
    align-items: center;
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

header.dark {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

header.dark .coreal-logo {
    filter: brightness(0) invert(1);
}

header.dark .nav-item,
header.dark .lang-button {
    color: var(--white);
}

header.dark .lang-button {
    background: transparent;
}

header.dark .mobile-menu-button span {
    background: var(--white);
}

header.dark-mode {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

header.dark-mode .coreal-logo {
    filter: brightness(0) invert(1);
}

header.dark-mode .nav-item,
header.dark-mode .lang-button {
    color: var(--white);
}

header.dark-mode .lang-button {
    background: transparent;
}

header.dark-mode .mobile-menu-button span {
    background: var(--white);
}

header .flex-row {
    padding: 0 60px;
    width: 100%;
}

header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coreal-logo {
    height: 36px;
    width: auto;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 50px;
}

.nav-item {
    font-family: var(--font-secondary);
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: var(--primary-color);
}

.lang-button {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 16px;
    width: auto;
    height: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    touch-action: manipulation;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-button:hover {
    background: transparent;
    color: var(--primary-color);
}

.lang-text {
    padding: 0;
    margin: 0;
    line-height: 1;
}

/* Music Player Button (Header - Hidden) */
.music-player {
    margin-left: 0;
    display: none;
    align-items: center;
}

.music-button {
    background: transparent;
    border: 1px solid white;
    padding: 8px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    touch-action: manipulation;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.music-button:hover {
    transform: scale(1.05);
}

/* Play Icon (삼각형) */
.play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-triangle {
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-left: 2px;
}

/* Pause Icon (두 개 바) */
.pause-icon {
    display: none;
    gap: 3px;
    align-items: center;
    justify-content: center;
}

.pause-bar {
    width: 3px;
    height: 12px;
    background: white;
    border-radius: 1px;
}

/* 재생 중일 때 */
.music-button.playing .play-icon {
    display: none;
}

.music-button.playing .pause-icon {
    display: flex;
}

.divider {
    height: 1px;
    background: #E5E5E7;
    margin-top: 30px;
    margin-bottom: -10px;
}

/* Hero Section */
.main {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

/* Hero Navigation Buttons */
.hero-button-prev,
.hero-button-next {
    display: none;
}

.hero-button-prev {
    left: 40px;
}

.hero-button-next {
    right: 20px;
}

.hero-button-prev:hover,
.hero-button-next:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}


.banner-seation {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0;
    background: transparent;
}

.hero-banner-container {
    width: 100vw;
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* Hero Swiper Styles */
.hero-swiper {
    width: 100%;
    overflow: hidden;
}

.hero-swiper .swiper-slide {
    width: 100%;
    height: auto; /* aspect-ratio로 높이 자동 결정 */
}

/* Smooth transition effect - basic ease */
.hero-swiper .swiper-wrapper {
    height: auto; /* aspect-ratio로 높이 자동 결정 */
    transition-timing-function: ease !important;
}

/* 고정 텍스트 헤더 스타일 */
.fixed-text-header {
    position: relative;
    margin-bottom: 40px;
    height: 80px;
    width: 100%;
    box-sizing: border-box;
}

.fixed-text-header .text-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    box-sizing: border-box;
}

.fixed-text-header .text-content.active {
    opacity: 1;
}

.fixed-text-header .section-title {
    text-align: left;
    margin: 0;
    padding: 0 !important;
}

.fixed-text-header .section-subtitle {
    text-align: right !important;
    margin: 0;
    padding: 0 !important;
}

/* 슬라이드 내부 텍스트 컨텐츠 스타일 */
.text-content-in-slide {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
}

.text-content-in-slide .section-title {
    text-align: left;
    margin: 0;
    padding: 0 !important;
}

.text-content-in-slide .section-subtitle {
    text-align: right !important;
    margin: 0;
    padding: 0 !important;
}

/* Swiper Pagination Progress Bar */
.hero-swiper .swiper-pagination {
    bottom: 40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(262px, 80vw) !important;
    height: 4px !important;
    position: absolute !important;
}

.hero-swiper .swiper-pagination-progressbar {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 2px !important;
    height: 100% !important;
    width: 100% !important;
    position: relative !important;
}

.hero-swiper .swiper-pagination-progressbar-fill {
    background: var(--primary-color) !important;
    border-radius: 2px !important;
    height: 100% !important;
    transition: all 0.8s ease !important;
}

.hero-section {
    padding: 20px 60px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    max-width: 2048px;
    margin: 0 auto;
    box-sizing: border-box;
}

.section-header {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto 60px auto;
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    box-sizing: border-box;
}

.section-header .section-title {
    text-align: left;
}

.section-header .section-subtitle {
    text-align: left !important;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-primary);
    text-align: left !important;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    font-weight: 500;
    opacity: 0.8;
}

.product-block {
    flex: 1;
    background: #000000;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    padding: clamp(30px, 4vh, 40px);
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1.8 / 1; /* 1440:800 비율 유지 */
    max-width: 1440px;
    margin: 0 auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    transition: transform 0.3s ease;

    /* 컨테이너 쿼리 설정 - 자식 요소가 이 박스 크기 기준으로 조절됨 */
    container-type: inline-size;
    container-name: product-box;
}


.product-block:active {
    transform: scale(0.98);
}


.product-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: clamp(500px, 60vw, 600px);
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-label {
    color: #ffffff;
    display: block;
    font-size: clamp(10px, 1.2cqi, 18px); /* 컨테이너 크기에 비례 */
    font-weight: 600;
    margin-bottom: clamp(8px, 1cqi, 20px);
}

/* Quill HTML content styling in product label */
.product-label p {
    margin: 0.5em 0;
}

.product-label p:first-child {
    margin-top: 0;
}

.product-label p:last-child {
    margin-bottom: 0;
}

/* Quill 에디터 인라인 스타일 강제 오버라이드 - 반응형 크기 적용 */
.product-label *,
.product-label p,
.product-label span,
.product-label strong,
.product-label em {
    font-size: clamp(14px, 1.4vw, 22px) !important; /* 인라인 스타일 무시하고 반응형 적용 */
    line-height: 1.4 !important;
}

.product-category {
    color: #ffffff;
    font-size: clamp(12px, 1.4cqi, 20px); /* 카테고리는 설명보다 작음 */
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
    text-align: left;
}

.product-description {
    color: #ffffff;
    font-size: clamp(16px, 2.2cqi, 32px); /* 컨테이너 크기에 비례 */
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: normal;
    word-spacing: normal;
    text-align: left;
}

/* Services Accordion Section */
.services-accordion-section {
    padding: 100px 60px 100px 120px;
    background: #fff;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    box-sizing: border-box;
}

/* Responsive padding for accordion section on large screens */
@media (min-width: 1440px) {
    .services-accordion-section {
        padding-left: calc(120px + (100vw - 1440px) * 0.482);
        padding-right: calc(60px + (100vw - 1440px) * 0.482);
    }
}

.accordion-section-header {
    margin-bottom: 60px;
}

.accordion-section-subtitle {
    font-size: 14px;
    color: #86868b;
    margin-bottom: 12px;
    letter-spacing: 0;
}

.accordion-section-title {
    font-family: var(--font-primary);
    font-size: clamp(40px, 6vh, 60px);
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.accordion-section-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #1d1d1f;
}

.services-accordion-container {
    display: flex;
    gap: 20px;
    margin: 0;
    align-items: flex-start;
    padding-right: 60px;
}

.accordion-box {
    flex: 1;
    background: linear-gradient(135deg, #e8e0f0 0%, #d4c8e8 100%);
    border-radius: 24px;
    padding: 32px 28px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.accordion-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.accordion-box.active {
    min-height: 480px;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.accordion-icon {
    color: #7c3aed;
    font-size: 14px;
    font-weight: 600;
}

.accordion-label {
    font-size: 13px;
    font-weight: 500;
    color: #7c3aed;
    letter-spacing: -0.02em;
}

.accordion-title {
    font-size: 26px;
    font-weight: 700;
    color: #7c3aed;
    line-height: 1.3;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-box.active .accordion-content {
    max-height: 400px;
    opacity: 1;
    margin-top: auto;
}

.accordion-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 12px;
}

.accordion-link {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 28px;
    background: #9333ea;
    color: white;
    text-decoration: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.accordion-link:hover {
    background: #7c3aed;
}

/* Responsive Accordion */
@media (min-width: 768px) and (max-width: 1199px) {
    .services-accordion-section {
        padding: 60px 40px;
    }

    .accordion-section-header {
        padding-left: 0;
        margin-bottom: 40px;
    }

    .services-accordion-container {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 16px;
        padding-left: 0;
        padding-right: 0;
    }

    .accordion-box {
        flex: 1;
        min-width: 0;
        min-height: auto;
        padding: 24px 20px;
    }

    .accordion-box.active {
        min-height: auto;
    }

    .accordion-section-desc {
        font-size: 16px;
    }

    .accordion-title {
        font-size: 22px;
        word-break: keep-all;
        line-height: 1.4;
    }

    .accordion-label {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .services-accordion-section {
        padding: 60px 20px;
    }

    .services-accordion-container {
        flex-direction: column;
        gap: 16px;
        padding-right: 0;
        overflow-x: visible;
    }

    .accordion-section-header {
        margin-bottom: 30px;
        padding-left: 0;
    }

    .accordion-section-subtitle {
        font-size: 12px;
    }

    .accordion-section-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .accordion-section-desc {
        font-size: 14px;
    }

    .accordion-box {
        min-width: auto;
        width: 100%;
        min-height: auto;
        padding: 24px 20px;
        flex-shrink: 0;
    }

    .accordion-box.active {
        min-height: auto;
    }

    .accordion-header {
        margin-bottom: 12px;
    }

    .accordion-label {
        font-size: 12px;
    }

    .accordion-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .accordion-content p {
        font-size: 13px;
    }
}

/* Business & Services Sections */
.business-section,
.game-section,
.services-section {
    padding: 80px 0 120px;
    background: #f8f8f8;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: visible;
}

/* Responsive padding for large screens */
@media (min-width: 1440px) {
    .business-section,
    .game-section,
    .services-section {
        padding-top: calc(80px + (100vw - 1440px) * 0.025);
        padding-bottom: calc(120px + (100vw - 1440px) * 0.035);
    }
}

/* Mobile padding */
@media (max-width: 767px) {
    .business-section,
    .game-section,
    .services-section {
        padding: 30px 0 40px;
    }
}

.business-section > .section-title,
.game-section > .section-title,
.services-section > .section-title {
    max-width: none;
    margin: 0;
    padding: 0 60px 60px 120px;
    position: relative;
    z-index: 1;
}

.business-swiper,
.game-swiper,
.services-swiper {
    max-width: none !important;
    width: 100vw !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.business-section .section-title,
.game-section .section-title,
.services-section .section-title,
.contact-section .section-title {
    margin: 0;
    padding: 0 0 60px 120px;
}

.review-section .section-title {
    margin: 0;
    padding: 0 60px 60px 120px;
}

/* Swiper Custom Styles */
.business-swiper,
.game-swiper,
.services-swiper {
    position: relative;
    overflow: visible !important;
    padding: 50px 0 50px 120px !important;
    margin: -50px 0;
    margin-top: 20px;
}

/* Responsive padding for swipers - mobile */
@media (max-width: 767px) {
    .business-swiper,
    .game-swiper,
    .services-swiper {
        padding-left: 20px !important;
    }
}

/* Responsive padding for swipers - tablet/small desktop */
@media (min-width: 768px) and (max-width: 1199px) {
    .business-swiper,
    .game-swiper,
    .services-swiper {
        padding-left: 40px !important;
    }
}

/* Responsive padding for swipers on large screens */
@media (min-width: 1440px) {
    .business-swiper,
    .game-swiper,
    .services-swiper {
        padding-left: calc(120px + (100vw - 1440px) * 0.482) !important;
    }
}

.business-swiper .swiper-wrapper,
.game-swiper .swiper-wrapper,
.services-swiper .swiper-wrapper {
    overflow: visible !important;
    justify-content: flex-start;
    width: 100% !important;
    max-width: none !important;
}

/* Swiper cards left-align to match section title position */
/* Cards use slidesOffsetBefore to align with title padding-left */

.business-swiper .swiper-slide,
.game-swiper .swiper-slide,
.services-swiper .swiper-slide {
    margin: 0 20px 0 0 !important; /* 오른쪽 마진만 20px */
    width: 380px !important;
    flex-shrink: 0;
    overflow: visible !important;
}


.review-swiper {
    position: relative;
    overflow: hidden;
}

.review-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.business-card,
.service-card {
    background: url('img/no-image-placeholder.png') center center / cover no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 9px;
    height: clamp(450px, 61.5vh, 615px);
    width: clamp(300px, 26.4vw, 380px);
    min-width: 300px;
    display: flex;
    align-items: flex-end;
    padding: clamp(20px, 3vh, 30px);
    cursor: grab;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
    filter: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-x;
}

/* 768px~1199px 태블릿/작은 데스크탑에서는 카드 크기 조정 */
@media (min-width: 768px) and (max-width: 1199px) {
    .business-card,
    .service-card {
        width: 280px;
        min-width: 280px;
        height: clamp(380px, 50vh, 450px);
    }
}

/* 1200px 이상에서는 카드 가로 크기 380px로 고정 */
@media (min-width: 1200px) {
    .business-card,
    .service-card {
        width: 380px;
    }
}

.business-card::before,
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 2;
    border-radius: 9px;
    pointer-events: none;
}

.business-card::after,
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
    border-radius: 9px;
    pointer-events: none;
}

.business-card:hover,
.service-card:hover {
    transform: scale(1.03) !important;
    z-index: 10;
    position: relative;
}

.business-card:active,
.service-card:active,
.swiper-slide-active .business-card,
.swiper-slide-active .service-card {
    cursor: grabbing;
}

/* Push adjacent cards when hovering - ripple effect */
.swiper-slide {
    transition: transform 0.15s ease-in-out;
}

/* All cards after hovered card push right */
.swiper-slide:has(.business-card:hover) ~ .swiper-slide,
.swiper-slide:has(.service-card:hover) ~ .swiper-slide {
    transform: translateX(12px);
}

/* All cards before hovered card push left */
.swiper-slide:has(~ .swiper-slide .business-card:hover),
.swiper-slide:has(~ .swiper-slide .service-card:hover) {
    transform: translateX(-12px);
}

.patent-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.card-content {
    width: 100%;
    position: relative;
    z-index: 15;
    filter: none;
}

.card-title {
    color: #ffffff !important;
    font-family: var(--font-primary);
    font-size: clamp(14px, 1.8cqi, 26px); /* 컨테이너 크기에 비례 */
    font-weight: 500;
    margin-bottom: clamp(6px, 0.6cqi, 10px);
    text-shadow: none;
}

.card-category {
    color: #ffffff !important;
    font-size: clamp(9px, 0.9cqi, 13px); /* 카테고리는 설명보다 작음 */
    font-weight: 400;
    text-shadow: none;
    margin-bottom: 4px;
}

.card-description {
    color: #ffffff !important;
    font-size: clamp(10px, 1.1cqi, 16px); /* 컨테이너 크기에 비례 */
    text-shadow: none;
}

/* Navigation Buttons */
.item-button-previous,
.item-button-next,
.SVG-wrapper,
.item-button-next-2 {
    position: absolute;
    top: auto;
    bottom: 30px;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50%;
    cursor: pointer;
    display: flex !important;
    height: 36px !important;
    width: 36px !important;
    min-height: 36px !important;
    min-width: 36px !important;
    max-height: 36px !important;
    max-width: 36px !important;
    justify-content: center;
    padding: 0;
    z-index: 999 !important;
    transition: all 0.2s ease;
    touch-action: manipulation;
    box-sizing: border-box;
}

/* Business Section Button Positions */
.business-prev {
    right: 80px;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.business-next {
    right: 30px;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Services Section Button Positions */
.services-prev {
    right: 80px;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.services-next {
    right: 30px;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Inspirational Quote */
.innovation-quote {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    max-width: 600px;
}

.quote-text {
    font-family: 'Times New Roman', 'Georgia', serif;
    font-size: 32px;
    color: white;
    font-weight: 100;
    font-style: italic;
    line-height: 1.4;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.quote-author {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    letter-spacing: 1px;
}

/* Company Founded Date */
.company-founded {
    position: fixed;
    top: 96%;
    right: 40px;
    transform: translateY(-50%);
    display: flex;
    align-items: baseline;
    gap: 8px;
    z-index: 10;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    transition: color 0.3s ease;
}

.founded-label {
    font-size: 18px;
    color: white;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founded-date {
    font-size: 18px;
    color: white;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Company Motto */
.company-motto {
    position: fixed;
    top: 96%;
    left: 40px;
    transform: translateY(-50%);
    z-index: 10;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    transition: color 0.3s ease;
}

.motto-text {
    font-size: 18px;
    color: white;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Music Player Center Button */
.music-player-center {
    position: fixed;
    top: 96%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-button-center {
    background: transparent;
    border: 1px solid white;
    padding: 4px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    touch-action: manipulation;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.music-button-center:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.music-button-center .play-triangle {
    width: 0;
    height: 0;
    border-left: 6px solid white;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    margin-left: 1px;
}

.music-button-center .pause-icon {
    display: none;
    gap: 2px;
}

.music-button-center .pause-bar {
    width: 2px;
    height: 8px;
    background: white;
    border-radius: 1px;
}

.music-button-center.playing .play-icon {
    display: none;
}

.music-button-center.playing .pause-icon {
    display: flex;
}

.item-button-previous:hover,
.item-button-next:hover,
.SVG-wrapper:hover,
.item-button-next-2:hover {
    background-color: rgba(210, 210, 215, 0.8);
    transform: scale(1.05);
}

.item-button-previous:active,
.item-button-next:active,
.SVG-wrapper:active,
.item-button-next-2:active {
    transform: scale(0.95);
}

/* Apple-style Navigation Buttons */
.business-prev,
.services-prev,
.business-next,
.services-next {
    display: none !important;
}

.business-prev:hover,
.services-prev:hover,
.business-next:hover,
.services-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.business-prev,
.services-prev {
    right: calc(50vw - 720px + 80px);
    left: auto;
    bottom: 80px;
}

.business-next,
.services-next {
    right: calc(50vw - 720px + 30px);
    left: auto;
    bottom: 80px;
}


/* Show SVG icons again */
.business-prev .SVG,
.services-prev .SVG,
.business-next .SVG,
.services-next .SVG {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.business-prev .vector-2,
.services-prev .vector-2,
.business-next .vector-2,
.services-next .vector-2 {
    width: 20px;
    height: 20px;
    opacity: 1;
    filter: invert(0.5);
}


.SVG {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Navigation section arrows - readable size */
.item-button-previous .vector,
.item-button-next .vector,
.SVG-wrapper .vector,
.item-button-next-2 .vector {
    height: 60px;
    width: 12px;
    min-width: 12px;
    max-width: 12px;
    flex-shrink: 0;
    object-fit: contain;
    margin: auto;
    display: block;
}

/* Center arrows in navigation buttons */
.item-button-previous .SVG,
.item-button-next .SVG,
.SVG-wrapper .SVG,
.item-button-next-2 .SVG {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Hero section arrows - medium size */
.hero-button-prev .vector,
.hero-button-next .vector-2 {
    height: 28px !important;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    margin: 0 auto;
}

/* Force SVG size for hero arrows */
.hero-button-prev svg,
.hero-button-next svg {
    height: 28px !important;
    width: 18px !important;
    min-height: 28px !important;
    min-width: 18px !important;
    display: block;
    margin: 0 auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/* Review Section */
.review-section {
    padding: 60px 0 80px 0;
    background: transparent;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Responsive padding for large screens */
@media (min-width: 1440px) {
    .review-section {
        padding-top: calc(60px + (100vw - 1440px) * 0.018);
        padding-bottom: calc(80px + (100vw - 1440px) * 0.025);
    }
}

/* Mobile padding */
@media (max-width: 767px) {
    .review-section {
        padding: 40px 0 50px 0;
    }
}

.review-section > * {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 60px;
    padding-left: 120px;
}


.review-item {
    background: #f8f8fa;
    border-radius: 16px;
    padding: clamp(20px, 3vh, 30px);
    height: clamp(220px, 28vh, 280px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.2vh, 12px);
    margin-bottom: clamp(15px, 2vh, 20px);
}

.profile {
    width: clamp(35px, 4vh, 40px);
    height: clamp(35px, 4vh, 40px);
    border-radius: 50%;
    background: var(--primary-color);
}

.admin-name {
    font-weight: 600;
}

.review-content {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: clamp(12px, 1.6vh, 16px);
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    font-size: clamp(13px, 1.5vh, 15px);
}

.review-time {
    color: var(--text-secondary);
    font-size: clamp(12px, 1.4vh, 14px);
    margin-top: auto;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background: transparent;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Responsive padding for large screens */
@media (min-width: 1440px) {
    .contact-section {
        padding-top: calc(60px + (100vw - 1440px) * 0.018);
        padding-bottom: calc(60px + (100vw - 1440px) * 0.018);
    }
}

/* Mobile padding */
@media (max-width: 767px) {
    .contact-section {
        padding: 40px 0;
    }
}

.contact-section > * {
    max-width: 100%;
    margin: 0;
    padding: 0; /* 개별 요소에서 패딩 설정 */
    box-sizing: border-box;
}


.contact-section .contact-form {
    max-width: 100%;
    margin: 0;
    padding-left: 120px;
    padding-right: 120px;
    box-sizing: border-box;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(25px, 4vh, 40px);
    margin-bottom: clamp(25px, 4vh, 40px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.input-field-large {
    margin-bottom: clamp(40px, 6vh, 60px);
}

.input-field input,
.input-field-large textarea {
    width: 100%;
    padding: clamp(10px, 1.2vh, 12px) 0;
    border: none;
    border-bottom: 1px solid #E0E0E0;
    border-radius: 0;
    font-size: clamp(14px, 1.6vh, 16px);
    background: transparent;
    transition: border-color 0.3s ease;
    font-family: var(--font-secondary);
    color: var(--text-primary);
    box-sizing: border-box;
    max-width: 100%;
}

.input-field input:focus,
.input-field-large textarea:focus {
    outline: none;
    border-bottom-color: var(--black);
}

.input-field input::placeholder,
.input-field-large textarea::placeholder {
    color: #AAAAAA;
    font-size: clamp(13px, 1.5vh, 15px);
    font-weight: 400;
}

.input-field-large textarea {
    min-height: clamp(80px, 10vh, 100px);
    resize: vertical;
    padding-top: clamp(10px, 1.2vh, 12px);
}

.form-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 0;
}

.submit-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: clamp(12px, 1.4vh, 14px) clamp(24px, 3.2vh, 32px);
    border-radius: 9px;
    font-size: clamp(13px, 1.5vh, 15px);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 36px;
    touch-action: manipulation;
    box-sizing: border-box;
}

.submit-button:hover {
    background: #E62929;
    transform: translateY(-2px);
}

.plus-button {
    width: clamp(38px, 4.4vh, 44px);
    height: clamp(38px, 4.4vh, 44px); /* submit-button과 동일한 높이 */
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(18px, 2.2vh, 22px);
    background: transparent;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666666;
    flex-shrink: 0;
    touch-action: manipulation;
    box-sizing: border-box;
}

.plus-button:hover {
    background: var(--background-light);
    border-color: var(--black);
}

.radio-buttons {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    width: 14px;
    height: 14px;
    accent-color: #0066FF;
    margin-right: 6px;
}

.radio-option span {
    font-size: 14px;
    color: #333333;
    font-weight: 400;
}

/* Logotypes Section */
.logotypes-section {
    padding: 80px 0;
    background: var(--background-light);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.logo-banner {
    background: transparent;
    padding: 60px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
}

.logotypes-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logotypes-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.logotypes-track {
    display: flex;
    gap: 60px;
    animation: scroll-logos 30s linear infinite;
    width: max-content;
    align-items: center;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    width: 180px;
    height: 60px;
}

.logo-item img {
    max-height: 50px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

/* Footer */
footer {
    background: transparent;
    margin: 80px 0 40px 0;
    box-sizing: border-box;
    width: 100%;
}

footer > * {
    max-width: min(1240px, calc(100vw - 120px));
    margin: 0 auto;
    box-sizing: border-box;
}

footer .footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}


footer .footer-column h3 {
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 10px;
    font-family: var(--font-secondary);
    letter-spacing: 0;
}

.subscribe-form {
    display: flex;
    margin-bottom: 32px;
    width: 50%;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    background: white;
    font-family: var(--font-secondary);
}

.subscribe-form input::placeholder {
    color: #999;
}

.subscribe-form input:focus {
    outline: none;
    border-color: #999;
}

.subscribe-form button {
    background: var(--primary-color);
    border: none;
    padding: 0 20px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    min-height: 36px;
    touch-action: manipulation;
}

.subscribe-form button:hover {
    background: #e62929;
}

.contact-info p {
    color: #424245;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 6px;
    font-family: var(--font-secondary);
}

footer .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-column ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

footer .footer-column ul a {
    color: #424245;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
    font-family: var(--font-secondary);
}

footer .footer-column ul a:hover {
    color: #06c;
    text-decoration: underline;
}

footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

footer .footer-logo img {
    height: 32px;
    width: auto;
}

.bottom-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bottom-content p {
    color: #333;
    font-size: 14px;
    font-family: var(--font-secondary);
}

.privacy-link {
    color: #333;
    font-size: 14px;
    text-decoration: underline;
    font-family: var(--font-secondary);
    transition: color 0.2s;
}

.privacy-link:hover {
    color: #666;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #333;
    transition: opacity 0.2s;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-links a:hover {
    opacity: 0.6;
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* Desktop: Hide mobile menu elements by default */
.mobile-controls,
.mobile-menu-overlay {
    display: none;
}

/* ===============================================
   RESPONSIVE DESIGN - MOBILE FIRST APPROACH  
   =============================================== */

/* Mobile First: 320px~767px (Default styles above are for mobile) */

/* Tablet: 768px~1023px */
@media (min-width: 768px) {
    /* Force all titles and subtitles to left align - Tablet */
    .section-title {
        text-align: left !important;
    }
    
    .section-subtitle,
    .section-header .section-subtitle {
        text-align: left !important;
    }
    
    .fixed-text-header .section-subtitle {
        text-align: right !important;
        font-size: 15px;
        padding-right: 40px;
        white-space: nowrap;
    }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
    /* Force all titles and subtitles to left align - Desktop */
    .section-title {
        text-align: left !important;
    }

    .section-subtitle,
    .section-header .section-subtitle {
        text-align: left !important;
    }

    .fixed-text-header .section-subtitle {
        text-align: right !important;
        font-size: 20px;
    }

    /* Hide footer accordion icons on desktop */
    footer .footer-accordion-icon {
        display: none;
    }

    /* Logo Banner - Desktop 1024px+ */
    .logo-banner {
        padding: 55px 0;
    }

    .logo-item img {
        height: 54px;
    }

    .logotypes-track {
        gap: 55px;
    }
}

/* Large Desktop: 1440px+ */
@media (min-width: 1440px) {
    /* Force all subtitles to left align - Large Desktop */
    .section-subtitle,
    .section-header .section-subtitle {
        text-align: left !important;
    }

    .fixed-text-header .section-subtitle {
        text-align: right !important;
        font-size: 20px;
    }

    /* Business, Game and Services section titles - responsive padding */
    .business-section > .section-title,
    .game-section > .section-title,
    .services-section > .section-title {
        padding-left: calc(120px + (100vw - 1440px) * 0.482);
    }

    /* Hero section title - responsive padding (only for standalone titles, not inside fixed-text-header) */
    .hero-banner-container > .section-title {
        padding-left: clamp(120px, calc(120px + (100vw - 1440px) * 0.482), 660px);
    }

    /* Contact section title - responsive padding */
    .contact-section .section-title {
        padding-left: calc(120px + (100vw - 1440px) * 0.482);
    }

    /* Contact section form - responsive padding */
    .contact-section .contact-form {
        padding-left: calc(120px + (100vw - 1440px) * 0.482);
        padding-right: calc(120px + (100vw - 1440px) * 0.482);
    }

    /* Review section title - responsive padding */
    .review-section .section-title {
        padding-left: clamp(120px, calc(120px + (100vw - 1440px) * 0.482), 660px);
    }

}

/* Common breakpoints for specific adjustments */
@media (max-width: 767px) {
    /* Mobile - Disable text selection */
    body {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
    }

    /* Mobile - Keep 3D canvas visible */
    .three-js-canvas {
        display: block;
    }

    /* Mobile Header Optimization */
    header {
        padding: 15px 0 10px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    
    header .flex-row {
        padding: 0 20px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .coreal-logo {
        height: 24px;
        max-width: 120px;
    }
    
    /* Hide desktop navigation on mobile */
    .navbar {
        display: none;
    }
    
    /* Navigation items - make touch-friendly */
    .nav-item {
        font-size: 16px;
        padding: 12px 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }
    
    /* Language button - mobile optimized */
    .lang-button {
        padding: 0;
        min-height: auto;
        height: auto;
        min-width: auto;
        width: auto;
        font-size: 14px;
        border-radius: 6px;
        touch-action: manipulation;
    }
    
    /* Mobile Controls Container */
    .mobile-controls {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-left: auto;
    }
    
    /* Mobile Language Button in Header - Simple text only */
    .mobile-lang-button-header {
        color: white;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        touch-action: manipulation;
        min-height: auto;
        height: auto;
        min-width: auto;
        width: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    
    
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
        gap: 4px;
        touch-action: manipulation;
        transition: all 0.3s ease;
    }
    
    .hamburger-line {
        width: 24px;
        height: 2px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    /* Hamburger animation when active */
    .hamburger-menu.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger-menu.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000000;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100vh;
        padding: 15vh 5vw 5vh 5vw;
        box-sizing: border-box;
        position: relative;
        overflow-y: auto;
    }
    
    /* Mobile Menu Header */
    .mobile-menu-header {
        position: absolute;
        top: 3vh;
        left: 5vw;
        right: 5vw;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1001;
    }

    /* Mobile Menu Footer - Fixed at Bottom */
    .mobile-menu-footer {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
        background: #000000;
        z-index: 9999;
        display: none;
    }

    /* Show footer when menu overlay is active */
    .mobile-menu-overlay.active ~ .mobile-menu-footer {
        display: block;
    }

    .mobile-contact-btn-fixed {
        width: 100%;
        background: #ffffff;
        border: none;
        color: #000000;
        padding: 16px 20px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-contact-btn-fixed:hover {
        background: #f0f0f0;
    }

    /* Mobile Menu Close Button */
    .mobile-menu-close {
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
        touch-action: manipulation;
        transition: all 0.3s ease;
    }
    
    .close-line {
        position: absolute;
        width: 20px;
        height: 3px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .close-line:nth-child(1) {
        transform: rotate(45deg);
    }
    
    .close-line:nth-child(2) {
        transform: rotate(-45deg);
    }
    
    .mobile-menu-close:hover {
        transform: scale(1.1);
    }
    
    .mobile-menu-close:hover .close-line {
        background: var(--primary-color);
    }
    
    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 4vh;
        margin-top: 2vh;
        flex: 1;
        justify-content: flex-start;
        padding-bottom: 100px;
    }
    
    .mobile-nav-item {
        color: white;
        font-size: clamp(18px, 4vw, 24px);
        font-weight: 500;
        font-family: var(--font-secondary);
        padding: 2vh 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        cursor: pointer;
        transition: all 0.3s ease;
        touch-action: manipulation;
        min-height: 6vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-nav-item:hover,
    .mobile-nav-item:active {
        color: var(--primary-color);
    }

    /* Mobile Nav Simple List Sections */
    .mobile-nav-section {
        margin-bottom: 12px;
    }

    .mobile-nav-title {
        padding: 6px 0 12px 0;
        color: rgba(255, 255, 255, 0.6);
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        line-height: 1.2;
    }

    .mobile-nav-list {
        display: block;
    }

    .mobile-nav-list.active {
        display: block;
    }

    .mobile-content-item {
        display: flex;
        align-items: center;
        padding: 6px 16px;
        cursor: pointer;
        transition: background 0.2s ease;
        border-radius: 6px;
        margin-bottom: 0;
    }

    .mobile-content-item:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-content-thumb {
        width: 50px;
        height: 50px;
        border-radius: 8px;
        background-size: cover;
        background-position: center;
        background-color: rgba(255, 255, 255, 0.1);
        flex-shrink: 0;
        margin-right: 12px;
    }

    .mobile-content-info {
        flex: 1;
        min-width: 0;
    }

    .mobile-content-title {
        color: white;
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
        padding: 0;
        margin: 0;
    }

    .mobile-content-subtitle {
        color: rgba(255, 255, 255, 0.6);
        font-size: 12px;
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-content-empty {
        color: rgba(255, 255, 255, 0.5);
        font-size: 14px;
        padding: 12px 16px;
        text-align: center;
    }

    /* Mobile Contact Button */
    .mobile-nav-contact {
        padding: 20px 0;
    }

    .mobile-contact-btn {
        width: 100%;
        padding: 14px 24px;
        background: transparent;
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.3s ease, transform 0.2s ease;
    }

    .mobile-contact-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
        transform: scale(1.02);
    }

    .mobile-menu-bottom {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: auto;
        padding-top: 4vh;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        min-height: 10vh;
    }
    
    .mobile-music-button {
        width: 44px;
        height: 44px;
        border: none;
        background: transparent;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        transition: all 0.3s ease;
        touch-action: manipulation;
    }

    .mobile-music-button:hover {
        transform: scale(1.1);
    }

    /* Mobile music button icons - default: show play, hide pause */
    .mobile-music-button .play-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .mobile-music-button .pause-icon {
        display: none !important;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }

    /* When playing: hide play, show pause */
    .mobile-music-button.playing .play-icon {
        display: none !important;
    }

    .mobile-music-button.playing .pause-icon {
        display: flex !important;
    }

    .mobile-music-button .play-triangle {
        width: 0;
        height: 0;
        border-left: 12px solid white;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
    }

    .mobile-music-button .pause-bar {
        width: 3px;
        height: 14px;
        background: white;
        border-radius: 1px;
    }
    
    /* Show mobile controls and menu on mobile */
    .mobile-controls {
        display: flex !important;
    }
    
    .mobile-menu-overlay {
        display: block !important;
    }
    
    /* Music button - mobile optimized */
    .music-button {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        touch-action: manipulation;
    }
    
    /* Add body padding to account for fixed header */
    body {
        padding-top: 70px;
    }
    
    /* Ensure main content starts below fixed header */
    #page-main-seation {
        margin-top: 0;
    }
    
    /* Main Content Areas - Mobile */
    .gradient-section {
        padding: 20px 5px;
        padding-bottom: 100px;
        min-height: 1500px;
        height: 1500px;
    }
    
    .gradient-section h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .gradient-section p {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    .subscribe-form {
        width: 100%;
        margin-bottom: 15px;
        flex-direction: column;
        gap: 8px;
    }
    
    .subscribe-form input {
        width: 100%;
        padding: 8px 12px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    .subscribe-form button {
        padding: 8px 16px;
        border-radius: 6px;
        font-size: 14px;
    }
    
    .contact-info p {
        font-size: 11px;
        margin: 5px 0;
    }
    
    /* Footer top - Mobile */
    footer {
        margin: 40px 0 30px 0;
    }

    footer .footer-top {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 0 20px 30px 20px;
    }

    /* Subscribe form inside accordion */
    footer .footer-subscribe-column .subscribe-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
        margin-left: 0;
        margin-right: auto;
        width: 60%;
    }

    footer .footer-subscribe-column .subscribe-form input {
        font-size: 13px;
        padding: 10px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        width: 100%;
    }

    footer .footer-subscribe-column .subscribe-form button {
        font-size: 13px;
        padding: 12px 18px;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        width: 100%;
    }

    /* Contact info - Left align on mobile */
    footer .footer-subscribe-column .contact-info {
        width: 100%;
        text-align: left;
    }

    footer .footer-subscribe-column .contact-info p {
        text-align: left;
    }

    /* Accordion styling */
    footer .footer-accordion {
        border-bottom: 1px solid #e0e0e0;
    }

    footer .footer-accordion:last-child {
        border-bottom: none;
    }

    footer .footer-accordion-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0;
        cursor: pointer;
        user-select: none;
    }

    footer .footer-accordion-header h3 {
        font-size: 14px;
        margin: 0;
        font-weight: 500;
        color: #333;
    }

    footer .footer-accordion-icon {
        font-size: 20px;
        color: #999;
        transition: transform 0.3s ease;
        transform: rotate(90deg);
    }

    footer .footer-accordion.active .footer-accordion-icon {
        transform: rotate(-90deg);
    }

    footer .footer-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: left;
    }

    footer .footer-accordion.active .footer-accordion-content {
        max-height: 300px;
        padding-bottom: 16px;
    }

    footer .footer-accordion-content li {
        margin-bottom: 10px;
        text-align: left;
    }

    footer .footer-accordion-content a {
        font-size: 13px;
        line-height: 1.6;
        color: #666;
        display: block;
        text-decoration: none;
        text-align: left;
    }

    /* Subscribe column - Always open on mobile */
    footer .footer-subscribe-column .footer-accordion-header {
        cursor: default !important;
        pointer-events: none;
        justify-content: flex-start;
    }

    footer .footer-subscribe-column .footer-accordion-icon {
        display: none !important;
    }

    footer .footer-subscribe-column .footer-accordion-content {
        max-height: none !important;
        padding-bottom: 16px;
        display: flex;
        flex-direction: row;
        gap: 0;
        align-items: flex-start;
        justify-content: space-between;
    }

    /* Change order - subscribe-form first, contact-info second */
    footer .footer-subscribe-column .subscribe-form {
        order: 1;
        width: 35%;
        margin-left: 0;
    }

    footer .footer-subscribe-column .contact-info {
        order: 2;
        width: 60%;
    }

    /* Footer bottom - Mobile */
    footer .footer-bottom {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        padding: 24px 10px 0 10px;
    }

    footer .footer-logo {
        order: 1;
        display: flex;
        align-items: center;
    }

    footer .footer-logo img {
        height: 24px;
    }

    .social-links {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 20px;
    }

    .social-links a svg {
        width: 24px;
        height: 24px;
    }

    .bottom-content {
        order: 3;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        text-align: center;
    }

    .bottom-content p,
    .bottom-content a {
        font-size: 11px;
        color: #999;
    }

    /* Logo Banner - Mobile */
    .logo-banner {
        padding: 40px 0;
        min-height: 28px;
    }

    .logo-item img {
        height: 36px;
    }

    .logotypes-track {
        gap: 40px;
    }

    /* Hero banners */
    .hero-banner-container {
        padding: 0;
        margin-bottom: 60px;
    }
    
    /* Typography - Mobile - All titles aligned */
    .section-title {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 30px;
        text-align: left !important;
        word-wrap: break-word;
        hyphens: auto;
        padding: 0 20px;
        margin-left: 0;
    }
    
    .section-subtitle {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 20px;
        text-align: left !important;
        padding: 0 20px;
    }
    
    /* Force all subtitles to left align - Mobile */
    .section-subtitle,
    .section-header .section-subtitle {
        text-align: left !important;
    }
    
    /* Hero section subtitle right align - Mobile */
    .fixed-text-header .section-subtitle {
        text-align: right !important;
    }
    
    /* Keep business and services subtitles aligned */
    .business-section .section-subtitle,
    .services-section .section-subtitle {
        text-align: left;
        margin-left: 0;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Adjust section padding for mobile */
    .business-section,
    .game-section,
    .services-section {
        padding: 30px 0 40px;
    }
    
    /* All section titles same position - Mobile */
    .business-section > .section-title,
    .game-section > .section-title,
    .services-section > .section-title,
    .review-section .section-title,
    .contact-section .section-title {
        padding-left: 20px;
        padding-bottom: 24px;
        margin: 0;
    }
    
    /* Review section mobile padding */
    .review-section {
        padding: 60px 0 80px;
    }
    
    .review-section > * {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Hero section titles alignment - Mobile (only for standalone titles) */
    .hero-banner-container > .section-title {
        padding-left: 20px;
        padding-bottom: 30px;
        margin: 0;
        text-align: left !important;
    }
    
    
    /* Text content full width - Mobile */
    .fixed-text-header .text-content {
        width: 100vw;
        left: 0;
        right: 0;
        margin-left: calc(-50vw + 50%);
        padding-left: 20px;
        padding-right: 20px;
        gap: 20px;
        box-sizing: border-box;
    }

    .text-content-in-slide {
        padding: 0 20px;
        gap: 20px;
    }
    
    /* Product blocks - Mobile (responsive height) */
    .product-block {
        width: 100%;
        aspect-ratio: 1.8 / 1; /* 1440:800 비율 유지 */
        max-width: 100%;
        margin: 0;
        background-size: cover;
        background-position: center;
        padding: 15px;
    }
    
    /* Business and Services swiper cards - Mobile (using tablet settings) */
    .business-swiper .swiper-slide,
    .services-swiper .swiper-slide {
        width: 140px !important;
        margin: 0 10px 0 0 !important; /* 오른쪽 마진만 10px */
    }
    
    /* Mobile card sizes - unified */
    .business-card,
    .service-card {
        width: 140px !important;
        height: 220px !important;
        min-width: 140px !important;
    }
    
    /* Hero section cards - Mobile */
    .hero-section {
        padding: 0;
        width: 100%;
    }
    
    .hero-swiper {
        height: auto;
    }

    .hero-swiper .swiper-slide {
        height: auto;
    }

    .hero-swiper .swiper-wrapper {
        height: auto;
    }
    
    .product-content {
        padding: 12px;
        box-sizing: border-box;
        height: auto;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        overflow: visible;
    }
    
    /* Hero section 텍스트 - 반응형 유지 */
    .hero-swiper .product-label {
        /* 기본 반응형 크기 사용 */
        margin-bottom: 8px;
        display: block;
    }

    .hero-swiper .product-description {
        /* 기본 반응형 크기 사용 */
        line-height: 1.2;
        word-wrap: break-word;
        hyphens: auto;
        margin: 0;
    }

    .hero-swiper .card-title {
        /* 기본 반응형 크기 사용 */
        margin-bottom: 8px;
    }

    .hero-swiper .card-description {
        /* 기본 반응형 크기 사용 */
        line-height: 1.1;
        margin: 0;
    }
    
    /* 다른 섹션들은 기본 크기 유지 */
    .business-swiper .product-label,
    .services-swiper .product-label {
        font-size: 6px;
        padding: 1px 2px;
        margin-bottom: 2px;
        display: block;
    }
    
    .business-swiper .product-description,
    .services-swiper .product-description {
        font-size: 6px;
        line-height: 1.1;
        word-wrap: break-word;
        hyphens: auto;
        margin: 0;
    }
    
    .business-swiper .card-title,
    .services-swiper .card-title {
        font-size: 10px !important;
        margin-bottom: 2px;
    }
    
    .business-swiper .card-category,
    .services-swiper .card-category {
        font-size: 6px !important;
        line-height: 1.1;
        margin: 0 0 2px 0;
    }

    .business-swiper .card-description,
    .services-swiper .card-description {
        font-size: 7px !important;
        line-height: 1.1;
        margin: 0;
    }
    
    .business-card,
    .service-card {
        padding: 10px !important;
    }
    
    /* Hero navigation buttons */
    .hero-button-prev,
    .hero-button-next {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .hero-button-prev {
        left: 10px;
    }
    
    .hero-button-next {
        right: 10px;
    }
    
    /* Contact Form - Mobile */
    .contact-section {
        padding: 40px 0;
        margin-top: 40px;
    }
    
    .contact-section > * {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100%;
    }

    .contact-section .contact-form {
        max-width: 100%;
        padding-left: 20px; /* 타이틀과 동일 */
        padding-right: 20px;
        box-sizing: border-box;
    }
    
    /* Form elements - Mobile */
    .form-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 24px;
    }
    
    .form-group {
        width: 100%;
    }
    
    input, textarea, select {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        border-radius: 8px;
        border: 1px solid #ddd;
        box-sizing: border-box;
    }
    
    textarea {
        min-height: 100px;
        resize: vertical;
    }
    
    button, .btn {
        width: 100%;
        padding: 15px;
        font-size: 16px;
        border-radius: 8px;
        touch-action: manipulation;
    }
    
    /* Footer - Mobile */
    footer {
        margin: 25px 0 10px 0;
        text-align: center;
    }
    
    footer .footer-logo img {
        height: 20px;
        width: auto;
    }
    
    .footer-content {
        max-width: 100%;
        margin: 0;
    }
    
    footer > * {
        max-width: 100%;
        margin: 0;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: center;
        line-height: 1.2;
    }
    
    /* Hide company founded, motto and music player center on mobile */
    .company-founded,
    .company-motto,
    .music-player-center {
        display: none !important;
    }
    
    
    .footer-links a {
        font-size: 10px;
        margin: 3px 0;
    }
    
    .footer-text {
        font-size: 9px;
        line-height: 1.3;
        margin: 3px 0;
    }
    
    .copyright {
        font-size: 8px;
        margin-top: 8px;
        opacity: 0.8;
    }
    
    /* Footer bottom restructure - Mobile */
    .footer-bottom {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        justify-content: unset;
    }
    
    /* Mobile: First row - Logo and social icons together */
    .footer-logo {
        order: 1;
        display: flex;
        align-items: center;
        gap: 20px;
        justify-content: center;
        width: auto;
    }
    
    /* Mobile: Second row - Copyright text and privacy link */
    .bottom-content {
        order: 2;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .bottom-content p,
    .bottom-content .privacy-link {
        font-size: 8px;
        text-align: center;
        margin: 0;
        white-space: nowrap;
        color: #333;
    }
    
    /* Mobile: Third element - Social icons same row as logo */
    .social-links {
        order: 1;
        display: flex;
        gap: 12px;
        margin: 0;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-links a {
        width: 16px;
        height: 16px;
    }
    
    .social-links svg {
        width: 16px;
        height: 16px;
    }
    
    /* Review Section - Mobile */
    .review-section {
        padding-bottom: 60px;
    }
    
    .review-swiper {
        padding: 0 10px;
    }
    
    .review-content {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 12px;
        -webkit-line-clamp: 3;
    }
    
    .review-author {
        font-size: 12px;
        font-weight: 600;
    }
    
    .review-card {
        padding: 15px;
        margin: 0 5px;
        border-radius: 8px;
        min-height: 120px;
        max-height: 150px;
    }
    
    .review-item {
        padding: 15px;
        height: 140px;
        min-height: 140px;
        max-height: 140px;
        margin: 0 5px;
        border-radius: 12px;
    }
    
    .input-field input,
    .input-field-large textarea {
        font-size: 12px;
        padding: 12px 0;
        -webkit-appearance: none;
        zoom: 1;
    }
    
    .input-field input::placeholder,
    .input-field-large textarea::placeholder {
        font-size: 11px;
    }
    
    .input-field-large {
        margin-bottom: 24px;
    }
    
    .input-field-large textarea {
        min-height: 120px;
        padding-top: 16px;
    }
    
    .form-footer {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* Make buttons take first row */
    .form-footer .submit-button,
    .form-footer .plus-button {
        flex: 0 0 calc(50% - 5px);
        height: 36px;
        min-height: 36px;
    }
    
    .form-footer .submit-button {
        flex: 1;
    }
    
    .form-footer .plus-button {
        flex: 0 0 36px;
    }
    
    /* Radio buttons at top of form */
    .contact-form .radio-buttons {
        margin-bottom: 24px;
    }
    
    .submit-button {
        flex: 1;
        width: auto;
        justify-content: center;
        min-height: 36px;
        height: 36px;
        font-size: 12px;
        padding: 12px 16px;
        touch-action: manipulation;
    }
    
    /* Radio buttons - Mobile */
    .radio-buttons {
        gap: 8px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .radio-option span {
        font-size: 9px;
        white-space: nowrap;
    }
    
    .radio-option {
        gap: 3px;
        flex-shrink: 0;
    }
    
    .radio-option input[type="radio"] {
        width: 10px;
        height: 10px;
        margin-right: 3px;
    }
    
    /* Plus button - Mobile */
    .plus-button {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        font-size: 18px;
        flex-shrink: 0;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    /* Tablet/Small Desktop - Disable text selection */
    body {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
    }

    /* Tablet 3D Canvas - display shapes */
    .three-js-canvas {
        display: block;
    }

    /* Footer - Tablet */
    footer {
        width: 100%;
        max-width: none;
        overflow-x: visible;
        margin: 60px 0 40px 0;
    }

    footer > * {
        max-width: 100%;
        width: 100%;
    }

    footer .footer-top {
        width: 100%;
        padding: 0 40px;
        box-sizing: border-box;
        display: grid;
        grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
        gap: 30px;
        overflow: visible;
        margin-bottom: 60px;
    }

    footer .footer-column {
        text-align: left;
    }

    /* Hide accordion functionality on tablet */
    footer .footer-accordion-header {
        cursor: default !important;
    }

    footer .footer-accordion-icon {
        display: none !important;
    }

    footer .footer-accordion-content {
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    footer .footer-accordion {
        border-bottom: none !important;
    }

    footer .footer-column h3 {
        font-size: 12px;
        margin-bottom: 10px;
        font-weight: 600;
        color: #1d1d1f;
        padding: 0;
    }

    footer .footer-column p {
        font-size: 12px;
        line-height: 1.5;
        margin: 6px 0;
        color: #424245;
    }

    footer .footer-column a {
        font-size: 12px;
        line-height: 1.5;
        color: #424245;
    }

    footer .footer-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    footer .footer-column ul li {
        margin-bottom: 8px;
    }

    .subscribe-form {
        width: 90%;
        margin-bottom: 20px;
        display: flex;
        flex-direction: row !important;
    }

    .subscribe-form input {
        flex: 1;
        padding: 10px 12px;
        font-size: 13px;
        border: 1px solid #e0e0e0;
        border-radius: 6px 0 0 6px;
    }

    .subscribe-form button {
        padding: 0 16px;
        border-radius: 0 6px 6px 0;
    }

    footer .contact-info {
        display: block;
    }

    footer .contact-info p {
        font-size: 13px;
        line-height: 1.6;
        margin: 8px 0;
    }

    footer .footer-bottom {
        padding: 0 40px;
        padding-top: 40px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #e0e0e0;
    }

    .bottom-content {
        flex-direction: row;
        gap: 32px;
    }

    /* Logo Banner - Tablet */
    .logo-banner {
        padding: 50px 0;
        min-height: 32px;
    }

    .logo-item img {
        height: 48px;
    }

    .logotypes-track {
        gap: 50px;
    }

    footer .footer-logo img {
        height: 28px;
    }

    .social-links {
        display: flex;
        gap: 16px;
    }

    .social-links a svg {
        width: 20px;
        height: 20px;
    }
    
    /* Tablet Header Optimization */
    header {
        padding: 20px 0 15px;
    }
    
    header .flex-row {
        padding: 0 40px;
        max-width: 100%;
    }
    
    .coreal-logo {
        height: 28px;
    }
    
    /* Adjust navigation spacing for tablet */
    .navbar {
        gap: 20px;
    }
    
    .nav-item {
        font-size: 14px;
        padding: 10px 8px;
        min-height: 40px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .lang-button {
        padding: 0;
        min-height: auto;
        height: auto;
        font-size: 12px;
        min-width: auto;
        width: auto;
    }
    
    .music-button {
        width: 36px;
        height: 36px;
    }
    
    /* Main Content Areas - Tablet */
    .hero-banner-container {
        padding: 0;
        margin-bottom: 80px;
    }
    
    /* Typography - Tablet - All titles aligned */
    .section-title {
        font-size: 48px;
        line-height: 1.2;
        margin-bottom: 40px;
        text-align: left !important;
        padding: 0 40px;
        margin-left: 0;
    }
    
    .section-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
        text-align: left;
        padding: 0 40px;
    }
    
    /* Keep business and services subtitles aligned - Tablet */
    .business-section .section-subtitle,
    .services-section .section-subtitle {
        text-align: left;
        margin-left: 0;
        padding-left: 40px;
        padding-right: 40px;
    }
    
    /* All section titles same position - Tablet */
    .business-section > .section-title,
    .game-section > .section-title,
    .services-section > .section-title,
    .review-section .section-title,
    .contact-section .section-title {
        padding-left: 40px;
        padding-bottom: 40px;
        margin: 0;
    }

    /* Contact section - Tablet */
    .contact-section > * {
        padding: 0 40px;
    }

    .contact-section .contact-form {
        max-width: 100%;
        padding-left: 40px; /* 타이틀과 동일 */
        padding-right: 40px;
        box-sizing: border-box;
    }

    /* Hero section titles alignment - Tablet (only for standalone titles) */
    .hero-banner-container > .section-title {
        padding-left: 40px;
        padding-bottom: 40px;
        margin: 0;
        text-align: left !important;
    }
    
    /* Text content full width - Tablet */
    .fixed-text-header .text-content {
        width: 100vw;
        left: 0;
        right: 0;
        margin-left: calc(-50vw + 50%);
        padding-left: 40px;
        padding-right: 40px;
        gap: 40px;
        box-sizing: border-box;
    }

    .text-content-in-slide {
        padding: 0;
        gap: 40px;
    }
    
    .product-block {
        aspect-ratio: 1.8 / 1; /* 1440:800 비율 유지 */
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    /* Business and Services swiper cards - Tablet */
    .business-swiper .swiper-slide,
    .services-swiper .swiper-slide {
        width: 300px !important;
        margin: 0 15px 0 0 !important; /* 오른쪽 마진만 15px */
    }
    
    /* Business and Services card content - Tablet */
    .business-swiper .product-block,
    .services-swiper .product-block {
        width: 380px !important;
        height: 300px !important;
        min-height: 300px !important;
        margin-bottom: 20px;
    }
    
    .business-card,
    .service-card {
        width: 300px !important;
        height: 450px !important;
        min-height: 450px !important;
    }
    
    .business-swiper .product-content,
    .services-swiper .product-content {
        padding: 15px;
    }
    
    .business-swiper .product-label,
    .services-swiper .product-label {
        font-size: 12px;
        padding: 4px 8px;
        margin-bottom: 8px;
    }
    
    .business-swiper .product-description,
    .services-swiper .product-description {
        font-size: 16px;
        line-height: 1.3;
    }
    
    /* Hero section cards - Tablet */
    .hero-section {
        padding: 15px 40px 30px;
    }
    
    .product-content {
        padding: 30px;
    }
    
    .product-description {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .hero-button-prev,
    .hero-button-next {
        width: 48px;
        height: 48px;
    }
    
    .hero-button-prev {
        left: 20px;
    }
    
    .hero-button-next {
        right: 20px;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    /* Desktop-only styles */

    /* Hero section text content - Desktop */
    .fixed-text-header .text-content {
        width: 100%;
        padding-left: 120px;
        padding-right: 120px;
        gap: 60px;
        box-sizing: border-box;
    }

    .text-content-in-slide {
        padding-left: 60px;
        padding-right: 60px; /* 왼쪽과 동일하게 수정 */
        gap: 60px;
    }

    .hero-banner-container > .section-title {
        padding-left: 120px;
        padding-bottom: 60px;
        margin: 0;
        text-align: left !important;
    }
}

@media (min-width: 1440px) {
    /* Large screen styles */

    /* Hero section text content - Large Desktop */
    .fixed-text-header .text-content {
        width: 100%;
        padding-left: calc(120px + (100vw - 1440px) * 0.482);
        padding-right: calc(120px + (100vw - 1440px) * 0.482);
        gap: 80px;
        box-sizing: border-box;
    }

    .text-content-in-slide {
        padding-left: calc(60px + (100vw - 1440px) * 0.482);
        padding-right: calc(60px + (100vw - 1440px) * 0.482); /* 왼쪽과 동일하게 수정 */
        gap: 80px;
    }

    .hero-banner-container > .section-title {
        padding-left: clamp(120px, calc(120px + (100vw - 1440px) * 0.482), 660px);
        padding-bottom: 60px;
        margin: 0;
        text-align: left !important;
    }

    /* Fix review section title position */
    .review-section .section-title {
        margin: 0;
        padding: 0 60px 60px clamp(120px, calc(120px + (100vw - 1440px) * 0.482), 660px);
    }
}

@media (min-width: 2048px) {
    /* Convert margin to padding for screens larger than 2048px */
    .hero-section {
        max-width: none;
        margin: 0;
        padding-left: calc(60px + (100vw - 2048px) / 2);
        padding-right: calc(60px + (100vw - 2048px) / 2);
    }

    /* Adjust text-content padding to account for hero-section padding */
    .text-content-in-slide {
        padding-left: calc(60px + (2048px - 1440px) * 0.482);
        padding-right: calc(60px + (2048px - 1440px) * 0.482); /* 왼쪽과 동일하게 수정 */
    }
}

/* ===============================================
   MODAL STYLES
   =============================================== */

/* Modal Container */
.card-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.card-modal.active {
    display: block;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(0px);
    z-index: 10001;
    animation: netflixFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Modal Content - Netflix Style Layout */
.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 1200px;
    height: 85vh;
    max-height: 900px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    z-index: 10002;
    animation: netflixScaleIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10003;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.close-icon {
    font-size: 32px;
    color: #333;
    font-weight: 300;
    line-height: 1;
}

.modal-close:hover .close-icon {
    color: var(--primary-color);
}

/* Netflix-style Modal Body - 가로 레이아웃 */
.modal-body {
    display: flex;
    height: 100%;
    overflow: hidden;
}

/* Left side - Hero Image */
.modal-hero {
    flex: 0 0 55%;
    position: relative;
    background: linear-gradient(45deg, #f5f5f5, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.modal-hero-icon {
    font-size: 80px;
    color: #666;
}

/* Right side - Content */
.modal-info {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    background: white;
}

/* Quill HTML content styling in modal */
.modal-info p,
.modal-info div p {
    margin-bottom: 1em !important;
}

.modal-info p:last-child,
.modal-info div p:last-child {
    margin-bottom: 0 !important;
}

.modal-info strong,
.modal-info div strong {
    font-weight: 600;
}

.modal-info em,
.modal-info div em {
    font-style: italic;
}

.modal-info ul,
.modal-info ol,
.modal-info div ul,
.modal-info div ol {
    margin: 1em 0;
    padding-left: 2em;
}

.modal-info li,
.modal-info div li {
    margin-bottom: 0.5em;
}

/* Modal Header */
.modal-header {
    text-align: left;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 40px;
}

.modal-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px;
    font-family: var(--font-primary);
}

.modal-tagline {
    font-size: 18px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Features Section */
.modal-features {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
}

.section-heading {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Info Cards */
.modal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.info-card {
    background: #f5f7fa;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: scale(1.05);
}

.card-icon {
    font-size: 36px;
    margin-bottom: 15px;
    display: block;
}

.info-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
}

.info-card p {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Single CTA Button */
.modal-cta {
    margin-top: auto;
    padding: 30px 0 0;
    display: flex;
    justify-content: center;
    border-top: 1px solid #f0f0f0;
}

.cta-learn-more {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: var(--primary-color);
    color: white;
    min-width: 160px;
}

.cta-learn-more:hover {
    background: #e02828;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 49, 49, 0.3);
}

/* Default Content */
.modal-content-default {
    padding: 40px;
    text-align: center;
    color: #666;
    font-size: 16px;
}

/* Netflix-style Modal Animations */
@keyframes netflixFadeIn {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    100% {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

@keyframes netflixScaleIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.85);
        filter: blur(4px);
    }
    60% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.02);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(0px);
    }
}

/* Mobile slide up animation */
@keyframes mobileSlideUp {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mobileSlideDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(100%);
    }
}

@keyframes netflixFadeOut {
    0% {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
    100% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
}

@keyframes netflixScaleOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(0px);
    }
    40% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.98);
        filter: blur(1px);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.85);
        filter: blur(4px);
    }
}

/* Responsive Modal - Mobile (Popup style instead of fullscreen slide) */
@media (max-width: 767px) {
    .modal-content {
        width: 90%;
        max-width: 400px;
        height: auto;
        max-height: 85vh;
        border-radius: 16px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        position: fixed;
        animation: netflixScaleIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        overflow: hidden;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        z-index: 10004;
    }

    .close-icon {
        font-size: 20px;
        color: #fff;
    }

    /* Change to vertical layout on mobile */
    .modal-body {
        flex-direction: column;
        padding: 0;
        height: auto;
        max-height: 85vh;
        overflow-y: auto;
    }

    /* Hero section on mobile */
    .modal-hero {
        flex: none;
        height: 180px;
        width: 100%;
    }

    .modal-hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Info section on mobile */
    .modal-info {
        flex: 1;
        padding: 20px;
        overflow-y: auto;
        max-height: calc(85vh - 180px - 70px);
    }

    /* Modal header on mobile */
    .modal-header {
        text-align: center;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .modal-title {
        font-size: 22px;
    }

    .modal-tagline {
        font-size: 13px;
    }

    /* CTA button on mobile */
    .modal-cta {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 15px 20px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        margin: 0 -20px;
        display: flex;
        justify-content: center;
    }

    .cta-learn-more {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* Tablet responsive */
@media (min-width: 768px) and (max-width: 1023px) {
    .modal-content {
        width: 90%;
        max-width: 800px;
        height: 80vh;
    }
    
    /* Keep horizontal layout on tablet but adjust proportions */
    .modal-hero {
        flex: 0 0 45%;
    }
    
    .modal-info {
        padding: 30px 25px;
    }
    
    .modal-title {
        font-size: 30px;
    }
    
    .modal-tagline {
        font-size: 16px;
    }
}

/* Small tablets and large phones in landscape */
@media (max-width: 767px) and (orientation: landscape) {
    .modal-hero {
        height: 150px;
    }

    .modal-info {
        padding-bottom: 70px; /* Space for sticky button */
    }

    /* Mobile menu optimization for landscape */
    .mobile-menu-content {
        padding: 10vh 5vw 3vh 5vw;
    }

    .mobile-nav {
        gap: 2.5vh;
        margin-top: 1vh;
    }

    .mobile-nav-item {
        padding: 1.5vh 0;
        min-height: 5vh;
        font-size: clamp(16px, 3.5vw, 20px);
    }

    .mobile-menu-bottom {
        padding-top: 2vh;
        min-height: 8vh;
    }
}

/* Very small screens (like iPhone SE) */
@media (max-width: 375px) {
    .mobile-menu-content {
        padding: 12vh 5vw 4vh 5vw;
    }

    .mobile-nav {
        gap: 3.5vh;
    }

    .mobile-nav-item {
        padding: 2vh 0;
        min-height: 6vh;
        font-size: clamp(16px, 4.5vw, 22px);
    }

    .mobile-menu-bottom {
        padding-top: 3vh;
        min-height: 9vh;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-active {
    overflow: hidden;
    /* Removed position:fixed as it breaks Three.js rendering */
    /* Using touch-action and overflow instead */
    touch-action: none;
}

/* Make cards and product blocks clickable */
.product-block,
.business-card,
.service-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-block:hover,
.business-card:hover,
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}



/* ========== Contact Modal Styles ========== */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.contact-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.contact-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-close span {
    position: absolute;
    width: 24px;
    height: 2px;
    background: #333;
    transition: background 0.3s ease;
}

.contact-modal-close span:first-child {
    transform: rotate(45deg);
}

.contact-modal-close span:last-child {
    transform: rotate(-45deg);
}

.contact-modal-close:hover span {
    background: var(--primary-color);
}

.contact-modal-title {
    color: #222;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.contact-modal-form .radio-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 40px;
    margin-bottom: 24px;
}

.contact-modal-form .radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 16px;
    cursor: pointer;
}

.contact-modal-form .radio-option input {
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
}

.contact-modal-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-modal-form .input-field input,
.contact-modal-form .input-field-large textarea {
    width: 100%;
    padding: 14px 16px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-modal-form .input-field input:focus,
.contact-modal-form .input-field-large textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-modal-form .input-field input::placeholder,
.contact-modal-form .input-field-large textarea::placeholder {
    color: #999;
}

.contact-modal-form .input-field-large textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 16px;
}

.contact-modal-form .form-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.contact-modal-form .submit-button {
    padding: 14px 28px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-modal-form .submit-button:hover {
    background: var(--primary-color-dark, #0056b3);
    transform: scale(1.02);
}

.contact-modal-form .plus-button {
    width: 48px;
    height: 48px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-modal-form .plus-button:hover {
    background: #e5e5e5;
}

/* Mobile Contact Modal */
@media (max-width: 767px) {
    .contact-modal-content {
        padding: 24px;
        border-radius: 16px;
    }

    .contact-modal-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .contact-modal-form .radio-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 12px 24px;
    }

    .contact-modal-form .radio-option {
        font-size: 14px;
    }

    .contact-modal-form .form-footer {
        flex-direction: column-reverse;
    }

    .contact-modal-form .submit-button,
    .contact-modal-form .plus-button {
        width: 100%;
    }
}

/* Nav Contact Button Style */
.nav-item.nav-contact-btn,
.nav-contact-btn {
    background: none !important;
    color: inherit;
    padding: 8px 16px !important;
    border-radius: 0 !important;
    border: none !important;
    cursor: pointer;
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* Dark background - white text */
header.dark .nav-item.nav-contact-btn,
header.dark-mode .nav-item.nav-contact-btn {
    color: var(--white) !important;
}

.nav-item.nav-contact-btn:hover,
.nav-contact-btn:hover {
    background: none !important;
    border: none !important;
    opacity: 0.7;
}
