/* ═══════════════════════════════════════════════════════
   8Binami Group — Corporate Site Stylesheet
   Dark theme, cyan accent, professional & clean
   ═══════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────── */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #101018;
    --bg-card: #14141e;
    --bg-card-hover: #1a1a28;
    --bg-nav: rgba(10, 10, 15, 0.92);

    --text-primary: #e8e8f0;
    --text-secondary: #9898b0;
    --text-muted: #606078;

    --accent: #00d4ff;
    --accent-dim: rgba(0, 212, 255, 0.15);
    --accent-glow: rgba(0, 212, 255, 0.3);
    --accent-secondary: #a855f7;
    --accent-green: #00e87b;

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-pixel: 'Press Start 2P', monospace;

    --container: 1100px;
    --nav-height: 64px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: #fff; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); }
.lead { font-size: 1.125rem; color: var(--text-secondary); line-height: 1.8; max-width: 640px; }
.overline {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 12px;
}

/* ── Section ───────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-secondary); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .lead { margin: 16px auto 0; }

/* ── Buttons ───────────────────────────────────────────── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px;
    background: var(--accent);
    color: #0a0a0f;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius);
    transition: all 0.25s;
}
.btn-primary:hover {
    background: #fff;
    color: #0a0a0f;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.25);
}
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--border-hover);
    border-radius: var(--radius);
    transition: all 0.25s;
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }

/* ── Navigation ────────────────────────────────────────── */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: background 0.3s;
}
.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo-text {
    font-family: 'Audiowide', sans-serif;
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: 0.02em;
}
.nav-logo-text:hover { color: #fff; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.nav-links a {
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}
.nav-links a.active { color: var(--accent); }

/* Nav Toggle (mobile) */
.nav-toggle { display: none; width: 24px; height: 18px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s; }

/* Language Switcher */
.lang-switcher { position: relative; margin-left: 8px; }
#langToggle { display: none; }
.lang-switcher-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}
.lang-switcher-btn:hover { border-color: var(--accent); color: var(--accent); }
.lang-switcher-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius);
    overflow: hidden;
    min-width: 120px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
#langToggle:checked ~ .lang-switcher-dropdown { display: block; }
.lang-switcher-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.15s;
}
.lang-switcher-dropdown a:hover, .lang-switcher-dropdown a.active {
    background: var(--accent-dim);
    color: var(--accent);
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 60px) 24px 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(0, 212, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(168, 85, 247, 0.04) 0%, transparent 60%),
        var(--bg-primary);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-content .overline { font-size: 0.65rem; margin-bottom: 20px; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content .lead { margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-grid-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
}

/* ── Image Placeholders ────────────────────────────────── */
.img-placeholder {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.img-placeholder:hover { border-color: var(--border-hover); }
.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-placeholder-label {
    font-family: var(--font-pixel);
    font-size: 0.55rem;
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
    letter-spacing: 0.05em;
}
.img-placeholder-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}
.img-placeholder-icon svg {
    width: 32px;
    height: 32px;
    opacity: 0.3;
}
.img-placeholder-icon span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.img-placeholder.wide { aspect-ratio: 21 / 9; }
.img-placeholder.square { aspect-ratio: 1 / 1; }
.img-placeholder.tall { aspect-ratio: 4 / 3; }

/* Product card image */
.product-card .img-placeholder { margin-bottom: 24px; }

/* Blog thumbnail */
.blog-item .img-placeholder {
    flex-shrink: 0;
    width: 200px;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
}
.blog-item .img-placeholder img { border-radius: var(--radius); }

/* Blog post hero image */
.post-hero {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--border);
}
.post-hero img { width: 100%; height: auto; display: block; }
.post-hero .img-placeholder { border: none; border-radius: 0; }

/* Latest post card thumbnail */
.latest-post-card .img-placeholder {
    aspect-ratio: 16 / 9;
    margin-bottom: 16px;
    border-radius: var(--radius);
}

/* ── Cards Grid ────────────────────────────────────────── */
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
}
.card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.card-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-dim);
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 1.3rem;
}
.card-icon svg { width: 24px; height: 24px; color: var(--accent); }
.card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.card-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
}
.card-link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.card-link:hover svg { transform: translateX(3px); }

/* ── Product Card (larger) ─────────────────────────────── */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    transition: all 0.3s;
}
.product-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
    transform: translateY(-3px);
}
.product-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 20px;
    margin-bottom: 16px;
}
.product-badge.app { background: var(--accent-dim); color: var(--accent); }
.product-badge.library { background: rgba(168, 85, 247, 0.15); color: var(--accent-secondary); }
.product-badge.coming { background: rgba(255, 255, 255, 0.06); color: var(--text-muted); }
.product-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.product-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 24px; }
.product-features {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 24px;
}
.product-features span {
    padding: 4px 10px;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
}

/* ── Blog ──────────────────────────────────────────────── */
.blog-list { display: flex; flex-direction: column; gap: 20px; }
.blog-item {
    display: flex; gap: 24px; align-items: flex-start;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.25s;
}
.blog-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.blog-date {
    flex-shrink: 0;
    text-align: center;
    padding: 12px 16px;
    background: var(--accent-dim);
    border-radius: var(--radius);
    min-width: 64px;
}
.blog-date .day { display: block; font-size: 1.5rem; font-weight: 700; color: var(--accent); line-height: 1; }
.blog-date .month { display: block; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); margin-top: 4px; }
.blog-date-inline {
    display: flex; align-items: baseline; gap: 4px;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.blog-date-inline .day { font-weight: 700; color: var(--accent); }
.blog-content h3 { font-size: 1.05rem; margin-bottom: 6px; }
.blog-content h3 a { color: #fff; }
.blog-content h3 a:hover { color: var(--accent); }
a.blog-item { color: inherit; }
a.blog-item:hover { color: inherit; }
.blog-content p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.blog-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Blog Post (single article) */
.post-header { margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.post-header h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 12px; }
.post-meta { font-size: 0.85rem; color: var(--text-muted); }
.post-body { max-width: 720px; }
.post-body p { margin-bottom: 20px; color: var(--text-secondary); font-size: 0.95rem; }
.post-body h2 { font-size: 1.4rem; margin: 40px 0 16px; }
.post-body h3 { font-size: 1.15rem; margin: 32px 0 12px; }
.post-body code {
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    font-size: 0.85em;
    font-family: 'SF Mono', 'Fira Code', monospace;
}
.post-body pre {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    overflow-x: auto;
    margin: 24px 0;
}
.post-body pre code { padding: 0; background: none; }
.post-body ul, .post-body ol { margin: 16px 0; padding-left: 24px; color: var(--text-secondary); }
.post-body li { margin-bottom: 8px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-back {
    display: inline-flex; align-items: center; gap: 6px;
    margin-bottom: 32px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.post-back:hover { color: var(--accent); }

/* ── About / Values ────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-item { text-align: center; padding: 32px 20px; }
.value-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-dim);
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 1.4rem;
}
.value-item h3 { margin-bottom: 8px; font-size: 1rem; }
.value-item p { font-size: 0.85rem; color: var(--text-secondary); }

/* Team / Founders */
.founders-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 800px; margin: 0 auto; }
.founder-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}
.founder-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.founder-avatar {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-dim), rgba(168, 85, 247, 0.15));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
    border: 2px solid var(--border);
    transition: border-color 0.3s;
}
.founder-card:hover .founder-avatar { border-color: var(--accent); }
.founder-avatar svg { width: 40px; height: 40px; }
.founder-card h3 { font-size: 1.1rem; color: #fff; margin-bottom: 4px; }
.founder-card .founder-role { font-size: 0.8rem; color: var(--accent); font-weight: 500; margin-bottom: 16px; }
.founder-card .founder-bio { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.founder-links { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }
.founder-links a {
    color: var(--text-muted);
    transition: color 0.2s;
}
.founder-links a:hover { color: var(--accent); }
@media (max-width: 600px) {
    .founders-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* Legacy team (unused, kept for compat) */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.team-member { text-align: center; }
.team-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-dim), rgba(168, 85, 247, 0.15));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.2rem; font-weight: 700;
    color: var(--accent);
    border: 2px solid var(--border);
}
.team-member h4 { font-size: 0.9rem; color: #fff; text-transform: none; letter-spacing: 0; margin-bottom: 4px; }
.team-member p { font-size: 0.8rem; color: var(--text-muted); }

/* ── Contact Form ──────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); }
.form-group input, .form-group textarea, .form-group select {
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info h3 { margin-bottom: 16px; }
.contact-info p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 32px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--text-secondary); font-size: 0.9rem; }
.contact-detail svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* ── Stats ─────────────────────────────────────────────── */
.stats-strip {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stat-item {
    text-align: center;
    padding: 40px 20px;
}
.stat-item + .stat-item { border-left: 1px solid var(--border); }
.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── Newsletter ────────────────────────────────────────── */
.newsletter {
    text-align: center;
    padding: 80px 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}
.newsletter h2 { margin-bottom: 12px; }
.newsletter .lead { margin: 0 auto 28px; }
.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
}
.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
}
.newsletter-form input:focus { outline: none; border-color: var(--accent); }
.newsletter-form button { white-space: nowrap; }

/* ── 404 ───────────────────────────────────────────────── */
.page-404 {
    min-height: 80vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 40px) 24px 80px;
}
.page-404 .error-code {
    font-family: var(--font-pixel);
    font-size: clamp(4rem, 12vw, 8rem);
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}
.page-404 h1 { font-size: 1.8rem; margin-bottom: 12px; }
.page-404 p { color: var(--text-secondary); margin-bottom: 28px; }

/* ── Latest Posts (homepage) ───────────────────────────── */
.latest-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.latest-post-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.25s;
}
.latest-post-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}
.latest-post-card .post-date { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.latest-post-card h3 { font-size: 1rem; margin-bottom: 8px; }
.latest-post-card h3 a { color: #fff; }
.latest-post-card h3 a:hover { color: var(--accent); }
.latest-post-card p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.6; }

/* ── Open Source specifics ─────────────────────────────── */
.repo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
}
.repo-card:hover {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.15);
    transform: translateY(-2px);
}
.repo-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.repo-header svg { width: 20px; height: 20px; color: var(--text-muted); }
.repo-header h3 { font-size: 1.1rem; }
.repo-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 16px; }
.repo-stats { display: flex; gap: 16px; margin-bottom: 20px; }
.repo-stat {
    display: flex; align-items: center; gap: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.repo-stat .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #f1e05a;
}
.repo-stat .dot.ts { background: #3178c6; }
.repo-stat .dot.php { background: #4F5D95; }
.repo-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.repo-tags span {
    padding: 3px 10px;
    font-size: 0.65rem;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 20px;
    color: var(--accent-secondary);
}

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo-text {
    font-family: 'Audiowide', sans-serif;
    font-size: 1rem;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 12px;
}
.footer-brand p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.footer-col h4 { margin-bottom: 16px; font-size: 0.75rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 0.85rem; color: var(--text-secondary); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); }

/* ── Animations ────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
    .grid-3col, .values-grid, .latest-posts { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(3) { border-left: none; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0; right: 0;
        flex-direction: column;
        background: var(--bg-nav);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 16px;
        gap: 4px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 16px; }
    .lang-switcher { margin-left: auto; }

    .hero { min-height: 70vh; padding-top: calc(var(--nav-height) + 40px); }
    .grid-2col { grid-template-columns: 1fr; gap: 32px; }
    .grid-3col, .values-grid, .latest-posts { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }

    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .newsletter-form { flex-direction: column; }
    .stats-strip { grid-template-columns: 1fr; }
    .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--border); }
}
