/* ── 리셋 & 기본 ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0f;
    color: #c8c8d0;
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent {
    color: #e94560;
}

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

/* ── 버튼 ── */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #e94560;
    color: #fff;
}

.btn-primary:hover {
    background: #d63851;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid #333;
    color: #c8c8d0;
    background: transparent;
}

.btn-outline:hover {
    border-color: #e94560;
    color: #e94560;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

/* ── 네비게이션 ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #1a1a25;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 14px;
}

.nav-links a {
    color: #888;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    padding: 8px 20px;
    background: #e94560;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
}

.nav-cta:hover {
    background: #d63851;
}

/* ── 히어로 ── */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(233, 69, 96, 0.08) 0%, transparent 60%);
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.2);
    border-radius: 20px;
    font-size: 13px;
    color: #e94560;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

/* ── 히어로 글로브 ── */
#hero-globe {
    width: 100%;
    max-width: 560px;
    height: 420px;
    margin: 0 auto 16px;
}

#hero-globe canvas {
    display: block;
}

.hero-sub {
    font-size: 22px;
    color: #999;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 72px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    padding-top: 48px;
    border-top: 1px solid #1a1a25;
}

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

.stat-num {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
}

.stat-label {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

/* ── 섹션 공통 ── */
.section-title {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-sub {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 56px;
}

/* ── 문제 제기 — 타임라인 ── */
.problem {
    padding: 100px 0;
    background: #0d0d14;
}

.problem-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.problem-step {
    display: flex;
    gap: 32px;
    padding-bottom: 48px;
    position: relative;
}

.problem-step:last-child {
    padding-bottom: 0;
}

.step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(233, 69, 96, 0.1);
    border: 2px solid #e94560;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: #e94560;
    font-family: 'Courier New', monospace;
}

.step-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, #e94560, transparent);
    margin-top: 12px;
}

.step-content h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 12px;
    margin-top: 4px;
}

.step-content p {
    font-size: 15px;
    color: #888;
    line-height: 1.8;
}

/* ── 솔루션 — 벤토 그리드 ── */
.solution {
    padding: 100px 0;
}

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

.feature-card {
    background: #12121c;
    border: 1px solid #1a1a28;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.2s;
}

.feature-card.wide {
    grid-column: span 2;
}

.feature-card:hover {
    border-color: #1a5276;
    transform: translateY(-4px);
}

.feature-num {
    font-size: 14px;
    font-weight: 800;
    color: #e94560;
    margin-bottom: 16px;
    font-family: 'Courier New', monospace;
}

.feature-card h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: #888;
    line-height: 1.7;
}

/* ── AI 섹션 ── */
.ai-section {
    padding: 100px 0;
    background: #0d0d14;
}

.ai-content {
    max-width: 720px;
    margin: 0 auto;
}

.ai-text p {
    font-size: 17px;
    color: #999;
    margin-bottom: 20px;
    line-height: 1.8;
}

.ai-text strong {
    color: #fff;
    font-size: 20px;
}

.ai-highlight {
    margin-top: 40px;
    padding: 28px;
    background: rgba(233, 69, 96, 0.06);
    border: 1px solid rgba(233, 69, 96, 0.15);
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-highlight span:first-child {
    font-size: 16px;
    color: #888;
}

.ai-highlight .accent {
    font-size: 24px;
    font-weight: 800;
}

/* ── 비교 테이블 ── */
.comparison {
    padding: 100px 0;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th, td {
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid #1a1a28;
}

th {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #0d0d14;
}

.highlight-col {
    background: rgba(233, 69, 96, 0.05) !important;
    color: #fff;
    font-weight: 600;
}

th.highlight-col {
    color: #e94560;
    font-size: 15px;
}

.row-label {
    text-align: left;
    font-weight: 500;
    color: #aaa;
}

.good { color: #2ecc71; }
.mid { color: #f39c12; }
.bad { color: #e74c3c; }

/* ── 활용 사례 — 채팅 버블 ── */
.usecases {
    padding: 100px 0;
    background: #0d0d14;
}

.usecase-chat {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chat-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 80%;
}

.chat-row.right {
    align-self: flex-end;
    align-items: flex-end;
}

.chat-tag {
    font-size: 12px;
    font-weight: 600;
    color: #e94560;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 4px;
}

.chat-bubble {
    background: #12121c;
    border: 1px solid #1a1a28;
    border-radius: 16px;
    padding: 16px 24px;
    font-size: 15px;
    color: #ccc;
    line-height: 1.6;
}

.chat-row.left .chat-bubble {
    border-bottom-left-radius: 4px;
}

.chat-row.right .chat-bubble {
    border-bottom-right-radius: 4px;
    background: rgba(233, 69, 96, 0.08);
    border-color: rgba(233, 69, 96, 0.15);
}

.usecase-bottom {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-top: 48px;
}

/* ── CTA ── */
.cta {
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.cta-contacts {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 40px;
    background: #12121c;
    border: 1px solid #1a1a28;
    border-radius: 12px;
    transition: all 0.2s;
    min-width: 220px;
}

.contact-item:hover {
    border-color: #e94560;
    transform: translateY(-2px);
}

.contact-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.contact-value {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.cta-sub {
    font-size: 14px;
    color: #444;
}

/* ── 푸터 ── */
.footer {
    padding: 48px 0;
    border-top: 1px solid #1a1a25;
    text-align: center;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.footer-company {
    font-size: 14px;
    color: #888;
    margin-bottom: 4px;
}

.footer-copy {
    font-size: 12px;
    color: #444;
}

/* ── 반응형 ── */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card.wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    #hero-globe {
        height: 300px;
    }

    .hero-sub {
        font-size: 17px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 28px;
    }

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

    .feature-card.wide {
        grid-column: span 1;
    }

    .problem-step {
        gap: 20px;
    }

    .step-num {
        width: 44px;
        height: 44px;
        font-size: 15px;
    }

    .step-content h3 {
        font-size: 17px;
    }

    .chat-row {
        max-width: 90%;
    }

    .nav-links {
        gap: 16px;
        font-size: 13px;
    }

    table {
        font-size: 12px;
    }

    th, td {
        padding: 10px 8px;
    }
}
