/* ========================================
   Signal Flow - Neon Glassmorphism Design
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #0a0a1a;
    --surface: rgba(255, 255, 255, 0.03);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    --neon-pink: #ff00ff;
    --neon-blue: #00d4ff;
    --neon-purple: #8b5cf6;

    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.6);

    --container: 1100px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, 'Noto Sans KR', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 배경 오브 ===== */
.bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.bg-orb--1 {
    width: 600px;
    height: 600px;
    background: var(--neon-pink);
    top: -200px;
    left: -200px;
}

.bg-orb--2 {
    width: 500px;
    height: 500px;
    background: var(--neon-blue);
    bottom: -100px;
    right: -100px;
    animation-delay: -10s;
}

.bg-orb--3 {
    width: 400px;
    height: 400px;
    background: var(--neon-purple);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

/* ===== 헤더 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-dim);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-menu a i {
    width: 16px;
    height: 16px;
}

.nav-menu a:hover {
    color: var(--text);
    background: var(--glass);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-download i {
    width: 18px;
    height: 18px;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

/* ===== 소셜 미디어 아이콘 ===== */
.social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    color: var(--text);
    border-color: var(--neon-purple);
    background: rgba(139, 92, 246, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

/* YouTube 호버 */
.social-icon[title="YouTube"]:hover {
    color: #ff0000;
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
}

/* Instagram 호버 */
.social-icon[title="Instagram"]:hover {
    color: #e4405f;
    border-color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
    box-shadow: 0 4px 20px rgba(228, 64, 95, 0.3);
}

/* X 호버 */
.social-icon[title="X"]:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

/* TikTok 호버 */
.social-icon[title="TikTok"]:hover {
    color: #00f2ea;
    border-color: #00f2ea;
    background: rgba(0, 242, 234, 0.1);
    box-shadow: 0 4px 20px rgba(0, 242, 234, 0.3);
}

/* Threads 호버 */
.social-icon[title="Threads"]:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

/* ===== 헤더 오른쪽 영역 ===== */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ===== 언어 선택기 ===== */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text);
    font-size: 0.9rem;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neon-purple);
}

.lang-btn .flag-img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-btn .lang-code {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.lang-btn i {
    width: 16px;
    height: 16px;
    color: var(--text-dim);
    transition: transform 0.2s;
}

.lang-dropdown.active+.lang-btn i,
.lang-selector:has(.lang-dropdown.active) .lang-btn i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 100px;
    background: rgba(20, 20, 40, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 200;
}

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

.lang-dropdown a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-dim);
    transition: all 0.2s;
}

.lang-dropdown .flag-img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-dropdown a:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(0, 212, 255, 0.1));
    color: var(--text);
}

/* ===== 공통 ===== */
.tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
}

.glass-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

/* ===== 버튼 ===== */
.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
}

.btn-main i {
    width: 20px;
    height: 20px;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.6);
}

.btn-lg {
    padding: 22px 56px;
    font-size: 1.1rem;
}

/* ===== 히어로 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 32px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero .line1 {
    display: block;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .line2 {
    display: block;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-dim);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.9;
}

.hero-desc strong {
    color: var(--text);
}

.hero-actions {
    margin-bottom: 80px;
}

.hero-img {
    position: relative;
    max-width: 1000px;
    width: 100%;
}

.img-glow {
    position: absolute;
    inset: -40px;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue));
    filter: blur(80px);
    opacity: 0.25;
    z-index: -1;
}

.hero-img img {
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

/* ===== 핵심 철학 ===== */
.section-philosophy {
    padding: 100px 24px;
}

.section-philosophy h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 48px;
}

.philosophy-content {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.phil-card {
    text-align: center;
}

.phil-icon {
    margin-bottom: 16px;
}

.phil-icon i {
    width: 48px;
    height: 48px;
    color: var(--text-dim);
}

.phil-card--highlight .phil-icon i {
    color: var(--neon-blue);
}

.phil-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.phil-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.8;
}

.phil-card strong {
    color: var(--text);
}

.phil-card--highlight {
    border-color: var(--neon-purple);
    background: rgba(139, 92, 246, 0.1);
}

.phil-result {
    margin-top: 20px !important;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
    color: var(--text) !important;
    font-weight: 500;
}

/* ===== 핵심 장점 ===== */
.section-core {
    padding: 0 24px 100px;
}

.core-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.core-card {
    text-align: center;
}

.core-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon-pink);
    margin-bottom: 16px;
}

.core-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.core-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.8;
}

.core-card strong {
    color: var(--text);
}

/* ===== 스토리 ===== */
.section-story {
    padding: 100px 24px;
}

.story-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.story-card h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 32px;
}

.story-text {
    text-align: left;
}

.story-text p {
    color: var(--text-dim);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.story-text strong {
    color: var(--text);
}

.story-highlight {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.15), rgba(0, 212, 255, 0.15));
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--neon-purple);
    margin-top: 32px !important;
    color: var(--text) !important;
    text-align: center;
}

/* ===== 기능 ===== */
.section-features {
    padding: 100px 24px;
    text-align: center;
}

.section-features h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 48px;
}

.features-detailed {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feat-detail {
    text-align: left;
}

.feat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 12px;
    margin-bottom: 16px;
}

.feat-icon i {
    width: 24px;
    height: 24px;
    color: var(--neon-blue);
}

.feat-detail h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feat-detail p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ===== 통합 설정 ===== */
.section-settings {
    padding: 100px 24px;
    text-align: center;
}

.section-settings h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.settings-subtitle {
    color: var(--text-dim);
    margin-bottom: 64px;
    font-size: 1.1rem;
}

.settings-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.settings-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

.settings-card.reverse {
    direction: rtl;
}

.settings-card.reverse>* {
    direction: ltr;
}

.settings-content {
    padding: 20px 0;
}

.settings-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.settings-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.settings-desc {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 16px;
}

.settings-desc:last-child {
    margin-bottom: 0;
}

.settings-desc strong {
    color: var(--text);
}

.settings-image {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 16px;
    transition: all 0.3s;
}

.settings-image:hover {
    border-color: var(--neon-blue);
    transform: translateY(-4px);
}

.settings-image img {
    border-radius: 12px;
    cursor: zoom-in;
}

/* 하이라이트 박스 (손절 11개 강조용) */
.highlight-box {
    background: linear-gradient(90deg, rgba(255, 0, 255, 0.15), rgba(139, 92, 246, 0.15));
    padding: 16px 20px;
    border-radius: 10px;
    border-left: 4px solid var(--neon-pink);
    margin-bottom: 16px;
    color: var(--text) !important;
}

/* ===== 8단계 빌더 (상세 버전) ===== */
.section-builder-detailed {
    padding: 100px 24px;
    text-align: center;
}

.section-builder-detailed h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.builder-subtitle {
    color: var(--text-dim);
    margin-bottom: 64px;
    font-size: 1.1rem;
}

.builder-steps-detailed {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.builder-step-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

.builder-step-card.reverse {
    direction: rtl;
}

.builder-step-card.reverse>* {
    direction: ltr;
}

.step-content {
    padding: 20px 0;
}

.step-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.step-desc {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.9;
}

.step-desc strong {
    color: var(--text);
}

.step-image {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 16px;
    transition: all 0.3s;
}

.step-image:hover {
    border-color: var(--neon-purple);
    transform: translateY(-4px);
}

.step-image img {
    border-radius: 12px;
    cursor: zoom-in;
}

/* ===== 미리보기 (그리드) ===== */
.section-preview {
    padding: 100px 24px;
}

.section-preview h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 48px;
}

.preview-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.preview-item {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 12px;
    transition: all 0.3s;
}

.preview-item:hover {
    border-color: var(--neon-purple);
    transform: translateY(-4px);
}

.preview-item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.preview-item img:hover {
    opacity: 0.9;
}

.preview-item span {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== 시작하기 ===== */
.section-start {
    padding: 120px 24px;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%);
}

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

.section-start h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.start-sub {
    color: var(--text-dim);
    margin-bottom: 56px;
    font-size: 1.1rem;
}

.start-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
}

.start-step {
    flex: 1;
    text-align: center;
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.08), rgba(0, 212, 255, 0.05));
    border: 1px solid transparent;
    background-clip: padding-box;
    transition: all 0.4s ease;
}

.start-step::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(0, 212, 255, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.start-step:hover::before {
    opacity: 1;
}

.start-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2), 0 0 30px rgba(139, 92, 246, 0.1);
}

.step-icon-wrap {
    position: relative;
    margin-bottom: 24px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-wrap .step-num {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
    margin-bottom: 0;
    z-index: 2;
    border-radius: 50%;
}

.step-icon-wrap>i {
    width: 48px;
    height: 48px;
    color: var(--neon-blue);
}

.step-num {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.start-step h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.start-step p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 16px;
}

.step-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon-blue);
    margin-top: auto;
}

.step-arrow {
    display: flex;
    align-items: center;
    color: var(--neon-purple);
}

.step-arrow i {
    width: 28px;
    height: 28px;
}

/* ===== 커뮤니티 ===== */
.section-community {
    padding: 120px 24px;
    text-align: center;
}

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

.section-community h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.comm-sub {
    color: var(--text-dim);
    margin-bottom: 48px;
    font-size: 1.1rem;
}

.comm-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.comm-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.06), rgba(0, 212, 255, 0.04));
    transition: all 0.4s ease;
}

.comm-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.4), rgba(139, 92, 246, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.comm-card:hover::before {
    opacity: 1;
}

.comm-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 212, 255, 0.15), 0 0 20px rgba(139, 92, 246, 0.1);
}

.comm-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 14px;
    flex-shrink: 0;
}

.comm-icon i {
    width: 28px;
    height: 28px;
    color: var(--neon-blue);
}

.comm-info {
    flex: 1;
}

.comm-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.comm-info span {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.comm-link-icon {
    width: 20px;
    height: 20px;
    color: var(--text-dim);
    transition: all 0.2s;
}

.comm-card:hover .comm-link-icon {
    color: var(--neon-blue);
    transform: translate(2px, -2px);
}

.comm-features {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

.comm-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.comm-feat i {
    width: 20px;
    height: 20px;
    color: var(--neon-purple);
}

/* ===== CTA ===== */
.section-cta {
    padding: 160px 24px;
    text-align: center;
}

.cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.section-cta h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-cta p {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
    padding: 40px 24px;
    border-top: 1px solid var(--glass-border);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.footer .logo img {
    width: 60px;
    height: 60px;
}

.footer .logo {
    font-size: 1.8rem;
    gap: 12px;
    color: #ffffff;
}

.footer .logo span {
    color: #ffffff;
}

.footer span {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-disclaimer {
    max-width: var(--container);
    margin: 20px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-disclaimer p {
    color: var(--text-dim);
    font-size: 0.7rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* ===== 라이트박스 (슬라이드쇼) ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-close i {
    width: 24px;
    height: 24px;
    color: var(--text);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.lightbox-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.6);
}

.lightbox-nav i {
    width: 32px;
    height: 32px;
    color: white;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: calc(90vh - 60px);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-counter {
    margin-top: 16px;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Zoomable 커서 */
.zoomable {
    cursor: zoom-in;
}

/* ===== 반응형 ===== */
@media (max-width: 1000px) {

    .builder-step-card,
    .settings-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .builder-step-card.reverse,
    .settings-card.reverse {
        direction: ltr;
    }

    .step-content,
    .settings-content {
        text-align: center;
    }

    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .preview-item--large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 900px) {

    .philosophy-content,
    .core-grid,
    .features-detailed {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .start-steps {
        flex-direction: column;
    }

    .step-arrow i {
        transform: rotate(90deg);
    }

    .comm-cards {
        grid-template-columns: 1fr;
    }

    .comm-features {
        flex-direction: column;
        gap: 16px;
    }

    .nav-menu {
        display: none;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .lightbox-nav i {
        width: 22px;
        height: 22px;
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 16px 20px;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-item--large {
        grid-column: span 1;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
    }

    .section-builder-detailed h2 {
        font-size: 1.8rem;
    }

    .step-content h3 {
        font-size: 1.4rem;
    }
}

/* ===== 모바일 메뉴 ===== */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-btn i {
    width: 24px;
    height: 24px;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 80px 24px 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.2s;
}

.mobile-link i {
    width: 24px;
    height: 24px;
    color: var(--neon-purple);
}

.mobile-link.active,
.mobile-link:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--text);
}

.mobile-utils {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-socials {
    justify-content: center;
    gap: 12px;
}

.mobile-socials .social-icon {
    width: 44px;
    height: 44px;
}



.mobile-download {
    justify-content: center;
    width: 100%;
}

@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }

    /* 헤더 오른쪽 영역 보이기 (언어 선택기 노출용) */
    .header-right {
        display: flex;
        gap: 12px;
    }

    /* 소셜 아이콘과 다운로드 버튼은 숨김 */
    .header-right .social-icons,
    .header-right .btn-download {
        display: none;
    }

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

    /* 모바일 헤더 언어 선택기 스타일 조정 - 완료 */
}