/* ==========================================
   Neo-Brutalism Design System
   Extended Color Palette + Typography
   ========================================== */
:root {
    /* 기본 컬러 */
    --color-primary: #07121D;
    --color-secondary: #A8B0BA;
    --color-accent: #F5C84C;
    --color-red: #FF5948;
    --color-white: #FFFFFF;
    --color-dark: #1E1E1E;
    --neo-pink: #FF6B9D;
    --neo-cyan: #00D9FF;
    
    /* 배경 컬러 */
    --bg-light: #F8F9FA;
    --bg-dark: #07121D;
    --border-dark: #000000;
    
    /* 타이포그래피 */
    --font-primary: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Pretendard', sans-serif;
    --font-brutalist: 'Space Grotesk', sans-serif;
    
    /* 🎯 Spacing System */
    --spacing-xs: 0.5rem;      /* 8px */
    --spacing-sm: 1rem;        /* 16px */
    --spacing-md: 1.5rem;      /* 24px */
    --spacing-lg: 2rem;        /* 32px */
    --spacing-xl: 2.5rem;      /* 40px */
    --spacing-2xl: 3rem;       /* 48px */
    --spacing-3xl: 4rem;       /* 64px */
    --spacing-4xl: 6rem;       /* 96px */
    
    /* 🎯 Border Radius */
    --radius-none: 0;
    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 8px;
    --radius-xl: 16px;
    --radius-full: 50%;
    
    /* 🎯 Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s ease;
    --transition-cubic: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    
    /* 🎯 Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 10px 40px rgba(0, 0, 0, 0.2);
    
    /* 🎯 Z-index Scale */
    --z-base: 1;
    --z-content: 3;
    --z-header: 100;
    --z-overlay: 9999;
    
    /* 📱 Breakpoints */
    --breakpoint-mobile: 480px;
    --breakpoint-tablet: 768px;
    --breakpoint-desktop: 1024px;
    --breakpoint-wide: 1440px;
}

/* ==========================================
   Reset
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 🎯 Accessibility: Keyboard Focus */
*:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Remove outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

html {
    scroll-behavior: auto;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-primary);
    background: var(--color-white);
    color: var(--color-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    display: block;
}

/* ==========================================
   Scroll Progress Bar
   ========================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--color-red);  /* Telkom Red */
    width: 0%;
    transition: width 0.1s ease-out;
}

/* 📱 모바일 최적화 */
@media (max-width: 768px) {
    .scroll-progress {
        height: 2px; /* 모바일에서 더 얇게 */
    }
}

/* ==========================================
   Custom Cursor
   ========================================== */
body {
    cursor: none;
}

.custom-cursor,
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    transform-origin: center center;
}

.custom-cursor {
    width: 12px;
    height: 12px;
    background: var(--color-dark);
    border: 2px solid var(--color-dark);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), 
                background 0.3s ease, 
                border-color 0.3s ease,
                width 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                height 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(7, 18, 29, 0.3);
    background: transparent;
    transition: transform 0.3s ease, border-color 0.2s ease;
}

/* 🎨 일반 호버 (작은 확대) */
.custom-cursor.hover {
    background: var(--color-red);
    border-color: var(--color-red);
    transform: scale(1.8);
}

.cursor-follower.hover {
    border-color: var(--color-red);
    border-width: 2px;
}

/* 🎨 버튼 호버 (큰 확대 + 색상 반전!) */
.custom-cursor.hover-expand {
    width: 80px;
    height: 80px;
    background: var(--color-white);
    border-color: var(--color-white);
    border: none;
    mix-blend-mode: difference;
    transform: scale(1);
}

/* 🎨 이미지 호버 (더 큰 확대 + 색상 반전!) */
.custom-cursor.hover-expand-large {
    width: 100px;
    height: 100px;
    background: var(--color-white);
    border-color: var(--color-white);
    border: none;
    mix-blend-mode: difference;
    transform: scale(1);
}

.cursor-follower.hover-expand,
.cursor-follower.hover-expand-large {
    opacity: 0;
}

@media (max-width: 768px) {
    body {
        cursor: auto !important;
    }
    
    .custom-cursor,
    .cursor-follower {
        display: none !important;
    }
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-xl);
    background: transparent;
    mix-blend-mode: difference;  /* 어두운 영역과 겹치면 흰색으로 자동 반전! */
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);  /* difference 효과를 위해 흰색 */
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

/* 🎨 Telkom Navigation Link (숫자 레이블 추가) */
.nav-menu a {
    color: var(--color-white);  /* difference 효과를 위해 흰색 */
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: lowercase;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.nav-number {
    font-size: 0.75rem;
    opacity: 0.6;
    font-family: var(--font-brutalist);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--color-white);  /* difference 효과를 위해 흰색 */
    transition: all var(--transition-base);
}

@media (max-width: 768px) {
    .navbar {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-lg);
        transition: right var(--transition-slow);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.3rem;
        color: var(--color-white);
    }
    
    .nav-number {
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 200;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
        background: var(--color-white);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
        background: var(--color-white);
    }
}

/* ==========================================
   Hero Section (dotsandlines style)
   ========================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12rem 2.5rem 6rem; /* 위쪽 여백 증가: 8rem → 12rem */
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    z-index: 2;
    position: relative;
}

/* Hero Video (우측 50%) */
.hero-video-wrapper {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 80%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    will-change: transform, width, height;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    font-family: var(--font-display);
    color: var(--color-dark); /* 진한 검정색 */
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line > span {
    display: inline-block;
}

.title-line.highlight {
    /* 노랑은 별도 처리 (gradient 무시) */
    -webkit-text-fill-color: var(--color-accent);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--color-secondary);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* 🎨 Telkom Minimal Buttons (미니멀 + 절제) */
.btn-primary,
.btn-secondary {
    padding: var(--spacing-sm) var(--spacing-xl);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: all var(--transition-cubic);
    display: inline-block;
    cursor: pointer;
    text-transform: uppercase;
    font-family: var(--font-brutalist);
    letter-spacing: 0.05em;
}

/* Primary Button: 노랑 배경 + 2px 테두리 */
.btn-primary.btn-neo {
    background: var(--color-accent);
    color: var(--color-dark);
    border: 2px solid var(--color-dark);  /* Telkom: 2px */
    box-shadow: none;  /* Offset 제거 */
}

.btn-primary.btn-neo:hover {
    transform: translateY(-2px);  /* 살짝 위로 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);  /* 미세한 그림자 */
}

/* Secondary Button: 흰 배경 + 빨강 테두리 */
.btn-secondary.btn-neo {
    background: var(--color-white);
    color: var(--color-dark);
    border: 2px solid var(--color-dark);  /* Telkom: 2px */
    box-shadow: none;  /* Offset 제거 */
}

.btn-secondary.btn-neo:hover {
    transform: translateY(-2px);  /* 살짝 위로 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);  /* 미세한 그림자 */
    background: var(--color-red);  /* 빨강 */
    color: var(--color-white);
    border-color: var(--color-red);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--color-secondary);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ==========================================
   Sections
   ========================================== */
section {
    padding: 6rem 2.5rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    text-transform: uppercase;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--color-secondary);
    font-weight: 400;
}

/* 🎨 Telkom Section Number (섹션 숫자 레이블) */
.section-number {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-brutalist);
    color: var(--color-red);
    opacity: 0.7;
}

/* ==========================================
   About Section (Canvas 물감 흘러내리기!)
   ========================================== */
.about-section {
    background-color: #FFFFFF;  /* 확실하게 흰색! */
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;  /* Canvas가 밖으로 안 나가게 */
    z-index: 1;
}

/* 🎨 Paint Drip Canvas - 섹션 내부에 정확히 */
.paint-drip-canvas {
    position: absolute;
    top: 0;
    left: 0;  /* 정확히 0부터 시작 */
    width: 100%;  /* 섹션 너비와 정확히 동일 */
    height: 100%;  /* 섹션 높이와 정확히 동일 */
    pointer-events: none;
    z-index: 2;  /* Canvas 레이어 */
}

/* 텍스트가 Canvas와 같은 레벨에서 블렌딩 */
.about-section .container {
    position: relative;
    z-index: 2;  /* Canvas와 동일 레벨 → mix-blend-mode 작동! */
}

/* 🎨 텍스트 2중 레이어 시스템 (페인트 진행률에 맞춰 점진적 반전) */

/* 부모 요소들 positioning 설정 */
.about-section .section-header > div,
.about-section .caption-text-wrapper,
.about-section .tech-stack-new {
    position: relative !important;  /* absolute의 기준점 */
}

/* 검정 텍스트 레이어 (기본, 항상 보임) */
.about-section .text-layer-dark {
    color: var(--color-dark);
}

.about-section .section-number.text-layer-dark {
    color: var(--color-red);
}

/* 흰색 텍스트 레이어 (페인트 덮인 부분만 보임) */
.about-section .text-layer-light {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: var(--color-white);
    mix-blend-mode: difference;
    clip-path: inset(0 0 100% 0);  /* 초기: 안 보임 (아래쪽 100% 잘림) */
    pointer-events: none;  /* 클릭 이벤트 무시 */
}

.about-section .section-number.text-layer-light {
    color: var(--color-red);
}

.about-section .text-layer-light .word-animate {
    color: var(--color-white);
}

/* ❌ 카드 내부 텍스트는 mix-blend-mode 제거 (흰 배경에서 안 보임) */
/* 카드 텍스트는 원래 색상(남색) 유지 */

/* 🎨 Marquee Banner (노랑 → 빨강 호버) */
.marquee-banner {
    background: var(--color-accent);  /* 노랑 */
    padding: 1.5rem 0;
    overflow: hidden;
    transform: rotate(-1deg);
    margin-bottom: 4rem;
    position: relative;
    width: 110%;
    left: -5%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ✨ 호버 시 빨강으로 */
.marquee-banner:hover {
    background: var(--color-red);  /* Telkom Red */
}

.marquee-track {
    display: flex;
    animation: marqueeScroll 40s linear infinite;
    will-change: transform;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
    padding: 0 1rem;
    min-width: 100%;
}

.marquee-content span {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-dark);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.4s ease;
}

/* ✨ 호버 시 텍스트 색 반전! */
.marquee-banner:hover .marquee-content span {
    color: var(--color-white);  /* 빨강 배경 → 흰 텍스트 */
}

.marquee-dot {
    font-size: 1rem;
    opacity: 0.5;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 🎨 Caption Text (우측 정렬 + 섹션 타이틀과 동일한 패딩) */
.caption-text-wrapper {
    max-width: 1400px;  /* 섹션 타이틀과 동일 */
    margin: 0 auto 4rem;
    /* padding: 0 2.5rem; */  /* ← 삭제! absolute positioning 간섭 방지 */
}

.caption-text {
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1.3;
    font-weight: 700;  /* 타이틀(900)보다 얇게 */
    color: var(--color-dark);
    letter-spacing: -0.02em;
    font-family: var(--font-display);
    text-align: right;
    text-transform: uppercase;
    padding: 0 2.5rem;  /* ← padding을 여기로 이동! */
}


/* 🎨 NEW: Technology Stack (NEO-BRUTALISM!) */
.tech-stack-new {
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 4rem 0; */  /* ← 삭제! */
}

.tech-stack-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    margin-bottom: 3rem;
    color: var(--color-dark);
    font-weight: 900;
    font-family: var(--font-brutalist);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    padding: 4rem 0 0;  /* ← padding을 여기로 이동! */
}

/* Neo-Brutalist Grid */
.tech-brutalist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Neo-Brutalist Item */
.tech-brutalist-item {
    padding: 3rem 2rem;
    border: 5px solid var(--color-dark);
    background: var(--color-white);
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 🎨 Tech Stack: 네오 브루탈 유지! (강렬한 절정 포인트) */
.tech-brutalist-item[data-category="frontend"] {
    box-shadow: 8px 8px 0 var(--color-accent);  /* 노랑 */
}

.tech-brutalist-item[data-category="animation"] {
    box-shadow: 8px 8px 0 var(--color-red);  /* 빨강 */
}

.tech-brutalist-item[data-category="design"] {
    box-shadow: 8px 8px 0 var(--neo-pink);  /* 분홍 - 태그만 */
}

.tech-brutalist-item[data-category="performance"] {
    box-shadow: 8px 8px 0 var(--neo-cyan);  /* 청록 - 태그만 */
}

/* 🎨 호버: 그림자 더 크게 + 위치 이동 */
.tech-brutalist-item:hover {
    transform: translate(-4px, -4px);
}

.tech-brutalist-item[data-category="frontend"]:hover {
    box-shadow: 12px 12px 0 var(--color-accent);
    background: var(--color-accent);
    color: var(--color-dark);
}

.tech-brutalist-item[data-category="animation"]:hover {
    box-shadow: 12px 12px 0 var(--color-red);
    background: var(--color-red);
    color: var(--color-white);
}

.tech-brutalist-item[data-category="design"]:hover {
    box-shadow: 12px 12px 0 var(--neo-pink);
    background: var(--neo-pink);
    color: var(--color-white);
}

.tech-brutalist-item[data-category="performance"]:hover {
    box-shadow: 12px 12px 0 var(--neo-cyan);
    background: var(--neo-cyan);
    color: var(--color-dark);
}

.tech-brutalist-number {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.1;
    font-family: var(--font-brutalist);
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--color-dark);  /* 남색(검정) 명시 */
}

.tech-brutalist-item:hover .tech-brutalist-number {
    opacity: 0.2;
}

.tech-brutalist-category {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--color-dark);
    color: var(--color-white);
    font-family: var(--font-brutalist);
}

.tech-brutalist-item:hover .tech-brutalist-category {
    background: var(--color-white);
    color: var(--color-dark);
}

.tech-brutalist-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--color-dark);  /* 남색(검정) 명시 */
}

.tech-brutalist-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-brutalist-list li {
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    font-family: var(--font-primary);
    color: var(--color-dark);  /* 남색(검정) 명시 */
}

.tech-brutalist-list li:last-child {
    border-bottom: none;
}

.tech-brutalist-item:hover .tech-brutalist-list li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.tech-brutalist-list li::before {
    content: '▸';
    margin-right: 0.5rem;
    font-weight: 900;
}

/* ==========================================
   Neo-Brutalism Responsive
   ========================================== */
@media (max-width: 968px) {
    .marquee-banner {
        padding: 1rem 0;
        margin-bottom: 3rem;
    }
    
    .caption-text-wrapper {
        margin-bottom: 3rem;
    }
    
    .caption-text {
        text-align: left;
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
    
    .about-details {
        margin-bottom: 3rem;
    }
    
    .detail-text {
        font-size: 1rem;
    }
    
    /* Tech Stack: 1줄 */
    .tech-brutalist-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-brutalist-item {
        padding: 2rem 1.5rem;
    }
    
    .tech-brutalist-number {
        font-size: 4rem;
    }
    
    .tech-brutalist-title {
        font-size: 1.8rem;
    }
}

/* ==========================================
   Portfolio Section (남색 배경!)
   ========================================== */
.portfolio-section {
    background: #07121D;  /* 남색 배경! */
    color: var(--color-white);
}

/* 포트폴리오 섹션 내 텍스트 흰색으로 */
.portfolio-section .section-title,
.portfolio-section .section-subtitle {
    color: var(--color-white);
}

.portfolio-section .section-number {
    color: var(--color-red);
    opacity: 0.9;
}

/* 🎨 Telkom Minimal Filter Buttons (남색 배경용) */
.portfolio-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: transparent;  /* 투명 */
    border: 2px solid rgba(255, 255, 255, 0.3);  /* 흰색 테두리 */
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    text-transform: uppercase;
    font-family: var(--font-brutalist);
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
}

.filter-btn.active {
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
    box-shadow: 0 4px 12px rgba(255, 89, 72, 0.5);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-white);
}

/* 🎨 Neo-Brutal Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 🎨 Telkom Minimal Card Image (남색 배경용!) */
.portfolio-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    background: #1a2332;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
}

.portfolio-item:hover .portfolio-image {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.2);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
}

.placeholder-content {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-brutalist);
    color: rgba(255, 255, 255, 0.5);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 89, 72, 0.95);  /* 빨강 오버레이 */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    color: var(--color-white);
    padding: 2rem;
}

.portfolio-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--color-white);
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* 🎨 Telkom Minimal Portfolio Link (빨강 오버레이용) */
.portfolio-link {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border: 2px solid var(--color-white);
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-brutalist);
    background: transparent;
    color: var(--color-white);
}

.portfolio-link:hover {
    background: var(--color-white);
    color: var(--color-red);  /* 빨강 */
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* 🎨 Telkom Minimal Tags (태그만 컬러!) */
.portfolio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

/* Creative: 분홍, Business: 청록 (절제된 컬러) */
.portfolio-tag {
    font-size: 0.75rem;
    color: var(--color-white);
    background: var(--color-dark);
    padding: 0.3rem 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    font-family: var(--font-brutalist);
    border-radius: 3px;  /* 살짝 라운드 */
}

.portfolio-item.creative .portfolio-tag {
    background: var(--neo-pink);  /* 분홍 태그 */
}

.portfolio-item.business .portfolio-tag {
    background: var(--neo-cyan);  /* 청록 태그 */
}

.portfolio-tech {
    font-size: 0.85rem;
    color: var(--color-secondary);  /* 그레이 */
    font-weight: 500;
    font-family: var(--font-primary);
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================
   Capabilities Section (Telkom Minimal + Interactive Demo)
   ========================================== */
.capabilities-section {
    background: var(--color-white);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* 🎨 Interactive Demo Area */
.demo-area {
    position: relative;
    margin: 3rem 0 5rem;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #07121D 0%, #1a2332 100%);
    border-radius: 16px;
    overflow: hidden;
    min-height: 300px;
}

.demo-label {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: var(--font-brutalist);
    z-index: 10;
    opacity: 0.8;
}

.demo-canvas {
    position: relative;
    width: 100%;
    height: 300px;
    cursor: none;
}

/* 떠다니는 요소들 */
.float-item {
    position: absolute;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.float-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--font-brutalist);
    color: var(--color-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.float-item:hover .float-icon {
    transform: scale(1.2) rotate(15deg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* 반응형 */
@media (max-width: 768px) {
    .demo-area {
        min-height: 250px;
        padding: 3rem 1rem;
    }
    
    .demo-canvas {
        height: 250px;
    }
    
    .float-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* 🎨 Telkom Grid (4개 1줄, 미니멀) */
.capabilities-brutalist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

/* 🎨 Telkom Minimal Item (offset 제거, 깔끔) */
.capability-brutalist-item {
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-lg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--color-white);
    position: relative;
    cursor: pointer;
    transition: all var(--transition-cubic);
    text-align: left;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* 🎨 카드 위 데모 영역 (더 크게!) */
.card-demo {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-white);
    overflow: hidden;
}

/* 01. Animation Demo: 회전하는 박스 (더 크게!) */
.animation-demo .rotating-box {
    width: 50px;  /* 30px → 50px */
    height: 50px;  /* 30px → 50px */
    background: linear-gradient(135deg, #F5C84C, #FF5948);
    border-radius: 8px;  /* 5px → 8px */
    animation: rotate360 3s ease-in-out infinite;
}

@keyframes rotate360 {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
}

/* 02. Scroll Demo: 프로그레스 바 */
.scroll-demo {
    background: #07121D;
}

.scroll-progress-demo {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.scroll-progress-demo::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #FF5948;
    animation: scrollProgress 2s ease-in-out infinite;
}

@keyframes scrollProgress {
    0%, 100% { width: 0%; }
    50% { width: 100%; }
}

.scroll-text {
    font-size: 1rem;  /* 0.7rem → 1rem */
    font-weight: 700;
    color: var(--color-white);
    font-family: var(--font-brutalist);
}

/* 03. Responsive Demo: 디바이스 아이콘 (더 크게!) */
.responsive-demo .device-icons {
    display: flex;
    gap: 12px;  /* 8px → 12px */
    align-items: flex-end;
}

.device {
    background: #07121D;
    border-radius: 3px;
    animation: devicePulse 2s ease-in-out infinite;
}

.device.desktop {
    width: 36px;  /* 24px → 36px */
    height: 27px;  /* 18px → 27px */
    animation-delay: 0s;
}

.device.tablet {
    width: 24px;  /* 16px → 24px */
    height: 33px;  /* 22px → 33px */
    animation-delay: 0.2s;
}

.device.mobile {
    width: 18px;  /* 12px → 18px */
    height: 30px;  /* 20px → 30px */
    border-radius: 4px;
    animation-delay: 0.4s;
}

@keyframes devicePulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* 04. Performance Demo: 속도 게이지 (더 크게!) */
.performance-demo {
    background: linear-gradient(135deg, #00D9FF, #FF6B9D);
}

.speed-gauge {
    position: relative;
    width: 80px;  /* 50px → 80px */
    height: 80px;  /* 50px → 80px */
}

.gauge-needle {
    position: absolute;
    width: 4px;  /* 3px → 4px */
    height: 35px;  /* 20px → 35px */
    background: var(--color-white);
    bottom: 40px;  /* 25px → 40px */
    left: 50%;
    transform-origin: bottom center;
    animation: gaugeRotate 2s ease-in-out infinite;
    border-radius: 3px;
}

@keyframes gaugeRotate {
    0%, 100% { transform: translateX(-50%) rotate(-45deg); }
    50% { transform: translateX(-50%) rotate(45deg); }
}

.gauge-text {
    position: absolute;
    bottom: 12px;  /* 8px → 12px */
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;  /* 0.9rem → 1.2rem */
    font-weight: 900;
    color: var(--color-white);
    font-family: var(--font-brutalist);
}

/* 호버 효과 (미니멀) */
.capability-brutalist-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-red);
}

.capability-brutalist-item:hover .card-demo {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.capability-brutalist-number {
    font-size: 1.2rem;  /* Telkom: 작은 숫자 레이블 */
    font-weight: 700;
    line-height: 1;
    opacity: 0.4;  /* 살짝 보이게 */
    font-family: var(--font-brutalist);
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;  /* 좌측 상단 */
    color: var(--color-red);  /* 빨강 */
}

.capability-brutalist-item:hover .capability-brutalist-number {
    opacity: 1;  /* 호버 시 선명하게 */
}

.capability-brutalist-category {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0;
    background: transparent;  /* 배경 제거 */
    color: var(--color-secondary);  /* 그레이 */
    font-family: var(--font-brutalist);
}

.capability-brutalist-item:hover .capability-brutalist-category {
    color: var(--color-red);  /* 호버 시 빨강 */
}

.capability-brutalist-title {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 700;  /* Telkom: 더 가볍게 */
    margin-bottom: 1rem;
    margin-top: 2.5rem;  /* 숫자 레이블 공간 */
    font-family: var(--font-display);
    text-transform: none;  /* 대문자 제거 */
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--color-dark);
}

.capability-brutalist-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.capability-brutalist-list li {
    font-size: 0.9rem;
    font-weight: 400;  /* Telkom: 더 가볍게 */
    padding: 0.4rem 0;
    font-family: var(--font-primary);
    color: var(--color-secondary);  /* 그레이 */
}

.capability-brutalist-list li::before {
    content: '·';  /* Telkom: 작은 점 */
    margin-right: 0.5rem;
    font-weight: 900;
    color: var(--color-red);  /* 빨강 */
}

/* 태블릿: 2x2 */
@media (max-width: 968px) {
    .capabilities-brutalist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-demo {
        width: 100px;  /* 70px → 100px */
        height: 100px;  /* 70px → 100px */
        top: -60px;
    }
}

/* 모바일: 1줄 */
@media (max-width: 640px) {
    .capabilities-brutalist-grid {
        grid-template-columns: 1fr;
    }
    
    .card-demo {
        top: -50px;
        width: 90px;  /* 60px → 90px */
        height: 90px;  /* 60px → 90px */
    }
    
    .capability-brutalist-item {
        padding-top: 3.5rem;
    }
}

/* Demo Area 제거 (네오 브루탈리즘으로 변경!) */

/* ==========================================
   🎨 Interactive Demo Section (FAQ 위)
   ========================================== */
.interactive-demo-section {
    background: var(--color-white);
    padding: 6rem 2.5rem 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.demo-area-faq {
    position: relative;
    margin: 0 auto;
    padding: var(--spacing-3xl) var(--spacing-lg);
    background: linear-gradient(135deg, #FF5948 0%, #07121D 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 350px;
    max-width: 1400px;
}

.demo-label-faq {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-family: var(--font-brutalist);
    z-index: 10;
}

.demo-canvas-faq {
    position: relative;
    width: 100%;
    height: 350px;
    cursor: none;
}

/* ==========================================
   🌀 Interactive Kaleidoscope Section
   ========================================== */

.interaction-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background: #000;
    overflow: hidden;
}

#kaleidoscope {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.logweb-typo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
}

.logweb-typo h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 900;
    color: #FFFFFF;
    text-align: center;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #5B5FFF 0%, #FFD93D 50%, #00D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* 떠다니는 도형들 */
.float-item-faq {
    position: absolute;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.float-shape {
    width: 70px;
    height: 70px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.float-shape.circle {
    border-radius: 50%;
}

.float-shape.square {
    border-radius: 8px;
}

.float-shape.triangle {
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 70px solid;
    background: transparent;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.float-shape.hexagon {
    width: 60px;
    height: 35px;
    position: relative;
    border-radius: 5px;
}

.float-shape.hexagon::before {
    content: "";
    position: absolute;
    top: -17.5px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 17.5px solid #FF6B9D;
}

.float-shape.hexagon::after {
    content: "";
    position: absolute;
    bottom: -17.5px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 17.5px solid #FF6B9D;
}

.float-item-faq:hover .float-shape {
    transform: scale(1.3) rotate(180deg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

/* 반응형 - 만화경 */
@media (max-width: 768px) {
    .interactive-kaleidoscope-wrapper {
        height: 300vh;  /* 모바일에서는 3배 높이 */
    }
    
    .logweb-text {
        font-size: clamp(3rem, 12vw, 6rem);
        letter-spacing: -0.03em;
    }
    
    .logweb-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .interactive-kaleidoscope-wrapper {
        height: 250vh;
    }
    
    .logweb-text {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
}

/* ==========================================
   Q&A Section (Editorial/Magazine + Accordion)
   ========================================== */
.faq-section {
    background: var(--color-white);
    padding-top: 4rem;
}

.faq-list {
    max-width: 1000px;
    margin: 0 auto;
}

/* FAQ Item (Telkom Editorial Style) */
.faq-item {
    display: flex;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);  /* Telkom: 얇은 테두리 */
    transition: all 0.3s ease;
    background: transparent;
}

.faq-item:last-child {
    border-bottom: none;
}

/* Telkom: 호버 시 살짝 배경색 */
.faq-item:hover {
    padding-left: 1rem;
    background: rgba(255, 89, 72, 0.03);  /* 살짝 빨강 배경 */
}

.faq-item.active {
    background: rgba(255, 89, 72, 0.05);  /* 활성 시 조금 더 */
}

/* 🎨 Telkom Editorial: 큰 숫자 */
.faq-number {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 900;
    font-family: var(--font-brutalist);
    color: var(--color-dark);
    line-height: 1;
    min-width: 100px;
    opacity: 0.15;  /* Telkom: 더 연하게 */
    transition: all 0.3s ease;
}

.faq-item.active .faq-number,
.faq-item:hover .faq-number {
    opacity: 1;
    color: var(--color-red);  /* Telkom Red */
}

/* FAQ Content */
.faq-content {
    flex: 1;
}

/* FAQ Question (버튼) */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 0;
    margin-bottom: 1rem;
}

.faq-question span:first-child {
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--color-dark);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question span:first-child {
    color: var(--color-red);  /* Telkom Red */
}

/* + / - 아이콘 */
.faq-icon {
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-dark);
    transition: all 0.3s ease;
    min-width: 50px;
    text-align: center;
    font-family: var(--font-brutalist);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-red);  /* Telkom Red */
}

/* FAQ Answer (Accordion) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-secondary);
    font-family: var(--font-primary);
    font-weight: 500;
    padding-right: 3rem;
}

/* 반응형 */
@media (max-width: 768px) {
    .faq-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .faq-number {
        font-size: 2.5rem;
        min-width: auto;
    }
    
    .faq-question span:first-child {
        font-size: 1.3rem;
    }
    
    .faq-icon {
        font-size: 2rem;
        min-width: 40px;
    }
    
    .faq-answer p {
        font-size: 1rem;
        padding-right: 0;
    }
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
    background: var(--color-primary);
    color: var(--color-white);
}

.contact-section .section-title {
    color: var(--color-white);
}

.contact-section .section-subtitle {
    color: var(--color-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.contact-item h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    margin-bottom: 0.8rem;
}

.contact-item a,
.contact-item p {
    font-size: 1.3rem;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--color-red);  /* Telkom Red */
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--color-red);  /* Telkom Red */
}

.form-group label {
    position: absolute;
    left: 0;
    top: 1.2rem;
    color: var(--color-secondary);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group.focused label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    font-size: 0.75rem;
    color: var(--color-red);  /* Telkom Red */
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    padding: 4rem 2.5rem 2rem;
    background: var(--color-white);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.footer p {
    color: var(--color-secondary);
    font-size: 0.9rem;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 768px) {
    section {
        padding: 4rem 1.5rem;
    }

    .hero-section {
        padding: 8rem 1.5rem 4rem; /* 모바일에서도 위쪽 여백 증가 */
    }
    
    .hero-content {
        width: 100%;
    }
    
    .hero-video-wrapper {
        position: relative;
        width: 100%;
        height: 300px;
        margin-top: 2rem;
        transform: none;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   Utilities
   ========================================== */
.overflow-hidden {
    overflow: hidden;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

/* ==========================================
   About Section
   ========================================== */
.about-text .lead-text {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    line-height: 1.6;
    font-weight: 300;
    color: var(--color-dark);
    margin-bottom: 2rem;
    position: relative;
}

/* ==========================================
   🎨 NEW EFFECTS - Yarnity Inspired
   ========================================== */

/* 1. Text Opacity Animation (단어별 밝아지기) */
.word-fade-in {
    display: block !important;
}

.word-animate {
    display: inline-block;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

/* Hero 타이틀도 word-fade-in 효과 사용 */
.hero-title.word-fade-in .title-line {
    display: block;
}

.hero-title.word-fade-in .word-animate {
    display: inline-block;
    opacity: 0.1;
}

/* Hero section 단어별 애니메이션 */
.hero-subtitle.word-fade-in .word-animate {
    opacity: 0.1;
}

/* 버튼 호버 circle 효과 제거 (네오 브루탈로 통일!) */

/* 3. Image Scale on Scroll (포트폴리오 이미지 줌아웃) */
.portfolio-image {
    overflow: hidden;
}

.portfolio-image img {
    transform: scale(1.2);
    opacity: 0;
    will-change: transform, opacity;
}

.portfolio-image.placeholder {
    opacity: 1;
    transform: scale(1);
}

/* Animation class will be added by JS */
.portfolio-image.animate-in img {
    animation: scaleIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes scaleIn {
    0% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
word-animate {
    opacity: 0.1;
}

/* 버튼 호버 circle 효과 제거 (네오 브루탈로 통일!) */

/* 3. Image Scale on Scroll (포트폴리오 이미지 줌아웃) */
.portfolio-image {
    overflow: hidden;
}

.portfolio-image img {
    transform: scale(1.2);
    opacity: 0;
    will-change: transform, opacity;
}

.portfolio-image.placeholder {
    opacity: 1;
    transform: scale(1);
}

/* Animation class will be added by JS */
.portfolio-image.animate-in img {
    animation: scaleIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes scaleIn {
    0% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
