/* ============================================
   빼다 - 폐기물 수거 서비스
   Industrial Cleanliness Design System
   ============================================ */

/* CSS Variables */
:root {
    /* Colors - Blue Palette */
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-deeper: #1e40af;
    --accent: #0ea5e9;
    --accent-light: #38bdf8;

    /* Warm Accents - 타겟 고객 어필용 */
    --accent-warm: #F59E0B;
    --accent-coral: #FB7185;
    --accent-mint: #34D399;
    --accent-lavender: #A78BFA;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Semantic */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --bg-primary: var(--white);
    --bg-secondary: var(--gray-50);
    --bg-tertiary: var(--gray-100);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Typography */
    --font-display: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --letter-spacing: -0.03em;

    /* Borders & Shadows */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-slower: 500ms ease;

    /* Layout */
    --container-max: 1200px;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: var(--letter-spacing);
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* Heading 가독성 개선 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: var(--letter-spacing);
    line-height: 1.3;
}

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

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

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

ul, ol {
    list-style: none;
}

/* Grain Overlay */
.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

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

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition-base);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: var(--radius-md);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.nav {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

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

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

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

.header-phone {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--primary);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.header-phone:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.phone-icon {
    width: 16px;
    height: 16px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
}

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

.mobile-nav-inner {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-nav-link {
    font-size: 1.125rem;
    font-weight: 500;
    padding: var(--space-sm) 0;
    color: var(--text-primary);
}

.mobile-nav-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-lg);
}

.mobile-nav-phone svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Hero Section - Full Width Background
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
    overflow: hidden;
    background: url('../images/hero-16x9.webp') no-repeat center center;
    background-size: cover;
}

/* Gradient Overlay - 이미지를 희미하게 처리 (100%→30% 불투명도) */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 30%,
        rgba(255, 255, 255, 0.85) 45%,
        rgba(255, 255, 255, 0.6) 60%,
        rgba(255, 255, 255, 0.45) 75%,
        rgba(255, 255, 255, 0.3) 100%
    );
    z-index: 1;
}

/* 배경 데코레이션 */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Hide old background elements */
.hero-bg,
.hero-shapes,
.hero-gradient,
.shape {
    display: none !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-coral);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 6vw, 4.25rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

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

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: 0.08em;
    left: -0.05em;
    right: -0.05em;
    height: 0.35em;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.15), rgba(14, 165, 233, 0.1));
    border-radius: var(--radius-sm);
    z-index: -1;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-primary);
    border: 2px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--primary-light);
    color: var(--primary);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
    padding: var(--space-lg) var(--space-2xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
    backdrop-filter: blur(12px);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 50%, var(--white) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    border: 1px solid rgba(37, 99, 235, 0.2);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(251, 113, 133, 0.04));
}

.section-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--primary), var(--accent-coral));
    border-radius: 50%;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.02em;
}

/* Service Tabs */
.service-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-3xl);
    position: relative;
    background: var(--gray-100);
    padding: var(--space-xs);
    border-radius: var(--radius-xl);
}

.tab-btn {
    position: relative;
    padding: var(--space-md) var(--space-xl);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    z-index: 1;
}

.tab-btn:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.04);
}

.tab-btn.active {
    color: var(--white);
}

.tab-btn:not(.active):hover {
    transform: translateY(-1px);
}

.tab-indicator {
    position: absolute;
    top: var(--space-xs);
    left: var(--space-xs);
    height: calc(100% - var(--space-sm));
    background: var(--primary);
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
    z-index: 0;
    box-shadow: var(--shadow-md);
}

/* Tab Content */
.tabs-content {
    position: relative;
    min-height: 400px;
}

.tab-panel {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
    padding: var(--space-2xl);
    background: var(--gray-50);
    border-radius: var(--radius-2xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.tab-panel.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tab-icon {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.tab-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--space-md);
}

.tab-icon svg {
    width: 100px;
    height: 100px;
    color: var(--primary);
}

.tab-info {
    flex: 1;
}

.tab-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.tab-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.tab-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.tab-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.tab-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.tab-features svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
    position: relative;
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 113, 133, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.why-card {
    position: relative;
    padding: var(--space-2xl) var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.why-card:first-child {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
}

.why-card:first-child .why-number {
    color: var(--white);
    opacity: 0.3;
}

.why-card:first-child .why-title {
    color: var(--white);
}

.why-card:first-child .why-text {
    color: rgba(255, 255, 255, 0.85);
}

.why-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
}

.why-card:first-child:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.3);
}

.why-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.why-card:hover .why-number {
    opacity: 0.4;
}

.why-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.why-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--gray-50), var(--white));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    padding: var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-coral));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.1);
    border-color: var(--primary-light);
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, var(--accent-coral), #E11D48);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, var(--accent-mint), #059669);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius-lg);
    color: var(--white);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.feature-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


/* ============================================
   Process Section
   ============================================ */
.process {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--white) 0%, rgba(37, 99, 235, 0.02) 50%, var(--white) 100%);
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.process-step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: var(--space-xl);
}

.step-number {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    transition: var(--transition-base);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(37, 99, 235, 0.2);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* Process step hover effect */
.process-step {
    position: relative;
    transition: var(--transition-base);
}

.process-step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-coral));
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.process-step:hover {
    transform: translateY(-4px);
}

.process-step:hover::after {
    width: 60%;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
}

.process-connector {
    color: var(--gray-300);
    flex-shrink: 0;
}

.process-connector svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .process-connector {
        transform: rotate(90deg);
    }

    .process-step {
        max-width: 100%;
    }
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    cursor: pointer;
    transition: var(--transition-base);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question span {
    font-size: 1.0625rem;
    font-weight: 600;
    text-align: left;
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--gray-400);
    transition: var(--transition-base);
}

.faq-item[open] .faq-icon {
    color: var(--primary);
}

.faq-item[open] .faq-icon line:first-child {
    opacity: 0;
}

.faq-item[open] .faq-icon line:last-child {
    transform: rotate(0);
}

.faq-answer {
    padding: 0 var(--space-xl) var(--space-lg);
    overflow: hidden;
    animation: faqExpand 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes faqExpand {
    from {
        opacity: 0;
        max-height: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
        padding-bottom: var(--space-lg);
    }
}

.faq-answer p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Reviews Carousel Section
   ============================================ */
.reviews {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    overflow: hidden;
}

.reviews .section-header {
    margin-bottom: var(--space-2xl);
}

.reviews-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.reviews-track {
    display: flex;
    gap: var(--space-lg);
    animation: scroll-reviews 60s linear infinite;
    width: max-content;
}

.reviews-track:hover {
    animation-play-state: paused;
}

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

.review-card {
    flex-shrink: 0;
    width: clamp(280px, 80vw, 320px);
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 16px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.06;
    line-height: 1;
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.review-stars {
    color: var(--accent-coral);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
    text-shadow: 0 0 8px rgba(251, 113, 133, 0.3);
}

.review-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    min-height: 80px;
}

.review-author {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.review-author span {
    font-weight: 400;
    color: var(--text-muted);
    margin-left: var(--space-sm);
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark), var(--primary-deeper));
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.12), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1), transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(255,255,255,0.06), transparent 30%);
}

.cta::after {
    content: '';
    position: absolute;
    top: -100px;
    right: 5%;
    width: 250px;
    height: 250px;
    background: var(--accent-coral);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

/* Rotating Rectangles */
.cta-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: transparent;
}

.cta-shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation: rotate-shape 20s linear infinite;
}

.cta-shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 5%;
    border-color: rgba(255, 255, 255, 0.06);
    animation: rotate-shape 25s linear infinite reverse;
}

.cta-shape-3 {
    width: 60px;
    height: 60px;
    top: 15%;
    right: 15%;
    animation: rotate-shape 18s linear infinite;
}

.cta-shape-4 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: 8%;
    border-color: rgba(255, 255, 255, 0.08);
    animation: rotate-shape 22s linear infinite reverse;
}

@keyframes rotate-shape {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.4;
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: clamp(0.9375rem, 2vw, 1.125rem);
    opacity: 0.9;
    margin-bottom: var(--space-2xl);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-2xl);
    background: var(--white);
    color: var(--primary);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.cta-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--gray-800);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.footer-logo .logo-icon {
    background: var(--primary);
}

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

.footer-tagline {
    font-size: 0.875rem;
    color: var(--gray-500);
}

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

.footer-info p {
    font-size: 0.9375rem;
    margin-bottom: var(--space-xs);
}

.footer-info strong {
    color: var(--white);
}

.footer-info a {
    color: var(--primary-light);
    transition: var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .tabs-nav {
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.875rem;
    }

    .tab-panel {
        flex-direction: column;
        text-align: center;
    }

    .tab-icon {
        width: 160px;
        height: 160px;
    }

    .tab-icon svg {
        width: 80px;
        height: 80px;
    }

    .tab-features {
        align-items: center;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .nav {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
        background-position: right center;
    }

    /* 모바일에서 그라데이션 강화 - 배경 이미지 위 텍스트 가독성 */
    .hero::before {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.98) 30%,
            rgba(255, 255, 255, 0.95) 60%,
            rgba(255, 255, 255, 0.9) 100%
        );
    }

    .hero-description br {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }

    .stat-divider {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: var(--space-md);
    }

    .feature-card {
        padding: var(--space-lg);
    }

    .tabs-nav {
        gap: var(--space-xs);
        padding: var(--space-xs);
    }

    .tab-btn {
        flex: 1 1 calc(50% - var(--space-xs));
        padding: var(--space-sm);
        font-size: 0.8125rem;
    }

    .tab-panel {
        padding: var(--space-lg);
    }

    .tabs-content {
        min-height: 360px;
    }

    .tab-icon {
        width: 150px;
        height: 150px;
    }

    .tab-icon svg {
        width: 70px;
        height: 70px;
    }

    .tab-title {
        font-size: 1.375rem;
    }

    .tab-title br {
        display: none;
    }

    .section-title br {
        display: none;
    }

    .cta-title br {
        display: none;
    }

    .cta-shape-3,
    .cta-shape-4 {
        opacity: 0.5;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-xl);
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        min-height: 48px;
    }

    /* 2x2 그리드 탭 레이아웃 */
    .tabs-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
        padding: var(--space-sm);
    }

    .tab-btn {
        min-height: 52px;
        padding: var(--space-md) var(--space-sm);
        font-size: 0.875rem;
        font-weight: 600;
        border-radius: var(--radius-lg);
        background: var(--white);
        border: 1px solid var(--gray-200);
        transition: var(--transition-base);
    }

    .tab-btn:not(.active) {
        color: var(--text-secondary);
    }

    .tab-btn.active {
        background: var(--primary);
        border-color: var(--primary);
        color: var(--white);
    }

    /* 탭 인디케이터 숨김 - 그리드에서는 배경색으로 표시 */
    .tab-indicator {
        display: none;
    }

    .tabs-content {
        min-height: auto;
    }

    .tab-icon {
        width: 140px;
        height: 140px;
    }

    .tab-icon svg {
        width: 60px;
        height: 60px;
    }

    .hero-stats {
        padding: var(--space-md) var(--space-lg);
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8125rem;
    }

    .cta-shapes {
        opacity: 0.3;
    }

    .cta-shape-1,
    .cta-shape-2 {
        display: none;
    }

    .faq-question {
        padding: var(--space-md);
    }

    .faq-answer {
        padding: 0 var(--space-md) var(--space-md);
    }
}

/* 터치 기기 최적화 */
@media (hover: none) and (pointer: coarse) {
    /* 호버 효과 제거 - 터치 기기에서 불필요 */
    .why-card:hover,
    .feature-card:hover,
    .review-card:hover,
    .process-step:hover,
    .faq-item:hover {
        transform: none;
    }

    /* 터치 타겟 최소 44px 보장 */
    .nav-link,
    .btn,
    .tab-btn,
    .faq-question,
    .mobile-nav-link {
        min-height: 44px;
    }

    .header-phone {
        min-height: 44px;
        padding: var(--space-sm) var(--space-lg);
    }
}

/* Safe area insets - 노치 디바이스 지원 */
@supports (padding: env(safe-area-inset-bottom)) {
    .header {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .footer {
        padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom));
    }

    .cta-button {
        margin-bottom: env(safe-area-inset-bottom);
    }
}

/* 모바일 가로 모드 최적화 */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + var(--space-lg)) 0 var(--space-lg);
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .stat-divider {
        display: block;
    }

    .process-steps {
        flex-direction: row;
    }

    .process-connector {
        transform: none;
    }
}

/* 360px 이하 - 소형 기기 */
@media (max-width: 360px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-md);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
        padding: var(--space-md);
    }

    .stat {
        flex-direction: row;
        gap: var(--space-md);
    }

    .tab-panel {
        padding: var(--space-md);
    }

    .tab-icon {
        width: 120px;
        height: 120px;
    }

    .tab-title {
        font-size: 1.25rem;
    }

    .tab-description {
        font-size: 0.9375rem;
    }

    .why-card {
        padding: var(--space-lg) var(--space-md);
    }

    .feature-card {
        padding: var(--space-md);
    }

    .process-step {
        padding: var(--space-md);
    }

    .step-number {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }

    .review-card {
        padding: var(--space-lg);
    }

    .cta {
        padding: var(--space-2xl) 0;
    }

    .cta-button {
        padding: var(--space-md) var(--space-xl);
    }

    .mobile-nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .mobile-nav-phone {
        min-height: 48px;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .header,
    .mobile-nav,
    .grain-overlay,
    .hero-shapes {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: var(--space-xl) 0;
    }

    body {
        font-size: 12pt;
    }
}
