:root {
    --bg:      #0d1117;
    --surface: #161b22;
    --border:  #30363d;
    --text:    #e6edf3;
    --muted:   #8b949e;
    --orange:  #ff7700;
    --font-display: 'Poppins', sans-serif;
    --font-body:    'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Header ─────────────────────────────── */

header {
    padding: 40px 40px 0;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-wrap img {
    height: 100px;
    width: auto;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
}

.logo-name strong {
    color: var(--orange);
    font-weight: 600;
}

/* ── Main ────────────────────────────────── */

main {
    flex: 1;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 40px 80px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* ── Hero ────────────────────────────────── */

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

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
}

.hero p {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 520px;
}

/* ── Products ────────────────────────────── */

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.15s ease;
}

.product-card:hover {
    border-color: #484f58;
}

.card-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title h2 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.card-sub {
    font-size: 0.8rem;
    color: var(--muted);
}

.card-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
}

.card-tags li {
    font-size: 0.72rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    color: var(--muted);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2px 10px;
    white-space: nowrap;
}

.card-link {
    display: inline-block;
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--orange);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: opacity 0.15s ease;
}

.card-link:hover { opacity: 0.8; }

/* ── Contact ─────────────────────────────── */

.contact {
    border-top: 1px solid var(--border);
    padding-top: 40px;
    color: var(--muted);
    font-size: 0.95rem;
}

.contact a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact a:hover { color: var(--orange); }

/* ── Footer ──────────────────────────────── */

footer {
    padding: 20px 40px;
    font-size: 0.75rem;
    color: var(--border);
    border-top: 1px solid var(--border);
}

/* ── Responsive ──────────────────────────── */

@media (max-width: 600px) {
    header { padding: 24px 20px 0; }
    main { padding: 48px 20px 60px; gap: 48px; }
    footer { padding: 16px 20px; }
    .products { grid-template-columns: 1fr; }
}
