/* ===================================
   1. CSS Variables & Base Styles
   =================================== */
:root {
    /* Primary Brand Colors */
    --color-primary: #EC2020;
    --color-primary-dark: #cc0000;
    --color-primary-light: #ff3333;
    --color-primary-glow: rgba(236, 32, 32, 0.3);

    /* Secondary & Neutral Colors */
    --color-secondary-dark: #1D2120;
    --color-secondary-gray: #51565A;
    --color-neutral-light: #DDDFE2;
    --color-neutral-medium: #ECECEC;
    --color-neutral-soft: #F5F5F5;

    /* Text & Background Colors */
    --color-text-primary: #1C1D1A;
    --color-text-secondary: #51565A;
    --color-text-light: #777777;
    --color-bg-primary: #E5E9E2;
    --color-bg-secondary: #777777;
    --color-bg-dark: #1D2120;
    --color-black: #0B0F12;
    --color-white: #ffffff;
    --color-red: #EC2020;
    --color-nomal_gray: #d8d8d8;    


    /* Typography */
    --font-primary: 'Pretendard','Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-korean: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Inter', sans-serif;

    /* Font Sizes */
    --font-display-1: 7.5rem;
    --font-heading-1: 3.5rem;
    --font-heading-2: 3rem;
    --font-heading-3: 2rem;
    --font-heading-4: 1.5rem;
    --font-heading-4-uppercase: 1.5rem;
    --font-paragraph-1: 1.75rem;
    --font-paragraph-2: 1rem;
    --font-button: 1.25rem;
    --font-main-stitle:1.25rem;
    --font-main-desc: 1.125rem;    
    --font-hyperlink: 1.25rem;
    --font-mainmenu: 1.25rem;
    --font-submenu: 1rem;
        

    /* Icon Sizes */
    --icon-size-xs: 9px;
    --icon-size-sm: 18px;
    --icon-size-md: 20px;
    --icon-size-lg: 24px;
    --icon-size-xl: 32px;
    --icon-size-2xl: 40px;
    --icon-size-3xl: 54px;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;

    /* Container */
    --container-mobile: 390px;
    --container-tablet: 768px;
    --container-laptop: 1440px;
    --container-desktop: 1600px;
    --container-desktop-hd: 1600px;

    --margin-mobile: 20px;
    --margin-tablet: 40px;
    --margin-laptop: 140px;
    --margin-desktop: 160px;
    --margin-desktop-hd: 160px;

    /* Utils */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --z-navbar: 1000;
    --z-mobile-menu: 999;
    --z-scroll-top: 998;
    --z-overlay: 500;

    --shadow-primary: 0 8px 8px rgba(236, 32, 32, 0.15);
    --shadow-secondary: 0 4px 8px rgba(29, 33, 32, 0.15);
    --shadow-neutral: 0 2px 4px rgba(81, 86, 90, 0.13);
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-korean);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    min-width: 100%;
    position: relative;
}

a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: var(--transition-medium);
}

a:hover {
    color: var(--color-primary);
}

ul {
    list-style: none;
}

/* ===================================
   2. Base Components & Styles
   =================================== */

/* Typography */
.display-1,
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, var(--font-display-1));
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-korean);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

h1 {
    font-size: clamp(2rem, 5vw, var(--font-heading-1));
}

h2 {
    font-size: clamp(1.75rem, 4vw, var(--font-heading-2));
}

h3 {
    font-size: clamp(1.5rem, 3vw, var(--font-heading-3));
}

h4 {
    font-size: clamp(1.25rem, 2vw, var(--font-heading-4));
}

h4.uppercase {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

.paragraph-1,
.text-large {
    font-family: var(--font-korean);
    font-size: clamp(1.125rem, 2vw, var(--font-paragraph-1));
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
}

.paragraph-2,
.text-medium {
    font-family: var(--font-korean);
    font-size: var(--font-paragraph-2);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
}

/* Links */
.hyperlink {
    font-family: var(--font-primary);
    font-size: var(--font-hyperlink);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-medium);
}

.hyperlink:hover {
    text-decoration: underline;
}

/* Icons */
.icon-xs {
    font-size: var(--icon-size-xs);
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
}

.icon-sm {
    font-size: var(--icon-size-sm);
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
}

.icon-md {
    font-size: var(--icon-size-md);
    width: var(--icon-size-md);
    height: var(--icon-size-md);
}

.icon-lg {
    font-size: var(--icon-size-lg);
    width: var(--icon-size-lg);
    height: var(--icon-size-lg);
}

.icon-xl {
    font-size: var(--icon-size-xl);
    width: var(--icon-size-xl);
    height: var(--icon-size-xl);
}

.icon-2xl {
    font-size: var(--icon-size-2xl);
    width: var(--icon-size-2xl);
    height: var(--icon-size-2xl);
}

.icon-3xl {
    font-size: var(--icon-size-3xl);
    width: var(--icon-size-3xl);
    height: var(--icon-size-3xl);
}

.icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.icon-container:hover {
    transform: scale(1.1);
}

.fa-sharp {
    font-family: "Font Awesome 6 Sharp";
    font-weight: 400;
}

/* Layout */
.container {
    max-width: var(--container-desktop);
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

section {
    padding: var(--spacing-xxl) 0;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(11, 15, 18, 0.3);
    backdrop-filter: blur(10px);
    z-index: var(--z-navbar);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(11, 15, 18, 0.95);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0.625rem 3rem;
    display: grid;
    grid-template-columns: 200px 1fr 80px;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--color-white);
    display: flex;
    align-items: center;
    transition: var(--transition-medium);
}

.logo-d {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: 2px;
    transition: var(--transition-medium);
}

.logo-text {
    font-weight: 300;
    letter-spacing: 0.02em;
}

.logo:hover .logo-d {
    color: var(--color-primary-light);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.nav-link {
    font-family: var(--font-korean);
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    position: relative;
    color: var(--color-white);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-red);
}

.menu-toggle-btn {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
}

.menu-toggle-btn:hover {
    color: var(--color-red);
}

/* Navbar White Theme */
.navbar-white {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.navbar-white.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar-white .nav-link {
    color: var(--color-black);
}

.navbar-white .nav-link:hover {
    color: var(--color-red);
}

.navbar-white .menu-toggle-btn {
    color: var(--color-black);
}

.navbar-white .menu-toggle-btn:hover {
    color: var(--color-red);
}

.navbar-white .submenu {
    background-color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-white .submenu.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar-white .submenu-item {
    color: var(--color-black);
}

.navbar-white .submenu-item:hover {
    color: var(--color-red);
}

/* Navbar Black Theme */
.navbar-black {
    background-color: rgba(11, 15, 18, 0.3);
    backdrop-filter: blur(10px);
}

.navbar-black.scrolled {
    background-color: rgba(11, 15, 18, 0.95);
}

.navbar-black .nav-link {
    color: var(--color-white);
}

.navbar-black .nav-link:hover {
    color: var(--color-red);
}

.navbar-black .menu-toggle-btn {
    color: var(--color-white);
}

.navbar-black .menu-toggle-btn:hover {
    color: var(--color-red);
}

.navbar-black .submenu {
    background-color: rgba(11, 15, 18, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-black .submenu.scrolled {
    background-color: rgba(11, 15, 18, 0.95);
}

.navbar-black .submenu-item {
    color: var(--color-white);
}

.navbar-black .submenu-item:hover {
    color: var(--color-red);
}

/* Submenu */
.submenu {
    position: fixed;
    left: 0;
    width: 100%;
    background-color: rgba(11, 15, 18, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0px);
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
    z-index: 999;
    display: none;
}

.submenu.scrolled {
    background-color: rgba(11, 15, 18, 0.95);
}

.submenu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.submenu-services {
    display: flex;
    gap: 4rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.submenu-item {
    font-family: var(--font-korean);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 1px;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.submenu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-red);
    transition: width var(--transition-medium);
}

.submenu-item:hover {
    color: var(--color-red);
}

.submenu-item:hover::after {
    width: 100%;
}

.submenu-contact-btn {
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 0.725rem 1.75rem;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    transition: var(--transition-medium);
    box-shadow: 0 4px 15px rgba(236, 32, 32, 0.3);
}

.submenu-contact-btn:hover {
    background-color: var(--color-primary-light);
    color: var(--color-white);
    box-shadow: 0 6px 20px rgba(236, 32, 32, 0.5);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    padding: 0;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-background iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    position: relative;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-slide .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 0 2rem;
}

.hero-slide .hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    text-transform: capitalize;
}

.hero-slide .title-line {
    display: block;
}

.slider-pagination {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 100 !important;
    pointer-events: auto !important;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0);
    border: none;
    cursor: pointer;
    transition: var(--transition-medium);
    padding: 12px;
    pointer-events: auto !important;
    position: relative;
    z-index: 101 !important;
}

.pagination-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-medium);
}

.pagination-dot:hover::before {
    background-color: rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%) scale(1.2);
}

.pagination-dot.active::before {
    background-color: var(--color-red);
    width: 30px;
    border-radius: 5px;
}

.slider-arrow {
    display: none;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100 !important;
    transition: var(--transition-medium);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    pointer-events: auto !important;
}

.slider-arrow:hover {
    background-color: var(--color-red);
    border-color: var(--color-red);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow-prev {
    left: 2rem;
}

.slider-arrow-next {
    right: 2rem;
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Identity CTA */
.identity-cta-section {
    background-color: var(--color-black);
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.identity-cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-family: var(--font-korean);
    font-size: var(--font-main-stitle);
    font-weight: 700;
    letter-spacing: 0px;
    color: var(--color-red);
    text-transform: uppercase;
    margin-bottom: 2.125rem;
}

.section-title {
    font-size: var(--font-heading-2);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color:var(--color-white);
}


.section-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    margin-bottom: 3rem;
}



.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-gray);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}



.identity-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-identity {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-korean);
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid var(--color-white);
    cursor: pointer;
    transition: var(--transition-medium);
    text-decoration: none;
}

.btn-identity-primary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-identity-primary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-identity-primary:active {
    background-color: var(--color-red);
    color: var(--color-black);
    border-color: var(--color-red);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(236, 32, 32, 0.4);
}

.btn-identity-primary .button-icon {
    transition: var(--transition-medium);
}

.btn-identity-primary:hover .button-icon {
    transform: translateX(5px);
}

.btn-identity-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-identity-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Direction Section */
.direction-section {
    position: relative;
    background-color: var(--color-black);
    background-image: url('../img/main/direction_section_bg.png');
    background-size: auto 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: var(--spacing-xxl) 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 150px;
}

.direction-spotlight {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 50vw solid transparent;
    border-right: 50vw solid transparent;
    border-bottom: 120vh;
    opacity: 0.4;
    filter: blur(80px);
    z-index: 1;
}

.direction-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xxl);
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.direction-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.direction-word {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin: 0;
    text-transform: capitalize;
    letter-spacing: -2px;
    position: relative;
    cursor: pointer;
}

.d-letter {
    color: var(--color-red);
    text-shadow: 0 0 30px var(--color-red-glow);
}

.d-rest {
    color: var(--color-white);
}

.hover-dot {
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    background-color: var(--color-black);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--transition-medium);
    pointer-events: none;
    z-index: 10;
}

.direction-word:hover .hover-dot {
    opacity: 1;
}

.direction-subtitle {
    font-family: var(--font-korean);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    color: var(--color-white);
    margin: 0;
    opacity: 0.9;
}

/* Section Titles */

/* Services Section */
.services-section {
    background-color: var(--color-black);
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
}

.services-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.services-main-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.4;
}



.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.service-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-neutral);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-secondary);
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gray-dark) 0%, var(--color-gray) 100%);
    z-index: 1;
    overflow: hidden;
}

.service-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: auto;
    aspect-ratio: 16/9;
    pointer-events: none;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 18, 0.8);
    transition: opacity var(--transition-medium);
}

.service-card:hover .service-overlay {
    opacity: 0.2;
}

.service-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: var(--spacing-md);
}

.service-content>* {
    pointer-events: auto;
}

.service-name {
    font-family: var(--font-korean);
    font-size: var(--font-heading-1);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
    margin: 0 auto;
    position: relative;
    display: block;
    width: fit-content;
    padding: 10px 0;
}

.service-name::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-white);
}

.service-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-white);
}

.service-card:hover .service-name::before {
    animation: drawLineLeftToRight 0.3s ease-in-out forwards;
}

.service-card:hover .service-name::after {
    animation: drawLineRightToLeft 0.3s ease-in-out forwards;
}

/* 위 라인: 왼쪽 → 오른쪽 애니메이션 */
@keyframes drawLineLeftToRight {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* 아래 라인: 오른쪽 → 왼쪽 애니메이션 */
@keyframes drawLineRightToLeft {
    from {
        width: 0;
        right: 0;
        left: auto;
    }
    to {
        width: 100%;
        right: 0;
        left: auto;
    }
}

.service-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-korean);
    font-size: 0.95rem;
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-medium);
    width: fit-content;
}

.service-more i,
.service-more-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-medium);
}

.service-more:hover {
    color: var(--color-red);
}

.service-more:hover i,
.service-more:hover .service-more-icon {
    transform: translateX(5px);
}

.service-card:hover .service-more {
    color: var(--color-white);
}

.service-card:hover .service-more i,
.service-card:hover .service-more-icon {
    background-color: var(--color-red);
    color: var(--color-white);
    transform: translateX(5px);
}

/* Brand Gallery Section */
.brand-gallery-section {
    background-color: var(--color-black);
    height: 210vh;
    position: relative;
}

.gallery-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    max-width: 100%;
    min-height: 1700px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-center-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.gallery-title {
    font-size: var(--font-display-1);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.gallery-title-highlight {
    color: var(--color-red);
}

.gallery-subtitle {
    font-size: var(--font-heading-2);
    color: var(--color-text-gray);
    margin-bottom: 1.5rem;
}

.gallery-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-korean);
    font-size: var(--font-heading-4);
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-medium);
    width: fit-content;
    margin-top: 1rem;
}

.gallery-more-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-medium);
}

.gallery-more:hover {
    color: var(--color-red);
}

.gallery-more:hover .gallery-more-icon {
    transform: translateX(5px);
    background-color: var(--color-red);
    color: var(--color-white);
}

.gallery-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--color-red);
    text-decoration: none;
    transition: var(--transition-medium);
}

.gallery-link:hover {
    transform: translateX(5px);
}

.gallery-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.gallery-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.3s ease, z-index 0.2s ease;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.gallery-img:hover {
    z-index: 100 !important;
}

.brand-gallery-section.gathered .gallery-img {
    opacity: 1;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 갤러리 이미지 개별 좌표 (Desktop Default) */
/* 1번 */
.gallery-img[data-position="1"] {
    transform: translate(-50%, -50%) translate(400px, -650px) skewY(-30deg);
}

.brand-gallery-section.gathered .gallery-img[data-position="1"] {
    transform: translate(-50%, -50%) translate(200px, -450px);
}

/* 2번 */
.gallery-img[data-position="2"] {
    transform: translate(-50%, -50%) translate(800px, -300px) skewY(-20deg);
}

.brand-gallery-section.gathered .gallery-img[data-position="2"] {
    transform: translate(-50%, -50%) translate(500px, -200px);
}

/* 3번 */
.gallery-img[data-position="3"] {
    transform: translate(-50%, -50%) translate(750px, 250px) skewY(11deg);
}

.brand-gallery-section.gathered .gallery-img[data-position="3"] {
    transform: translate(-50%, -50%) translate(450px, 150px);
}

/* 4번 */
.gallery-img[data-position="4"] {
    transform: translate(-50%, -50%) translate(450px, 600px) skewY(20deg);
}

.brand-gallery-section.gathered .gallery-img[data-position="4"] {
    transform: translate(-50%, -50%) translate(150px, 400px);
}

/* 5번 */
.gallery-img[data-position="5"] {
    z-index: 5;
    transform: translate(-50%, -50%) translate(-500px, 550px) skewY(-25deg);
}

.brand-gallery-section.gathered .gallery-img[data-position="5"] {
    transform: translate(-50%, -50%) translate(-200px, 350px);
}

/* 6번 */
.gallery-img[data-position="6"] {
    transform: translate(-50%, -50%) translate(-700px, 300px) skewY(-15deg);
}

.brand-gallery-section.gathered .gallery-img[data-position="6"] {
    transform: translate(-50%, -50%) translate(-400px, 100px);
}

/* 7번 */
.gallery-img[data-position="7"] {
    transform: translate(-50%, -50%) translate(-850px, -350px) skewY(15deg);
}

.brand-gallery-section.gathered .gallery-img[data-position="7"] {
    transform: translate(-50%, -50%) translate(-450px, -250px);
}

/* 8번 */
.gallery-img[data-position="8"] {
    transform: translate(-50%, -50%) translate(-450px, -600px) skewY(20deg);
}

.brand-gallery-section.gathered .gallery-img[data-position="8"] {
    transform: translate(-50%, -50%) translate(-150px, -400px);
}

.gallery-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 326px;
    background: url('../img/main/portfolio_bg.png') no-repeat center bottom;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

/* IMC Section */
.imc-section {
    background-color: #0a0a0a;
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.imc-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}



.imc-circles-wrapper {
    position: relative;
    margin: var(--spacing-xxl) 0;
    padding-bottom: 100px;
}

.imc-circles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 0px;
    flex-wrap: wrap;
}

.connection-svg {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100px;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.connection-arrow {
    position: absolute;
    height: auto;
    max-height: 100px;
    width: auto;
    pointer-events: none;
    object-fit: contain;
}

.connection-arrow.arrow-left {
    left: 35%;
    bottom: 0;
    transform: translateX(-50%);
}

.connection-arrow.arrow-right {
    right: 35%;
    bottom: 0;
    transform: translateX(50%);
}

.connection-labels {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 33%;
    z-index: 10;
}

.connection-label {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    color: #ff0000;
    background-color: rgba(255, 0, 0, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: none;
}

.imc-circle-item {
    display: flex;
    align-items: center;
}

.imc-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(45, 45, 45, 0.6);
    border: 1px solid rgba(80, 80, 80, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition-medium);
}

.imc-circle:hover {
    background: rgba(50, 50, 50, 0.8);
    border-color: rgba(100, 100, 100, 0.5);
    transform: scale(1.02);
}

.imc-circle h3 {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-white);
}

.imc-circle.imc-center {
    width: 280px;
    height: 280px;
    background: rgba(50, 50, 50, 0.7);
    border-color: rgba(90, 90, 90, 0.4);
}

.imc-circle.imc-center h3 {
    font-size: 1.6rem;
}

.circle-plus {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    margin: 0 2rem;
}

/* Solution Section */
.solution-section {
    background-color: var(--color-black);
    background-image: url('../img/main/section_bg.png');
    
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.solution-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}



.solution-process {
    position: relative;
    margin: var(--spacing-xxl) 0;
}

.process-card-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 220px;
    max-width: 280px;
}

.process-row-label {
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.process-row-label.top-label {
    position: absolute;
    top: -110px;
    transform: translateX(-50%);
    margin-bottom: 0px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-card-wrapper:first-child .process-row-label {
    width: 256px;
}

.process-card-wrapper:last-child .process-row-label {
    width: 182px;
}

.process-row-label span {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    font-family: var(--font-korean);
    font-size: 0.95rem;
    color: var(--color-white);
    letter-spacing: 1px;
    width: 100%;
    box-sizing: border-box;
}

.process-row-label .label-arrow {
    display: block;
    width: auto;
    margin: 0.5rem auto 0;
    position: relative;
    object-fit: contain;
}

.process-row-label.bottom-label {
    position: absolute;
    bottom: -80px;
    right: 12.5%;
    transform: translateX(50%);
    margin: 0;
    text-align: center;
}

.process-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    margin: var(--spacing-lg) 0;
    max-width: 100%;
    flex-wrap: wrap;
    padding-top: 60px;
}

.process-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--spacing-lg);
    transition: var(--transition-medium);
    min-height: 250px;
    flex: 1 1 220px;
    max-width: 280px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.process-card:hover {
    border-color: var(--color-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.15);
}

.card-icon {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-red);
    margin-bottom: 1rem;
    align-self: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.card-list li {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.5);
    padding-left: 0;
    position: relative;
    list-style: none;
    font-weight: 300;
    text-align: center;
}

.process-arrow {
    font-size: 2rem;
    color: var(--color-white);
    opacity: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0 0.5rem;
}

.process-bottom-image {
    text-align: center;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.process-bottom-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.process-center-dot {
    position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--color-red);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.solution-footer {
    text-align: center;
    margin-top: 150px;
}

.solution-footer-text {
    font-size: clamp(1.2rem, 2.5vw, 2.5rem);
    color: var(--color-white);
    line-height: 1.8;
}

/* IMC Device Section */
.imc-device-section {
    background-color: var(--color-black);
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.device-showcase-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}



.platform-showcase-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: var(--spacing-xxl);
    flex-wrap: wrap;
}

.platform-logo-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    color: var(--color-text-gray);
    transition: var(--transition-medium);
}

.platform-logo-item i {
    font-size: 2.5rem;
    opacity: 0.7;
}

.platform-logo-item span {
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 1px;
}

.platform-logo-item:hover {
    color: var(--color-white);
}

.platform-logo-item:hover i {
    opacity: 1;
}

.strategy-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.strategy-label {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--color-red);
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.strategy-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.strategy-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-gray);
    line-height: 1.8;
}

.device-carousel {
    margin: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.device-container {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
    margin-bottom: var(--spacing-xl);
    user-select: none;
}

.device-mockup {
    position: absolute;
    width: 213px;
    height: 438px;
    background-image: url('../img/main/phone_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
    transform-style: preserve-3d;
    opacity: 0;
    z-index: 0;
    transform: translateX(0) scale(0.85) rotateY(0deg);
    pointer-events: none;
}

.device-mockup.active {
    opacity: 1;
    z-index: 10;
    transform: translateX(0) scale(1.1) rotateY(0deg);
    pointer-events: auto;
}

.device-mockup.left {
    opacity: 0.3;
    z-index: 1;
    transform: translateX(-250px) scale(0.85) rotateY(25deg);
    pointer-events: auto;
}

.device-mockup.right {
    opacity: 0.3;
    z-index: 1;
    transform: translateX(250px) scale(0.85) rotateY(-25deg);
    pointer-events: auto;
}

.device-screen {
    border-radius: 32px;
    padding: 6px 4px 4px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rolling-image {
    object-fit: cover;
}

.screen-content {
    text-align: center;
}

.platform-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.platform-icon i {
    font-size: 3rem;
}

.instagram-content .platform-icon {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCB045);
}

.instagram-content .platform-icon i {
    color: white;
}

.youtube-content .platform-icon {
    background: #FF0000;
}

.youtube-content .platform-icon i {
    color: white;
}

.kakao-content .platform-icon {
    background: #FEE500;
}

.kakao-content .platform-icon i {
    color: #3C1E1E;
}

.screen-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.screen-content p {
    font-size: 1rem;
    color: var(--color-text-gray);
}

.platform-logos {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: var(--spacing-lg);
    height: 100px;
    width: 100%;
}

.logo-item {
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.5;
    position: absolute;
    left: 50%;
    width: auto;
    height: auto;
    transform: translateX(-50%) scale(0.9);
}

.logo-item.visible-logo {
    display: flex;
}

.logo-item.active {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    z-index: 10;
}

.logo-item.left {
    opacity: 0.5;
    transform: translateX(calc(-50% - 200px)) scale(0.9);
    z-index: 1;
}

.logo-item.right {
    opacity: 0.5;
    transform: translateX(calc(-50% + 200px)) scale(0.9);
    z-index: 1;
}

.logo-icon,
.logo-icon-active {
    width: auto;
    height: auto;
    max-width: 181px;
    max-height: 97px;
    object-fit: contain;
    transition: opacity var(--transition-medium);
}

.logo-icon-active {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.logo-item.visible-logo:hover {
    opacity: 1;
}

.logo-item.visible-logo:hover .logo-icon {
    opacity: 1;
}

.logo-item.visible-logo:hover .logo-icon-active {
    opacity: 0;
}

.logo-item.active .logo-icon {
    opacity: 0;
}

.logo-item.active .logo-icon-active {
    opacity: 1;
}

.logo-item.left .logo-icon,
.logo-item.right .logo-icon {
    opacity: 1;
}

.logo-item.left .logo-icon-active,
.logo-item.right .logo-icon-active {
    opacity: 0;
}

.strategy-description {
    text-align: center;
    margin: var(--spacing-xxl) 0;
}

.description-title {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-white);
}

.strategy-steps {
    margin-top: var(--spacing-xxl);
}

.step-label {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.step-label span {
    display: inline-block;
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--color-white);
    letter-spacing: 1px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.step-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: var(--spacing-lg);
    transition: var(--transition-medium);
}

.step-card:hover {
    border-color: var(--color-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

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

.step-list li {
    font-size: 1rem;
    color: var(--color-text-gray);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.step-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-red);
    font-size: 1.2rem;
}

.step-arrow {
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--color-red);
    opacity: 0.5;
}

.step-card:last-child .step-arrow {
    display: none;
}

.strategy-footer {
    text-align: center;
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-text {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--color-white);
    line-height: 1.8;
}

.footer-highlight {
    color: var(--color-white);
    font-weight: 700;
}

/* Contact Section */
.contact-section {
    padding: 0;
}

.contact-form-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    background-color: #F5F5FA;
    border-radius: 40px 40px 0 0;
    padding: 4rem 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

.contact-form {
    max-width: 768px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-label {
    font-family: var(--font-korean);
    font-size: var(--font-main-stitle);
    color: var(--color-red);
    letter-spacing: 0px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.contact-main-title {
    font-size: clamp(1.625rem, 4vw, 2.125rem);
    font-weight: 700;
    text-align: center;
    color: #000000;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
}

.form-section {
    margin-bottom: 1.8rem;
}

.form-label {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 500;
    color: #000000;
    margin-bottom: 1rem;
}

.required {
    color: var(--color-red);
    margin-left: 2px;
    text-decoration: none;
}

.label-hint {
    font-size: 0.875rem;
    font-weight: 400;
    color: #666;
    margin-left: auto;
}

.checkbox-rows {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.checkbox-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.725rem 1.45rem;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-medium);
    font-size: 1.125rem;
    color: #000;
    font-weight: 400;
    white-space: nowrap;
}

.checkbox-btn input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-btn input[type="checkbox"]:checked+span {
    color: #FFFFFF;
    font-weight: 400;
}

.checkbox-btn:has(input:checked) {
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);;
    color: #FFFFFF;
}

.checkbox-btn:hover {
    background-color: #FFFFFF;
    border: 1px solid #000000;
}

.checkbox-btn:has(input:checked):hover {
    background-color: var(--color-primary);;
    border: 1px solid var(--color-primary);;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.input-field {
    display: flex;
    flex-direction: column;
}

.input-label {
    font-size: 0.875rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #E0E0E0;
    border-radius: 0;
    font-size: 0.85rem;
    color: #000000;
    transition: var(--transition-medium);
}

.form-input:focus {
    outline: none;
    border-bottom-color: #999;
    background-color: transparent;
    box-shadow: none;
}

.form-input::placeholder {
    color: #999;
}

.terms-section {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-text {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.125rem;
    color: #666;
    position: relative;
    padding-left: 24px;
    text-decoration: underline;
}

.checkbox-text i {
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 0.6rem;
    transition: var(--transition-medium);
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-text i {
    background-color: var(--color-red);
    border-color: var(--color-red);
    color: white;
}

.submit-btn {
    width: 100%;
    padding: 0.9rem 2rem;
    background-color: white;
    border: 2px solid #000000;
    border-radius: 50px;
    font-family: var(--font-korean);
    font-size: 1.125rem;
    font-weight: 500;
    color: #000000;
    cursor: pointer;
    transition: var(--transition-medium);
    margin-top: 2rem;
    letter-spacing: 0;
}

/* Scrolling Banner */
.scrolling-banner {
    background-color: var(--color-red);
    overflow: hidden;
    padding: 0.725rem 0;
    position: relative;
}

.banner-track {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 70s linear infinite;
}

.banner-text {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    padding: 0 5rem;
    letter-spacing: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-primary);
    font-size: var(--font-button);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    border-radius: 4px;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: #d91c1c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(236, 32, 32, 0.3);
}

.btn-primary:active {
    background: #b81818;
    transform: translateY(0);
    box-shadow: var(--shadow-secondary);
}

.btn-primary:focus {
    background: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(236, 32, 32, 0.2);
    outline: none;
}

.btn-primary:disabled,
.btn-primary.disabled {
    background: var(--color-neutral-medium);
    color: var(--color-text-light);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
    opacity: 0.5;
}

.btn-primary:disabled:hover,
.btn-primary.disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-block {
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--color-black);
    padding: 5rem 0 2rem;
    position: relative;
    width: 100%;
    
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

.footer-label {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.footer-info {
    text-align: left;
}

.footer-info .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-info .footer-links a {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.footer-info .footer-links a:hover {
    color: var(--color-white);
    padding-left: 8px;
}

.footer-services {
    text-align: center;
}

.footer-services-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-item {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin: 0;
    transition: var(--transition-fast);
    cursor: pointer;
}

.service-item:hover {
    color: var(--color-red);
    transform: translateX(10px);
}

.footer-contact {
    text-align: right;
}

.footer-phone {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-phone:hover {
    color: var(--color-red);
    transform: scale(1.05);
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding-top: 2rem;
}

.footer-bottom-left {
    text-align: left;
}

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

.footer-bottom-right {
    text-align: right;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
    font-family: var(--font-primary);
}

.family-site-wrapper {
    position: relative;
    display: inline-block;
}

.family-site-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 2rem;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-medium);
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 180px;
    justify-content: space-between;
}

.family-site-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-white);
    color: var(--color-white);
}

.family-site-btn:focus,
.family-site-btn.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-white);
    color: var(--color-white);
    outline: none;
}

.dropdown-icon {
    transition: transform var(--transition-medium);
}

.family-site-btn.active .dropdown-icon {
    transform: rotate(180deg);
}

.family-site-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 0.5rem;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-medium);
    z-index: 1000;
}

.family-site-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-korean);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    padding-left: 2rem;
}

/* Scroll Top */
.scroll-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 50px;
    height: 50px;
    background: var(--color-black);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
    z-index: var(--z-scroll-top);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.scroll-top:hover {
    background: var(--color-black);
    border-color: var(--color-white);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}


/* ===================================
   3. Responsive Media Queries (Grouped)
   (모든 오버라이드를 포함한 전체 코드)
   =================================== */

/* --- 1. Ultra Wide (1920px+) --- */
@media (min-width: 1920px) {
    .container {
        
        padding: 0;
    }

    .direction-section {
        height: 1313px;
        min-height: 1313px;
        background-position: center bottom;
        background-size: auto 100%;
        align-items: flex-end;
        padding-bottom: 150px;
    }

    /* Extra Large Screens */
    @media (min-width: 2560px) {
        .hero-slide .hero-title {
            font-size: clamp(5rem, 8vw, 7rem);
        }

        .gallery-img {
            width: 240px;
            height: 330px;
        }

        .device-mockup {
            width: 380px;
            height: 760px;
        }
    }

    @media (min-width: 3440px) {
        .container {
            max-width: 2400px;
        }

        .brand-gallery-section .gallery-img[data-position="1"] {
            transform: translateX(-1100px) translateY(-480px) rotateY(-30deg) skewY(24deg);
        }

        .brand-gallery-section .gallery-img[data-position="2"] {
            transform: translateX(950px) translateY(-480px) rotateY(30deg) skewY(-24deg);
        }
    }
}

/* --- 2. Desktop & Laptop (1400px - 1919px) --- */
@media (min-width: 1441px) {

    /* Services: Full Width */
    .services-section .container {
        max-width: 100%;
        padding: 0;
        width: 100%;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        width: 100%;
        margin-top: var(--spacing-xl);
    }

    .service-card {
        height: 570px;
        aspect-ratio: unset;
        border-radius: 0;
        overflow: hidden;
    }

    .service-bg iframe {
        width: 178vh;
        height: 570px;
        min-width: 100%;
    }

    /* Direction Section */
    .direction-section {
        height: 100vh;
        min-height: 900px;
        background-position: center bottom;
        align-items: flex-end;
        padding-bottom: 120px;
    }

    /* Specific Adjustments for < 1920px */
    @media (max-width: 1919px) {
        .container {
            max-width: var(--container-laptop);
            padding: 0 var(--margin-laptop);
        }

        .hero-slide .hero-title {
            font-size: clamp(3.5rem, 6vw, 5rem);
        }

    }
}

/* --- 3. Tablet Landscape / Small Laptop (1024px - 1399px) --- */
@media (min-width: 1024px) and (max-width: 1440px) {
    :root {
        font-size: 15px;
    }



    section {
        padding: var(--spacing-xl) 0;
    }

    /* Nav */
    .submenu {
        display: block;
    }

    .nav-menu {
        display: flex;
    }

    /* Typography */
    .hero-slide .hero-title {
        font-size: clamp(3rem, 5vw, 4rem);
    }


    /* Direction Section */
    .direction-section {
        height: 100vh;
        min-height: 800px;
        padding-bottom: 100px;
    }

    /* Grids */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0 !important;
    }


    /* Brand Gallery Adjusted Transforms */
    .gallery-img {
        width: 250px;
        height: 250px;
    }

    .brand-gallery-section .gallery-img[data-position="1"] {
        transform: translateX(-700px) translateY(-320px) rotateY(-25deg) skewY(20deg);
    }

    .brand-gallery-section .gallery-img[data-position="2"] {
        transform: translateX(550px) translateY(-320px) rotateY(25deg) skewY(-20deg);
    }

    .brand-gallery-section .gallery-img[data-position="3"] {
        transform: translateX(-700px) translateY(200px) rotateY(-25deg) skewY(20deg);
    }

    .brand-gallery-section .gallery-img[data-position="4"] {
        transform: translateX(550px) translateY(200px) rotateY(25deg) skewY(-20deg);
    }

    .brand-gallery-section .gallery-img[data-position="5"] {
        transform: translateX(-180px) translateY(-400px) rotateY(-15deg) skewY(12deg);
    }

    .brand-gallery-section .gallery-img[data-position="6"] {
        transform: translateX(30px) translateY(-400px) rotateY(15deg) skewY(-12deg);
    }

    .brand-gallery-section .gallery-img[data-position="7"] {
        transform: translateX(-180px) translateY(280px) rotateY(-15deg) skewY(12deg);
    }

    .brand-gallery-section .gallery-img[data-position="8"] {
        transform: translateX(30px) translateY(280px) rotateY(15deg) skewY(-12deg);
    }

    /* Gathered State (Tablet) */
    .brand-gallery-section.gathered .gallery-img[data-position="1"] {
        transform: translateX(-300px) translateY(-180px) rotateY(0deg) skewY(0deg) scale(0.8);
    }

    .brand-gallery-section.gathered .gallery-img[data-position="2"] {
        transform: translateX(200px) translateY(-180px) rotateY(0deg) skewY(0deg) scale(0.8);
    }

    .brand-gallery-section.gathered .gallery-img[data-position="3"] {
        transform: translateX(-300px) translateY(80px) rotateY(0deg) skewY(0deg) scale(0.8);
    }

    .brand-gallery-section.gathered .gallery-img[data-position="4"] {
        transform: translateX(200px) translateY(80px) rotateY(0deg) skewY(0deg) scale(0.8);
    }

    .brand-gallery-section.gathered .gallery-img[data-position="5"] {
        transform: translateX(-100px) translateY(-180px) rotateY(0deg) skewY(0deg) scale(0.8);
    }

    .brand-gallery-section.gathered .gallery-img[data-position="6"] {
        transform: translateX(0px) translateY(-180px) rotateY(0deg) skewY(0deg) scale(0.8);
    }

    .brand-gallery-section.gathered .gallery-img[data-position="7"] {
        transform: translateX(-100px) translateY(80px) rotateY(0deg) skewY(0deg) scale(0.8);
    }

    .brand-gallery-section.gathered .gallery-img[data-position="8"] {
        transform: translateX(0px) translateY(80px) rotateY(0deg) skewY(0deg) scale(0.8);
    }

    /* Device Mockup */
    .device-mockup {
        width: 280px;
        height: 560px;
    }

    .device-mockup.left {
        transform: translateX(-320px) scale(0.8) rotateY(22deg);
    }

    .device-mockup.right {
        transform: translateX(320px) scale(0.8) rotateY(-22deg);
    }

    /* Process */
    /* Process Section (Vertical Layout) */
    .process-row {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .process-card-wrapper {
        width: 100%;
        max-width: 480px;
        align-items: center;
    }

    .process-card {
        width: 100%;
        max-width: 480px;
        flex: none;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    .process-bottom-image img {
        max-width: 520px;
    }

    .process-row-label {
        display: none !important;
    }

    .process-row-label.bottom-label {
        position: static;
        transform: none;
        margin-top: 1rem;
        right: auto;
        text-align: center;
    }

    .process-center-dot {
        bottom: auto;
        top: 100%;
        margin-top: 2rem;
    }

    /* IMC Section (Force Vertical Layout for Tablet Landscape) */
    .imc-circles {
        flex-direction: column;
        gap: 1rem;
    }

    .connection-svg,
    .connection-labels {
        display: none;
    }

    .circle-plus {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0.5rem 0;
        font-size: 2.5rem;
        color: rgba(255, 255, 255, 0.5);
    }

    /* Creative Label */
    .circle-plus:nth-child(2)::after {
        content: "Creative";
        display: block;
        margin-top: 0.5rem;
        padding: 0.4rem 1.5rem;
        background-color: rgba(60, 10, 10, 0.8);
        color: #ff3333;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 20px;
        border: 1px solid rgba(255, 51, 51, 0.3);
    }

    /* Data Label */
    .circle-plus:nth-child(4)::after {
        content: "Data";
        display: block;
        margin-top: 0.5rem;
        padding: 0.4rem 1.5rem;
        background-color: rgba(60, 10, 10, 0.8);
        color: #ff3333;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 20px;
        border: 1px solid rgba(255, 51, 51, 0.3);
    }

    .imc-circle {
        width: 200px;
        height: 200px;
    }

    .imc-circle.imc-center {
        width: 240px;
        height: 240px;
    }
}

/* --- 4. Menu Visibility Logic --- */
@media (min-width: 1025px) {
    .submenu {
        display: block;
    }

    .nav-menu {
        display: flex;
    }
}

@media (max-width: 1023px) {
    .submenu {
        display: none;
    }

    .nav-link {
        padding: var(--spacing-sm) 0;
    }



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

/* --- 5. Tablet Portrait & Large Mobile (768px - 1023px) --- */
@media (min-width: 768px) and (max-width: 1023px) {
    .direction-section {
        height: 100vh;
        min-height: 700px;
        padding-bottom: 80px;
    }

    .hero-slide .hero-title {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }

    .hero-slide .hero-subtitle {
        font-size: clamp(1rem, 2vw, 1.3rem);
    }

    .nav-menu {
        gap: 1.5rem;
        font-size: 0.7rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .imc-circles {
        flex-direction: column;
        gap: 1rem;
    }

    .process-row-label {
        display: none !important;
    }

    .connection-svg,
    .connection-labels {
        display: none;
    }

    .circle-plus {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0.5rem 0;
        font-size: 2.5rem;
        color: rgba(255, 255, 255, 0.5);
    }

    /* Creative Label */
    .circle-plus:nth-child(2)::after {
        content: "Creative";
        display: block;
        margin-top: 0.5rem;
        padding: 0.4rem 1.5rem;
        background-color: rgba(60, 10, 10, 0.8);
        color: #ff3333;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 20px;
        border: 1px solid rgba(255, 51, 51, 0.3);
    }

    /* Data Label */
    .circle-plus:nth-child(4)::after {
        content: "Data";
        display: block;
        margin-top: 0.5rem;
        padding: 0.4rem 1.5rem;
        background-color: rgba(60, 10, 10, 0.8);
        color: #ff3333;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 20px;
        border: 1px solid rgba(255, 51, 51, 0.3);
    }

    .imc-circle {
        width: 200px;
        height: 200px;
    }

    .imc-circle.imc-center {
        width: 240px;
        height: 240px;
    }

    .process-row {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .process-row-label {
        display: none !important;
    }

    .process-card {
        width: 100%;
        min-width: 280px !important;
        max-width: 280px !important;
        min-height: 350px !important;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    .device-carousel-container {
        height: 500px;
    }

    .device-mockup {
        width: 240px;
        height: 480px;
    }

    .device-mockup.left {
        opacity: 0.2;
        transform: translateX(-200px) scale(0.7) rotateY(20deg);
    }

    .device-mockup.right {
        opacity: 0.2;
        transform: translateX(200px) scale(0.7) rotateY(-20deg);
    }

    .contact-form {
        max-width: 480px;
    }

    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- 6. Mobile (Max Width 768px) --- */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
        --spacing-xxl: 4rem;
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

    /* Layout */
    .container {
        padding: 0 var(--spacing-sm);
        width: 100%;
        max-width: 100%;
    }

    section {
        padding: var(--spacing-lg) 0;
        width: 100%;
    }

    /* Nav */
    .nav-container {
        grid-template-columns: 150px 1fr;
        padding: 1.2rem 2rem;
        width: 100%;
    }

    /* Hero */
    .hero-slide .hero-title {
        font-size: clamp(2rem, 12vw, 4rem);
    }

    .slider-pagination {
        bottom: 10rem;
    }

    /* Components */
    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .identity-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-identity {
        width: 100%;
        justify-content: center;
    }

    /* Direction */
    .direction-section {
        height: 100vh;
        min-height: 600px;
        padding-bottom: 60px;
    }

    .direction-word {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    /* Services & Gallery */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: var(--spacing-md);
    }

    .gallery-title {
        font-size: clamp(2rem, 20vw, 5rem);
    }

    /* Brand Gallery Mobile Optimization */
    .brand-gallery-section {
        height: auto !important;
        padding: 4rem 0;
        min-height: auto;
    }

    .gallery-container {
        position: relative;
        top: auto;
        height: auto;
        min-height: auto;
        display: block;
        padding: 0 20px;
    }

    .gallery-images {
        display: none !important;
    }

    .gallery-center-content {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        margin-bottom: 3rem;
    }

    .gallery-glow {
        position: relative;
        height: 200px;
        bottom: auto;
        transform: none;
        left: 0;
        width: 100%;
        margin-top: 2rem;
    }

    /* IMC */
    .imc-circles {
        flex-direction: column;
        gap: 1.5rem;
    }

    .connection-svg,
    .connection-labels {
        display: none;
    }

    .circle-plus {
        transform: none;
        margin: 0.5rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 2rem;
        color: rgba(255, 255, 255, 0.5);
    }

    .circle-plus:nth-child(2)::after {
        content: "Creative";
        display: block;
        margin-top: 0.5rem;
        padding: 0.3rem 1.2rem;
        background-color: rgba(60, 10, 10, 0.8);
        color: #ff3333;
        font-size: 0.8rem;
        font-weight: 600;
        border-radius: 20px;
        border: 1px solid rgba(255, 51, 51, 0.3);
    }

    .circle-plus:nth-child(4)::after {
        content: "Data";
        display: block;
        margin-top: 0.5rem;
        padding: 0.3rem 1.2rem;
        background-color: rgba(60, 10, 10, 0.8);
        color: #ff3333;
        font-size: 0.8rem;
        font-weight: 600;
        border-radius: 20px;
        border: 1px solid rgba(255, 51, 51, 0.3);
    }

    .imc-circle {
        width: 160px;
        height: 160px;
    }

    .imc-circle.imc-center {
        width: 180px;
        height: 180px;
    }

    /* Solution Process */
    .process-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    .process-row-label {
        display: none !important;
    }

    .process-card {
        min-height: auto;
        max-width: 280px;
        min-width: 280px;
        width: 100%;
    }

    .process-bottom-image img {
        max-width: 320px;
    }

    .process-arrow {
        transform: rotate(90deg);
        padding: 0.5rem 0;
        margin: 1rem 0;
    }

    .process-row-label.top-label {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: var(--spacing-md);
    }

    .process-row-label.bottom-label {
        position: static;
        bottom: auto;
        right: auto;
        transform: none;
        margin-top: var(--spacing-lg);
    }

    .process-center-dot {
        bottom: auto;
        top: 100%;
        margin-top: 2rem;
    }

    .solution-footer {
        margin-top: 100px;
    }

    /* Device Section */
    .platform-showcase-logos {
        gap: 2rem;
    }

    .device-container {
        height: 400px;
    }

    .device-mockup {
        width: 200px;
        height: 400px;
        border-width: 6px;
        border-radius: 30px;
    }

    .device-screen {
        border-radius: 24px;
    }

    .device-mockup.left {
        transform: translateX(-200px) scale(0.7);
    }

    .device-mockup.right {
        transform: translateX(200px) scale(0.7);
    }

    .device-mockup.active {
        transform: translateX(0) scale(1);
    }

    .platform-icon {
        width: 70px;
        height: 70px;
    }

    .platform-icon i {
        font-size: 2rem;
    }

    .platform-logos {
        gap: 1rem;
    }

    .logo-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo-item .logo-icon,
    .logo-item .logo-icon-active {
        max-width: 50px;
        max-height: 50px;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        transform: rotate(90deg) translateX(50%);
        right: auto;
        top: auto;
        bottom: -2rem;
        left: 50%;
    }

    /* Contact & Footer */
    .contact-form-container {
        padding: 3rem 0;
        border-radius: 30px 30px 0 0;
    }

    .contact-form {
        padding: 0 1.5rem;
    }

    .checkbox-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 3rem;
        text-align: left;
    }

    .footer-info,
    .footer-services,
    .footer-contact {
        text-align: left;
    }

    .service-item {
        font-size: clamp(2.5rem, 10vw, 4rem);
        text-align: left;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        position: relative;
    }

    .footer-bottom-left,
    .footer-bottom-center {
        text-align: left;
    }

    .footer-bottom-right {
        position: absolute;
        right: 0;
        bottom: 0;
    }
}

/* --- 7. Small Mobile (Max Width 480px) --- */
@media (max-width: 480px) {
    :root {
        --margin-mobile: 16px;
        --spacing-sm: 0.75rem;
    }

    .container,
    .nav-container {
        padding: 0 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Nav Mobile Override */
    .nav-menu {
        display: none !important;
    }

    .nav-menu.active {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: center;
        padding: var(--spacing-lg);
        gap: var(--spacing-lg);
        z-index: var(--z-mobile-menu);
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .menu-toggle-btn {
        display: flex !important;
    }

    /* Typography */
    .hero-slide .hero-title {
        font-size: clamp(1.8rem, 10vw, 3rem);
    }

    .identity-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .direction-word {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .gallery-title {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }

    .service-item {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    /* Components */
    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .direction-section {
        height: 100vh;
        min-height: 500px;
        padding-bottom: 40px;
    }

    .gallery-img {
        width: 100px;
        height: 140px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 2.5rem 0 1.5rem;
    }
}

/* ===================================
   4. Utilities (Print, Motion, Contrast)
   =================================== */
@media print {

    .navbar,
    .slider-pagination,
    .slider-arrow,
    .scrolling-banner,
    .contact-form {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }

    section {
        page-break-inside: avoid;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (prefers-contrast: high) {
    :root {
        --color-red: #ff3333;
        --color-text-gray: #cccccc;
    }

    .btn {
        border: 2px solid var(--color-red);
    }

    .service-card {
        border: 1px solid var(--color-gray-light);
    }
}

/* ===================================
   Mobile Menu Overlay
   =================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: #1D2120;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-logo img {
    width: auto;
}

.mobile-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Menu Items */
.mobile-menu-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-link {
    font-family: var(--font-korean);
    font-size: 1.5rem;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-link.active {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.mobile-link:hover {
    color: white;
}

.mobile-link-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mobile-sub-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.mobile-sub-links a {
    font-family: var(--font-korean);
    font-size: 1rem;
    color: #666;
    text-decoration: none;
    font-weight: 500;
}

.mobile-sub-links a:hover {
    color: white;
}

.left-arrow,
.right-arrow {
    font-size: 0.8rem;
    color: white;
}

/* Footer */
.mobile-menu-footer {
    margin-top: auto;
    width: 100%;
}

.mobile-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background-color: #EC2020;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-family: var(--font-korean);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.mobile-contact-btn:hover {
    background-color: #cc0000;
}

/* Hide on Desktop */
@media (min-width: 1025px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}