/* ==========================================================================
   Zaemit - Light Glassmorphism Theme (Brand Blue)

   Design Rationale - 2025/2026 Trends:
   =========================================================================

   COLOR PALETTE:

   1. Primary (#007eff Brand Blue):
      - 신뢰감, 전문성, 테크 느낌
      - 재밋 브랜드 아이덴티티

   2. Secondary (#00c2ff Light Blue):
      - 시원하고 미래지향적인 느낌
      - Blue → Light Blue 그라데이션 = 테크 + 신뢰
      - 2026 트렌드: Electric blues = 혁신과 지능

   3. Glassmorphism:
      - Apple Vision Pro 스타일의 강한 블러
      - 레이어드 UI로 깊이감 표현
      - 라이트 테마에서도 모던한 느낌 유지

   4. Glow Effects:
      - CTA 버튼에 발광 효과
      - 호버 시 luminescence
      - CTR 15% 상승 효과 (2026 SaaS 트렌드)

   ========================================================================== */

/* CSS Variables - Brand Blue Light Theme with Glassmorphism */
:root {
    /* theme.resource.header.css 에서 정의 */
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Reset & Base */
/* *, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

/* html {
    scroll-behavior: smooth;
    scroll-margin-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.65;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
} */

/* ==========================================================================
   Typography System - 토론 결과 반영
   ========================================================================== */

/* Display - 히어로, CTA 타이틀 */
.hero-title,
.final-cta h2 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

/* H1 - 섹션 타이틀 */
.process-title,
.showcase-title,
.features-title,
.faq-title {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* H2 - 카드/서브 타이틀 */
.feature-card h3,
.process-step h3,
.expert-headline {
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* Body */
p {
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.65;
}

/* Caption */
.trust-label,
.showcase-stat,
.final-cta-note {
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
}

/* Subtle grain texture */
/* z-index 수정: 9999 → 1 (모달/드롭다운 위에 표시되는 버그 방지) */
/* body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 1;
} */

/*
 * Screen Reader Only (sr-only)
 * 시각적으로 숨기지만 스크린리더와 검색엔진이 읽을 수 있음
 * 접근성 + SEO 목적 (클로킹 아님)
 * 참조: WebAIM, WCAG 2.1
 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Focus States - Accessibility */
/* :focus-visible {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 2px;
} */

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   Hero Section - Light Glassmorphism
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding: 140px var(--space-lg) 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    /* z-index: 100; */
    /* Light: 파스텔 + 쨍하게 */
    background: linear-gradient(110deg,
        #818cf8 0%,
        #a78bfa 25%,
        #c4b5fd 45%,
        #e879f9 65%,
        #f472b6 85%,
        #fb7185 100%);
    box-sizing: border-box;
}

/* Dark mode: 미니멀 다크 */
[data-theme="dark"] .hero {
    background: linear-gradient(180deg,
        #09090b 0%,
        #18181b 50%,
        #1f1f23 100%);
}

/* Light mode glow overlay */
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    right: -30%;
    bottom: -30%;
    background:
        /* 중앙 밝은 영역 - 텍스트 가시성 */
        radial-gradient(ellipse 70% 60% at 50% 45%, rgba(255, 255, 255, 0.7) 0%, transparent 60%),
        /* 좌측 블루 강조 */
        radial-gradient(ellipse 60% 70% at 0% 40%, rgba(99, 102, 241, 0.5) 0%, transparent 50%),
        /* 우측 핑크 강조 */
        radial-gradient(ellipse 60% 70% at 100% 60%, rgba(236, 72, 153, 0.4) 0%, transparent 50%);
    z-index: 0;
    filter: blur(50px);
    animation: auroraDrift 25s ease-in-out infinite;
    pointer-events: none;
}

/* Dark mode overlay */
[data-theme="dark"] .hero::before {
    background:
        radial-gradient(ellipse 100% 80% at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 80% 100% at 50% 100%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    filter: blur(60px);
}

@keyframes auroraDrift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(2%, -2%) scale(1.02);
    }
    50% {
        transform: translate(-1%, 1%) scale(0.98);
    }
    75% {
        transform: translate(-2%, -1%) scale(1.01);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero::before {
        animation: none;
        transform: none;
    }
}

/* Grain texture overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.04;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
}


/* Eyebrow 텍스트 */
.hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent-primary);
    background: linear-gradient(135deg, rgba(0, 126, 255, 0.1), rgba(0, 194, 255, 0.1));
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 126, 255, 0.15);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(44px, 9vw, 76px);
    font-weight: 900;
    color: var(--color-text-primary);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: var(--space-lg);
    text-wrap: balance;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title-line {
    display: block;
    text-align: center;
}

/* Hero prefix - hidden by default (used for English "A website that") */
.hero-prefix:empty {
    display: none;
}

/* 롤링배너 텍스트 컨테이너 - Grid로 단어들 겹침 */
.morph-text {
    display: inline-grid;
    width: 2em;
    overflow: visible;
    vertical-align: baseline;
    margin-right: 0.05em;
    justify-items: end; /* 오른쪽 정렬 */
}

/* 롤링배너 단어들 - 모두 같은 grid cell */
.morph-word {
    grid-area: 1 / 1; /* 모든 단어가 같은 위치 */
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.morph-word.active {
    opacity: 1;
    transform: translateY(0);
}

.morph-word.exit {
    opacity: 0;
    transform: translateY(-30px);
}

/* 레거시 highlight 지원 */
.hero-title .highlight {
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-subtitle {
    color: var(--color-text-secondary);
    font-size: 21px;
    margin-bottom: var(--space-2xl);
    line-height: 1.75;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AI Input Box - 3D Floating Card Effect */
.ai-input-box {
    position: relative;
    background: #ffffff;
    border: 1.5px solid rgba(0, 60, 130, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-sm) var(--space-md) var(--space-xs);
    margin-bottom: var(--space-xl);
    z-index: 10;
    /* 3D Floating effect */
    transform: perspective(1200px) rotateX(1.5deg);
    transform-style: preserve-3d;
    /* Layered shadow for depth — blue tint */
    box-shadow:
        0 2px 4px rgba(0, 60, 130, 0.04),
        0 8px 24px rgba(0, 60, 130, 0.07),
        0 32px 64px rgba(0, 126, 255, 0.12);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    will-change: transform, box-shadow;
}

/* 글로시 테두리 베이스 */
.ai-input-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-xl) + 2px);
    padding: 2px;
    background: linear-gradient(
        135deg,
        rgba(0, 126, 255, 0.35) 0%,
        rgba(0, 180, 255, 0.45) 50%,
        rgba(0, 126, 255, 0.35) 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

/* 테두리를 따라 흐르는 빛 - 더 밝고 티나게 */
.ai-input-box::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-xl) + 2px);
    padding: 2px;
    background: conic-gradient(
        from var(--light-angle, 0deg),
        /* 첫 번째 빛 - 블루/시안 */
        rgba(0, 150, 255, 0.4) 0%,
        rgba(14, 165, 233, 0.9) 3%,
        rgba(56, 189, 248, 1) 6%,
        rgba(255, 255, 255, 1) 10%,
        rgba(56, 189, 248, 1) 14%,
        rgba(14, 165, 233, 0.9) 17%,
        rgba(0, 150, 255, 0.4) 20%,
        /* 중간 - 베이스 테두리 색상 유지 */
        rgba(0, 140, 255, 0.35) 25%,
        rgba(0, 140, 255, 0.35) 45%,
        /* 두 번째 빛 - 바이올렛/퍼플 */
        rgba(0, 150, 255, 0.4) 48%,
        rgba(139, 92, 246, 0.9) 52%,
        rgba(167, 139, 250, 1) 56%,
        rgba(255, 255, 255, 1) 60%,
        rgba(167, 139, 250, 1) 64%,
        rgba(139, 92, 246, 0.9) 68%,
        rgba(0, 150, 255, 0.4) 72%,
        /* 끝 - 베이스 테두리 색상 유지 */
        rgba(0, 140, 255, 0.35) 78%,
        rgba(0, 140, 255, 0.35) 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: lightTrace 8s linear infinite;
    z-index: -1;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
    transition: filter 0.3s ease, opacity 0.3s ease;
}

@property --light-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes lightTrace {
    0% {
        --light-angle: 0deg;
    }
    100% {
        --light-angle: 360deg;
    }
}

/* @property 미지원 브라우저 폴백 */
@supports not (background: conic-gradient(from var(--light-angle), red, blue)) {
    .ai-input-box::after {
        background: linear-gradient(
            90deg,
            transparent 0%,
            transparent 35%,
            rgba(0, 180, 255, 0.6) 42%,
            rgba(100, 220, 255, 0.9) 48%,
            rgba(255, 255, 255, 1) 50%,
            rgba(100, 220, 255, 0.9) 52%,
            rgba(0, 180, 255, 0.6) 58%,
            transparent 65%,
            transparent 100%
        );
        background-size: 250% 100%;
        animation: lightTraceFallback 5s ease-in-out infinite;
        filter: drop-shadow(0 0 8px rgba(0, 180, 255, 0.5));
    }

    @keyframes lightTraceFallback {
        0%, 100% {
            background-position: 200% 50%;
        }
        50% {
            background-position: -100% 50%;
        }
    }
}

.ai-input-box:hover {
    transform: perspective(1200px) rotateX(0deg) translateY(-8px) scale(1.005);
    border-color: rgba(0, 126, 255, 0.2);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.03),
        0 12px 24px rgba(0, 0, 0, 0.05),
        0 32px 64px rgba(0, 126, 255, 0.12),
        0 64px 100px rgba(0, 126, 255, 0.08);
}

/* 호버 시 빛 강조 */
.ai-input-box:hover::after {
    filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.8)) drop-shadow(0 0 24px rgba(139, 92, 246, 0.5));
}

.ai-input-box:focus-within {
    transform: perspective(1200px) rotateX(0deg) translateY(-6px) scale(1.003);
    border-color: rgba(0, 126, 255, 0.25);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.03),
        0 12px 24px rgba(0, 0, 0, 0.05),
        0 32px 64px rgba(0, 126, 255, 0.14),
        0 0 0 3px rgba(0, 126, 255, 0.08);
}

/* 포커스 시 빛 더 밝고 빠르게 */
.ai-input-box:focus-within::before {
    background: linear-gradient(
        135deg,
        rgba(0, 126, 255, 0.4) 0%,
        rgba(0, 194, 255, 0.5) 50%,
        rgba(0, 126, 255, 0.4) 100%
    );
}

.ai-input-box:focus-within::after {
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.9)) drop-shadow(0 0 30px rgba(139, 92, 246, 0.6));
}

/* Drag & Drop Overlay */
.drop-overlay {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 5300;
    border-radius: var(--radius-xl);
    background: linear-gradient(
        135deg,
        rgba(0, 126, 255, 0.08) 0%,
        rgba(0, 180, 255, 0.04) 50%,
        rgba(0, 126, 255, 0.08) 100%
    );
    border: 2px dashed rgba(0, 126, 255, 0.35);
    align-items: center;
    justify-content: center;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.ai-input-box.drag-over .drop-overlay {
    display: flex;
}

.drop-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-accent-primary);
}

.drop-overlay-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: rgba(0, 126, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 126, 255, 0.15);
}

.drop-overlay-icon svg {
    color: var(--color-accent-primary);
    opacity: 0.8;
}

.drop-overlay-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-accent-primary);
}

.drop-overlay-sub {
    font-size: 12px;
    color: var(--color-text-secondary);
    font-weight: 400;
}

/* URL 입력 모달 */
.url-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.url-modal-backdrop.active {
    display: flex;
}

.url-modal {
    position: relative;
    background: var(--color-bg-elevated);
    border-radius: 16px;
    padding: 32px 28px;
    width: 90%;
    max-width: 420px;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    animation: urlModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes urlModalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.url-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    background: var(--color-bg-secondary);
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.url-modal-close:hover {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
}

.url-modal-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.url-modal-desc {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 22px;
    white-space: nowrap;
}

.url-input-wrapper {
    display: flex;
    gap: 10px;
}

.url-input-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.url-input-icon {
    position: absolute;
    left: 14px;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: color var(--transition-fast);
}

.url-input-box:focus-within .url-input-icon {
    color: var(--color-accent-primary);
}

.url-input {
    width: 100%;
    padding: 12px 14px 12px 38px;
    border-radius: 10px;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    background: var(--color-bg-primary);
    font-size: 14px;
    color: var(--color-text-primary);
    outline: none;
    transition: all var(--transition-fast);
}

.url-input:focus {
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 126, 255, 0.1);
}

.url-input::placeholder {
    color: var(--color-text-muted);
}

.url-submit-btn {
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--color-accent-primary);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.url-submit-btn:hover {
    background: #0066dd;
    box-shadow: 0 0 12px rgba(0, 126, 255, 0.3);
}

/* 첨부 파일 미리보기 */
.attached-files {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 var(--space-lg) var(--space-sm);
}

.attached-file {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px 5px 8px;
    background: rgba(0, 126, 255, 0.06);
    border: 1px solid rgba(0, 126, 255, 0.15);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--color-text-secondary);
    animation: attachIn 0.2s ease;
}

@keyframes attachIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.attached-file-icon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: rgba(0, 126, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.attached-file-icon svg {
    width: 11px;
    height: 11px;
    color: var(--color-accent-primary);
}

.attached-file-name {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.attached-file-remove {
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 2px;
    transition: all var(--transition-fast);
}

.attached-file-remove:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.input-area {
    position: relative;
    min-height: 180px;
    max-height: 300px;
    padding: var(--space-lg);
    text-align: left;
}

/* Prompt Textarea - Real Input */
.prompt-input {
    width: 100%;
    min-height: 100px;
    max-height: 260px;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    resize: none;
    overflow-y: auto;
}

.prompt-input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

.prompt-input:focus {
    outline: none;
}

/* Typing Animation Overlay */
.typing-overlay {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    right: var(--space-lg);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.2s ease;
}

.typing-overlay.hidden {
    opacity: 0;
}

.typing-text {
    color: var(--color-text-primary);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    opacity: 0.65;
}

.typing-cursor {
    color: var(--color-accent-primary);
    font-size: 18px;
    font-weight: 400;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Custom scrollbar for textarea */
.prompt-input::-webkit-scrollbar {
    width: 6px;
}

.prompt-input::-webkit-scrollbar-track {
    background: transparent;
}

.prompt-input::-webkit-scrollbar-thumb {
    background: rgba(0, 126, 255, 0.2);
    border-radius: 3px;
}

.prompt-input::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 126, 255, 0.35);
}

.input-hint {
    color: var(--color-text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.input-hint::before {
    content: '💡';
    font-size: 12px;
}

.input-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
}

.left-controls {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* Attach Dropdown */
.attach-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.attach-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 160px;
    background: var(--color-bg-elevated);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: var(--space-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
}

.attach-dropdown.active .attach-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.attach-option {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.attach-option:hover {
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
}

.attach-option svg {
    flex-shrink: 0;
}

.control-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--color-bg-secondary);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.control-btn svg {
    width: 18px;
    height: 18px;
}

.control-btn:hover {
    background: var(--color-bg-tertiary);
    color: var(--color-accent-primary);
    transform: scale(1.05);
}

.right-controls {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.maker-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: var(--color-bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all var(--transition-fast);
}

.maker-dropdown svg {
    width: 14px;
    height: 14px;
}

.maker-dropdown:hover {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
    box-shadow: 0 0 8px rgba(0, 126, 255, 0.15);
}

/* Maker Dropdown Menu - Simple, opens downward */
.maker-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: var(--color-bg-elevated);
    border-radius: var(--radius-md);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.maker-dropdown.active .maker-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Arrow rotation when dropdown is open */
.maker-dropdown svg {
    transition: transform 0.2s ease;
}

.maker-dropdown.active svg {
    transform: rotate(180deg);
}

/* Ensure dropdown appears above all content */
.ai-input-box {
    z-index: 5000;
}

.input-controls {
    position: relative;
    z-index: 5100;
}

.maker-dropdown,
.attach-dropdown {
    z-index: 5200;
}

.attach-menu {
    z-index: 5201;
}

.maker-menu {
    z-index: 5202;
}

.maker-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.15s ease;
    text-align: left;
}

.maker-option:hover {
    background: var(--color-bg-secondary);
}

.maker-option.selected {
    background: rgba(0, 126, 255, 0.08);
}

.maker-radio {
    position: relative;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--color-text-muted);
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.15s ease;
}

.maker-option.selected .maker-radio {
    border-color: var(--color-accent-primary);
    background: var(--color-accent-primary);
}

.maker-radio-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transition: all 0.15s ease;
}

.maker-option.selected .maker-radio-inner {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.maker-info {
    flex: 1;
}

.maker-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-primary);
    line-height: 1.3;
}

.maker-option.selected .maker-name {
    color: var(--color-accent-primary);
    font-weight: 600;
}

.maker-desc {
    font-size: 11px;
    color: var(--color-text-muted);
    line-height: 1.3;
    margin-top: 2px;
}

/* Submit Button with Glow */
.submit-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px var(--color-glow-primary);
    animation: subtlePulse 3s ease-in-out infinite;
}

.submit-btn svg {
    width: 18px;
    height: 18px;
}

@keyframes subtlePulse {
    0%, 100% { box-shadow: 0 4px 20px var(--color-glow-primary); }
    50% { box-shadow: 0 6px 28px var(--color-glow-primary); }
}

.submit-btn:hover {
    transform: scale(1.12);
    box-shadow:
        0 0 20px var(--color-glow-primary),
        0 0 40px var(--color-glow-primary),
        0 8px 32px var(--color-glow-secondary);
    animation: none;
}

/* 소스 첨부 힌트 텍스트 */
.attach-hint {
    font-size: 12px;
    color: var(--color-text-secondary);
    font-weight: 500;
    padding-left: var(--space-xs);
}

/* 4번: 예시 프롬프트 섹션 - 입력창 위 */
.prompt-suggestions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.25s;
}

.suggestion-label {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 10px;
    font-weight: 600;
}

.suggestion-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: nowrap;
    justify-content: center;
}

.suggestion-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.suggestion-btn:hover {
    background: var(--color-bg-elevated);
    border-color: rgba(0, 126, 255, 0.3);
    color: var(--color-accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 126, 255, 0.15);
}

.suggestion-btn svg {
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.suggestion-btn:hover svg {
    opacity: 1;
    stroke: var(--color-accent-primary);
}

/* ==========================================================================
   Trust Bar Section - Horizontal Compact Style
   ========================================================================== */
.trust-bar {
    padding: var(--space-2xl) var(--space-lg);
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1;
    overflow-x: auto;
}

.trust-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-width: max-content;
    justify-content: space-between;
    gap: var(--space-xl);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    opacity: 0;
    animation: trustFadeIn 0.6s ease forwards;
    animation-delay: calc(var(--delay, 0) * 0.1s);
    transition: all var(--transition-fast);
}

.trust-item:hover {
    transform: scale(1.02);
}

@keyframes trustFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes processFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trust-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -1px;
}

.trust-source {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.trust-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(0, 126, 255, 0.1), rgba(0, 194, 255, 0.08));
    border-radius: var(--radius-sm);
    color: var(--color-accent-primary);
}

.trust-badge-icon svg {
    width: 18px;
    height: 18px;
}

.trust-label {
    font-size: 19px;
    font-weight: 500;
    color: var(--color-text-secondary);
    line-height: 1.3;
    white-space: nowrap;
}

.trust-divider {
    width: 1px;
    height: 32px;
    background: rgba(0, 0, 0, 0.08);
    display: block;
}

.trust-certs,
.trust-partners {
    gap: var(--space-sm);
}

.partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.partner-logo {
    height: 20px;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.partner-logo[alt="AhnLab"]{
    margin-top: 2px;
}

.partner-logo:hover {
    opacity: 1;
}

/* 다크모드 로고 토글 */
.partner-logo-dark {
    display: none;
}

[data-theme="dark"] .partner-logo-light {
    display: none;
}

[data-theme="dark"] .partner-logo-dark {
    display: block;
}

/* ==========================================================================
   Process Section - 3 Steps
   ========================================================================== */
.process-section {
    padding: 80px var(--space-lg);
    background: linear-gradient(180deg,
        rgba(0, 126, 255, 0.035) 0%,
        rgba(0, 194, 255, 0.02) 100%);
    position: relative;
}

/* Top separator line */
.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 126, 255, 0.15) 50%,
        transparent 100%);
}

.process-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.process-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: var(--space-2xl);
    letter-spacing: -0.5px;
    text-wrap: balance;
    color: var(--color-text-primary);
}

.process-title strong,
.after-title strong {
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-lg);
}

.process-step {
    flex: 1;
    max-width: 240px;
    text-align: center;
}

.step-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, rgba(0, 126, 255, 0.08), rgba(0, 194, 255, 0.08));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-primary);
}

.step-num {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: white;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--color-glow-primary);
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.process-step p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.process-arrow {
    font-size: 24px;
    color: var(--color-text-muted);
    margin-top: 40px;
}

/* ==========================================================================
   Process Cards - Image Card Layout
   ========================================================================== */
.process-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: 1100px;
    margin: 0 auto;
}

.process-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 126, 255, 0.08);
    border: 1px solid rgba(0, 126, 255, 0.1);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.process-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 50px rgba(0, 126, 255, 0.18),
        0 0 0 1px rgba(0, 126, 255, 0.15);
    border-color: rgba(0, 160, 255, 0.25);
}

.process-card-image {
    position: relative;
    aspect-ratio: 5/3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-secondary) 100%);
}

.process-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.process-card:hover .process-card-image img {
    transform: scale(1.05);
}

.process-card-num {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: white;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 126, 255, 0.3);
}

.process-card-content {
    padding: var(--space-lg);
    text-align: left;
    min-height: 100px;
}

.process-card-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.process-card-content p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   After Section - Purple Theme Cards
   ========================================================================== */
.after-section {
    padding: 80px var(--space-lg);
    background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 100%);
    position: relative;
}

.after-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(124, 58, 237, 0.15) 50%,
        transparent 100%);
}

.after-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.after-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: var(--space-2xl);
    letter-spacing: -0.5px;
    text-wrap: balance;
    color: var(--color-text-primary);
}

.after-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: 1100px;
    margin: 0 auto;
}

.after-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.1);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.after-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 50px rgba(124, 58, 237, 0.2),
        0 0 0 1px rgba(139, 92, 246, 0.2);
    border-color: rgba(167, 139, 250, 0.3);
}

.after-card-image {
    position: relative;
    aspect-ratio: 5/3;
    overflow: hidden;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.after-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.after-card:hover .after-card-image img {
    transform: scale(1.05);
}

.after-card-num {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.after-card-content {
    padding: var(--space-lg);
    text-align: left;
    min-height: 100px;
}

.after-card-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.after-card-content p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   Showcase Section - Glass Cards
   ========================================================================== */

/* 모바일 슬라이더 버튼 - 데스크톱에서 숨김 */
.mobile-slider-btn {
    display: none;
}

.showcase-section {
    padding: 80px var(--space-lg);
    background: #ffffff;
    position: relative;
    overflow: visible;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
}

.showcase-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.showcase-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px var(--color-glow-primary);
}

.showcase-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    letter-spacing: -1px;
    text-wrap: balance;
    color: var(--color-text-primary);
}

.showcase-title strong {
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.showcase-title strong::after {
    display: none;
}

@keyframes numberGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.showcase-subtitle {
    color: var(--color-text-secondary);
    font-size: 15px;
}

/* Horizontal Cards Grid */
.showcase-cards-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding: 10px;
    margin: -10px;
    margin-bottom: calc(var(--space-xl) - 10px);
}

.showcase-card-mini {
    background: var(--color-glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 126, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--shadow-card);
}

.showcase-card-mini:hover {
    transform: translateY(-8px) scale(1.04);
    border-color: rgba(0, 126, 255, 0.3);
    box-shadow: var(--shadow-elevated), 0 0 40px rgba(0, 126, 255, 0.1);
}

.showcase-image-mini {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.showcase-image-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.showcase-card-mini:hover .showcase-image-mini img {
    transform: scale(1.05);
}

.showcase-badge-mini {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px var(--color-glow-primary);
}

.showcase-info-mini {
    padding: var(--space-md);
}

.showcase-info-mini h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text-primary);
}

.showcase-info-mini p {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.showcase-stat {
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-more-link {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity var(--transition-fast);
}

.showcase-more-link:hover {
    opacity: 0.8;
}

/* Showcase Marquee - Infinite Scroll */
.showcase-marquee-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    margin-top: var(--space-xl);
}

.showcase-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.showcase-marquee-track {
    display: flex;
    gap: var(--space-lg);
    animation: marqueeScroll 60s linear infinite;
    width: max-content;
    padding: 16px 0;
}

.showcase-marquee:hover .showcase-marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.showcase-marquee-item {
    flex-shrink: 0;
    width: 320px;
    height: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
    position: relative;
}

.showcase-marquee-item:hover {
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 126, 255, 0.15);
}

.showcase-marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.showcase-marquee-item:hover img {
    transform: scale(1.05);
}

/* Dark mode for marquee */
[data-theme="dark"] .showcase-marquee-item {
    background: #1a1a1a;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .showcase-marquee-item:hover {
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 140, 255, 0.25);
}

/* Mobile responsive for marquee */
@media (max-width: 768px) {
    .showcase-marquee-item {
        width: 320px;
        height: 220px;
    }

    .showcase-marquee-track {
        gap: var(--space-md);
        animation-duration: 50s;
    }
}

@media (max-width: 480px) {
    .showcase-marquee-item {
        width: 300px;
        height: 205px;
    }
}

/* ==========================================================================
   Features Section - 기능 홍보
   ========================================================================== */
.features-section {
    padding: 80px var(--space-lg);
    background: var(--color-bg-secondary);
    position: relative;
    overflow: visible;
}

/* Subtle background decoration */
.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 126, 255, 0.04) 0%, transparent 70%);
    z-index: 0;
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 194, 255, 0.04) 0%, transparent 70%);
    z-index: 0;
}

.features-container {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.features-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.features-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 126, 255, 0.1), rgba(0, 194, 255, 0.1));
    color: var(--color-accent-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(0, 126, 255, 0.15);
}

.features-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    letter-spacing: -1px;
    line-height: 1.3;
    text-wrap: balance;
    color: var(--color-text-primary);
}

.features-title strong {
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-subtitle {
    color: var(--color-text-secondary);
    font-size: 15px;
}

/* Slider Wrapper with Side Navigation */
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    overflow: visible;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--color-bg-elevated);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--color-accent-primary);
    color: white;
    border-color: var(--color-accent-primary);
    box-shadow: 0 8px 24px var(--color-glow-primary);
    transform: scale(1.05);
}

/* Features Slider */
.features-slider-wrap{
    padding: 20px;
    overflow: visible;
}

.features-slider {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 80px 0;
    margin: -80px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}

.features-slider::-webkit-scrollbar {
    display: none;
}

/* Feature Card */
.feature-card {
    /* flex: 0 0 calc((100% - 72px) / 4); */
    flex: 0 0 calc((100% - 100px) / 4);
    min-width: 240px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 126, 255, 0.06);
    border-radius: 24px;
    padding: var(--space-xl);
    transition: transform var(--motion-duration-base) var(--motion-ease-standard),
                box-shadow var(--motion-duration-base) var(--motion-ease-standard),
                background var(--motion-duration-base) var(--motion-ease-standard),
                border-color var(--motion-duration-base) var(--motion-ease-standard);
    box-shadow: 0 2px 16px rgba(0, 60, 130, 0.06), 0 0 0 1px rgba(0, 126, 255, 0.04);
    box-sizing: border-box;
    margin: 0 4px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 126, 255, 0.12), rgba(0, 194, 255, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--color-accent-primary);
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 126, 255, 0.08);
}

/* hover moved to @media (hover: hover) block at end of file */

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    word-break: keep-all;
}

.feature-tag {
    display: inline-block;
    margin-top: var(--space-md);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-accent-primary);
    background: rgba(0, 126, 255, 0.08);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

/* ==========================================================================
   Theme Gallery Section
   ========================================================================== */
.theme-section {
    padding: 80px var(--space-lg);
    background: #ffffff;
}

.theme-container {
    max-width: 1200px;
    margin: 0 auto;
}

.theme-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-2xl);
}

.theme-header-text h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -1px;
    text-wrap: balance;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.theme-header-text h2 strong {
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.theme-subtitle {
    font-size: 16px;
    color: var(--color-text-secondary);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-accent-primary);
    background: rgba(0, 126, 255, 0.08);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.view-all-link:hover {
    background: var(--color-accent-primary);
    color: white;
    /* transform: translateX(4px); */
    box-shadow: 0 6px 20px rgba(0, 126, 255, 0.15);
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.theme-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-card);
}

.theme-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-elevated), 0 0 60px rgba(0, 126, 255, 0.15);
}

.theme-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-slow);
}

.theme-card:hover img {
    transform: scale(1.08);
}

.theme-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.theme-card:hover .theme-overlay {
    opacity: 1;
}

.theme-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: white;
}

/* ==========================================================================
   Expert Banner Section - Light Trust Style
   ========================================================================== */
/* Expert Section - New Promo Box Design */
.expert-section {
    width: 100%;
    padding: 100px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
}
[sys_lang="en"] .expert-section, [sys_lang="jp"] .expert-section{ 
    display: none;
}

.expert-promo-box {
    width: 100%;
    max-width: 1200px;
    background: #f3f4f6;
    border-radius: 24px;
    padding: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.expert-bg-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 70%);
    top: -100px;
    right: -100px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.expert-text-group {
    flex: 1;
    z-index: 2;
}

.expert-headline {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    color: #111111;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.expert-highlight {
    position: relative;
    color: #111111;
    z-index: 1;
}

.expert-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 16px;
    background: rgba(22, 163, 74, 0.2);
    z-index: -1;
}

.expert-desc {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.6;
    font-weight: 500;
    max-width: 520px;
    margin-bottom: 0;
}

.expert-action-group {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 2;
    margin-left: 40px;
}

.expert-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 24px 48px;
    background: #111111;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.expert-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    background: #111111;
}

.expert-cta-arrow {
    font-size: 20px;
}

.expert-condition {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 400;
}

/* ==========================================================================
   FAQ Section - Glass Cards
   ========================================================================== */
.faq-section {
    padding: 80px var(--space-lg);
    background: var(--color-bg-secondary);
}

.faq-container {
    max-width: 960px;
    margin: 0 auto;
}

.faq-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-2xl);
    letter-spacing: -0.5px;
    text-wrap: balance;
    color: var(--color-text-primary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--color-glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 126, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: rgba(0, 126, 255, 0.2);
    transform: translateY(-4px);
    box-shadow:
        0 16px 35px rgba(0, 126, 255, 0.12),
        0 0 0 1px rgba(0, 126, 255, 0.08);
}

.faq-item:hover .faq-icon {
    color: var(--color-accent-primary);
    transform: scale(1.1);
}

.faq-item[open] {
    border-color: var(--color-accent-primary);
    box-shadow: var(--shadow-card), 0 0 40px rgba(0, 126, 255, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
    transition: color var(--transition-fast);
    box-sizing: border-box;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--color-accent-primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--transition-base), color var(--transition-base);
    color: var(--color-text-muted);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--color-accent-primary);
}

.faq-answer {
    padding: 0 var(--space-lg) var(--space-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item[open] .faq-answer {
    max-height: 300px;
    padding-bottom: var(--space-lg);
}

.faq-answer p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-item[open] .faq-answer p {
    opacity: 1;
    transform: translateY(0);
    word-break: keep-all;
    padding-right: 50px;
}

/* ==========================================================================
   Final CTA Section - 미니멀 & 임팩트
   ========================================================================== */
.final-cta {
    padding: 140px var(--space-lg) 120px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    text-align: center;
    position: relative;

}

/* 배경 글로우 */
.final-cta-glow {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(0, 126, 255, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.final-cta-container {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* 헤드라인 */
.final-cta-headline {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -2px;
    line-height: 1.1;
    color: #0f172a;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.6s ease forwards;
}

/* 헤드라인 강조 */
.final-cta-headline br + text,
.final-cta-headline::after {
    color: var(--color-accent-primary);
}

/* 서브카피 */
.final-cta-sub {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 44px;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.15s forwards;
}

.final-cta-sub .mobile-br {
    display: none;
}

/* CTA 버튼 */
.final-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 22px 60px;
    background-color: var(--color-accent-primary);
    color: white !important;
    font-size: 18px;
    font-weight: 700;
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 24px rgba(0, 126, 255, 0.35),
        0 0 0 0 rgba(0, 126, 255, 0);
    opacity: 0;
    transform: translateY(16px);
    animation: fadeInUp 0.6s ease 0.3s forwards, btnGlow 3s ease-in-out 1s infinite;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* 버튼 미세 breathing */
@keyframes btnGlow {
    0%, 100% {
        box-shadow:
            0 4px 24px rgba(0, 126, 255, 0.35),
            0 0 0 0 rgba(0, 126, 255, 0);
    }
    50% {
        box-shadow:
            0 6px 32px rgba(0, 126, 255, 0.45),
            0 0 0 0 rgba(0, 126, 255, 0);
    }
}

/* 버튼 내부 광택 */
.final-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.final-cta-btn:hover::before {
    left: 100%;
}

.final-cta-btn:hover {
    background: linear-gradient(135deg, #339dff 0%, #007eff 100%);
    transform: scale(1.06) translateY(-6px);
    box-shadow:
        0 20px 50px rgba(0, 126, 255, 0.4),
        0 8px 20px rgba(0, 126, 255, 0.2),
        0 0 0 4px rgba(0, 126, 255, 0.08);
    opacity: 1;
}

.final-cta-btn:active {
    transform: scale(1.02) translateY(0);
    transition: all 0.1s ease;
}

/* 버튼 텍스트 */
.final-cta-btn-text {
    position: relative;
    z-index: 1;
}

/* 버튼 화살표 */
.final-cta-arrow {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.final-cta-btn:hover .final-cta-arrow {
    transform: translateX(5px);
}

/* 신뢰 지표 섹션 */
.final-cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
    opacity: 0;
    transform: translateY(12px);
    animation: fadeInUp 0.6s ease 0.45s forwards;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.trust-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.trust-stat .trust-label {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0;
}

.trust-divider-vertical {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
}

/* 페이드인 애니메이션 */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 접근성: 애니메이션 감소 설정 존중 */
@media (prefers-reduced-motion: reduce) {
    .final-cta-headline,
    .final-cta-sub,
    .final-cta-btn,
    .final-cta-trust {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .final-cta-btn::before {
        display: none;
    }
}

/* ==========================================================================
   Footer - Clean Light Style
   ========================================================================== */
.footer {
    background: var(--color-bg-secondary);
    padding: 64px var(--space-lg) var(--space-xl);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: var(--space-xl);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-link {
    font-size: 14px;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-accent-primary);
}

.footer-link.bold {
    font-weight: 700;
    color: var(--color-text-secondary);
}

/* Family Site Dropdown - maker-dropdown 스타일 참고 */
.family-site-wrapper {
    position: relative;
    z-index: 100;
}

.family-site-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #1a1a1a;
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
}

.family-site-btn:hover {
    background: #2a2a2a;
}

.family-site-btn svg {
    transition: transform var(--transition-fast);
    width: 14px;
    height: 14px;
}

.family-site-wrapper.active .family-site-btn svg {
    transform: rotate(180deg);
}

.family-site-popup {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    width: 240px;
    background: #fff;
    border-radius: 12px;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.18s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.family-site-wrapper.active .family-site-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* 각 항목 */
.family-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 10px;
    background: transparent;
    color: #1a1a1a;
    text-decoration: none;
    transition: background 0.15s ease;
}

.family-link:hover {
    background: #f5f6f8;
}

.family-link-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.family-logo-text {
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: #333;
}

.family-logo-text .logo-accent {
    font-weight: 900;
}

.family-link--z .family-logo-text .logo-accent {
    color: #00a99d;
}

.family-link--w .family-logo-text .logo-accent {
    color: #ff6b00;
}

.family-desc {
    font-size: 11px;
    font-weight: 400;
    color: #adb5bd;
}

.family-arrow {
    color: #d1d5db;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.family-link:hover .family-arrow {
    transform: translateX(2px);
    color: #999;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.company-info {
    flex: 1;
}

.company-name {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.weven-logo-img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.weven-logo-light {
    display: block;
}

.weven-logo-dark {
    display: none;
}

[data-theme="dark"] .weven-logo-light {
    display: none;
}

[data-theme="dark"] .weven-logo-dark {
    display: block;
}

.company-text {
    font-size: 15px;
    color: var(--color-text-muted);
}

.company-addresses p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.company-details p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.copyright {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: var(--space-md);
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.zaemit-footer-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.nhn-logo-img {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.nhn-logo-light {
    display: block;
}

.nhn-logo-dark {
    display: none;
}

[data-theme="dark"] .nhn-logo-light {
    display: none;
}

[data-theme="dark"] .nhn-logo-dark {
    display: block;
}

/* ==========================================================================
   Chat Button - Floating with Glow
   ========================================================================== */
.chat-btn {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px var(--color-glow-primary), 0 4px 16px var(--color-glow-secondary);
    transition: all var(--transition-fast);
    z-index: 100;
}

.chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 48px var(--color-glow-primary), 0 8px 24px var(--color-glow-secondary);
}

/* ==========================================================================
   Accessibility - Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .trust-container {
        gap: var(--space-lg);
    }

    .process-steps {
        gap: var(--space-md);
    }

    .process-cards,
    .after-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

    .showcase-cards-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .theme-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expert-card {
        flex-direction: column;
        text-align: center;
    }

    .expert-mockup img {
        width: 100%;
        max-width: 320px;
    }
}

/* Tablet breakpoint (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .features-scroll__pin {
        padding: 80px var(--space-lg) var(--space-lg);
    }

    .features-scroll__main {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .feature-card {
        flex: 0 0 calc((100% - 48px) / 2);
    }
}

@media (max-width: 768px) {
    /* 모바일 전체 오버플로우 방지 */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    section {
        overflow-x: clip;
        max-width: 100vw;
    }

    .hero-orb-4,
    .hero-orb-5,
    .hero-orb-6 {
        animation: none;
        display: none;
    }

    .btn-primary {
        padding: 6px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .hero {
        padding: 100px var(--space-md) var(--space-xl);
        min-height: auto;
        overflow: visible;
    }

    /* Reduce background intensity on mobile for better readability */
    .hero::before {
        opacity: 0.35;
    }

    /* 모바일에서 AI 입력창 3D 변형 제거 - 오버플로우 방지 */
    .ai-input-box {
        transform: none;
        transform-style: flat;
        max-width: 100%;
        padding: var(--space-xs) var(--space-md) var(--space-xs);
    }

    .ai-input-box:hover,
    .ai-input-box:focus-within {
        transform: translateY(-4px);
    }

    .hero-shape,
    .hero-orb-4,
    .hero-orb-5,
    .hero-orb-6 {
        opacity: 0.5;
    }

    .hero-eyebrow {
        font-size: 12px;
        padding: 8px 16px;
    }

    .hero-title {
        font-size: 42px;
        letter-spacing: -1.5px;
        line-height: 1.25;
        text-shadow: 0 2px 24px rgba(255, 255, 255, 0.6);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title-line {
        display: block;
        text-align: center;
    }

    .morph-text {
        width: 2.2em;
    }

    .morph-word {
        background: linear-gradient(135deg, #0022ff 0%, #0044ff 50%, #0066ff 100%);
        -webkit-background-clip: text;
        background-clip: text;
        transform: translateY(20px);
    }

    .morph-word.active {
        transform: translateY(0);
    }

    .morph-word.exit {
        transform: translateY(-20px);
    }

    .hero-title .highlight {
        filter: drop-shadow(0 3px 12px rgba(0, 126, 255, 0.5));
    }

    .hero-subtitle {
        font-size: 17px;
        color: var(--color-text-primary);
        opacity: 0.9;
        text-shadow: 0 1px 12px rgba(255, 255, 255, 0.4);
        line-height: 1.7;
    }

    .prompt-suggestions {
        gap: var(--space-sm);
    }

    .suggestion-buttons {
        gap: 8px;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .suggestion-btn {
        padding: 10px 14px;
        font-size: 13px;
        gap: 6px;
        min-height: 44px; /* Touch target */
    }

    .input-area {
        min-height: 80px;
        max-height: 140px;
        padding: var(--space-sm) var(--space-md);
    }

    .prompt-input {
        font-size: 16px;
        min-height: 50px;
        max-height: 100px;
    }

    .typing-overlay {
        top: 20px;
        left: 20px;
        right: var(--space-md);
    }

    .typing-text,
    .typing-cursor {
        font-size: 16px;
    }

    .input-hint {
        font-size: 12px;
    }

    .attach-hint {
        display: none;
    }

    .input-controls {
        padding: var(--space-xs) var(--space-sm);
    }

    .control-btn {
        width: 36px;
        height: 36px;
    }

    .maker-dropdown {
        font-size: 13px;
        padding: 6px 10px;
    }

    .maker-menu {
        min-width: 220px;
        right: -60px;
    }

    .maker-name {
        font-size: 14px;
    }

    .maker-desc {
        font-size: 12px;
    }

    .attach-menu {
        min-width: 140px;
    }

    .attach-option {
        padding: var(--space-xs) var(--space-sm);
        font-size: 13px;
    }

    .submit-btn {
        width: 42px;
        height: 42px;
    }

    /* ===== 신뢰 패널 - 토론 결과 반영 ===== */
    .trust-bar {
        padding: 20px 16px;
        overflow-x: hidden;
        background: #fafbfc;
    }

    .trust-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        min-width: unset;
    }

    .trust-divider {
        display: none;
    }

    .trust-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 7px;
        padding: 14px 8px;
        background: #fff;
        border-radius: 10px;
        border: 1px solid #e5e7eb;
    }

    /* 첫 번째 항목(3분) - 전체 너비 강조 */
    .trust-item:first-child {
        grid-column: span 2;
        flex-direction: row;
        gap: 8px;
        padding: 16px;
    }

    .trust-item:first-child .trust-number {
        font-size: 32px;
    }

    .trust-number {
        font-size: 28px;
        font-weight: 800;
        color: var(--color-accent-primary);
        background: none;
        -webkit-text-fill-color: var(--color-accent-primary);
        min-width: unset;
        letter-spacing: -0.5px;
        line-height: 1;
    }

    .trust-label {
        font-size: 15px;
        font-weight: 500;
        color: #4b5563;
        white-space: nowrap;
        line-height: 1.3;
    }

    .trust-certs,
    .trust-partners {
        grid-column: span 2;
        padding: 12px 8px;
        flex-direction: row;
        gap: 8px;
    }

    .trust-certs {
        background: #fff;
        border: 1px solid #e5e7eb;
    }

    .trust-certs .trust-badge-icon {
        width: 28px;
        height: 28px;
        background: var(--color-accent-primary);
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .trust-certs .trust-badge-icon svg {
        stroke: white;
        width: 14px;
        height: 14px;
    }

    .trust-certs .trust-label {
        font-size: 15px;
        text-align: left;
        white-space: normal;
        line-height: 1.2;
    }

    .trust-partners {
        background: #fff;
        border: 1px solid #e5e7eb;
    }

    .partner-logos {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .partner-logo {
        height: 16px;
    }

    /* ===== 3단계 프로세스 - 넓은 공간 활용 ===== */
    .process-section {
        padding: 56px 20px;
        background: #f8fafc;
    }

    .process-title {
        font-size: 24px;
        font-weight: 800;
        letter-spacing: -0.03em;
        margin-bottom: 40px;
        text-align: center;
        color: #0f172a;
    }

    .process-steps {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: center;
        padding: 0 32px;
        position: relative;
    }

    .process-step {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 16px 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        position: relative;
        gap: 20px;
    }

    /* 세로 연결선 제거 - 깔끔하게 */
    .process-step::before {
        display: none;
    }

    .process-step:last-child::before {
        display: none;
    }

    .process-step::after {
        display: none;
    }

    .step-icon {
        width: 88px;
        height: 88px;
        margin: 0;
        flex-shrink: 0;
        background: linear-gradient(135deg, #e0f2ff 0%, #bae6fd 100%);
        border: none;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        box-shadow: 0 4px 16px rgba(0, 126, 255, 0.12);
    }

    .step-icon svg {
        width: 36px;
        height: 36px;
        stroke: var(--color-accent-primary);
        stroke-width: 1.5;
    }

    /* 숫자 뱃지 - 단계별 색상 */
    .step-num {
        width: 26px;
        height: 26px;
        font-size: 13px;
        font-weight: 700;
        top: -6px;
        right: -6px;
        background: var(--color-accent-primary);
        box-shadow: 0 2px 8px rgba(0, 126, 255, 0.3);
    }

    /* 단계별 숫자 뱃지 색상 */
    .process-step:nth-child(1) .step-num { background: var(--color-accent-primary); }
    .process-step:nth-child(3) .step-num { background: #0284c7; }
    .process-step:nth-child(5) .step-num { background: #0369a1; }

    .process-step-content,
    .step-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .process-step h3 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 6px;
        color: #0f172a;
        letter-spacing: -0.02em;
    }

    .process-step p {
        font-size: 14px;
        line-height: 1.6;
        color: #64748b;
        font-weight: 400;
        margin: 0;
    }

    .process-arrow {
        display: none;
    }

    /* ===== Process Cards - 모바일 ===== */
    .process-cards {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        padding: 0 var(--space-sm);
    }

    .process-card {
        max-width: 360px;
        margin: 0 auto;
    }

    .process-card-content {
        padding: var(--space-md);
    }

    .process-card-content h3 {
        font-size: 17px;
    }

    .process-card-content p {
        font-size: 14px;
    }

    /* ===== After Section - 모바일 ===== */
    .after-section {
        padding: 56px 20px;
    }

    .after-title {
        font-size: 24px;
        font-weight: 800;
        letter-spacing: -0.03em;
        margin-bottom: 40px;
    }

    .after-cards {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        padding: 0 var(--space-sm);
    }

    .after-card {
        max-width: 360px;
        margin: 0 auto;
    }

    .after-card-content {
        padding: var(--space-md);
    }

    .after-card-content h3 {
        font-size: 17px;
    }

    .after-card-content p {
        font-size: 14px;
    }

    .faq-section {
        padding: var(--space-2xl) var(--space-md);
    }

    .faq-question {
        padding: var(--space-md);
        font-size: 15px;
        min-height: 48px; /* Touch target */
    }

    .faq-answer {
        padding: 0 var(--space-md) var(--space-md);
    }

    .showcase-section {
        padding: 60px var(--space-md) var(--space-xl);
        overflow: visible;
    }

    .showcase-title {
        font-size: 24px;
    }

    .showcase-subtitle {
        font-size: 15px;
    }

    /* ===== 모바일 슬라이더 래퍼 - 상대 위치 ===== */
    .showcase-slider-wrapper,
    .theme-slider-wrapper {
        position: relative;
        width: 100%;
        overflow: visible;
    }

    /* ===== 모바일 슬라이더 버튼 - 좌우 고정 ===== */
    .mobile-slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid #e5e7eb;
        color: #374151;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
        z-index: 20;
        transition: all 0.2s ease;
    }

    .mobile-slider-prev {
        display: none;
        left: 0;
    }

    .mobile-slider-next {
        display: none;
        right: 0;
    }

    .mobile-slider-btn:active {
        background: var(--color-accent-primary);
        color: white;
        border-color: var(--color-accent-primary);
    }

    /* Horizontal swipe on mobile */
    .showcase-cards-horizontal {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: var(--space-md);
        padding: var(--space-sm) var(--space-md) var(--space-md);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .showcase-cards-horizontal::-webkit-scrollbar {
        display: none;
    }

    .showcase-cards-horizontal::after {
        content: '';
        flex-shrink: 0;
        width: var(--space-md);
    }

    .showcase-card-mini {
        flex: 0 0 calc(100vw - 48px);
        max-width: 300px;
        scroll-snap-align: center;
    }


    .features-title {
        font-size: 26px;
    }

    .features-container {
        padding: 0 var(--space-md);
    }

    .slider-wrapper {
        position: relative;
        flex-direction: row;
        gap: 0;
        align-items: center;
        overflow: visible;
    }

    /* 모바일에서 슬라이더 버튼 - 좌우 고정 */
    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        z-index: 20;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid #e5e7eb;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }

    .slider-btn:hover{
        transform: translateY(-50%) scale(1.05);
    }

    .slider-prev {
        display: none;
        left: -25px;
    }
    .slider-next {
        display: none;
        right: -25px;
    }

    .slider-btn:active {
        background: var(--color-accent-primary);
        color: white;
        border-color: var(--color-accent-primary);
    }
    
    .features-section {
        padding-left: 0;
        padding-right: 0;
    }

    .features-container {
        padding-left: 0;
        padding-right: 0;
    }

    .features-slider {
        padding: 60px 20px;
        gap: var(--space-md);
        width: 100%;
        overflow-y: visible;
    }

    .feature-card {
        /* flex: 0 0 calc(100vw - 80px); */
        /* min-width: calc(100vw - 80px); */
        flex: 1 0 auto;
        min-width: auto;
        scroll-snap-align: center;
        padding: var(--space-lg);
    }

    .features-slider::before {
        content: '';
        flex-shrink: 0;
        width: 4px;
    }

    .features-slider::after {
        content: '';
        flex-shrink: 0;
        width: 4px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .theme-section {
        padding: var(--space-xl) var(--space-md);
        overflow: visible;
    }

    .theme-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-md);
    }

    .theme-header-text {
        text-align: center;
    }

    .theme-header-text h2 {
        font-size: 24px;
    }

    .view-all-link {
        margin-top: var(--space-sm);
    }

    /* Horizontal scroll for themes on mobile - 한 화면에 하나씩 크게 */
    .theme-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: var(--space-md);
        padding: var(--space-sm) var(--space-md) var(--space-md);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .theme-grid::-webkit-scrollbar {
        display: none;
    }

    .theme-grid::after {
        content: '';
        flex-shrink: 0;
        width: var(--space-md);
    }

    .theme-card {
        flex: 0 0 calc(100vw - 48px);
        max-width: 320px;
        aspect-ratio: 3/4;
        scroll-snap-align: center;
    }

    /* ===== 전문가 섹션 - 프로모 박스 모바일 ===== */
    .expert-section {
        padding: 48px 16px;
        background: #ffffff;
    }

    .expert-promo-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 48px 32px;
        gap: 40px;
    }

    .expert-action-group {
        width: 100%;
        align-items: flex-start;
        margin-left: 0;
    }

    .expert-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 20px 32px;
        font-size: 16px;
        background: #111111;
    }

    .expert-cta-btn:hover {
        background: #111111;
    }

    .expert-headline {
        font-size: 32px;
    }

    .expert-desc {
        font-size: 16px;
    }

    .expert-highlight::after {
        height: 12px;
    }

    /* ===== Final CTA 모바일 ===== */
    .final-cta {
        padding: 80px 20px 64px;
    }

    .final-cta-glow {
        width: 300px;
        height: 200px;
    }

    .final-cta-headline {
        font-size: 32px;
        letter-spacing: -1px;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .final-cta-sub {
        font-size: 15px;
        margin-bottom: 32px;
        line-height: 1.7;
    }

    .final-cta-sub .mobile-br {
        display: block;
    }

    .final-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 18px 32px;
        font-size: 16px;
        border-radius: 14px;
    }

    .final-cta-btn:hover {
        transform: scale(1.02);
    }

    /* 신뢰 지표 모바일 */
    .final-cta-trust {
        flex-direction: row;
        gap: 16px;
        margin-top: 40px;
        padding-top: 32px;
    }

    .trust-number {
        font-size: 22px;
    }

    .trust-stat .trust-label {
        font-size: 11px;
    }

    .trust-divider-vertical {
        height: 32px;
    }

    .footer {
        padding: var(--space-2xl) var(--space-md) var(--space-lg);
    }

    .footer-top {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .footer-links {
        flex-wrap: wrap;
        gap: var(--space-sm) var(--space-md);
        flex: 1;
    }

    .family-site-wrapper {
        flex-shrink: 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 22px;
    }

    .logo-img {
        height: 20px;
    }

    .btn-primary {
        padding: 5px 10px;
        font-size: 11px;
    }

    .hero-eyebrow {
        font-size: 11px;
        padding: 6px 14px;
        margin-bottom: var(--space-md);
    }

    .hero-title {
        font-size: 34px;
        letter-spacing: -1px;
        line-height: 1.3;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title-line {
        display: block;
        text-align: center;
    }

    .morph-text {
        width: 2.2em;
    }

    .morph-word {
        transform: translateY(16px);
    }

    .morph-word.active {
        transform: translateY(0);
    }

    .morph-word.exit {
        transform: translateY(-16px);
    }

    /* English 480px */
    html[lang="en"] .morph-text {
        width: 3em;
    }

    /* Japanese 480px */
    html[lang="ja"] .morph-text {
        width: 2.2em;
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
        white-space: normal;
    }

    .ai-input-box {
        padding: var(--space-xs) var(--space-md) var(--space-xs);
    }

    .input-area {
        min-height: 80px;
        max-height: 140px;
        padding: var(--space-md);
    }

    .prompt-input {
        font-size: 16px; /* Prevents iOS zoom */
        min-height: 50px;
        max-height: 100px;
    }

    .typing-overlay {
        top: var(--space-md);
        left: var(--space-md);
        right: var(--space-md);
    }

    .typing-text,
    .typing-cursor {
        font-size: 16px;
    }

    .input-hint {
        font-size: 12px;
    }

    .suggestion-btn {
        padding: 8px 12px;
        font-size: 14px;
        gap: 4px;
        min-height: 40px; /* Touch target */
    }

    .suggestion-btn svg {
        width: 14px;
        height: 14px;
    }

    .showcase-card-mini {
        border-radius: var(--radius-md);
    }

    .showcase-info-mini {
        padding: var(--space-sm);
    }

    .showcase-info-mini h4 {
        font-size: 14px;
    }

    /* 480px 이하에서 테마/피처 카드 추가 최적화 */
    .theme-card {
        flex: 0 0 calc(100vw - 32px);
        min-width: calc(100vw - 32px);
    }

    .slider-btn {
        width: 32px;
        height: 32px;
    }

    .feature-card {
        flex: 0 0 calc(100vw - 96px);
        min-width: calc(100vw - 96px);
        padding: var(--space-md);
    }

    .feature-card h3 {
        font-size: 16px;
    }

    .feature-card p {
        font-size: 13px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }

    .expert-card {
        padding: var(--space-lg) var(--space-md);
    }

    .expert-text h2 {
        font-size: 20px;
    }

    .expert-text p {
        font-size: 14px;
    }

    .expert-benefits {
        padding: var(--space-sm);
    }

    .expert-benefits li {
        font-size: 14px;
    }

    .expert-cta-btn {
        padding: 14px 20px;
        font-size: 15px;
        min-height: 48px;
        width: 100%;
        border-radius: 12px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
        padding-bottom: var(--space-lg);
    }

    .footer-links {
        order: 2;
        justify-content: center;
        gap: var(--space-sm);
        font-size: 13px;
    }

    .footer-link {
        font-size: 13px;
    }

    .family-site-wrapper {
        order: 1;
        align-self: center;
    }

    .family-site-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-lg);
    }

    .company-name {
        justify-content: center;
    }

    .company-addresses p,
    .company-details p {
        font-size: 12px;
    }

    .footer-logos {
        justify-content: center;
        gap: var(--space-lg);
    }

    .zaemit-footer-logo {
        height: 28px;
    }

    .input-controls {
        padding: var(--space-xs) var(--space-sm);
        gap: var(--space-xs);
    }

    .control-btn {
        width: 32px;
        height: 32px;
    }

    .control-btn svg {
        width: 16px;
        height: 16px;
    }

    .maker-dropdown {
        font-size: 13px;
        padding: 6px 10px;
        gap: 4px;
        min-height: 36px;
    }

    .maker-dropdown svg {
        width: 14px;
        height: 14px;
    }

    .maker-menu {
        min-width: 220px;
        right: -60px;
    }

    .maker-option {
        padding: var(--space-sm) var(--space-md);
        gap: var(--space-sm);
        min-height: 44px; /* Touch target */
    }

    .maker-radio {
        width: 18px;
        height: 18px;
    }

    .maker-radio-inner {
        width: 8px;
        height: 8px;
    }

    .maker-name {
        font-size: 14px;
    }

    .maker-desc {
        font-size: 12px;
    }

    .attach-menu {
        min-width: 140px;
    }

    .attach-option {
        padding: 10px 12px;
        font-size: 14px;
        gap: var(--space-sm);
        min-height: 44px; /* Touch target */
    }

    .attach-option svg {
        width: 16px;
        height: 16px;
    }

    .submit-btn {
        width: 38px;
        height: 38px;
    }

    .submit-btn svg {
        width: 16px;
        height: 16px;
    }

    .right-controls {
        gap: var(--space-sm);
    }

    /* Panel 480px */
    .panel-header {
        padding: 0 12px;
    }

    .panel-greeting {
        padding: 12px 16px;
    }

    .panel-greeting-text {
        font-size: 15px;
    }

    .panel-lang-selector {
        padding: 2px;
    }

    .lang-option {
        padding: 5px 9px;
        font-size: 10px;
    }

    .panel-nav {
        padding: 6px 8px;
    }

    .panel-nav-item {
        padding: 8px 10px;
        font-size: 13.5px;
        gap: 10px;
        min-height: 44px;
    }

    .panel-nav-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .panel-nav-icon svg {
        width: 16px;
        height: 16px;
    }

    .panel-quick-actions {
        padding: 10px 12px;
        gap: 6px;
    }

    .panel-action-btn {
        padding: 9px 12px;
        font-size: 12px;
        border-radius: 8px;
    }

    .panel-footer {
        padding: 10px 12px 14px;
    }

    .panel-studio-banner {
        padding: 12px 14px;
        gap: 10px;
        border-radius: 12px;
    }

    .studio-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
        border-radius: 8px;
    }

    .studio-name {
        font-size: 12.5px;
    }

    .studio-desc {
        font-size: 11px;
    }
}

/* ==========================================================================
   Desktop-Only Hover Effects
   연구 기반: @media (hover: hover) and (pointer: fine)로 모바일 sticky hover 방지
   Source: UX Movement, Material Design Guidelines
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
    /* Card Hover - 통일된 lift 효과 (연구 결과: +30% 클릭률) */
    .showcase-card-mini:hover {
        transform: translateY(-8px) scale(1.02);
        border-color: rgba(0, 160, 255, 0.35);
        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.12),
            0 0 50px rgba(0, 126, 255, 0.12);
    }

    .showcase-card-mini:hover .showcase-image-mini img {
        transform: scale(1.08);
    }

    .feature-card:hover {
        transform: translateY(-6px) scale(1.02);
        border-color: rgba(0, 160, 255, 0.35);
        /* box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.12),
            0 0 50px rgba(0, 126, 255, 0.12),
            0 0 0 1px rgba(0, 126, 255, 0.1); */
    }

    .feature-card:hover .feature-icon {
        transform: scale(1.08);
        box-shadow: 0 0 12px rgba(0, 126, 255, 0.15);
    }

    .theme-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow:
            0 24px 60px rgba(0, 0, 0, 0.15),
            0 0 60px rgba(0, 126, 255, 0.15);
        border-color: rgba(0, 160, 255, 0.25);
    }

    .theme-card:hover img {
        transform: scale(1.08);
    }

    .theme-card:hover .theme-overlay {
        opacity: 1;
    }

    /* CTA Button Hover - 연구 결과: scale(1.03) + glow = +32% 전환율 */
    .final-cta-btn:hover::before {
        left: 100%;
    }

    .final-cta-btn:hover {
        background-color: var(--color-accent-primary);
        transform: scale(1.03);
        box-shadow:
            0 16px 40px rgba(0, 126, 255, 0.4),
            0 0 30px rgba(245, 158, 11, 0.3);
        opacity: 1;
    }

    .final-cta-btn:hover .final-cta-arrow {
        transform: translateX(5px);
    }
}

/* ==========================================================================
   Mobile Ripple Effect
   연구 기반: 터치 기기에서 호버 대신 리플 효과로 피드백 제공
   Source: UX Movement - sticky hover 문제 해결
   ========================================================================== */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 126, 255, 0.25);
    transform: scale(0);
    animation: ripple-effect 0.5s var(--motion-ease-decelerate);
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==========================================================================
   Phase 2: 전체 섹션 Aurora 디자인 개선
   전문가 토론 결과 적용 - 일관된 브랜드 경험
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Cursor Follow Gradient Effect (Hero)
   리서치: 마우스 인터랙션 = 체류시간 15-20% 증가
   Best Practices 2025-2026: Linear/Stripe 스타일 참조
   -------------------------------------------------------------------------- */
.hero-cursor-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background:
        /* Core glow - 브랜드 블루 */
        radial-gradient(circle at 50% 50%, rgba(0, 126, 255, 0.25) 0%, transparent 45%),
        /* Secondary - 퍼플 악센트 (오프셋) */
        radial-gradient(circle at 35% 35%, rgba(139, 92, 246, 0.18) 0%, transparent 40%),
        /* Tertiary - 시안 하이라이트 */
        radial-gradient(circle at 65% 65%, rgba(0, 194, 255, 0.15) 0%, transparent 40%),
        /* Ambient - 넓은 확산광 */
        radial-gradient(circle at 50% 50%, rgba(0, 100, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    user-select: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
    filter: blur(50px);
    will-change: left, top, opacity;
    mix-blend-mode: normal;
}

.hero:hover .hero-cursor-glow {
    opacity: 1;
}

/* Dark mode cursor glow - 더 선명하고 네온 느낌 */
[data-theme="dark"] .hero-cursor-glow {
    width: 800px;
    height: 800px;
    background:
        /* Core glow - 밝은 블루 */
        radial-gradient(circle at 50% 50%, rgba(0, 150, 255, 0.35) 0%, transparent 40%),
        /* Secondary - 바이올렛 */
        radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.28) 0%, transparent 35%),
        /* Tertiary - 시안 */
        radial-gradient(circle at 70% 70%, rgba(0, 220, 255, 0.22) 0%, transparent 35%),
        /* Ambient - 페이드 */
        radial-gradient(circle at 50% 50%, rgba(100, 150, 255, 0.12) 0%, transparent 65%);
    filter: blur(45px);
}

/* --------------------------------------------------------------------------
   2. Trust Bar Enhancement
   미묘한 상단 그라데이션으로 히어로와 자연스러운 연결
   -------------------------------------------------------------------------- */
.trust-bar {
    position: relative;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 252, 1) 100%);
}

.trust-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 126, 255, 0.2) 20%,
        rgba(139, 92, 246, 0.15) 50%,
        rgba(0, 194, 255, 0.2) 80%,
        transparent 100%);
}

/* --------------------------------------------------------------------------
   3. Process Section Enhancement
   더 풍부한 그라데이션 배경 + 미묘한 blob
   -------------------------------------------------------------------------- */
.process-section {
    background: linear-gradient(180deg,
        rgba(0, 126, 255, 0.05) 0%,
        rgba(139, 92, 246, 0.03) 50%,
        rgba(0, 194, 255, 0.04) 100%) !important;
    position: relative;

}

.process-section::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.process-container {
    position: relative;
    z-index: 1;
}

/* Step Icon Enhancement */
.step-icon {
    background: linear-gradient(135deg,
        rgba(0, 126, 255, 0.12),
        rgba(139, 92, 246, 0.08)) !important;
    box-shadow: 0 4px 16px rgba(0, 126, 255, 0.08);
    transition: all var(--transition-base);
}

.process-step:hover .step-icon {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 126, 255, 0.15);
}

/* --------------------------------------------------------------------------
   4. Showcase Section Enhancement
   Aurora 액센트 추가
   -------------------------------------------------------------------------- */
.showcase-section {
    position: relative;

    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%) !important;
}

.showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 194, 255, 0.08) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.showcase-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.07) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.showcase-container {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   5. Features Section Enhancement
   더 강한 Aurora 배경 + 카드 개선
   -------------------------------------------------------------------------- */
.features-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.features-container {
    position: relative;
    z-index: 1;
}

/* Feature Card 개선 - 보라색 액센트 추가 */
.feature-card {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.6) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
}


/* Feature Icon 보라색 그라데이션 옵션 */
.feature-card:nth-child(odd) .feature-icon {
    background: linear-gradient(135deg,
        rgba(0, 126, 255, 0.1),
        rgba(139, 92, 246, 0.1)) !important;
}

/* --------------------------------------------------------------------------
   6. Theme Gallery Enhancement
   -------------------------------------------------------------------------- */
.theme-section {
    position: relative;

    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%) !important;
}

.theme-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0, 126, 255, 0.04) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.theme-container {
    position: relative;
    z-index: 1;
}

/* Theme Card 테두리 글로우 */
.theme-card {
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all var(--transition-base) !important;
}

@media (hover: hover) and (pointer: fine) {
    .theme-card:hover {
        border-color: 1px solid rgba(0, 126, 255, 0.08);
        box-shadow:
            var(--shadow-elevated),
            0 0 60px rgba(0, 126, 255, 0.12),
            0 0 30px rgba(139, 92, 246, 0.08) !important;
    }
}

/* --------------------------------------------------------------------------
   7. Expert Section Enhancement
   그라데이션 배경 + 보라색 액센트
   -------------------------------------------------------------------------- */
.expert-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}

.expert-promo-box {
    background: linear-gradient(135deg,
        #f3f4f6 0%,
        rgba(243, 244, 246, 0.95) 50%,
        rgba(248, 250, 252, 1) 100%) !important;
    position: relative;
    border: 1px solid rgba(0, 126, 255, 0.08);
}

.expert-promo-box::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

.expert-bg-circle {
    background: radial-gradient(circle,
        rgba(0, 126, 255, 0.1) 0%,
        rgba(139, 92, 246, 0.05) 50%,
        transparent 70%) !important;
    opacity: 0.8 !important;
}

/* Expert CTA 버튼 개선 */
.expert-cta-btn {
    background: linear-gradient(135deg, #111111 0%, #1f2937 100%) !important;
    position: relative;
    overflow: hidden;
}

.expert-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent);
    transition: left 0.5s ease;
}

.expert-cta-btn:hover::before {
    left: 100%;
}

/* --------------------------------------------------------------------------
   8. FAQ Section Enhancement
   -------------------------------------------------------------------------- */
.faq-section {
    position: relative;

}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 126, 255, 0.04) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.04) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.faq-container {
    position: relative;
    z-index: 1;
}

/* FAQ Item 개선 */
.faq-item {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.7) 100%) !important;
}

.faq-item[open] {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.9) 100%) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
    box-shadow:
        var(--shadow-card),
        0 0 40px rgba(0, 126, 255, 0.08),
        0 0 20px rgba(139, 92, 246, 0.05) !important;
}

/* --------------------------------------------------------------------------
   9. Final CTA Enhancement
   더 강한 Aurora 글로우
   -------------------------------------------------------------------------- */
.final-cta {
    background: linear-gradient(180deg,
        #ffffff 0%,
        rgba(248, 250, 252, 0.95) 50%,
        rgba(0, 126, 255, 0.02) 100%) !important;
}

.final-cta-glow {
    width: 900px !important;
    height: 600px !important;
    background: radial-gradient(ellipse,
        rgba(0, 126, 255, 0.12) 0%,
        rgba(139, 92, 246, 0.06) 40%,
        transparent 70%) !important;
}

/* 추가 보라색 글로우 */
.final-cta::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    animation: glowFloat 15s ease-in-out infinite;
}

.final-cta::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 194, 255, 0.06) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    animation: glowFloat 18s ease-in-out infinite reverse;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

/* Final CTA 버튼 보라색 글로우 추가 */
@media (hover: hover) and (pointer: fine) {
    .final-cta-btn:hover {
        box-shadow:
            0 16px 40px rgba(0, 126, 255, 0.35),
            0 0 30px rgba(139, 92, 246, 0.25),
            0 0 60px rgba(0, 194, 255, 0.15) !important;
    }
}

/* --------------------------------------------------------------------------
   10. Scroll Reveal Animations
   스크롤 시 요소 등장 애니메이션
   -------------------------------------------------------------------------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 지연 클래스 */
.scroll-reveal-delay-1 { transition-delay: 0.1s; }
.scroll-reveal-delay-2 { transition-delay: 0.2s; }
.scroll-reveal-delay-3 { transition-delay: 0.3s; }
.scroll-reveal-delay-4 { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   10.5 Features Scroll Section (GSAP ScrollTrigger)
   -------------------------------------------------------------------------- */
.features-scroll {
    position: relative;
    z-index: 1;
    background: var(--color-bg-primary);
    padding: 100px 0;
}

.features-scroll__pin {
    /* background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%) !important; */
    /* min-height: 100vh; */
    display: flex;
    flex-direction: column;
    padding: 100px var(--space-2xl) var(--space-2xl);
    padding-top: 100px !important;
    padding-bottom: 200px !important;
    max-width: 1600px;
    margin: 0 auto;
    justify-content: center;
    box-sizing: border-box;
}

/* 상단 제목 */
.features-scroll__header {
    position: relative;
    text-align: center;
    min-height: 90px;
    margin-bottom: var(--space-xl);
}

.features-scroll__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.features-scroll__title.is-active {
    opacity: 1;
    visibility: visible;
}

.features-scroll__title strong {
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 메인 콘텐츠 */
.features-scroll__main {
    /* flex: 1; */
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    /* padding-top: 130px; */
    padding-top: 100px;
}

/* 왼쪽 프리뷰 */
.features-scroll__preview {
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-scroll__preview-box {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.features-scroll__visual {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow: hidden;
    pointer-events: none;
    will-change: transform;
}

.features-scroll__visual.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.features-scroll__visual iframe,
.features-scroll__visual video {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    border-radius: 16px;
}

.features-scroll__visual--create video{
    transform: scale(1);

}
.features-scroll__visual--edit video{
    transform: scale(1.02);

}
.features-scroll__visual--manage video{
    transform: scale(1.01);

}

/* 오른쪽 텍스트 */
.features-scroll__text {
    position: relative;
    min-height: 400px;
    width: 100%;
    max-width: 500px;
}

.features-scroll__step {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.features-scroll__step.is-active {
    opacity: 1;
    visibility: visible;
}

.features-scroll__number {
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.features-scroll__step-title {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-primary);
    margin: 28px 0 var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.08s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

.features-scroll__step-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 460px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.16s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.16s;
    word-break: keep-all;
}

.features-scroll__step.is-active .features-scroll__number,
.features-scroll__step.is-active .features-scroll__step-title,
.features-scroll__step.is-active .features-scroll__step-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Dots (Indicators) */
.features-scroll__dots {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}

.features-scroll__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-text-muted);
    opacity: 0.25;
    cursor: pointer;
    transition: all 0.25s ease;
}

.features-scroll__dot.active {
    background: var(--color-accent-primary);
    opacity: 1;
    transform: scale(1.3);
}

.features-scroll__dot:hover:not(.active) {
    opacity: 0.5;
    transform: scale(1.15);
}

/* 다크모드 */
[data-theme="dark"] .features-scroll__preview-box {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* 모바일 */
@media (max-width: 768px) {
    .features-scroll__pin {
        position: relative;
        padding-top: 0px !important;
        padding-bottom: 140px !important;
    }
    .features-scroll__pin:last-child{
        padding-bottom: 0 !important;
    }
    .features-scroll__pin:not(:last-child)::after {
        content: '';
        width: 80%;
        height: 1px;
        background: #000;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 70px;
        opacity: 0.3;
    }

    .features-scroll__main {
        padding-top: 0px;
    }
}


@media (max-width: 1024px) {
    .features-scroll {
        position: relative;
        z-index: 1;
        margin-top: 0;
    }

    .features-scroll__pin {
        height: auto;
        min-height: auto;
        padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .features-scroll__header {
        width: 100%;
        text-align: center;
    }

    .features-scroll__main {
        grid-template-columns: 1fr;
        gap: 40px var(--space-lg);
        width: 100%;
    }

    .features-scroll__preview {
        order: 1;
        display: flex;
        justify-content: center;
    }

    .features-scroll__text {
        order: 2;
        min-height: auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }

    .features-scroll__step {
        position: relative;
        top: auto;
        transform: none;
        display: none;
        text-align: center;
    }

    .features-scroll__step.is-active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .features-scroll__step-desc {
        max-width: 100%;
    }

    .features-scroll__dots {
        order: 3;
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: var(--space-lg);
        width: 100%;
    }
}

@media (max-width: 768px) {
    .features-scroll__title {
        font-size: 28px;
        text-align: center;
    }

    .features-scroll__number {
        font-size: 56px;
        text-align: center;
        width: 100%;
    }

    .features-scroll__step-title {
        font-size: 22px;
        margin-top: var(--space-xl);
        text-align: center;
        width: 100%;
    }

    .features-scroll__step-desc {
        font-size: 15px;
        text-align: center;
        width: 100%;
        padding: 0 var(--space-md);
    }

    .features-scroll__step.is-active {
        width: 100%;
        align-items: center;
    }
}

/* --------------------------------------------------------------------------
   10.6 Core Web Vitals Optimization
   content-visibility: auto로 below-fold 렌더링 최적화
   -------------------------------------------------------------------------- */
.features-section,
.theme-section,
.expert-section,
.faq-section,
.final-cta,
.footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

/* showcase-section은 카드 호버 scale 효과를 위해 content-visibility 제외 */

/* --------------------------------------------------------------------------
   11. Footer Enhancement
   -------------------------------------------------------------------------- */
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 126, 255, 0.15) 30%,
        rgba(139, 92, 246, 0.1) 50%,
        rgba(0, 126, 255, 0.15) 70%,
        transparent 100%);
}

/* --------------------------------------------------------------------------
   접근성: prefers-reduced-motion 대응
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .hero-cursor-glow,
    .final-cta::before,
    .final-cta::after,
    .showcase-title strong::after {
        animation: none;
    }

    .hero-cursor-glow {
        display: none;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   Dark Mode
   다크모드 스타일은 dark-theme.css로 분리됨
   ========================================================================== */

/* ==========================================================================
   20. i18n 다국어 레이아웃 대응
   언어별 텍스트 길이 차이에 유연하게 대응
   ========================================================================== */

/* English: Inter font */
html[lang="en"] {
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* Japanese: Noto Sans JP font */
html[lang="ja"] {
    --font-display: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* English: "A website that [sells/converts/grows/works]" */
html[lang="en"] .hero-title {
    text-align: center;
}

html[lang="en"] .hero-title-line:first-child {
    display: block;
    text-align: center;
}

html[lang="en"] .hero-prefix {
    display: inline;
}

html[lang="en"] .morph-text {
    /* 5-letter words (sells, works, grows, leads) */
    width: 3em;
    overflow: visible !important;
    padding-bottom: 0.3em; /* g descender 여유 */
    margin-bottom: -0.3em; /* 레이아웃 보정 */
    line-height: 1.3; /* descender 공간 확보 */
}

html[lang="en"] .morph-word {
    justify-self: start; /* 영어는 왼쪽 정렬 */
}

/* Hide empty hero_title2 for English */
html[lang="en"] .hero-title2:empty {
    display: none;
}

/* English mobile: Adjust for smaller screens */
@media (max-width: 768px) {
    html[lang="en"] .morph-text {
        width: 3em;
    }

    html[lang="ja"] .morph-text {
        width: 2.2em;
    }
}

/* Japanese */
html[lang="ja"] .morph-text {
    width: 2.2em;
}

/* Buttons: Min-width to prevent shrinking */
.btn-primary {
    white-space: nowrap;
    min-width: max-content;
}

.btn-login {
    white-space: nowrap;
}

/* Suggestion buttons: Keep in one line */
.suggestion-buttons {
    flex-wrap: nowrap;
    justify-content: center;
}

.suggestion-btn {
    white-space: nowrap;
    min-width: max-content;
}

/* Panel navigation: Handle longer text */
.panel-nav-label {
    white-space: nowrap;
}

/* Hero subtitle: Adapt line breaks for different languages */
html[lang="en"] .hero-subtitle {
    max-width: 100%;
    white-space: nowrap;
}

@media (max-width: 768px) {
    html[lang="en"] .hero-subtitle {
        white-space: normal;
        text-align: center;
        padding: 0 var(--space-md);
    }
}

html[lang="ja"] .hero-subtitle {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Process title: Prevent awkward breaks */
.process-title {
    white-space: normal;
    text-wrap: balance;
}

/* FAQ title: Center and balance */
.faq-title {
    text-wrap: balance;
}

/* CTA headline: Prevent overflow on EN/JP */
html[lang="en"] .final-cta-headline,
html[lang="ja"] .final-cta-headline {
    font-size: clamp(28px, 6vw, 48px);
}

html[lang="en"] .final-cta-headline br,
html[lang="ja"] .final-cta-headline br {
    display: none;
}

/* Mobile adjustments for i18n */
@media (max-width: 768px) {
    html[lang="en"] .hero-title {
        font-size: clamp(32px, 8vw, 48px);
    }

    /* Japanese create section title - hide br on mobile (process_title) */
    html[lang="ja"] .create-section .section-title br {
        display: none;
    }

    .suggestion-buttons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
    }

    .suggestion-btn {
        padding: 10px 8px;
        font-size: 14px;
        justify-content: center;
    }
}

/* ==========================================================================
   Create & Edit Sections - New GIF Layout Design
   ========================================================================== */

/* 공통 레이아웃 */
.section-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: end;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px var(--space-2xl);
    position: relative;
    z-index: 1;
}

@media (max-width: 1280px) {
    .section-row {
        grid-template-columns: 1fr 1.1fr;
        gap: 48px;
        padding: 100px var(--space-xl);
    }
}

@media (max-width: 1024px) {
    .section-row {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 80px var(--space-lg);
    }
}

@media (max-width: 640px) {
    .section-row {
        gap: 32px;
        padding: 60px var(--space-md);
    }
}

/* 텍스트 영역 */
.content-side {
    max-width: 520px;
}

@media (max-width: 1024px) {
    .content-side {
        max-width: 100%;
        text-align: center;
    }
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 52px);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 48px;
    line-height: 1.7;
}

@media (max-width: 640px) {
    .section-title {
        margin-bottom: 16px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
        line-height: 1.6;
    }
}

/* 스텝 리스트 */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .step-list {
        text-align: left;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .step-list {
        max-width: 100%;
        gap: 24px;
    }
}

.step-item {
    position: relative;
    z-index: 1;
    padding: 22px 26px;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.6) 100%
    );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    transition: all 0.25s ease;
    cursor: default;
    /* 강화된 유리 재질감 */
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 1),
        inset 0 -2px 4px rgba(255, 255, 255, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
}

.step-item:hover {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.75) 100%
    );
    border-color: rgba(0, 126, 255, 0.35);
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 1),
        inset 0 -2px 4px rgba(255, 255, 255, 0.4),
        0 16px 48px rgba(0, 126, 255, 0.18),
        0 4px 12px rgba(0, 0, 0, 0.06);
}

.edit-section .step-item:hover {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 1),
        inset 0 -2px 4px rgba(255, 255, 255, 0.4),
        0 16px 48px rgba(139, 92, 246, 0.18),
        0 4px 12px rgba(0, 0, 0, 0.06);
}

.step-content h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.create-section .step-content h4 {
    color: var(--color-accent-primary);
}

.edit-section .step-content h4 {
    color: #8b5cf6;
}

.step-content p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* GIF 영역 */
.gif-side {
    position: relative;
    width: 100%;
}

.gif-viewer {
    position: relative;
    background: transparent;
    border-radius: 28px;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .gif-side {
        max-width: 600px;
        margin: 0 auto;
    }

    .gif-viewer {
        border-radius: 24px;
    }
}

@media (max-width: 640px) {
    .gif-side {
        max-width: 100%;
    }

    .gif-viewer {
        border-radius: 20px;
    }
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--color-bg-tertiary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.browser-dots {
    display: flex;
    gap: 7px;
}

.browser-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.browser-dot.red { background: #ff5f57; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green { background: #28ca41; }

.browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: var(--color-bg-elevated);
    border-radius: 7px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.browser-url svg {
    width: 12px;
    height: 12px;
    opacity: 0.5;
}

.gif-content {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.15),
                0 8px 24px -8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .gif-content {
        border-radius: 24px;
    }
}

@media (max-width: 640px) {
    .gif-content {
        border-radius: 20px;
        box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.12),
                    0 4px 16px -4px rgba(0, 0, 0, 0.08);
    }
}

.gif-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.motion-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    display: block;
    backface-visibility: hidden;
}

/* Edit motion iframe - dynamic scaling with ResizeObserver */
.edit-gif-bg .motion-iframe {
    position: absolute;
    width: 900px;
    height: 550px;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    transform: translate(-50%, -50%) translateZ(0) scale(var(--scale, 0.65));
    border: 0;
    outline: 0;
    display: block;
    backface-visibility: hidden;
    will-change: transform;
}

/* Light/Dark mode iframe switching */
.motion-iframe-light {
    display: block;
}

.motion-iframe-dark {
    display: none;
}

[data-theme="dark"] .motion-iframe-light {
    display: none;
}

[data-theme="dark"] .motion-iframe-dark {
    display: block;
}

/* Placeholder */
.gif-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.placeholder-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.placeholder-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.placeholder-sub {
    font-size: 14px;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.5;
}

/* ============================================================
   섹션 1: Create Section (웹사이트 생성)
============================================================ */
.create-section {
    background: var(--color-bg-secondary);
    position: relative;
}

.create-section .section-title strong {
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.create-gif-bg {
    /* Match motion HTML scene-prompt background */
    background: #f8fafc;
    /* Slightly expand container */
    margin: -4px;
    width: calc(100% + 8px);
    /* Hairline fix */
    border-radius: 22px;
    overflow: hidden;
    isolation: isolate;
}

.create-icon {
    background: linear-gradient(135deg, var(--color-accent-primary), #0066cc);
}

/* 장식 */
.create-section .gif-side::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--color-accent-primary) 0%, transparent 70%);
    opacity: 0.1;
    z-index: -1;
}

.create-section .gif-side::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--color-accent-primary) 0%, transparent 70%);
    opacity: 0.08;
    z-index: -1;
}

/* ============================================================
   섹션 2: Edit Section (웹사이트 편집)
============================================================ */
.edit-section {
    background: var(--color-bg-primary);
    position: relative;
}

.edit-section .section-row {
    direction: rtl;
}

.edit-section .section-row > * {
    direction: ltr;
}

@media (max-width: 1024px) {
    .edit-section .section-row {
        direction: ltr;
    }

    .edit-section .content-side {
        order: -1;
    }
}

.edit-section .section-title strong {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.edit-gif-bg {
    /* Match edit motion HTML background */
    background: #0a0a0a;
    /* Match motion content ratio for perfect fit */
    aspect-ratio: 900 / 550;
    overflow: hidden;
    --scale: 0.65;
    /* Slightly expand container */
    margin: -4px;
    width: calc(100% + 8px);
    /* Hairline fix */
    border-radius: 22px;
    isolation: isolate;
}

.edit-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.edit-section .gif-side::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    opacity: 0.1;
    z-index: -1;
}

/* ============================================================
   Dark Mode Support
============================================================ */
[data-theme="dark"] .create-section {
    background: #0f1419;
}

[data-theme="dark"] .edit-section {
    background: #0a0a0a;
}

[data-theme="dark"] .section-title {
    color: #f1f5f9;
}

[data-theme="dark"] .section-subtitle {
    color: #94a3b8;
}

/* 다크모드 강화된 유리 재질 */
[data-theme="dark"] .step-item {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.04) 100%
    );
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.12),
        inset 0 -2px 4px rgba(255, 255, 255, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .step-item:hover {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.18),
        inset 0 -2px 4px rgba(255, 255, 255, 0.06),
        0 16px 48px rgba(96, 165, 250, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .edit-section .step-item:hover {
    border-color: rgba(167, 139, 250, 0.4);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.18),
        inset 0 -2px 4px rgba(255, 255, 255, 0.06),
        0 16px 48px rgba(167, 139, 250, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .create-section .step-content h4 {
    color: #60a5fa;
}

[data-theme="dark"] .edit-section .step-content h4 {
    color: #a78bfa;
}

[data-theme="dark"] .step-content p {
    color: #94a3b8;
}

[data-theme="dark"] .gif-viewer {
    background: transparent;
}

[data-theme="dark"] .gif-content {
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.5),
                0 8px 24px -8px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .create-gif-bg {
    /* Match dark motion HTML scene-prompt background */
    background: #0a0a0a;
}

[data-theme="dark"] .edit-gif-bg {
    /* Match edit motion HTML background */
    background: #0a0a0a;
}

[data-theme="dark"] .placeholder-text {
    color: #94a3b8;
}

[data-theme="dark"] .placeholder-sub {
    color: #6b7280;
}
