/* ==========================================
   CSS Variables (Theme Colors)
   ========================================== */
:root {
    --bg-main: #080c14;
    --bg-secondary: #0d1526;
    --bg-card: rgba(15, 25, 50, 0.75);
    --accent-primary: #00d4ff;
    --accent-secondary: #7c3aed;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --text-main: #f0f6ff;
    --text-muted: #8892a4;
    --border: rgba(255, 255, 255, 0.08);
    --glow: rgba(0, 212, 255, 0.15);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-main);
    background-image:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(0, 212, 255, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 110%, rgba(124, 58, 237, 0.07) 0%, transparent 60%);
    color: var(--text-main);
    font-family: 'Inter', 'Poppins', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

section[id] {
    scroll-margin-top: 80px;
}

/* ==========================================
   Typography & Accents
   ========================================== */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.accent-line {
    border: none;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    opacity: 1;
    margin: 0.75rem auto 0;
}

/* ==========================================
   Navbar (Glassmorphism)
   ========================================== */
.glass-nav {
    background: rgba(8, 12, 20, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
}

.navbar-brand .name {
    color: var(--text-main);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem !important;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.07);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: var(--accent-primary);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 50px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 1rem 0 1.5rem;
}

.hero-subtitle span {
    color: var(--accent-primary);
}

.hero-bio {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    border: none;
    padding: 0.7rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    color: #fff;
}

.btn-outline-custom {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 0.7rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-2px);
}

.social-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.15);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    width: min(420px, 90vw);
    height: min(420px, 90vw);
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-image-wrapper img {
    width: min(420px, 90vw);
    height: min(420px, 90vw);
    border-radius: 30px;
    object-fit: cover;
    border: 2px solid rgba(0, 212, 255, 0.2);
    position: relative;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.hero-image-wrapper img:hover {
    transform: scale(1.03);
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* ==========================================
   Skills Section
   ========================================== */
.skills-section {
    padding: 80px 0;
}

.skill-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.skill-category-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.skill-category-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.skill-tag:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.08);
}

/* ==========================================
   Projects Section
   ========================================== */
.projects-section {
    padding: 80px 0;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-tab {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 50px;
    padding: 0.4rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab:hover,
.filter-tab.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.project-card-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.project-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.project-card-links {
    display: flex;
    gap: 0.5rem;
}

.project-link {
    color: var(--text-muted);
    font-size: 1rem;
    transition: color 0.2s;
    text-decoration: none;
}

.project-link:hover {
    color: var(--accent-primary);
}

.project-card-body {
    padding: 1.25rem 1.5rem;
    flex: 1;
}

.project-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.project-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-highlights li {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 0.2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.project-highlights li::before {
    content: '▸';
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 1px;
}

.project-card-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-badge {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--accent-primary);
    border-radius: 5px;
    padding: 0.2rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
}

/* ==========================================
   Certificates Section
   ========================================== */
.certs-section {
    padding: 80px 0;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cert-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.cert-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.cert-card-body {
    padding: 0.75rem 1rem;
    text-align: center;
}

.cert-card-body p {
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 0 0.2rem;
}

.cert-issuer {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
    opacity: 0.8;
}

/* Certificate Modal — fixed-size vanilla popup */
.cert-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}

.cert-overlay.active {
    display: flex;
}

.cert-popup {
    width: 700px;
    max-width: 95vw;
    height: 500px;
    max-height: 90vh;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    animation: popupIn 0.2s ease;
}

@keyframes popupIn {
    from { opacity: 0; transform: scale(0.93); }
    to   { opacity: 1; transform: scale(1); }
}

.cert-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.25rem 0.75rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.cert-popup-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cert-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.25rem;
    transition: color 0.2s;
    flex-shrink: 0;
}

.cert-close-btn:hover {
    color: var(--text-primary);
}

.cert-popup-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem 1.25rem;
}

#certModalImg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
    padding: 80px 0 100px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-text h6 {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.contact-info-text p {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

.contact-info-text a {
    color: var(--text-main);
    text-decoration: none;
}

.contact-info-text a:hover {
    color: var(--accent-primary);
}

.form-field {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    color: var(--text-main) !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.9rem !important;
    transition: border-color 0.2s ease !important;
}

.form-field::placeholder {
    color: var(--text-muted) !important;
}

.form-field:focus {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1) !important;
    background: rgba(0, 212, 255, 0.03) !important;
    outline: none !important;
}

/* ==========================================
   Section Header
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
}

/* ==========================================
   Footer
   ========================================== */
footer {
    background: rgba(8, 12, 20, 0.9);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.75rem;
}

footer .footer-links a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.2s;
}

footer .footer-links a:hover {
    color: var(--accent-primary);
}

/* ==========================================
   Animations (Fade-in on Scroll)
   ========================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-anim {
    animation: float 5s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ==========================================
   Responsive — Mobile & Tablet
   ========================================== */

/* Large tablets & small laptops (≤ 991px) */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 110px 0 60px;
        text-align: center;
    }

    .hero-bio {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .social-row {
        justify-content: center;
    }

    .stats-row {
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 2rem;
    }

    .about-section .section-header {
        text-align: center;
    }

    .about-section .accent-line {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Mobile nav dropdown styling */
    #navMenu.show {
        background: rgba(8, 12, 20, 0.98);
        border-top: 1px solid var(--border);
        padding: 0.75rem 0 1rem;
        border-radius: 0 0 12px 12px;
    }

    .navbar-nav .nav-link {
        padding: 0.65rem 1.25rem !important;
        border-radius: 8px;
        margin: 0.15rem 0.5rem;
    }
}

/* Tablets (≤ 768px) */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-image-wrapper img {
        width: min(300px, 80vw);
        height: min(300px, 80vw);
    }

    .hero-image-wrapper::before {
        width: min(300px, 80vw);
        height: min(300px, 80vw);
    }

    .contact-card {
        padding: 1.75rem;
    }

    .stats-row {
        gap: 1rem;
    }

    .section-header h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .about-stack-card {
        padding: 1.5rem;
    }

    .skill-category-card {
        padding: 1.25rem;
    }

    .project-card-header {
        padding: 1.25rem 1.25rem 0;
    }

    .project-card-body {
        padding: 1rem 1.25rem;
    }

    .project-card-footer {
        padding: 0.75rem 1.25rem 1.25rem;
    }

    .certs-section,
    .skills-section,
    .projects-section,
    .about-section,
    .contact-section {
        padding: 60px 0;
    }
}

/* Mobile phones (≤ 576px) */
@media (max-width: 576px) {
    .hero-section {
        padding: 90px 0 50px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-bio {
        font-size: 0.92rem;
    }

    .hero-image-wrapper img {
        width: min(260px, 78vw);
        height: min(260px, 78vw);
    }

    .hero-image-wrapper::before {
        width: min(260px, 78vw);
        height: min(260px, 78vw);
    }

    .btn-primary-custom,
    .btn-outline-custom {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-item {
        padding-left: 0.75rem !important;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: clamp(1.4rem, 6vw, 1.9rem);
    }

    .about-stack-card {
        padding: 1.25rem;
    }

    .contact-card {
        padding: 1.25rem;
    }

    .certs-section,
    .skills-section,
    .projects-section,
    .about-section,
    .contact-section {
        padding: 50px 0;
    }

    .filter-tabs {
        gap: 0.4rem;
    }

    .filter-tab {
        font-size: 0.75rem;
        padding: 0.35rem 0.85rem;
    }
}

/* Extra small phones (≤ 400px) */
@media (max-width: 400px) {
    .hero-image-wrapper img {
        width: 75vw;
        height: 75vw;
    }

    .hero-image-wrapper::before {
        width: 75vw;
        height: 75vw;
    }

    .navbar-brand .name {
        font-size: 0.95rem;
    }

    .profile-img {
        width: 32px;
        height: 32px;
    }
}

/* ==========================================
   About Section
   ========================================== */
.about-section {
    padding: 80px 0;
}

.about-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.85;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.about-tag {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--accent-primary);
    border-radius: 50px;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.about-stack-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.about-stack-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.about-stack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.stack-item {
    border-radius: 8px;
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.stack-item.primary {
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--accent-primary);
}

.stack-item.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.stack-item:hover {
    transform: translateY(-2px);
}

/* ==========================================
   Skill Emphasis (DE-first hierarchy)
   ========================================== */
.skill-category-card.skill-primary {
    border-color: rgba(0, 212, 255, 0.25);
    background: rgba(0, 212, 255, 0.04);
}

.skill-tag.skill-highlight {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--accent-primary);
    font-weight: 600;
}

/* ==========================================
   Architecture Flow (Project Cards)
   ========================================== */
.arch-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    margin: 0.75rem 0 1rem;
    padding: 0.6rem 0.75rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 8px;
}

.arch-flow span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.arch-arrow {
    color: var(--accent-primary) !important;
    font-size: 0.65rem !important;
    opacity: 0.7;
}

/* ==========================================
   DE Badge & Featured Project Card
   ========================================== */
.de-badge {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--accent-primary);
    border-radius: 50px;
    padding: 0.2rem 0.65rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.project-card-featured {
    border-color: rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.025);
}

.project-card-featured:hover {
    border-color: rgba(0, 212, 255, 0.45);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.08);
}