/* ===================================
   초기화 및 기본 스타일
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 골프 테마 색상 */
    --primary-green: #2d5f3f;
    --light-green: #4a8b5f;
    --dark-green: #1a3d2a;
    --accent-green: #6bc98e;
    --grass-green: #7ec488;

    /*제노바 색상*/
    --primary-purple: #5b52a3;

    /* 중립 색상 */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #000000;

    /* 그라데이션 */
    --gradient-primary: linear-gradient(135deg, #b39cd0 0%, #5b52a3 100%);
    --gradient-hero: linear-gradient(135deg, rgba(45, 95, 63, 0.95) 0%, rgba(74, 139, 95, 0.95) 100%);

    /* 섬세한 그림자 (Tailwind 스타일) */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* 트랜지션 (전환 효과) */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

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

    /* 타이포그래피 (글꼴) */
    --font-primary: 'Noto Sans KR', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    --mrgn-half: calc(var(--mrgn) / 2); /*9px*/
    --mrgn: 18px;
    --mrgn-x2: calc(var(--mrgn) * 2); /*36px*/
    --mrgn-x4: calc(var(--mrgn) * 4); /*72px*/
    --mrgn-x8: calc(var(--mrgn) * 8); /*144px*/
    --mrgn-x16: calc(var(--mrgn) * 16);
    --mrgn-x32: calc(var(--mrgn) * 32);
    --mrgn-quarter: calc(var(--mrgn) / 4);

    --basic-width: 1440px;
    --basic-font-size: 14px;
    --mw: 1920px;
    --standard_width: 1920px;

    --color-w-000: rgba(255, 255, 255, 0);
    --color-w-015: rgba(255, 255, 255, 0.15);
    --color-w-025: rgba(255, 255, 255, 0.25);
    --color-w-035: rgba(255, 255, 255, 0.35);
    --color-w-050: rgba(255, 255, 255, 0.5);
    --color-w-065: rgba(255, 255, 255, 0.65);
    --color-w-075: rgba(255, 255, 255, 0.75);
    --color-w-085: rgba(255, 255, 255, 0.85);
    --color-w: #fff;

    --color-k-000: rgba(0, 0, 0, 0);
    --color-k-015: rgba(0, 0, 0, 0.15);
    --color-k-025: rgba(0, 0, 0, 0.25);
    --color-k-035: rgba(0, 0, 0, 0.35);
    --color-k-050: rgba(0, 0, 0, 0.5);
    --color-k-065: rgba(0, 0, 0, 0.65);
    --color-k-075: rgba(0, 0, 0, 0.75);
    --color-k-085: rgba(0, 0, 0, 0.85);
    --color-k: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    position: relative;
}
h1,
h2 {
    line-height: 0.815em;
    text-transform: uppercase;
}
h3 {
    line-height: 0.815em;
}
h4,
h5,
h6 {
    line-height: 1.25em;
}
h1 {
    font-size: 8.5em;
    font-weight: 600;
    text-transform: none;
}
h2 {
    font-size: 6em;
    font-weight: 700;
}
h3 {
    font-size: 2em;
    font-weight: 600;
}
h4 {
    font-size: 1.45em;
    font-weight: 400;
}
h5 {
    font-size: 1em;
    font-weight: 500;
}
h6 {
    font-size: 0.85em;
    font-weight: 500;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
    letter-spacing: -0.015em;
    /* Primer-style tight tracking */
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

/* ===================================
   네비게이션
   =================================== */
/*avbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}*/

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);

    background: transparent;
}
.navbar.scrolled {
    padding: 8px 0;
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .nav-wrapper {
    height: 60px;
    width: 1200px;
    margin: 0 auto;

    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled .logo_text {
    opacity: 0;
    transform: translateX(-10px);
    width: 0;
    margin-left: 0;
    overflow: hidden;
}

.navbar.scrolled .logo {
    width: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.navbar.scrolled .logo:hover {
    width: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transform: scale(1);
}

.logo i {
    font-size: 1.8rem;
    color: var(--accent-green);
}

.logo img {
    position: absolute;
    height: 50px;
    transition: opacity 0.3s ease;
}

/* 기본 */
.logo-default {
    opacity: 1;
}

/* 스크롤용 */
.logo-scroll {
    opacity: 0;
}

/* 스크롤 시 */
#navbar.scrolled .logo-default {
    opacity: 0;
}

#navbar.scrolled .logo-scroll {
    opacity: 1;
}

.nav-logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.logo .highlight {
    color: var(--light-green);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-link {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem 1.1rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
    position: relative;
    text-shadow: 4px 1px 12px rgba(0, 0, 0, 0.25);
}

.navbar.scrolled .nav-link {
    font-size: 18px;
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem 1.1rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
    position: relative;

    text-shadow: none;
}

.navbar.scrolled .nav-link.active {
    color: var(--primary-purple);
    font-weight: 700;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.2rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transform-origin: center;
    opacity: 0;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;

    background: var(--primary-purple);

    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-purple);
    font-weight: 700;
}

.nav-link:hover::after,
.nav-link.active::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

/* ===================================
   언어 선택기
   =================================== */
.lang-selector {
    position: relative;
    display: flex;
    gap: 0.4rem;
    padding: 5px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);

    box-shadow:
        inset 0 0 6px rgba(255, 255, 255, 0.2),
        0 0 2px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .lang-selector {
    box-shadow:
        inset 0 0 6px rgba(255, 255, 255, 0.2),
        0 0 2px rgba(0, 0, 0, 0.2);
}

.lang-btn {
    position: relative;
    z-index: 2;

    border: none;
    cursor: pointer;

    padding: 0.4rem 0.9rem;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.6);
    background: rgba(255, 255, 255, 0.25);

    backdrop-filter: blur(6px);

    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.45);
    color: #000;
}

.lang-btn.active {
    color: #fff;
    background: linear-gradient(120deg, #5b52a3 0%, #006abe 40%, #007fc9 80%);

    background-size: 200% 100%;

    border: 1px solid rgba(255, 255, 255, 0.25);

    box-shadow:
        inset 0 0 8px rgba(255, 255, 255, 0.25),
        0 0 2px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

    z-index: 1;
}

/* ===================================
   히어로 섹션
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

/* 이미지 경로 넣기 */
.hero-slide.slide-1 {
    background: url('../images/img_HighresScreenshot00000.webp') center/cover no-repeat;
    animation-delay: 0s;
}

.hero-slide.slide-2 {
    background: url('../images/img_HighresScreenshotD002.webp') center/cover no-repeat;
    animation-delay: 5s;
}

.hero-slide.slide-3 {
    background: url('../images/img_HighresScreenshot00006.webp') center/cover no-repeat;
    animation-delay: 10s;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -2;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: #000;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 12초 기준, 각 이미지당 4초 정도 */
.hero-slide.slide-1 {
    animation: show1 12s steps(1, start) infinite;
}

.hero-slide.slide-2 {
    animation: show2 12s steps(1, start) infinite;
}

.hero-slide.slide-3 {
    animation: show3 12s steps(1, start) infinite;
}

@keyframes show1 {
    0% {
        opacity: 1;
    }
    33.333% {
        opacity: 1;
    }
    33.334% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@keyframes show2 {
    0%,
    33.333% {
        opacity: 0;
    }
    33.334% {
        opacity: 1;
    }
    66.666% {
        opacity: 1;
    }
    66.667% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@keyframes show3 {
    0%,
    66.666% {
        opacity: 0;
    }
    66.667% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 95, 63, 0.7);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    transition: opacity 0.15s linear;
}

.hero-title {
    font-size: 125px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: var(--white);
    display: inline-block;
    position: relative;
}

.hero-subtitle {
    font-size: 28px;
    margin-bottom: var(--spacing-xl);
    font-weight: 400;
    line-height: 34px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-indicator span:first-child {
    width: 2px;
    height: 40px;
    background: var(--white);
    border-radius: 2px;
}

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

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

/* ===================================
   섹션 공통 스타일
   =================================== */
section {
    padding: var(--spacing-xxl) 0;
}

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

.section-label {
    display: inline-block;
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.section-subtitle h5,
.section-subtitle h6 {
    text-align: center;
    width: 72%;
}

/* ===================================
   회사 소개 섹션
   =================================== */
.about-content {
    align-items: center;
}

.about-image-wrapper i {
    font-size: 8rem;
    color: var(--white);
    opacity: 0.9;
}

.about-item {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-item h3 {
    color: var(--dark-gray);
    font-size: 24px;
}

.about-item:last-child {
    margin-bottom: 0;
}

.about-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
}

.about-item:nth-child(1) .about-icon {
    color: #5b52a3;
}

.about-item:nth-child(2) .about-icon {
    color: #0091c1;
}

.about-item:nth-child(3) .about-icon {
    color: #00ac84;
}

.about-details h3 {
    font-size: 28px;
}

.about-details p {
    color: var(--gray);
    line-height: 1.8;
    padding-left: 54px;
    font-size: 18px;
}

/* ===================================
   핵심 기술 섹션
   =================================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.tech-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--light-gray);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-green);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-normal);
}

.tech-card:hover .tech-icon {
    transform: rotateY(360deg);
}

.tech-icon i {
    font-size: 2.5rem;
    color: var(--primary-green);
}

.tech-card h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
}

.tech-card p {
    color: var(--gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.tech-features {
    list-style: none;
}

.tech-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.tech-features li i {
    color: var(--accent-green);
    font-size: 0.9rem;
}

/* ===================================
   제품 특징 섹션
   =================================== */
.features {
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--light-gray);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-green);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--light-gray);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-green);
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* ===================================
   포트폴리오 섹션 (Apple Replica)
   =================================== */
.portfolio {
}

.apple-replica-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* Typical wide display format */
    border-radius: 32px;
    overflow: hidden;
    background: var(--dark-gray);
    box-shadow: var(--shadow-xl);
}

/* Background Gallery */
.apple-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.apple-gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
    pointer-events: none;
}

.apple-gallery-img.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Floating Navigation Area */
.apple-floating-ui {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 4rem;
    gap: 1.5rem;
    z-index: 10;
}

/* Up/Down Arrows */
.apple-nav-arrows {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.nav-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(230, 230, 230, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Tabs List */
.apple-replica-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 380px;
    position: relative;
}

.apple-replica-item {
    position: relative;
}

/* Inactive Pill */
.apple-replica-pill {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(230, 230, 230, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.4rem 1.2rem 0.4rem 0.4rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.apple-replica-pill:hover {
    background: rgba(255, 255, 255, 0.98);
}

.pill-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--dark-gray);
}

.pill-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark-gray);
    letter-spacing: -0.02em;
}

/* Active Bubble 
.apple-replica-bubble {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transform-origin: top left;
    pointer-events: none;

    background: rgba(230, 230, 230, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 1.5rem;
    border-radius: 24px;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--dark-gray);
    box-shadow: var(--shadow-md);

    transition:
        opacity 0.45s ease,
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.45s ease;
}

@keyframes fadeExpand {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.apple-replica-bubble strong {
    font-weight: 800;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

Active State Logic 
.apple-replica-item.active .apple-replica-pill {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto; /* Hide pill when active 
}

.apple-replica-item.active .apple-replica-bubble {
    display: block; /* Show bubble when active
}
*/
/* Responsive Overrides */
@media (max-width: 991px) {
    .apple-replica-container {
        aspect-ratio: auto;
        min-height: 500px;
    }
    .apple-floating-ui {
        padding-left: 1.5rem;
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 1.5rem;
    }
    .apple-nav-arrows {
        display: none; /* Hide arrows on small screens */
    }
}

/* ===================================
   문의하기 섹션
   =================================== */
.contact {
}

.contact-wrapper {
    display: flex;
    gap: var(--spacing-xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-info-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.contact-info-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-info-text p {
    color: var(--gray);
    line-height: 1.6;
}

.contact-form-wrapper {
    position: relative;
    overflow: hidden;

    padding: var(--spacing-lg);
    border-radius: 1.25rem;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow:
        inset 0 0 8px rgba(255, 255, 255, 0.25),
        0 20px 40px rgba(0, 0, 0, 0.12);
}

/* 배경 이미지 */
.contact-form-bg {
    position: absolute;
    inset: 0;
    background: red;
    z-index: 0;
}

/* 폼 위로 올리기 */
.contact-form {
    position: relative;
    z-index: 1;

    background: transparent; /* 핵심 */
    border-radius: 16px;
    padding: var(--spacing-lg);
}

.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    background: rgba(255, 255, 255, 0.4);

    border-radius: 12px;
    padding: 12px 16px;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition: all 0.25s ease;
}

/* 내용 위로 올리기 */
.contact-form-wrapper > * {
    position: relative;
    z-index: 1;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:not([type="checkbox"]):focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(107, 201, 142, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type='checkbox'] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    flex: 0 0 auto;
}

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: 8px;
    display: none;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ===================================
   푸터 (하단 영역)
   =================================== */
.footer {
    color: var(--white);
}

.footer-content {
    display: flex;
    flex-direction: column;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-logo {
    width: 100%;
    display: flex;
    flex-direction: row;
    font-size: 125px;
    font-weight: 700;
    color: var(--white);
}

.footer-logo span {
    padding-bottom: 36px;
}

.footer-logo i {
    color: var(--accent-green);
}

.footer-description {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    justify-content: end;
    padding-top: 36px;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: #845ec2;
    transform: translateY(-3px);
    border: 1px solid rgba(255, 255, 255, 0.25);

    box-shadow:
        inset 0 0 8px rgba(255, 255, 255, 0.25),
        0 0 2px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: #845ec2;
    padding-left: 0.5rem;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-contact i {
    margin-top: 0.25rem;
    color: #fff;
}

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 72px 0;
    border-top: 1px solid rgba(201, 206, 193, 0.1);
    position: relative;
    color: rgba(255, 225, 255, 0.3);
}

.footer-bottom::before,
.footer-bottom::after {
    content: '';
    position: absolute;
    top: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(201, 206, 193, 0.1);
}

.footer-bottom::before {
    left: -4px;
}
.footer-bottom::after {
    right: -4px;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-bottom-links a {
    color: rgba(255, 225, 255, 0.3);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.footer-bottom-links a:hover {
    opacity: 1;
}

/* ===================================
   상단 이동 버튼
   =================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;

    /* ✦ 유리 느낌 배경 */
    background: rgba(132, 94, 194, 0.15); /* 살짝 흐린 흰색 → 투명도 0.15 */
    backdrop-filter: blur(10px); /* 실제 블러 효과 */
    -webkit-backdrop-filter: blur(10px); /* Safari 지원 */

    color: #2c2c2c;
    border: 1px solid rgba(255, 255, 255, 0.15); /* 은은한 경계선 */
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow:
        inset 0 0 6px rgba(255, 255, 255, 0.2),
        0 0 2px rgba(0, 0, 0, 0.1);

    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

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

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}
