/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #060a13;
    --bg-2: #0a0f1a;
    --bg-card: #0d1322;
    --bg-card-hover: #111827;
    --text: #e2e8f0;
    --text-2: #94a3b8;
    --text-3: #475569;
    --accent: #2980b9;
    --accent-light: #3498db;
    --accent-glow: rgba(41, 128, 185, 0.15);
    --border: rgba(41, 128, 185, 0.08);
    --border-hover: rgba(41, 128, 185, 0.18);
    --radius: 16px;
    --radius-sm: 10px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-light); text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.8; }
img { max-width: 100%; display: block; }

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

/* ===== Reveal animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
}
.navbar.scrolled {
    background: rgba(6, 10, 19, 0.85);
    backdrop-filter: blur(30px) saturate(1.5);
    -webkit-backdrop-filter: blur(30px) saturate(1.5);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { width: 34px; height: 34px; border-radius: 8px; }
.logo-text { font-weight: 700; font-size: 18px; color: var(--text); letter-spacing: -0.02em; }
.logo-accent { color: var(--accent-light); }
.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a {
    color: var(--text-2); font-size: 13px; font-weight: 500;
    letter-spacing: 0.01em; transition: color 0.3s;
}
.nav-links a:hover { color: var(--text); opacity: 1; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}

#hero-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative; z-index: 1;
    text-align: center; max-width: 800px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px;
    background: var(--accent-glow);
    border: 1px solid rgba(41, 128, 185, 0.15);
    border-radius: 100px;
    font-size: 13px; font-weight: 500; color: var(--accent-light);
    margin-bottom: 28px;
    animation: fadeUp 1s var(--ease) 0.2s both;
}
.hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent-light);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(41, 128, 185, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(41, 128, 185, 0); }
}

.hero-title {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800; line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    animation: fadeUp 1s var(--ease) 0.35s both;
}
.hero-title .thin { font-weight: 300; color: var(--text-2); }

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-2); max-width: 560px;
    margin: 0 auto 44px; line-height: 1.7;
    animation: fadeUp 1s var(--ease) 0.5s both;
}

.hero-actions {
    display: flex; gap: 14px; justify-content: center;
    animation: fadeUp 1s var(--ease) 0.65s both;
}

.hero-stats {
    display: flex; gap: 48px; justify-content: center;
    margin-top: 72px;
    animation: fadeUp 1s var(--ease) 0.8s both;
}
.stat-number {
    font-size: 40px; font-weight: 800; color: var(--text);
    letter-spacing: -0.03em;
}
.stat-plus { font-size: 24px; font-weight: 600; color: var(--accent-light); }
.stat-label { display: block; font-size: 13px; color: var(--text-3); margin-top: 4px; letter-spacing: 0.02em; }

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 30px; border-radius: 100px;
    font-size: 14px; font-weight: 600; font-family: var(--font);
    cursor: pointer; border: none; text-decoration: none;
    transition: all 0.4s var(--ease);
}
.btn-primary {
    background: var(--accent); color: #fff;
    box-shadow: 0 0 30px rgba(41, 128, 185, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 50px rgba(41, 128, 185, 0.45);
    color: #fff; opacity: 1;
}
.btn-outline {
    background: rgba(255,255,255,0.03); color: var(--text);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px); color: var(--text); opacity: 1;
}
.btn-full { width: 100%; justify-content: center; }

/* ===== Sections ===== */
.section { padding: 120px 0; }
.section-dark { background: var(--bg-2); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; padding: 5px 14px;
    background: var(--accent-glow);
    border: 1px solid rgba(41, 128, 185, 0.12);
    border-radius: 100px;
    font-size: 12px; font-weight: 600; color: var(--accent-light);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 20px;
}
.section-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
}
.section-title .light { font-weight: 300; color: var(--text-2); }
.section-desc { font-size: 17px; color: var(--text-2); max-width: 500px; margin: 20px auto 0; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-text { font-size: 16px; color: var(--text-2); line-height: 1.8; }
.about-text p { margin-bottom: 16px; }
.about-lead { font-size: 18px; color: var(--text); }
.about-cards { display: flex; flex-direction: column; gap: 12px; }
.about-card {
    padding: 22px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    display: flex; gap: 16px; align-items: flex-start;
    transition: all 0.4s var(--ease);
}
.about-card:hover { border-color: var(--border-hover); transform: translateX(4px); }
.about-card-icon {
    flex-shrink: 0; width: 40px; height: 40px;
    background: var(--accent-glow); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-light);
}
.about-card-icon svg { width: 20px; height: 20px; }
.about-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.about-card p { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
    padding: 28px 22px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: all 0.5s var(--ease);
}
.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px var(--accent-glow);
}
.service-icon {
    width: 44px; height: 44px;
    background: var(--accent-glow); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px; color: var(--accent-light);
    transition: all 0.4s var(--ease);
}
.service-card:hover .service-icon { background: var(--accent); color: #fff; }
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 14px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.service-tags li {
    padding: 3px 10px;
    background: rgba(41, 128, 185, 0.06);
    border: 1px solid rgba(41, 128, 185, 0.08);
    border-radius: 6px; font-size: 11px;
    color: var(--text-3); font-weight: 500;
}

/* ===== Projects ===== */
.project-filters {
    display: flex; gap: 6px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 48px;
}
.filter-btn {
    padding: 8px 18px;
    border: 1px solid var(--border);
    background: transparent; color: var(--text-3);
    border-radius: 100px; font-size: 13px; font-weight: 500;
    font-family: var(--font); cursor: pointer;
    transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--border-hover); color: var(--text-2); }
.filter-btn.active {
    background: var(--accent); color: #fff; border-color: var(--accent);
    box-shadow: 0 0 20px rgba(41, 128, 185, 0.3);
}

.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    transition: all 0.5s var(--ease);
}
.project-card.hidden { display: none; }
.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.project-image { position: relative; height: 200px; overflow: hidden; background: var(--bg-2); }
.project-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.project-card:hover .project-image img { transform: scale(1.08); }
.project-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px;
    color: var(--text-3); font-size: 12px; font-weight: 500;
    background: linear-gradient(135deg, var(--bg-2), var(--bg-card));
}
.project-placeholder svg { width: 32px; height: 32px; opacity: 0.3; }
.project-overlay {
    position: absolute; inset: 0;
    background: rgba(6, 10, 19, 0.85);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.4s var(--ease);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-link {
    padding: 10px 22px; background: var(--accent);
    color: #fff; border-radius: 100px; font-size: 13px; font-weight: 600;
    text-decoration: none; transform: translateY(8px);
    transition: all 0.4s var(--ease);
}
.project-card:hover .project-link { transform: translateY(0); }

.project-info { padding: 22px; }
.project-tags { display: flex; gap: 6px; margin-bottom: 10px; }
.tag {
    padding: 3px 10px; border-radius: 6px;
    font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em;
    background: var(--accent-glow); color: var(--accent-light);
}
.project-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.project-info p { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 14px; }
.project-tech { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.project-tech span {
    padding: 2px 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 5px; font-size: 11px;
    color: var(--text-3); font-family: var(--font-mono);
}
.project-url { font-size: 13px; font-weight: 600; color: var(--accent-light); }

/* ===== Tech ===== */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tech-category {
    padding: 24px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: all 0.4s var(--ease);
}
.tech-category:hover { border-color: var(--border-hover); }
.tech-category h3 { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--accent-light); }
.tech-items { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-item {
    padding: 5px 12px;
    background: rgba(41, 128, 185, 0.04);
    border: 1px solid var(--border);
    border-radius: 6px; font-size: 12px; font-weight: 500;
    color: var(--text-2); transition: all 0.3s;
}
.tech-item:hover { border-color: var(--accent); color: var(--accent-light); }

/* ===== Team ===== */
.team-card {
    display: flex; gap: 48px; align-items: center;
    max-width: 800px; margin: 0 auto;
    padding: 48px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.team-avatar { flex-shrink: 0; }
.team-avatar img {
    width: 140px; height: 140px; border-radius: 20px;
    object-fit: cover; border: 2px solid var(--border-hover);
}
.avatar-placeholder {
    width: 140px; height: 140px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 2px solid var(--border-hover);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 44px; font-weight: 800; color: var(--accent-light);
}
.team-info h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.team-role { display: block; font-size: 14px; color: var(--accent-light); font-weight: 600; margin-bottom: 16px; }
.team-info p { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; }
.team-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.team-skills span {
    padding: 4px 12px;
    background: var(--accent-glow);
    border: 1px solid rgba(41, 128, 185, 0.1);
    border-radius: 6px; font-size: 12px; color: var(--text-2); font-weight: 500;
}
.team-links { display: flex; gap: 10px; }
.team-link {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border); border-radius: 100px;
    font-size: 13px; font-weight: 500; color: var(--text-2);
    transition: all 0.3s;
}
.team-link:hover { border-color: var(--border-hover); color: var(--accent-light); opacity: 1; }
.team-link svg { width: 16px; height: 16px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 900px; margin: 0 auto; }
.contact-info-block { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 14px; align-items: center; }
.contact-icon {
    flex-shrink: 0; width: 44px; height: 44px;
    background: var(--accent-glow); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-light);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item h4 { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.contact-item a { font-size: 14px; color: var(--text-2); }

.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 13px 16px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text);
    font-size: 14px; font-family: var(--font);
    transition: all 0.3s; outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* ===== Footer ===== */
.footer { padding: 48px 0 28px; border-top: 1px solid var(--border); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 36px; }
.footer-brand p { margin-top: 10px; font-size: 13px; color: var(--text-3); max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; color: var(--text-2); }
.footer-links a { font-size: 13px; color: var(--text-3); }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { font-size: 12px; color: var(--text-3); }

/* ===== Toast ===== */
.toast {
    position: fixed; bottom: 28px; right: 28px;
    padding: 14px 22px; background: var(--bg-card);
    border: 1px solid var(--accent); border-radius: var(--radius-sm);
    color: var(--text); font-size: 13px; font-weight: 500;
    z-index: 9999; transform: translateY(80px); opacity: 0;
    transition: all 0.4s var(--ease);
    box-shadow: 0 8px 32px rgba(41, 128, 185, 0.2);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid, .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links {
        display: none; position: fixed; inset: 0;
        background: rgba(6, 10, 19, 0.98);
        flex-direction: column; align-items: center; justify-content: center;
        gap: 24px; z-index: 999;
    }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 18px; }
    .nav-toggle { display: flex; z-index: 1000; }
    .about-grid, .contact-grid, .footer-content { grid-template-columns: 1fr; }
    .services-grid, .projects-grid, .tech-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 28px; }
    .stat-number { font-size: 30px; }
    .team-card { flex-direction: column; text-align: center; padding: 28px; }
    .team-skills, .team-links { justify-content: center; }
}
@media (max-width: 480px) {
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}

/* ===== Featured Project Cards ===== */
.projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.featured-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
    border: none;
    transition: all 0.5s var(--ease);
}
.featured-card.hidden { display: none; }
.featured-card:hover {
    transform: translateY(-4px);
}

.featured-card-header {
    padding: 28px 28px 20px;
}
.featured-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.featured-num {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    opacity: 0.4;
}
.featured-sep {
    color: var(--text-3);
    font-size: 12px;
    letter-spacing: -2px;
}
.featured-cat {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-3);
}
.featured-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.featured-body {
    border-radius: 20px;
    min-height: 350px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    margin: 0 12px;
    transition: box-shadow 0.5s var(--ease);
}
.featured-card:hover .featured-body {
    box-shadow: 0 0 40px rgba(41, 128, 185, 0.15);
}

.featured-desc {
    max-width: 400px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: auto;
}

.featured-preview {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.featured-preview img {
    max-height: 200px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.featured-card:hover .featured-preview img {
    transform: scale(1.03);
}
.featured-preview-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    width: 100%;
    font-size: 13px;
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
}

.featured-footer {
    padding: 20px 28px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.featured-tags span {
    padding: 2px 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 11px;
    color: var(--text-3);
    font-family: var(--font-mono);
}
.featured-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-light);
    white-space: nowrap;
    transition: color 0.3s;
}
.featured-link:hover {
    color: var(--text);
    opacity: 1;
}

/* ===== Tech Sphere ===== */
.tech-sphere-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 550px;
    margin: 0 auto;
}
#tech-sphere {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.tech-sphere-labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.tech-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: opacity 0.3s;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.tech-label-icon {
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    background: rgba(41, 128, 185, 0.08);
    border: 1px solid rgba(41, 128, 185, 0.12);
    border-radius: 8px;
    color: var(--accent-light);
    font-weight: 700;
    font-family: var(--font);
}
.tech-label-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    text-shadow: 0 0 12px rgba(6, 10, 19, 0.9);
}
.tech-label.front .tech-label-icon {
    background: rgba(41, 128, 185, 0.15);
    border-color: rgba(41, 128, 185, 0.25);
    color: #fff;
}
.tech-label.front .tech-label-name {
    color: var(--text);
    font-size: 13px;
}

/* ===== Responsive overrides for featured cards & marquee ===== */
@media (max-width: 1024px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .projects-grid { grid-template-columns: 1fr; }
    .featured-title { font-size: 22px; }
    .featured-body { min-height: 280px; padding: 24px; }
    .featured-card-header { padding: 20px 20px 14px; }
    .featured-footer { padding: 16px 20px 20px; }
}
