/* ===== CSS Variables ===== */
:root {
    --primary: #2563EB;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #2563EB;
    --secondary-dark: #1d4ed8;
    --accent: #2563EB;
    --success: #10b981;
    --dark: #000000;
    --dark-light: #111111;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --cobalt: #2563EB;
    --gradient-primary: #2563EB;
    --gradient-secondary: #2563EB;
    --gradient-accent: #2563EB;
    --gradient-success: #10b981;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
}

.btn-primary {
    background: #2563EB;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-full {
    width: 100%;
}

.btn-card {
    width: 100%;
    padding: 14px 24px;
    background: var(--dark);
    color: var(--white);
    margin-top: auto;
}

.btn-card:hover {
    background: var(--primary);
}

.btn-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 4px 10px;
    background: var(--secondary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    transition: var(--transition);
    margin-right: 60px;
}

.navbar.scrolled .logo {
    color: var(--dark);
}

.logo i {
    font-size: 28px;
    color: var(--primary-light);
}

.logo-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    display: block;
}

.navbar.scrolled .logo i {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    flex: 1;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-menu a {
    color: var(--gray-700);
}

.nav-menu a:hover {
    color: var(--primary-light);
}

.navbar.scrolled .nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.nav-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.navbar.scrolled .nav-buttons .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.nav-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.navbar.scrolled .nav-buttons .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .hamburger span {
    background: var(--dark);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    top: -10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: var(--primary);
}

.shape-2 {
    bottom: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: var(--secondary);
}

.shape-3 {
    top: 30%;
    right: 20%;
    width: 400px;
    height: 400px;
    background: var(--accent);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
    padding: 120px 24px 80px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--gray-400);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-highlight {
    display: block;
    margin-top: 8px;
    color: var(--primary-light);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
    font-size: 14px;
}

.trust-item i {
    color: var(--primary-light);
    font-size: 18px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--gray-500);
    font-size: 13px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--gray-500);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gray-500);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

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

@keyframes scroll {
    0%, 100% { opacity: 0; top: 8px; }
    50% { opacity: 1; top: 16px; }
}

/* Hero Consult Button */
.hero-consult-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.btn-consult {
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    background: #2563EB;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.btn-consult:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5);
}

/* ===== Hero Slideshow Style ===== */
.hero.hero-slideshow {
    background: #000000;
    padding: 0;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Hero Content Overlay */
.hero-content-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-align: center;
    padding: 0 24px;
}

.hero-content-overlay .hero-main-headline {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.3;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-subcopy {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subcopy-highlight {
    display: block;
    margin-top: 8px;
    color: var(--cobalt);
    font-weight: 500;
}

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

.hero-cta-buttons.hero-cta-3 {
    gap: 16px;
}

.hero-cta-buttons.hero-cta-3 .btn-large {
    padding: 14px 24px;
    font-size: 15px;
}

@media (max-width: 768px) {
    .hero-cta-buttons.hero-cta-3 {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-cta-buttons.hero-cta-3 .btn-large {
        width: 100%;
        max-width: 280px;
    }
}

/* Cobalt Blue Button */
.btn-cobalt {
    background: #2563EB;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    position: relative;
}

.btn-cobalt:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

/* Badge Styles */
.btn-badge-blue {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 4px 10px;
    background: #000000;
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.btn-badge-dark {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 4px 10px;
    background: #2563EB;
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.hero-slideshow .hero-headline-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: transparent;
    pointer-events: none;
}

.hero-slideshow .hero-main-headline {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--white);
    text-align: center;
    line-height: 1.3;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
    letter-spacing: -1px;
}

.hero-slideshow .scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    animation: scrollArrowBounce 2s infinite;
}

.hero-slideshow .scroll-arrow i {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.hero-slideshow .scroll-arrow:hover i {
    color: var(--white);
}

/* ===== Hero Logo Grid Style ===== */
.hero.hero-logo-grid {
    background: #0a0e17;
    flex-direction: column;
    padding: 0;
}

.logo-grid-bg {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 100px 40px;
}

.logo-grid-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    width: 100%;
    max-width: 1200px;
}

.grid-logo {
    flex: 0 0 200px;
    height: 100px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.7;
    transition: all 0.4s ease;
    cursor: default;
}

.grid-logo:hover {
    opacity: 1;
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.grid-logo i {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.4s ease;
}

.grid-logo:hover i {
    color: var(--primary-light);
}

.grid-logo span {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

.grid-logo:hover span {
    color: rgba(255, 255, 255, 0.9);
}

/* 헤드라인 오버레이 */
.hero-headline-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: radial-gradient(ellipse at center, rgba(10, 14, 23, 0.95) 0%, rgba(10, 14, 23, 0.7) 50%, transparent 80%);
    pointer-events: none;
}

.hero-main-headline {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--white);
    text-align: center;
    line-height: 1.3;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

/* 스크롤 화살표 */
.scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    animation: scrollArrowBounce 2s infinite;
}

.scroll-arrow i {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.scroll-arrow:hover i {
    color: var(--primary-light);
}

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

/* 반응형 - 로고 그리드 */
@media (max-width: 1200px) {
    .grid-logo {
        flex: 0 0 160px;
        height: 85px;
    }
    
    .grid-logo i {
        font-size: 24px;
    }
    
    .grid-logo span {
        font-size: 12px;
    }
}

@media (max-width: 900px) {
    .logo-grid-row {
        gap: 16px;
    }
    
    .grid-logo {
        flex: 0 0 130px;
        height: 75px;
    }
    
    .grid-logo i {
        font-size: 20px;
    }
    
    .grid-logo span {
        font-size: 11px;
    }
    
    /* 5열에서 4열로 - 마지막 로고 숨김 */
    .logo-grid-row .grid-logo:nth-child(5) {
        display: none;
    }
}

@media (max-width: 650px) {
    .logo-grid-bg {
        gap: 16px;
        padding: 80px 20px;
    }
    
    .logo-grid-row {
        gap: 12px;
    }
    
    .grid-logo {
        flex: 0 0 100px;
        height: 65px;
    }
    
    .grid-logo i {
        font-size: 18px;
    }
    
    .grid-logo span {
        font-size: 10px;
    }
    
    /* 4열에서 3열로 */
    .logo-grid-row .grid-logo:nth-child(4) {
        display: none;
    }
    
    .hero-main-headline {
        font-size: 28px;
        padding: 0 20px;
    }
}

@media (max-width: 450px) {
    .logo-grid-row {
        gap: 10px;
    }
    
    .grid-logo {
        flex: 0 0 85px;
        height: 55px;
        border-radius: 10px;
    }
    
    .grid-logo i {
        font-size: 16px;
    }
    
    .grid-logo span {
        font-size: 9px;
    }
    
    .hero-main-headline {
        font-size: 24px;
    }
}

/* ===== Differentiators Section ===== */
.differentiators {
    background: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-100);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.diff-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius);
    transition: var(--transition);
}

.diff-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.diff-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    flex-shrink: 0;
}

.diff-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.diff-content p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ===== Section Styles ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Services Section ===== */
.services {
    background: var(--gray-50);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.service-card.advertiser::before {
    background: var(--gradient-primary);
}

.service-card.organizer::before {
    background: var(--gradient-secondary);
}

.service-card.brand::before {
    background: var(--gradient-primary);
}

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

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.advertiser .card-icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.organizer .card-icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.brand .card-icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    width: fit-content;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.card-tagline {
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 24px;
}

.organizer .card-tagline {
    color: var(--secondary);
}

.card-features-table {
    margin-bottom: 28px;
}

.feature-row {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-label {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 140px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.feature-label i {
    color: var(--primary);
    font-size: 14px;
    width: 18px;
}

.organizer .feature-label i {
    color: var(--secondary);
}

.feature-value {
    flex: 1;
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ===== Features Section ===== */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.feature-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.6;
}

.feature-card p strong {
    color: var(--primary);
}

/* ===== Process Section (Workflow) ===== */
.process {
    background: #000000;
    padding: 100px 0;
}

.process .section-badge {
    background: rgba(37, 99, 235, 0.2);
}

.process .section-title {
    color: var(--white);
}

.process .section-desc {
    color: var(--gray-400);
}

.workflow {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.workflow-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gray-700);
    border-radius: 2px;
}

.workflow-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: height 1s ease;
}

.workflow-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 32px;
    padding-left: 80px;
}

.workflow-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    position: absolute;
    left: 0;
    width: 60px;
    height: 60px;
    background: var(--dark-light);
    border: 4px solid var(--gray-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition);
}

.workflow-step.active .step-marker,
.step-marker.completed {
    background: var(--gradient-primary);
    border-color: var(--primary);
}

.step-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--gray-400);
}

.workflow-step.active .step-number,
.step-marker.completed .step-number {
    color: var(--white);
}

.step-pulse {
    position: absolute;
    inset: -8px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.4); opacity: 0; }
}

.step-card {
    flex: 1;
    background: var(--dark-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    background: var(--gray-800);
    transform: translateX(8px);
}

.step-card.completed {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
}

.step-icon {
    width: 48px;
    height: 48px;
    background: #2563EB;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    margin-bottom: 16px;
}

.step-card.completed .step-icon {
    background: var(--gradient-success);
}

.step-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.step-card p {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.6;
}

.step-card p strong {
    color: var(--primary-light);
}

.step-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background: var(--gradient-accent);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.step-arrow {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gray-600);
    font-size: 16px;
    animation: arrowBounce 1.5s infinite;
}

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

.process-cta {
    text-align: center;
    margin-top: 60px;
}

.cta-text {
    color: var(--gray-400);
    margin-bottom: 20px;
    font-size: 16px;
}

/* ===== References Section ===== */
.references {
    background: var(--gray-50);
}

.reference-category {
    margin-bottom: 50px;
}

.reference-category:last-child {
    margin-bottom: 0;
}

.reference-category h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.reference-category h3 i {
    color: var(--primary);
}

/* Event Slider */
.slider-container {
    position: relative;
    overflow: visible;
    padding: 0 60px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    color: var(--dark);
    font-size: 18px;
    z-index: 10;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

.event-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 10px 0;
    margin: 0;
}

.event-slider::-webkit-scrollbar {
    display: none;
}

.event-card {
    flex: 0 0 280px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.event-image {
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}

.event-image i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.9);
}

.event-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.event-content {
    padding: 20px;
}

.event-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-500);
}

.event-meta i {
    color: var(--primary);
    font-size: 12px;
}

/* Case Slider */
.case-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 10px 0;
    margin: 0;
}

.case-slider::-webkit-scrollbar {
    display: none;
}

.case-card {
    flex: 0 0 280px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.case-image {
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}

.case-image i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.9);
}

.case-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.case-content {
    padding: 20px;
    text-align: center;
}

.case-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.4;
    text-align: center;
}

.case-meta {
    display: flex;
    gap: 16px;
}

.case-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-500);
}

.case-meta i {
    color: var(--primary);
    font-size: 12px;
}

/* Legacy case styles - keeping for compatibility */
.case-results {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 16px;
    min-width: 180px;
}

.result-title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-items span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-700);
}

.result-items i {
    color: var(--primary);
    font-size: 12px;
}

/* Brand Rolling Banner */
.brand-rolling {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brand-track {
    display: flex;
    gap: 24px;
    animation: rolling 30s linear infinite;
}

@keyframes rolling {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-logo {
    flex: 0 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

.brand-logo i {
    font-size: 28px;
    color: var(--gray-400);
}

.brand-logo span {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
}

/* ===== Contact Section ===== */
.contact {
    background: var(--gray-50);
}

.contact-form-center {
    display: flex;
    justify-content: center;
}

.contact-form-center .contact-form-wrapper {
    max-width: 600px;
    width: 100%;
}

.contact-method.email > i:first-child {
    background: var(--gradient-primary);
}

.contact-method.phone > i:first-child {
    background: var(--gradient-accent);
}

.contact-method > div {
    flex: 1;
}

.contact-method span {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

.contact-method p {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 2px;
}

.contact-method > i:last-child {
    color: var(--gray-400);
    font-size: 14px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-desc {
    color: var(--gray-500);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group:last-of-type {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.required {
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

/* Radio Group */
.radio-group {
    display: flex;
    gap: 32px;
    align-items: center;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
    flex: 1;
    min-width: 0;
}

.radio-label input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-sizing: border-box;
    display: block;
    background: #ffffff;
}

.radio-label input:checked + .radio-custom {
    border-color: #2563EB;
    background: #2563EB;
}

.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.radio-label input:checked + .radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-text {
    font-size: 15px;
    color: var(--gray-700);
}

/* File Input */
.file-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px dashed var(--gray-300);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.file-label:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.02);
}

.file-label input {
    display: none;
}

.file-text {
    font-size: 14px;
    color: var(--gray-500);
}

.file-text i {
    color: var(--primary);
}

.file-hint {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 6px;
}

/* Checkbox */
.form-group.checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
}

.form-group.checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.contact-form button[type="submit"] {
    margin-top: 24px;
}

/* ===== CTA Section ===== */
.cta {
    background: #2563EB;
    padding: 80px 0;
}

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

.cta h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

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

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo i {
    color: var(--primary);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-light);
    border-radius: 50%;
    color: var(--gray-400);
    font-size: 16px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--gray-400);
    padding: 6px 0;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid var(--gray-800);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--gray-500);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

/* ===== Simple Footer ===== */
.footer-simple {
    padding: 40px 0;
}

.footer-simple-content {
    text-align: center;
}

.footer-copyright {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-company-info {
    color: var(--gray-400);
    font-size: 13px;
    line-height: 1.8;
}

.footer-company-info p {
    margin: 0;
}

.footer-company-info strong {
    color: var(--gray-300);
}

/* ===== Kakao Floating Button ===== */
.kakao-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #FEE500;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.kakao-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.kakao-float-btn i {
    font-size: 22px;
    color: #3C1E1E;
}

.kakao-float-btn span {
    font-size: 10px;
    font-weight: 700;
    color: #3C1E1E;
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    color: var(--gray-600);
    font-size: 18px;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--dark);
}

.modal-content {
    padding: 48px 40px;
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.modal-content > p {
    color: var(--gray-500);
    margin-bottom: 28px;
}

.modal-content .form-group {
    margin-bottom: 20px;
}

/* Modal Radio Group Styles */
.modal-content .radio-group {
    display: flex;
    gap: 32px;
    align-items: center;
}

.modal-content .radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
}

.modal-content .radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.modal-content .radio-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-sizing: border-box;
    display: block;
    background: #ffffff;
}

.modal-content .radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #2563EB;
    background: #2563EB;
}

.modal-content .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-content .radio-label input[type="radio"]:checked + .radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.modal-content .radio-text {
    font-size: 15px;
    color: var(--gray-700);
}

.modal-content button[type="submit"] {
    margin-top: 8px;
}

/* ===== Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card.brand {
        grid-column: span 2;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .service-card.brand {
        grid-column: span 1;
        max-width: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .case-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-buttons {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active a {
        color: var(--dark);
        font-size: 17px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 16px;
    }
    
    .diff-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .feature-label {
        width: 100%;
    }
    
    .workflow-step {
        padding-left: 70px;
    }
    
    .step-marker {
        width: 48px;
        height: 48px;
    }
    
    .workflow-line {
        left: 22px;
    }
    
    .step-number {
        font-size: 16px;
    }
    
    .case-details {
        grid-template-columns: 1fr;
    }
    
    .case-results {
        min-width: auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .cta h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .modal-content {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 70px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .case-match {
        flex-direction: column;
        gap: 12px;
    }
    
    .match-connector {
        transform: rotate(90deg);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .event-slider {
        padding: 10px 24px;
        margin: -10px -24px;
    }
    
    .slider-btn {
        display: none;
    }
}