/* Home / Landing page styles for Keyforge (네비게이션 바는 navbar.css) */

/* Hero */
.hero {
    max-width: 820px;
    margin: 0 auto;
    padding: 72px 24px 56px;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: hsl(var(--foreground));
    margin: 0 0 20px;
    word-break: keep-all;   /* 한글: 어절(띄어쓰기) 단위로만 줄바꿈, 단어 중간 끊김 방지 */
}

.hero .lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
    max-width: 640px;
    margin: 0 auto 32px;
    word-break: keep-all;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn {
    text-decoration: none;
    height: 44px;
    padding: 0 22px;
    font-size: 0.9375rem;
}


/* Section shell */
.section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 24px 72px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: hsl(var(--foreground));
    margin: 0 0 8px;
}

.section-title p {
    font-size: 0.9375rem;
    color: hsl(var(--muted-foreground));
    margin: 0;
    word-break: keep-all;
}

/* Cards grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--card));
    padding: 28px 24px;
    transition: border-color 0.15s, background 0.15s;
}

/* 편집적 절제: lift·그림자 대신 헤어라인 강조 + 은은한 배경 */
.card:hover {
    border-color: hsl(var(--foreground) / 0.28);
    background: hsl(var(--muted) / 0.45);
}

.card .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.125rem;
    color: #fff;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0 0 6px;
    word-break: keep-all;
}

.card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: hsl(var(--muted-foreground));
    margin: 0;
    word-break: keep-all;
}

/* Platform brand accents */
/* 플랫폼 브랜드 색(인식성) - 단, 그라디언트 지양(제네릭 AI룩 신호). 솔리드로 통일 */
.icon-openai { background: #10a37f; }
.icon-claude { background: #d97757; }
.icon-gemini { background: #4285f4; }

.icon-feature {
    background: hsl(var(--primary));
}

.icon-feature svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}


@media (max-width: 768px) {
    .hero { padding: 48px 24px 40px; }
    .hero h1 { font-size: 2.25rem; }
    .hero .lead { font-size: 1rem; }
    .card-grid { grid-template-columns: 1fr; }
    /* 모바일: 제목 강제 줄바꿈 제거 → keep-all 로 자연스럽게 어절 단위 줄바꿈 */
    .br-desktop { display: none; }
}

@media (max-width: 400px) {
    .hero h1 { font-size: 1.9rem; }
}
