:root {
    --primary-color: #26D868; /* Vibrant Green */
    --secondary-color: #27CBCB; /* Cyan */
    --accent-color: #26D868;
    --bg-dark: #0a0a0a; /* Dark Navy/Black */
    --bg-darker: #050505;
    --bg-card: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    --border-color: #262626;
    --gradient-1: linear-gradient(135deg, #26D868 0%, #27CBCB 100%);
    --gradient-2: linear-gradient(135deg, #27CBCB 0%, #0066ff 100%);
    --shadow-glow: 0 0 30px rgba(38, 216, 104, 0.15);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
    --grid-color: rgba(39, 203, 203, 0.05); /* Subtle cyan grid */
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Preloader */
#modern-preloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.6s ease;
}

#preloader-counter {
    font-family: 'JetBrains Mono', monospace;
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary-color);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    background-image: linear-gradient(var(--grid-color) 1px, transparent 1px),
                      linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: -1px -1px;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* 3D Canvas Background */
#canvas3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

/* Navigation - Modern Minimalist Style */
body .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}

body .navbar.scrolled {
    padding: 1.5rem 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.modern-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-brand-code {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color 0.3s;
}

.nav-brand-code:hover {
    color: var(--secondary-color);
}

.modern-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.modern-nav-link {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.modern-nav-link:hover, .modern-nav-link.active {
    color: var(--text-primary);
}

.nav-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.modern-lang-toggle {
    font-family: 'JetBrains Mono', monospace;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.modern-lang-toggle:hover {
    color: var(--text-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 10rem;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.modern-hero {
    flex-direction: row;
    text-align: left;
}

@media (max-width: 968px) {
    .modern-hero {
        flex-direction: column-reverse;
        text-align: center;
    }
}

.hero-text-content {
    flex: 1;
    max-width: 650px;
}

.tech-comment {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(255,255,255,0.03);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.title-main {
    display: block;
    color: var(--text-primary);
}

.highlight-text {
    color: var(--primary-color);
}

.highlight-cyan {
    color: var(--secondary-color);
}

.modern-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

@media (max-width: 968px) {
    .hero-buttons {
        justify-content: center;
    }
}

/* Modern Button Styles matching Vercel reference */
.modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

.modern-btn.btn-primary {
    background: var(--primary-color);
    color: #000000;
    border: none;
}

.modern-btn.btn-primary:hover {
    transform: scale(1.05);
    background: #20b857; /* Slightly darker green */
    box-shadow: 0 4px 20px rgba(38, 216, 104, 0.4);
}

.modern-btn.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.modern-btn.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
}

/* Profile Card Styling */
.hero-profile-card {
    position: relative;
    width: 320px;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: transform 0.4s ease;
}

.hero-profile-card:hover {
    transform: translateY(-10px);
}

.profile-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.profile-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(39, 203, 203, 0.4) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    position: relative;
}

.profile-info {
    text-align: center;
}

.profile-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.profile-info p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-family: 'JetBrains Mono', monospace;
}

/* Glass Button Styles - Quantum Effect */
.glass-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(14px, 2.5vw, 16px) clamp(28px, 5vw, 32px);
    font-size: clamp(15px, 2.5vw, 17px);
    font-weight: 600;
    color: #e0e0ff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: clamp(12px, 2vw, 15px);
    backdrop-filter: blur(clamp(10px, 2vw, 12px));
    -webkit-backdrop-filter: blur(clamp(10px, 2vw, 12px));
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    overflow: hidden;
    text-transform: none;
    letter-spacing: clamp(0.5px, 0.2vw, 1px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.glass-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
}

.glass-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.glass-btn:hover svg {
    transform: translateX(3px);
}

/* Button 7: Quantum Flicker */
.btn-7:hover {
    animation: quantumFlicker 0.8s ease-in-out infinite;
}

@keyframes quantumFlicker {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    }
    50% { 
        opacity: 0.8; 
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    }
}

/* Apply Quantum style to all buttons */
.btn,
.btn-primary,
.btn-secondary,
button[type="submit"]:not(.key) {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(14px, 2.5vw, 16px) clamp(28px, 5vw, 32px);
    font-size: clamp(15px, 2.5vw, 17px);
    font-weight: 600;
    color: #e0e0ff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: clamp(12px, 2vw, 15px);
    backdrop-filter: blur(clamp(10px, 2vw, 12px));
    -webkit-backdrop-filter: blur(clamp(10px, 2vw, 12px));
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    overflow: hidden;
    text-transform: none;
    letter-spacing: clamp(0.5px, 0.2vw, 1px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
button[type="submit"]:not(.key):hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
    animation: quantumFlicker 0.8s ease-in-out infinite;
}

.btn svg,
.btn-primary svg,
.btn-secondary svg,
button[type="submit"]:not(.key) svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover svg,
.btn-primary:hover svg,
.btn-secondary:hover svg,
button[type="submit"]:not(.key):hover svg {
    transform: translateX(3px);
}

/* Black Hole Background */
black-hole {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

black-hole canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.label-6 {
    bottom: 15%;
    right: 20%;
    animation: float-label 9.5s ease-in-out infinite 0.8s;
}

@keyframes float-label {
    0%, 100% { 
        transform: translateY(0) translateX(0);
    }
    33% { 
        transform: translateY(-15px) translateX(10px);
    }
    66% { 
        transform: translateY(10px) translateX(-10px);
    }
}

.label-5 {
    animation: float-label-center 7.5s ease-in-out infinite 2s;
}

@keyframes float-label-center {
    0%, 100% { 
        transform: translateX(-50%) translateY(0);
    }
    33% { 
        transform: translateX(-50%) translateY(-15px);
    }
    66% { 
        transform: translateX(-50%) translateY(10px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    animation: arrow 2s infinite;
}

@keyframes arrow {
    0%, 100% { opacity: 0; transform: rotate(45deg) translateY(0); }
    50% { opacity: 1; transform: rotate(45deg) translateY(10px); }
}

/* Sections - Ensure visibility even without JS */
.section {
    padding: 8rem 2rem;
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    min-height: 400px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.section-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-line {
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.about-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-intro strong {
    color: var(--primary-color);
}

.about-expertise {
    margin-top: 3rem;
}

.about-expertise h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.expertise-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.expertise-tag:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* About Timeline */
.about-timeline {
    margin-top: 2rem;
}

.about-timeline h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    padding-bottom: 2.5rem;
}

.timeline-marker {
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-marker-inner {
    width: 10px;
    height: 10px;
    background: var(--bg-dark);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px rgba(39, 203, 203, 0.3);
}

.timeline-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.3px;
}

.timeline-place {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.25rem;
}

.timeline-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Experience Section */
.experience-section {
    background: var(--bg-darker);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.experience-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.exp-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.exp-icon {
    font-size: 2.5rem;
}

.exp-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.exp-company {
    color: var(--primary-color);
    font-weight: 500;
}

.exp-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.tag {
    padding: 0.35rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

/* Skills Section */
.skills-section {
    position: relative;
    z-index: 1;
    padding: 6rem 0;
}

.tech-stack-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tech-stack-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    gap: 2rem;
    width: 100%;
}

.tech-stack-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.highlight-cyan {
    color: var(--secondary-color);
}

.tech-stack-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
}

.tech-quote-box {
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
    min-width: 280px;
}

.quote-author {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-style: normal;
}

.tech-categories-layout {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.tech-category-row {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.tech-category-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    font-weight: 600;
}

.tech-chips-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-chip-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-chip-modern:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.tech-chip-modern img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain;
    display: block;
}

.tech-chip-modern span {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.tech-also-with {
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .tech-stack-header {
        flex-direction: column;
    }
    .tech-stack-title {
        font-size: 2.5rem;
    }
}

/* Projects Section */
.projects-section {
    background: var(--bg-darker);
    position: relative;
    z-index: 1;
}

.projects-section .section-header,
.projects-section .projects-grid-new {
    position: relative;
    z-index: 1;
}

.projects-grid-new {
    touch-action: none;
    padding-block: 2rem;
    width: 100%;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.project-card-new {
    -webkit-tap-highlight-color: #0000;
    width: 380px;
    min-height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.05); /* Minimalist Border */
    background: rgba(20, 20, 25, 0.8); /* Dark Gray Vercel style */
    position: relative;
    border-radius: 12px;
    container-type: size;
    cursor: pointer;
    transition-property: translate, scale;
    transition-duration: 0.12s;
    transition-timing-function: cubic-bezier(.645, .045, .355, 1);
}

.project-card-new > div {
    clip-path: inset(0 round 12px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    position: absolute;
    inset: 0;
    border-radius: 12px;
    overflow: hidden;
    padding: 1.2rem;
    box-sizing: border-box;
}

.project-card-new:hover {
    border-color: rgba(255, 255, 255, 0.15); /* Hover glow */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.project-card-new:active {
    translate: 0 1px;
    scale: 0.99;
}

.project-card-new::after {
    content: '';
    position: absolute;
    pointer-events: none;
    inset: 0px;
    border-radius: inherit;
    border: calc(var(--border-width, 3) * 1px) solid transparent;
    backdrop-filter: blur(calc(var(--border-blur, 0) * 1px)) saturate(var(--border-saturate, 4.2)) brightness(var(--border-brightness, 2.5)) contrast(var(--border-contrast, 2.5));
    mask: linear-gradient(#fff 0 100%) border-box, linear-gradient(#fff 0 100%) padding-box;
    mask-composite: exclude;
    z-index: 2;
    clip-path: inset(0 round 12px);
    transform: translateZ(0);
}

.project-card-new img,
.project-card-new svg {
    width: 70px;
    height: 70px;
    user-select: none;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.project-card-new img:nth-of-type(1),
.project-card-new svg:nth-of-type(1) {
    z-index: 2;
    position: relative;
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.project-card-new svg {
    color: white;
}

.project-card-new .img-container {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    transform: translateZ(0);
    filter: url(#blur-projects) saturate(var(--icon-saturate, 5)) brightness(var(--icon-brightness, 1.3));
    translate: calc(var(--pointer-x, -10) * 50cqi) calc(var(--pointer-y, -10) * 50cqh);
    scale: var(--icon-scale, 3.4);
    opacity: var(--icon-opacity, 0.25);
    will-change: transform, filter;
    z-index: 0;
    overflow: hidden;
}

.project-card-new .img-container img,
.project-card-new .img-container svg {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.project-card-new .img-container svg {
    color: white;
}

.project-card-new h2 {
    z-index: 4;
    position: relative;
    font-size: 1.15rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    margin: 0;
    margin-top: 0.3rem;
    user-select: none;
    color: var(--text-primary);
    text-align: center;
    flex-shrink: 0;
    line-height: 1.3;
}

.project-card-new p {
    z-index: 4;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0.3rem 0;
    font-size: 0.85rem;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    max-height: 3.4em;
}

.project-card-new .project-tags {
    z-index: 4;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.project-card-link {
    position: absolute;
    inset: 0;
    z-index: 5;
    text-decoration: none;
}

[data-exclude='true'] .project-card-new .img-container {
    opacity: calc(var(--icon-opacity, 0.25) * 0.25);
    transition: opacity 0.26s ease-out;
}

[data-exclude='true'] .project-card-new:is(:hover, :focus-within) .img-container {
    opacity: var(--icon-opacity, 0.25);
}

/* Contact Section */
.contact-content-new {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.contact-info-text {
    text-align: center;
    max-width: 600px;
}

.contact-info-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info-text p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-cards-main {
    touch-action: none;
    padding-block: 2rem;
    width: 100%;
    max-width: 800px;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-card {
    -webkit-tap-highlight-color: #0000;
    width: 300px;
    aspect-ratio: 4 / 3;
    outline: 2px solid var(--border-color);
    background: var(--bg-card);
    position: relative;
    border-radius: 12px;
    container-type: size;
    cursor: pointer;
    transition-property: translate, scale;
    transition-duration: 0.12s;
    transition-timing-function: cubic-bezier(.645, .045, .355, 1);
}

.contact-card > div {
    clip-path: inset(0 round 12px);
    overflow: hidden;
    align-content: center;
    display: grid;
    place-items: center;
    gap: 0.5rem;
    position: absolute;
    inset: 0;
    border-radius: 12px;
    overflow: hidden;
}

.contact-card:active {
    translate: 0 1px;
    scale: 0.99;
}

.contact-card::after {
    content: '';
    position: absolute;
    pointer-events: none;
    inset: 0px;
    border-radius: inherit;
    border: calc(var(--border-width, 3) * 1px) solid transparent;
    backdrop-filter: blur(calc(var(--border-blur, 0) * 1px)) saturate(var(--border-saturate, 4.2)) brightness(var(--border-brightness, 2.5)) contrast(var(--border-contrast, 2.5));
    mask: linear-gradient(#fff 0 100%) border-box, linear-gradient(#fff 0 100%) padding-box;
    mask-composite: exclude;
    z-index: 2;
    clip-path: inset(0 round 12px);
    transform: translateZ(0);
}

.contact-card img {
    width: 100px;
    user-select: none;
    filter: brightness(0) invert(1);
}

.contact-card img:nth-of-type(1) {
    z-index: 2;
    position: relative;
}

.contact-card .img-container {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    transform: translateZ(0);
    filter: url(#blur) saturate(var(--icon-saturate, 5)) brightness(var(--icon-brightness, 1.3));
    translate: calc(var(--pointer-x, -10) * 50cqi) calc(var(--pointer-y, -10) * 50cqh);
    scale: var(--icon-scale, 3.4);
    opacity: var(--icon-opacity, 0.25);
    will-change: transform, filter;
}

.contact-card .img-container img {
    filter: brightness(0) invert(1);
}

.contact-card h2 {
    z-index: 4;
    position: relative;
    font-size: 1rem;
    margin: 0;
    user-select: none;
    color: var(--text-primary);
}

.contact-card-link {
    position: absolute;
    inset: 0;
    z-index: 5;
    text-decoration: none;
}

[data-exclude='true'] .contact-card .img-container {
    opacity: calc(var(--icon-opacity, 0.25) * 0.25);
    transition: opacity 0.26s ease-out;
}

[data-exclude='true'] .contact-card:is(:hover, :focus-within) .img-container {
    opacity: var(--icon-opacity, 0.25);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Contact Form with Keypad */
.contact-form-section {
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
}

.contact-form-text {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.contact-form-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.contact-form-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.8;
}

.contact-form-keypad {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-keypad input,
.contact-form-keypad textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-keypad input:focus,
.contact-form-keypad textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.contact-form-keypad textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-keypad button[type="submit"] {
    position: relative;
    padding: clamp(14px, 2.5vw, 16px) clamp(28px, 5vw, 32px);
    border-radius: clamp(12px, 2vw, 15px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e0e0ff;
    font-weight: 600;
    font-size: clamp(15px, 2.5vw, 17px);
    cursor: pointer;
    backdrop-filter: blur(clamp(10px, 2vw, 12px));
    -webkit-backdrop-filter: blur(clamp(10px, 2vw, 12px));
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: clamp(0.5px, 0.2vw, 1px);
    overflow: hidden;
}

.contact-form-keypad button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
    animation: quantumFlicker 0.8s ease-in-out infinite;
}

/* Keypad Styles */
.keypad {
    position: relative;
    aspect-ratio: 400 / 310;
    display: flex;
    place-items: center;
    width: clamp(280px, 35vw, 400px);
    -webkit-tap-highlight-color: #0000;
    transition-property: translate, transform;
    transition-duration: 0.26s;
    transition-timing-function: ease-out;
    transform-style: preserve-3d;
    opacity: 0;
}

.keypad[data-visible="true"] {
    opacity: 1;
}

.key {
    transform-style: preserve-3d;
    border: 0;
    background: #0000;
    padding: 0;
    cursor: pointer;
    outline: none;
}

.key[data-pressed='true'] .key__content,
.key:active .key__content {
    transform: translateY(calc(var(--travel, 26) * 1%));
}

.key__content {
    width: 100%;
    display: inline-block;
    height: 100%;
    transition: transform 0.12s ease-out;
    container-type: inline-size;
}

.keypad__single .key__text {
    width: 52%;
    height: 62%;
    transform: translate(45%, -16%);
}

.key__text {
    height: 46%;
    width: 86%;
    position: absolute;
    font-size: 12cqi;
    z-index: 21;
    top: 5%;
    left: 0;
    mix-blend-mode: normal;
    color: hsl(0 0% 94%);
    transform: translate(8%, 10%) rotateX(36deg) rotateY(45deg) rotateX(-90deg) rotate(0deg);
    text-align: left;
    padding: 1ch;
    pointer-events: none;
    font-weight: 600;
}

.keypad__single {
    position: absolute;
    width: 40.5%;
    left: 54%;
    bottom: 36%;
    height: 46%;
    clip-path: polygon(
        0 0,
        54% 0,
        89% 24%,
        100% 70%,
        54% 100%,
        46% 100%,
        0 69%,
        12% 23%,
        47% 0%
    );
    -webkit-mask: url(https://assets.codepen.io/605876/keypad-single.png?format=auto&quality=86) 50% 50% / 100% 100% no-repeat;
    mask: url(https://assets.codepen.io/605876/keypad-single.png?format=auto&quality=86) 50% 50% / 100% 100% no-repeat;
    mask-mode: alpha;
    -webkit-mask-mode: alpha;
}

.keypad__single--left {
    left: 29.3%;
    bottom: 54.2%;
}

.keypad__single .key__text {
    font-size: 18cqi;
}

.key img {
    top: 0;
    opacity: 1;
    width: 96%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 1%);
    filter: hue-rotate(calc(var(--hue, 0) * 1deg)) saturate(var(--saturate, 1)) brightness(var(--brightness, 1));
    transition: transform 0.12s ease-out;
    pointer-events: none;
}

.key__mask {
    width: 100%;
    height: 100%;
    display: inline-block;
}

.keypad__double {
    position: absolute;
    background: hsl(10 100% 50% / 0);
    width: 64%;
    height: 65%;
    left: 6%;
    bottom: 17.85%;
    clip-path: polygon(
        34% 0,
        93% 44%,
        101% 78%,
        71% 100%,
        66% 100%,
        0 52%,
        0 44%,
        7% 17%,
        30% 0
    );
    -webkit-mask: url(https://assets.codepen.io/605876/keypad-double.png?format=auto&quality=86) 50% 50% / 100% 100% no-repeat;
    mask: url(https://assets.codepen.io/605876/keypad-double.png?format=auto&quality=86) 50% 50% / 100% 100% no-repeat;
    mask-mode: alpha;
    -webkit-mask-mode: alpha;
}

.keypad__double img {
    top: 0;
    opacity: 1;
    width: 99%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 1%);
    pointer-events: none;
}

.keypad__base {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.keypad__base img {
    transition: translate 0.12s ease-out;
    width: 100%;
}

.key::after {
    z-index: -1;
    content: '';
    position: absolute;
    opacity: 0;
    inset: 0;
    transition-property: opacity;
    transition-duration: 0.26s;
    transition-timing-function: ease-out;
    background: repeating-linear-gradient(
        -45deg,
        #0000 0 5px,
        hsl(220 100% 70%) 5px 6px
    );
}

[data-exploded='true'] .key::after {
    opacity: 1;
    transition-delay: 0.52s;
}

@media (max-width: 768px) {
    .contact-form-section {
        flex-direction: column;
    }
    
    .contact-form-text {
        order: 2;
        max-width: 100%;
    }
    
    .keypad {
        order: 1;
    }
    
    .contact-form-text h1 {
        font-size: 2rem;
    }
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.footer-tagline {
    color: var(--primary-color) !important;
    font-weight: 500;
}

/* Animations */
[data-aos] {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure sections are visible even before animation */
.skills-section [data-aos],
.projects-section [data-aos],
.about-section [data-aos] {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}


/* Modern Shapes - Replace Icons */
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gradient-1);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

/* Card Shapes */
.card-shape {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.shape-1 {
    background: var(--gradient-1);
    transform: rotate(45deg);
}

.shape-1::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 100%);
}

.shape-2 {
    background: var(--gradient-2);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-3 {
    background: var(--gradient-1);
    border-radius: 50%;
    position: relative;
}

.shape-3::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--bg-card);
    border-radius: 50%;
}

.shape-4 {
    background: var(--gradient-1);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    transform: rotate(45deg);
}

.shape-5 {
    background: var(--gradient-2);
    border-radius: 50%;
    position: relative;
}

.shape-5::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 25px;
    background: var(--bg-card);
    border-radius: 50%;
}

.shape-6 {
    background: var(--gradient-1);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

/* Experience Shapes */
.exp-shape {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    flex-shrink: 0;
}

.exp-shape-1 {
    background: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    transform: rotate(45deg);
}

.exp-shape-2 {
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.exp-shape-3 {
    background: linear-gradient(135deg, #ff0066 0%, #ff3366 100%);
    border-radius: 50%;
}

.exp-shape-4 {
    background: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.exp-period {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.timeline-detail {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* Category Shapes */
.category-shape {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.category-shape-1 {
    background: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    transform: rotate(45deg);
}

.category-shape-2 {
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.category-shape-3 {
    background: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    border-radius: 50%;
}

.category-shape-4 {
    background: linear-gradient(135deg, #ff0066 0%, #ff3366 100%);
    transform: rotate(45deg);
}

.category-shape-5 {
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.category-shape-6 {
    background: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.category-shape-7 {
    background: linear-gradient(135deg, #ff0066 0%, #ff3366 100%);
    border-radius: 50%;
}

/* Project Images - Replaced shapes with real images */
.project-shape {
    display: none;
}

.project-shape-1 {
    background: var(--gradient-1);
    transform: translate(-50%, -50%) rotate(45deg);
}

.project-shape-2 {
    background: var(--gradient-2);
    border-radius: 50%;
}

.project-shape-3 {
    background: var(--gradient-1);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.project-shape-4 {
    background: var(--gradient-2);
    transform: translate(-50%, -50%) rotate(45deg);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.project-shape-5 {
    background: var(--gradient-1);
    border-radius: 50%;
}

.project-shape-6 {
    background: var(--gradient-2);
    transform: translate(-50%, -50%) rotate(45deg);
}

.project-shape-7 {
    background: var(--gradient-1);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Link Shapes */
.link-shape {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
}

.link-shape-1 {
    background: var(--gradient-1);
    transform: rotate(45deg);
}

.link-shape-2 {
    background: var(--gradient-2);
    border-radius: 50%;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Remove old icon styles - but keep them hidden */
.card-icon,
.exp-icon,
.category-icon,
.project-icon,
.link-icon {
    display: none !important;
}

/* Ensure shapes are visible */
.exp-shape,
.category-shape,
.project-shape,
.link-shape,
.card-shape {
    display: block !important;
}

/* Ensure experience cards are visible */
.experience-card {
    opacity: 1 !important;
    visibility: visible !important;
}

.experience-card .exp-header {
    display: flex !important;
    align-items: center;
    gap: 1rem;
}

/* Ensure skill categories are visible */
.skill-category {
    opacity: 1 !important;
    visibility: visible !important;
}

.skill-category .category-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

/* Fix for exp-info display */
.exp-info {
    flex: 1;
}

.exp-info h3 {
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
}

.exp-company {
    display: block;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
}

/* Modern Skills Grid - No Progress Bars */
.skills-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.skill-tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.skill-tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-tech-card:hover::before {
    left: 100%;
}

.skill-tech-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 212, 255, 0.05) 100%);
}

.skill-tech-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.tech-shape {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tech-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
    opacity: 0.9;
}

.tech-logo[alt*="AWS"],
.tech-logo[alt*="Power BI"],
.tech-logo[alt*="PowerBI"] {
    filter: brightness(0) invert(1) drop-shadow(0 0 3px rgba(255, 255, 255, 0.4));
    opacity: 1;
}

.skill-tech-card:hover .tech-shape {
    transform: rotate(360deg) scale(1.2);
}

.skill-tech-card:hover .tech-logo {
    filter: brightness(1.3) invert(0) drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
}

.skill-tech-card:hover .tech-logo[alt*="AWS"],
.skill-tech-card:hover .tech-logo[alt*="Power BI"],
.skill-tech-card:hover .tech-logo[alt*="PowerBI"] {
    filter: brightness(1.2) invert(0) drop-shadow(0 0 10px rgba(0, 212, 255, 0.7));
    opacity: 1;
}

.tech-shape-1 {
    background: var(--gradient-1);
    border-radius: 15px;
    transform: rotate(45deg);
}

.tech-shape-1 .tech-logo {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.skill-tech-card:hover .tech-shape-1 .tech-logo {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1.15);
}

.tech-shape-1::after {
    display: none;
}

.tech-shape-2 {
    background: var(--gradient-2);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.tech-shape-2 .tech-logo {
    filter: brightness(0) invert(1);
}

.tech-shape-3 {
    background: var(--gradient-1);
    border-radius: 50%;
}

.tech-shape-3 .tech-logo {
    filter: brightness(0) invert(1);
}

.tech-shape-4 {
    background: var(--gradient-2);
    transform: rotate(45deg);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.tech-shape-4 .tech-logo {
    transform: translate(-50%, -50%) rotate(-45deg);
    filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

.skill-tech-card:hover .tech-shape-4 .tech-logo {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1.15);
    filter: brightness(1.3) invert(0) drop-shadow(0 0 8px rgba(255, 0, 102, 0.6));
}

.tech-shape-5 {
    background: var(--gradient-1);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.tech-shape-5 .tech-logo {
    filter: brightness(0) invert(1);
}

.tech-shape-6 {
    background: var(--gradient-2);
    border-radius: 50%;
    position: relative;
}

.tech-shape-6 .tech-logo {
    filter: brightness(0) invert(1);
}

.tech-shape-6::after {
    display: none;
}

.tech-shape-7 {
    background: var(--gradient-1);
    transform: rotate(45deg);
    border-radius: 12px;
}

.tech-shape-7 .tech-logo {
    transform: translate(-50%, -50%) rotate(-45deg);
    filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

.skill-tech-card:hover .tech-shape-7 .tech-logo {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1.15);
    filter: brightness(1.3) invert(0) drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

.tech-shape-8 {
    background: var(--gradient-2);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    transform: rotate(45deg);
}

.tech-shape-8 .tech-logo {
    transform: translate(-50%, -50%) rotate(-45deg);
    filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

.skill-tech-card:hover .tech-shape-8 .tech-logo {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1.15);
    filter: brightness(1.3) invert(0) drop-shadow(0 0 8px rgba(255, 0, 102, 0.6));
}

/* Remove old skill bars */
.skill-bar,
.skill-progress {
    display: none !important;
}

/* Ensure timeline is visible */
.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.timeline-content {
    opacity: 1 !important;
    visibility: visible !important;
}

.timeline {
    opacity: 1 !important;
    visibility: visible !important;
}

.about-timeline {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Ensure projects are visible */
.project-shape {
    display: block !important;
    opacity: 0.3 !important;
}

.project-card:hover .project-shape {
    opacity: 0.5 !important;
}

.projects-section,
.skills-section,
.about-timeline {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.projects-grid,
.skills-modern-grid {
    opacity: 1 !important;
    visibility: visible !important;
    display: grid !important;
}

.timeline {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.timeline-item,
.skill-tech-card,
.project-card {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Text Shadow Effects */
.elegantshadow {
    display: inline-block;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 102, 255, 0.15) 100%);
    letter-spacing: .15em;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-weight: 600;
    text-shadow: 
      1px -1px 0 rgba(0, 212, 255, 0.3), 
      -1px 2px 1px rgba(0, 212, 255, 0.25), 
      -2px 4px 1px rgba(0, 212, 255, 0.2), 
      -3px 6px 1px rgba(0, 212, 255, 0.15), 
      -4px 8px 1px rgba(0, 212, 255, 0.1), 
      -5px 10px 1px rgba(0, 212, 255, 0.08), 
      -6px 12px 1px rgba(0, 212, 255, 0.06), 
      -7px 14px 1px rgba(0, 212, 255, 0.05), 
      -8px 16px 1px rgba(0, 212, 255, 0.04), 
      -9px 18px 1px rgba(0, 212, 255, 0.03), 
      -10px 20px 1px rgba(0, 212, 255, 0.02), 
      -11px 22px 1px rgba(0, 212, 255, 0.02), 
      -12px 24px 1px rgba(0, 212, 255, 0.01), 
      -13px 26px 1px rgba(0, 212, 255, 0.01), 
      -14px 28px 1px rgba(0, 212, 255, 0.01), 
      -15px 30px 1px rgba(0, 212, 255, 0.01), 
      -16px 32px 1px rgba(0, 212, 255, 0.01), 
      -17px 34px 1px rgba(0, 212, 255, 0.01), 
      -18px 36px 1px rgba(0, 212, 255, 0.01), 
      -19px 38px 1px rgba(0, 212, 255, 0.01), 
      -20px 40px 1px rgba(0, 212, 255, 0.01), 
      -21px 42px 1px rgba(0, 212, 255, 0.01), 
      -22px 44px 1px rgba(0, 212, 255, 0.01), 
      -23px 46px 1px rgba(0, 212, 255, 0.01), 
      -24px 48px 1px rgba(0, 212, 255, 0.01), 
      -25px 50px 1px rgba(0, 212, 255, 0.01), 
      -26px 52px 1px rgba(0, 212, 255, 0.01), 
      -27px 54px 1px rgba(0, 212, 255, 0.01), 
      -28px 56px 1px rgba(0, 212, 255, 0.01);
}

.deepshadow {
    display: inline-block;
    color: #e0dfdc;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2) 0%, rgba(0, 212, 255, 0.2) 100%);
    letter-spacing: .1em;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-weight: 600;
    text-shadow: 
      0 -1px 0 rgba(255, 255, 255, 0.3), 
      0 1px 0 rgba(0, 0, 0, 0.8), 
      0 2px 0 rgba(0, 0, 0, 0.75), 
      0 3px 0 rgba(0, 0, 0, 0.7), 
      0 4px 0 rgba(0, 0, 0, 0.65), 
      0 5px 0 rgba(0, 0, 0, 0.6), 
      0 6px 0 rgba(0, 0, 0, 0.55), 
      0 7px 0 rgba(0, 0, 0, 0.5), 
      0 8px 0 rgba(0, 0, 0, 0.45), 
      0 9px 0 rgba(0, 0, 0, 0.4), 
      0 10px 0 rgba(0, 0, 0, 0.35), 
      0 11px 0 rgba(0, 0, 0, 0.3), 
      0 12px 0 rgba(0, 0, 0, 0.25), 
      0 13px 0 rgba(0, 0, 0, 0.2), 
      0 14px 0 rgba(0, 0, 0, 0.15), 
      0 15px 0 rgba(0, 0, 0, 0.1), 
      0 22px 30px rgba(0, 0, 0, 0.9);
}

.insetshadow {
    display: inline-block;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 0, 102, 0.15) 0%, rgba(255, 51, 102, 0.15) 100%);
    letter-spacing: .1em;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-weight: 600;
    text-shadow: 
      -1px -1px 1px rgba(0, 0, 0, 0.8), 
      2px 2px 1px rgba(0, 212, 255, 0.4);
}

.retroshadow {
    display: inline-block;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 102, 255, 0.2) 100%);
    letter-spacing: .05em;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-weight: 600;
    text-shadow: 
      4px 4px 0px rgba(0, 212, 255, 0.3), 
      7px 7px 0px rgba(0, 0, 0, 0.5);
}

/* ===== Hero Portfolio Redesign ===== */
.hero-portfolio {
    padding: 7.2rem 2rem 7.8rem;
}

.hero-video-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    filter: saturate(1.08) contrast(1.06) brightness(0.5);
}

.binary-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.32;
    mix-blend-mode: screen;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 45%, rgba(0, 212, 255, 0.12), transparent 35%),
        radial-gradient(circle at 25% 18%, rgba(0, 102, 255, 0.18), transparent 38%),
        linear-gradient(94deg, rgba(2, 8, 30, 0.88) 0%, rgba(2, 8, 30, 0.62) 44%, rgba(2, 8, 30, 0.86) 100%);
}

.hero-portfolio .hero-content {
    position: relative;
    z-index: 2;
}

.hero-grid {
    width: min(1320px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 350px);
    gap: clamp(1.1rem, 2.3vw, 2rem);
    align-items: stretch;
}

.hero-portfolio .hero-text {
    text-align: left;
    background: rgba(5, 12, 32, 0.42);
    border: 1px solid rgba(145, 198, 255, 0.16);
    backdrop-filter: blur(7px);
    border-radius: 20px;
    padding: clamp(1.3rem, 2.6vw, 2rem);
    box-shadow: 0 12px 40px rgba(1, 8, 30, 0.34);
}

.hero-portfolio .hero-badge {
    background: rgba(8, 20, 48, 0.45);
    border-color: rgba(145, 198, 255, 0.28);
    color: #c7e2ff;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 500;
}

.hero-portfolio .hero-title {
    font-family: 'Sora', 'Inter', sans-serif;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}

.hero-portfolio .title-line {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    color: #b8c9e6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    margin-bottom: 0.25rem;
}

.hero-portfolio .title-name {
    font-family: 'Sora', 'Inter', sans-serif;
    font-weight: 700;
}

.hero-portfolio .hero-description {
    max-width: 52ch;
    color: #c8d9f3;
    font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.hero-portfolio .glass-btn {
    background: rgba(10, 20, 46, 0.44);
    border-color: rgba(153, 202, 255, 0.28);
    color: #eff6ff;
    box-shadow: none;
}

.hero-portfolio .glass-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(3, 10, 35, 0.34);
}

.hero-portfolio .btn-7:hover {
    animation: none;
}

.hero-metrics {
    display: grid;
    gap: 0.72rem;
}

.metric-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: rgba(5, 13, 32, 0.56);
    border: 1px solid rgba(159, 208, 255, 0.2);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    border-color: rgba(176, 218, 255, 0.45);
    background: rgba(9, 18, 42, 0.64);
}

.metric-value {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: clamp(0.98rem, 1.45vw, 1.08rem);
    font-weight: 600;
    color: #eef5ff;
    line-height: 1.25;
}

.metric-label {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 0.86rem;
    color: #afc3df;
    line-height: 1.35;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-portfolio {
        padding: 7rem 1.25rem 7rem;
    }

    .hero-portfolio .hero-text {
        text-align: center;
    }

    .hero-portfolio .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-video {
        opacity: 0.36;
    }

    .binary-overlay {
        opacity: 0.25;
    }
}

/* ===== Clean refinements: Header, About, Experience ===== */
.navbar {
    padding: 1rem 0;
    background: rgba(5, 12, 30, 0.72);
    border-bottom: 1px solid rgba(141, 195, 255, 0.16);
    backdrop-filter: blur(16px);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(5, 12, 30, 0.92);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.26);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    -webkit-text-fill-color: initial;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(145deg, rgba(12, 33, 72, 0.98), rgba(9, 23, 52, 0.98));
    border: 1px solid rgba(166, 211, 255, 0.34);
}

.logo-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-text {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 0.97rem;
    font-weight: 600;
    color: #eff7ff;
}

.logo-role {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 0.72rem;
    color: #9fb6d8;
    letter-spacing: 0.03em;
}

.navbar .nav-link {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 0.94rem;
    color: #c3d4ee;
}

.navbar .nav-link:hover {
    color: #f3f9ff;
}

.lang-toggle {
    border: 1px solid rgba(159, 205, 255, 0.34);
    background: rgba(8, 22, 52, 0.75);
    color: #d9ebff;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.22s ease;
}

.lang-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(196, 228, 255, 0.6);
    color: #ffffff;
}

[vw-access-button] {
    z-index: 1300 !important;
}

.about-text p {
    color: #b8c9e3;
    line-height: 1.85;
    margin-bottom: 1.1rem;
    font-size: 1.02rem;
}

.about-section .about-intro {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(1.08rem, 1.6vw, 1.22rem);
    color: #d9e8fb;
    margin-bottom: 1.35rem;
}

.about-section .about-intro strong {
    color: #9fd8ff;
}

.about-section .about-expertise h4 {
    font-family: 'Sora', 'Inter', sans-serif;
    color: #ecf5ff;
}

.about-section .expertise-tag {
    background: rgba(6, 16, 40, 0.7);
    border-color: rgba(137, 194, 255, 0.28);
    color: #c5e3ff;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.about-section .expertise-tag:hover {
    border-color: rgba(176, 221, 255, 0.56);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.experience-section .experience-card {
    background: linear-gradient(180deg, rgba(12, 23, 51, 0.65) 0%, rgba(8, 16, 38, 0.78) 100%);
    border: 1px solid rgba(132, 190, 255, 0.2);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(2, 8, 26, 0.24);
}

.experience-section .experience-card:hover {
    border-color: rgba(170, 214, 255, 0.55);
    box-shadow: 0 18px 48px rgba(2, 8, 26, 0.35);
}

.exp-icon-modern {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #d6ebff;
    background: linear-gradient(145deg, rgba(22, 50, 96, 0.9), rgba(15, 35, 72, 0.9));
    border: 1px solid rgba(154, 205, 255, 0.34);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.experience-section .exp-info h3 {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1.08rem;
    color: #f1f7ff;
    letter-spacing: -0.01em;
}

.experience-section .exp-company {
    color: #90caff;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.experience-section .exp-description {
    color: #bfd0e8;
    font-size: 0.98rem;
}

.experience-section .exp-period {
    background: rgba(8, 26, 56, 0.74);
    border-color: rgba(145, 203, 255, 0.38);
    color: #bfe2ff;
}

@media (max-width: 768px) {
    .logo-role {
        display: none;
    }

    .lang-toggle {
        margin-left: auto;
        margin-right: 0.75rem;
    }
}

/* ===== Metric Cards with Icons ===== */
.metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 0.3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-libras .metric-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(168, 85, 247, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #ddd6fe;
}

.metric-arduino .metric-icon {
    background: linear-gradient(135deg, rgba(0, 151, 157, 0.3), rgba(16, 185, 129, 0.15));
    border: 1px solid rgba(0, 151, 157, 0.4);
    color: #a7f3d0;
}

.metric-engineering .metric-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #bfdbfe;
}

.metric-card:hover .metric-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.metric-libras:hover {
    border-color: rgba(139, 92, 246, 0.5);
}

.metric-arduino:hover {
    border-color: rgba(0, 151, 157, 0.5);
}

.metric-engineering:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

/* ===== Expertise Tags Highlight ===== */
.expertise-tag--highlight {
    background: rgba(139, 92, 246, 0.15) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
    color: #e0d4ff !important;
    font-weight: 600;
}

.expertise-tag--highlight:hover {
    border-color: rgba(139, 92, 246, 0.7) !important;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2) !important;
}

/* ===== Libras & Acessibilidade Section ===== */
.libras-section {
    position: relative;
    overflow: hidden;
}

.libras-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.libras-intro {
    margin-bottom: 3rem;
    max-width: 720px;
}

.libras-statement {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(1.1rem, 1.6vw, 1.25rem);
    color: #d9e8fb;
    line-height: 1.8;
    border-left: 3px solid rgba(139, 92, 246, 0.6);
    padding-left: 1.5rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.showcase-card {
    position: relative;
    background: linear-gradient(180deg, rgba(12, 23, 51, 0.65) 0%, rgba(8, 16, 38, 0.78) 100%);
    border: 1px solid rgba(132, 190, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.6), rgba(59, 130, 246, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-card:hover::before {
    opacity: 1;
}

.showcase-card:hover {
    transform: translateY(-8px);
    border-color: rgba(170, 214, 255, 0.45);
    box-shadow: 0 20px 60px rgba(2, 8, 26, 0.4), 0 0 40px rgba(139, 92, 246, 0.08);
}

.showcase-card--featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(20, 12, 50, 0.75) 0%, rgba(12, 20, 45, 0.78) 100%);
    border-color: rgba(139, 92, 246, 0.3);
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto 1fr auto;
    column-gap: 1.5rem;
}

.showcase-card--featured .showcase-card__badge {
    grid-column: 1 / -1;
}

.showcase-card--featured .showcase-card__icon {
    grid-row: 2 / 4;
    align-self: start;
}

.showcase-card--featured::before {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.8), rgba(168, 85, 247, 0.4), rgba(59, 130, 246, 0.8));
    opacity: 1;
    height: 3px;
}

.showcase-card--featured:hover {
    box-shadow: 0 20px 60px rgba(2, 8, 26, 0.4), 0 0 50px rgba(139, 92, 246, 0.12);
}

.showcase-card__badge {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ede9fe;
    background: rgba(88, 50, 180, 0.35);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    margin-bottom: 1rem;
    width: fit-content;
}

.showcase-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin-bottom: 1.2rem;
    color: #ddd6fe;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.25);
    transition: all 0.3s ease;
}

.showcase-card:hover .showcase-card__icon {
    transform: scale(1.08);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.showcase-card h3 {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f7ff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.showcase-card p {
    color: #bfd0e8;
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.showcase-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}


.showcase-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #93c5fd;
    text-decoration: none;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.showcase-link:hover {
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

.showcase-link svg {
    flex-shrink: 0;
}

/* Tech Stack Chips */
.showcase-card__tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    background: rgba(6, 16, 40, 0.7);
    border: 1px solid rgba(137, 194, 255, 0.2);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: #c5e3ff;
    transition: all 0.2s ease;
}

.tech-chip img {
    filter: brightness(0) invert(0.85);
    opacity: 0.8;
}

.tech-chip:hover {
    border-color: rgba(137, 194, 255, 0.45);
    transform: translateY(-1px);
}

/* Libras Impact Stats */
.libras-impact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(139, 92, 246, 0.15);
}

.impact-stat {
    text-align: center;
    padding: 1.5rem;
}

.impact-number {
    display: block;
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #afc3df;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .libras-impact {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-card--featured {
        grid-template-columns: 1fr;
    }

    .showcase-card--featured .showcase-card__icon {
        grid-row: auto;
    }
}

/* ===== Arduino & IoT Lab Section ===== */
.arduino-section {
    position: relative;
    overflow: hidden;
}

.arduino-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(0, 151, 157, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.arduino-intro {
    margin-bottom: 3rem;
    max-width: 720px;
}

.arduino-statement {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(1.1rem, 1.6vw, 1.25rem);
    color: #d9e8fb;
    line-height: 1.8;
    border-left: 3px solid rgba(0, 151, 157, 0.6);
    padding-left: 1.5rem;
}

.showcase-card--circuit .showcase-card__badge {
    color: #6ee7b7;
    background: rgba(0, 151, 157, 0.15);
    border-color: rgba(0, 151, 157, 0.3);
}

.showcase-card--circuit .showcase-card__icon {
    color: #6ee7b7;
    background: linear-gradient(145deg, rgba(0, 151, 157, 0.15), rgba(16, 185, 129, 0.05));
    border-color: rgba(0, 151, 157, 0.25);
}

.showcase-card--circuit:hover .showcase-card__icon {
    border-color: rgba(0, 151, 157, 0.5);
    box-shadow: 0 0 30px rgba(0, 151, 157, 0.15);
}

.showcase-card--circuit::before {
    background: linear-gradient(90deg, rgba(0, 151, 157, 0.6), rgba(16, 185, 129, 0.6));
}

.showcase-card--circuit:hover {
    box-shadow: 0 20px 60px rgba(2, 8, 26, 0.4), 0 0 40px rgba(0, 151, 157, 0.08);
}

/* Circuit Board Decoration */
.arduino-diagram {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 200px;
    pointer-events: none;
    opacity: 0.12;
}

.circuit-line {
    position: absolute;
    background: rgba(0, 151, 157, 0.5);
}

.circuit-line--1 {
    width: 120px;
    height: 2px;
    bottom: 60px;
    right: 40px;
}

.circuit-line--2 {
    width: 2px;
    height: 80px;
    bottom: 60px;
    right: 40px;
}

.circuit-line--3 {
    width: 80px;
    height: 2px;
    bottom: 140px;
    right: 40px;
}

.circuit-node {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 151, 157, 0.8);
    box-shadow: 0 0 10px rgba(0, 151, 157, 0.4);
}

.circuit-node--1 {
    bottom: 57px;
    right: 157px;
}

.circuit-node--2 {
    bottom: 137px;
    right: 37px;
}

.circuit-node--3 {
    bottom: 137px;
    right: 117px;
}

@media (max-width: 768px) {
    .arduino-diagram {
        display: none;
    }
}