/* Home / Landing page styles for Keyforge */

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: hsl(var(--primary));
    text-decoration: none;
}

.brand .brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.brand .brand-mark svg {
    width: 18px;
    height: 18px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-actions .btn {
    text-decoration: none;
    height: 38px;
}

/* 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;
}

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

.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;
}

/* 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: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.card:hover {
    box-shadow: 0 8px 24px -8px hsl(var(--primary) / 0.15);
    border-color: hsl(var(--ring) / 0.35);
    transform: translateY(-2px);
}

.card .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    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;
}

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

/* Platform brand accents */
.icon-openai { background: #10a37f; }
.icon-claude { background: #d97757; }
.icon-gemini { background: linear-gradient(135deg, #4285f4, #9b72f2); }

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

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

/* Footer */
.site-footer {
    border-top: 1px solid hsl(var(--border));
    padding: 28px 24px;
    text-align: center;
    color: hsl(var(--muted-foreground));
    font-size: 0.8125rem;
}

@media (max-width: 768px) {
    .hero { padding: 48px 24px 40px; }
    .hero h1 { font-size: 2.25rem; }
    .card-grid { grid-template-columns: 1fr; }
}
