/* =========================================
   Linear / Vercel / OpenAI Inspired Premium Theme
   ========================================= */

:root {
    /* Color Palette */
    --bg-base: #050816;
    --bg-surface: rgba(15, 23, 42, 0.4);

    --primary: #00D9FF;
    --secondary: #3B82F6;
    --accent: #8B5CF6;

    --text-main: #FFFFFF;
    --text-muted: #94A3B8;

    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   Backgrounds & Effects
   ========================================= */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent), transparent 70%);
}

.orb-2 {
    bottom: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-5%, 5%) scale(1.1);
    }
}

/* =========================================
   Typography & Layout
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 120px 0;
    position: relative;
}

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

.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* =========================================
   Glass Panel Utilities
   ========================================= */
.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: var(--glass-hover);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn i {
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-base);
}

.btn-primary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-main);
    border-color: var(--glass-border);
    backdrop-filter: blur(8px);
}

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
    transform: translateY(0);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar.scrolled {
    background: rgba(5, 8, 22, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--glass-border);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.scroll-progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    z-index: 101;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: 0 0 10px var(--primary);
    transition: width 0.1s ease-out;
}

.nav-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.05em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 8px var(--primary);
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a.active {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-base);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-nav a.active,
.mobile-nav a:hover {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
    transform: scale(1.05);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
    overflow: hidden;
}

#neuralCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

.hero-container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 217, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1.25rem;
    min-height: 2rem;
}

.typewriter-text {
    color: var(--primary);
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.typewriter-cursor {
    display: inline-block;
    color: var(--primary);
    font-weight: bold;
    animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-tagline {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

/* 3D Cyber Profile Card */
.cyber-card-wrapper {
    perspective: 1000px;
    width: 100%;
}

.cyber-profile-card {
    position: relative;
    padding: 1.75rem;
    background: rgba(10, 15, 35, 0.7);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 217, 255, 0.05);
}

.cyber-profile-card:hover {
    box-shadow: 0 25px 50px rgba(0, 217, 255, 0.25), inset 0 0 30px rgba(0, 217, 255, 0.1);
}

.card-glow-ring {
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.4), transparent, rgba(139, 92, 246, 0.4));
    z-index: -1;
    opacity: 0.6;
    animation: ringGlow 6s linear infinite alternate;
}

@keyframes ringGlow {
    0% { opacity: 0.3; filter: blur(4px); }
    100% { opacity: 0.8; filter: blur(10px); }
}

.cyber-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.cyber-avatar {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(139, 92, 246, 0.3));
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

.cyber-status-pulse {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #27C93F;
    box-shadow: 0 0 10px #27C93F;
    border: 2px solid #050816;
}

.cyber-card-info .cyber-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.cyber-card-info .cyber-role {
    font-size: 0.85rem;
    color: var(--primary);
    letter-spacing: 0.05em;
    font-weight: 500;
}

.orbit-skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.orbit-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.orbit-pill i {
    color: var(--primary);
    font-size: 0.95rem;
}

.orbit-pill:hover {
    background: rgba(0, 217, 255, 0.15);
    color: var(--text-main);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.25);
}

/* =========================================
   About Section
   ========================================= */
.about-content {
    padding: 3rem;
}

.bio-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.bio-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 30px;
    font-size: 0.82rem;
    color: var(--primary);
}

.bio-badge i {
    font-size: 0.95rem;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 850px;
}

.about-content strong {
    color: var(--text-main);
    font-weight: 600;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--glass-border);
}

.cyber-role-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 14px;
    transition: var(--transition);
}

.cyber-role-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 217, 255, 0.2);
}

.role-icon-box {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(0, 217, 255, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.role-info {
    display: flex;
    flex-direction: column;
}

.role-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.role-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

/* =========================================
   Experience Section (Timeline)
   ========================================= */
.timeline {
    position: relative;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-base);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.4);
    z-index: 2;
}

.timeline-content {
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: rgba(0, 217, 255, 0.4);
    box-shadow: 0 12px 30px rgba(0, 217, 255, 0.15);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.timeline-header .role {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.timeline-header .company {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.timeline-header .date {
    font-size: 0.82rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.timeline-details {
    list-style: none;
    margin-bottom: 1.25rem;
}

.timeline-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.timeline-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

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

.timeline-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    color: #c4b5fd;
}

/* =========================================
   Projects Section & Filter Bar
   ========================================= */
.project-filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--text-muted);
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(0, 217, 255, 0.15);
    color: var(--text-main);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
}

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

.project-card {
    position: relative;
    padding: 2.25rem;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card.hide {
    display: none;
}

.card-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 217, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 217, 255, 0.2);
}

.project-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.project-desc {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.92rem;
    line-height: 1.55;
}

.project-meta {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.project-meta p {
    color: var(--text-main);
    font-size: 0.88rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: var(--text-muted);
}

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

/* =========================================
   Skills Section & Animated Progress Meters
   ========================================= */
.skill-search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto 2.5rem auto;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.skill-search-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 3rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.skill-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.25);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.skill-category {
    padding: 1.75rem;
    border-radius: 18px;
    transition: var(--transition);
}

.skill-category.hidden-skill {
    display: none;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.category-header i {
    font-size: 1.4rem;
    color: var(--primary);
}

.category-header h3 {
    font-size: 1.05rem;
    color: var(--text-main);
}

.skill-badges-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.skill-pill i {
    color: var(--primary);
    font-size: 0.95rem;
}

.skill-pill:hover {
    background: rgba(0, 217, 255, 0.12);
    border-color: var(--primary);
    color: var(--text-main);
    transform: translateY(-2px);
}

/* Featured Skills: SQL Server, ASP.NET Core, C#, Angular, SSMS */
.skill-pill.featured,
.orbit-pill.highlighted-pill {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.18), rgba(139, 92, 246, 0.25));
    border: 1px solid var(--primary);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

.skill-pill.featured i,
.orbit-pill.highlighted-pill i {
    color: #4ADE80;
}

.skill-pill.featured:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.5);
}

/* =========================================
   Research & Academia
   ========================================= */
.publication-card {
    position: relative;
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    align-items: flex-start;
    border-radius: 20px;
    overflow: hidden;
}

.pub-badge {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 0.78rem;
    padding: 0.3rem 0.75rem;
    background: rgba(234, 179, 8, 0.15);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: #fde047;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pub-icon {
    font-size: 2.2rem;
    color: var(--accent);
    background: rgba(139, 92, 246, 0.15);
    padding: 1.25rem;
    border-radius: 16px;
    flex-shrink: 0;
}

.pub-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
    color: var(--text-main);
    padding-right: 120px;
}

.pub-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--primary);
}

.pub-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   Awards Section
   ========================================= */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.award-card {
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-radius: 16px;
    transition: var(--transition);
}

.award-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-hover);
}

.award-card.gold .award-icon {
    color: #f59e0b;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.5));
}

.award-card.silver .award-icon {
    color: #cbd5e1;
    filter: drop-shadow(0 0 8px rgba(203, 213, 225, 0.5));
}

.award-icon {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.award-info h4 {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.award-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* =========================================
   Contact Section & Interactive Form
   ========================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

.contact-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
    border-radius: 16px;
    text-decoration: none;
    gap: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.copy-icon {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 217, 255, 0.15);
}

.contact-item:hover .copy-icon {
    color: var(--primary);
}

.contact-icon {
    font-size: 1.75rem;
    color: var(--primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.contact-value {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    word-break: break-all;
}

/* Direct Contact Form */
.contact-form {
    padding: 2.25rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-title {
    font-size: 1.2rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-title i {
    color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--text-main);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
}

.form-submit-btn {
    width: 100%;
    padding: 0.9rem;
    font-size: 0.95rem;
}

.form-status {
    font-size: 0.88rem;
    text-align: center;
    margin-top: 0.5rem;
}

.form-status.success { color: #4ADE80; }
.form-status.error { color: #F87171; }

/* Toast Notification */
.toast-notif {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(5, 8, 22, 0.95);
    border: 1px solid var(--primary);
    color: var(--text-main);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.88rem;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
    z-index: 200;
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toast-notif.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* =========================================
   Footer
   ========================================= */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   Animations & Reveal
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .publication-card {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

/* =========================================
   Flying Rocket & Pulse Dot
   ========================================= */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 0.5rem;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite ease-in-out;
}

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

.hero-title {
    position: relative;
}

.flying-rocket-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-left: 0.75rem;
    vertical-align: middle;
}

.flying-rocket {
    font-size: 0.75em;
    color: var(--primary);
    filter: drop-shadow(0 0 12px var(--primary));
    transform: rotate(45deg);
    animation: rocketLaunch 4s infinite ease-in-out;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.flying-rocket-wrap:hover .flying-rocket {
    animation: rocketBoost 0.8s infinite linear;
    color: #fff;
    filter: drop-shadow(0 0 20px var(--primary)) drop-shadow(0 0 30px var(--accent));
}

.rocket-thruster {
    position: absolute;
    bottom: -8px;
    left: -8px;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, var(--primary) 0%, var(--accent) 70%, transparent 100%);
    border-radius: 50%;
    filter: blur(4px);
    opacity: 0.8;
    animation: thrusterGlow 1.5s infinite alternate ease-in-out;
}

@keyframes rocketLaunch {
    0%, 100% {
        transform: translate(0, 0) rotate(45deg);
    }
    50% {
        transform: translate(8px, -12px) rotate(48deg);
    }
}

@keyframes rocketBoost {
    0% {
        transform: translate(0, 0) rotate(45deg) scale(1);
    }
    50% {
        transform: translate(12px, -18px) rotate(45deg) scale(1.2);
    }
    100% {
        transform: translate(0, 0) rotate(45deg) scale(1);
    }
}

@keyframes thrusterGlow {
    0% {
        opacity: 0.4;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* =========================================
   Hero Stats Grid
   ========================================= */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    width: 100%;
    margin-top: 3rem;
}

.stat-card {
    padding: 1.25rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* =========================================
   Interactive Terminal Widget
   ========================================= */
/* =========================================
   Interactive Terminal Widget Redesign
   ========================================= */
.terminal-widget {
    width: 100%;
    margin-top: 1.5rem;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(5, 8, 22, 0.95);
    border: 1px solid rgba(0, 217, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.terminal-header {
    background: rgba(15, 23, 42, 0.9);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dot:hover {
    transform: scale(1.3);
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.terminal-title-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.term-tab-icon {
    font-size: 0.9rem;
    color: var(--primary);
}

.terminal-title {
    font-size: 0.82rem;
    font-family: 'Consolas', 'Courier New', monospace;
    color: var(--text-main);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.term-shell-badge {
    font-size: 0.68rem;
    font-family: monospace;
    padding: 0.1rem 0.4rem;
    background: rgba(0, 217, 255, 0.15);
    color: var(--primary);
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
}

.terminal-header-status {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.term-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #27C93F;
    box-shadow: 0 0 8px #27C93F;
    animation: statusPulse 2s infinite alternate;
}

@keyframes statusPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.term-status-text {
    font-size: 0.68rem;
    font-family: monospace;
    color: #4ADE80;
    letter-spacing: 0.05em;
    font-weight: bold;
}

.terminal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.toolbar-label {
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.terminal-actions-quick {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.term-badge {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.2);
    color: var(--primary);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.term-badge:hover {
    background: var(--primary);
    color: #050816;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
}

.terminal-body {
    padding: 1.25rem 1.5rem;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.term-prompt {
    color: var(--primary);
    font-weight: bold;
}

.term-success {
    color: #4ADE80;
}

.term-info {
    color: #93C5FD;
}

.typing-cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: var(--primary);
    vertical-align: middle;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* =========================================
   Floating AI Assistant FAB & Modal
   ========================================= */
.ai-fab-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 120;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(139, 92, 246, 0.3));
    backdrop-filter: blur(16px);
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
    transition: var(--transition);
}

.ai-fab-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 217, 255, 0.5);
}

.ai-fab-btn i {
    font-size: 1.2rem;
    color: var(--primary);
}

.ai-modal {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 380px;
    max-width: 90vw;
    z-index: 121;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.ai-modal.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.ai-modal-content {
    display: flex;
    flex-direction: column;
    max-height: 480px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    border-color: rgba(0, 217, 255, 0.3);
}

.ai-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
}

.ai-modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
}

.ai-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.ai-modal-close:hover {
    color: var(--text-main);
}

.ai-chat-body {
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 300px;
}

.chat-message {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.4;
}

.chat-message.bot {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    align-self: flex-start;
}

.chat-message.user {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #fff;
    align-self: flex-end;
}

.ai-quick-prompts {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.prompt-chip {
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--transition);
}

.prompt-chip:hover {
    background: rgba(0, 217, 255, 0.15);
    color: var(--primary);
    border-color: var(--primary);
}

/* Terminal Interactive Controls & Quick Badges */
.dot {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dot:hover {
    transform: scale(1.3);
}
.dot-red:hover { box-shadow: 0 0 8px #FF5F56; }
.dot-yellow:hover { box-shadow: 0 0 8px #FFBD2E; }
.dot-green:hover { box-shadow: 0 0 8px #27C93F; }

.terminal-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.88rem;
}

.terminal-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
}

.terminal-widget.collapsed .terminal-body {
    display: none;
}

.terminal-widget.glow-mode {
    border-color: var(--primary);
    box-shadow: 0 0 35px rgba(0, 217, 255, 0.4);
}

.ai-online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #27C93F;
    box-shadow: 0 0 8px #27C93F;
    display: inline-block;
    margin-left: 0.3rem;
}

.ai-chat-form {
    display: flex;
    padding: 0.65rem 0.9rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    gap: 0.5rem;
}

.ai-chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0.45rem 0.85rem;
    color: var(--text-main);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}

.ai-chat-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.2);
}

.ai-chat-send-btn {
    background: var(--primary);
    border: none;
    color: #050816;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.ai-chat-send-btn:hover {
    transform: scale(1.08);
    background: #5ce1e6;
}

/* =========================================
   Floating Back to Top Rocket Button
   ========================================= */
.scroll-top-rocket {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 120;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(139, 92, 246, 0.3));
    backdrop-filter: blur(16px);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.scroll-top-rocket.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top-rocket:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 217, 255, 0.5);
    border-color: #ffffff;
    color: #ffffff;
}

.rocket-icon {
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease;
}

.rocket-thruster-fire {
    position: absolute;
    bottom: 4px;
    width: 6px;
    height: 12px;
    background: linear-gradient(to bottom, #ff9100, #ff0055, transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease, height 0.3s ease;
    filter: blur(1px);
}

.scroll-top-rocket.flying .rocket-icon {
    transform: translateY(-800px) scale(0.4);
    opacity: 0;
}

.scroll-top-rocket.flying .rocket-thruster-fire {
    opacity: 1;
    height: 25px;
}

/* Form Status Messages */
.form-status {
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    min-height: 1.5rem;
    transition: all 0.3s ease;
}

.form-status.success {
    color: #4ADE80;
}

.form-status.error {
    color: #F87171;
}

.form-status.info {
    color: var(--primary);
}

/* =========================================
   Cyber Sci-Fi Custom Cursor (Desktop)
   ========================================= */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (pointer: fine) {
    .custom-cursor {
        opacity: 1;
    }
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #00d9ff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #00d9ff, 0 0 20px #00d9ff;
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

.cursor-ring {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(0, 217, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out, width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
}

.custom-cursor.hover .cursor-dot {
    width: 10px;
    height: 10px;
    background: #8b5cf6;
    box-shadow: 0 0 15px #8b5cf6;
}

.custom-cursor.hover .cursor-ring {
    width: 48px;
    height: 48px;
    border-color: rgba(139, 92, 246, 0.8);
    background: rgba(139, 92, 246, 0.05);
}

/* Navbar Sound Toggle Button */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sound-toggle-btn {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.sound-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.3);
}

.sound-toggle-btn.muted {
    color: #F87171;
    border-color: rgba(248, 113, 113, 0.4);
}

/* =========================================
   Live GitHub Telemetry Section
   ========================================= */
.github-stats-container {
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.github-profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.gh-avatar-wrap {
    position: relative;
    width: 72px;
    height: 72px;
}

.gh-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

.gh-status-indicator {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background: #4ADE80;
    border: 2px solid #0B0F19;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ADE80;
}

.gh-user-details {
    flex: 1;
}

.gh-user-details h3 {
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.gh-handle {
    color: var(--primary);
    font-size: 0.9rem;
    font-family: monospace;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.gh-handle:hover {
    text-decoration: underline;
}

.gh-user-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.github-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.gh-metric-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gh-metric-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.gh-metric-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.gh-metric-val {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
}

.gh-metric-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.gh-repos-preview {
    margin-top: 0.5rem;
}

.gh-repos-title {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gh-repos-title i {
    color: #F59E0B;
}

.gh-repos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.gh-repo-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.gh-repo-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 217, 255, 0.15);
}

.gh-repo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.gh-repo-header h5 {
    font-size: 1.05rem;
    color: var(--primary);
    margin: 0;
}

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

.gh-repo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.gh-repo-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.gh-lang-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
}

/* =========================================
   Glass Modals (Project Deep Dive & CV)
   ========================================= */
.project-modal,
.cv-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.project-modal.active,
.cv-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.project-modal-content,
.cv-modal-content {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 217, 255, 0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.project-modal.active .project-modal-content,
.cv-modal.active .cv-modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.25s ease;
}

.modal-close-btn:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 217, 255, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-size: 1.5rem;
    color: #ffffff;
}

.modal-body {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal-section-title {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

/* CV Modal Specifics */
.cv-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cv-header-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.cv-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.cv-sec-title {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 0.4rem;
}

.cv-item {
    margin-bottom: 1.25rem;
}

.cv-item h5 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.cv-period {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--secondary);
    margin-bottom: 0.4rem;
    font-family: monospace;
}

.cv-item ul {
    padding-left: 1.2rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.cv-item ul li {
    margin-bottom: 0.3rem;
}

.cv-skills-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cv-skills-pills span {
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--text-main);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}