/* ==========================================================================
   PORTFÓLIO MATHEUS VASCONCELOS - DARK NEON & GLASSMORPHISM DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #070512;
    --bg-card: rgba(18, 14, 42, 0.65);
    --bg-card-hover: rgba(30, 24, 68, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    /* Brand Accents */
    --accent-purple: #9d4edd;
    --accent-violet: #7b2cbf;
    --accent-indigo: #5390d9;
    --accent-cyan: #00f5d4;
    --accent-pink: #f72585;
    --gradient-primary: linear-gradient(135deg, #7b2cbf 0%, #3a0ca3 50%, #4cc9f0 100%);
    --gradient-glow: linear-gradient(135deg, rgba(157, 78, 221, 0.4), rgba(0, 245, 212, 0.3));

    /* Text Colors */
    --text-main: #f8f9fa;
    --text-muted: #a0a5c0;
    --text-dim: #6c7293;
    
    /* Borders & Shadows */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(157, 78, 221, 0.4);
    --shadow-glass: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(157, 78, 221, 0.35);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-code: 'Fira Code', monospace;

    /* Layout */
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    width: 100%;
}

/* Background Ambient Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: blobFloat 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, #7b2cbf 0%, #3a0ca3 100%);
}

.blob-2 {
    bottom: -15%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #4cc9f0 0%, #7209b7 100%);
    animation-delay: -7s;
}

.blob-3 {
    top: 40%;
    left: 30%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, #f72585 0%, #3a0ca3 100%);
    opacity: 0.2;
    animation-delay: -12s;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.1); }
    100% { transform: translate(-40px, 80px) scale(0.95); }
}

/* Utility Layout */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-normal);
}

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

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(123, 44, 191, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(123, 44, 191, 0.7);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

.btn-outline:hover {
    background: rgba(157, 78, 221, 0.2);
    border-color: var(--accent-purple);
    color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
}

.btn-text {
    background: transparent;
    color: var(--accent-cyan);
    padding: 0.5rem 0.8rem;
}

.btn-text:hover {
    color: #fff;
    transform: translateX(4px);
}

.btn-full {
    width: 100%;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition-normal);
}

.header.scrolled {
    padding: 0.8rem 0;
    background: rgba(7, 5, 18, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.logo-code {
    color: var(--accent-purple);
}

.logo-dot {
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}

.nav-link i {
    font-size: 0.85rem;
    color: var(--accent-purple);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

.nav-link:hover i {
    color: var(--accent-cyan);
}

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

.btn-nav-cta {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.4);
    padding: 0.5rem 1.2rem;
}

.btn-nav-cta:hover {
    background: #25d366;
    color: #000;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    z-index: 1100;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    padding-top: 8.5rem;
    padding-bottom: 4rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid rgba(0, 245, 212, 0.3);
    color: var(--accent-cyan);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: blink 1.5s infinite;
    flex-shrink: 0;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.typewriter-box {
    font-family: var(--font-code);
    font-size: 1.15rem;
    color: var(--accent-cyan);
    background: rgba(0, 0, 0, 0.35);
    padding: 0.75rem 1.2rem;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent-purple);
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.type-prefix {
    color: var(--accent-purple);
    flex-shrink: 0;
}

.cursor {
    animation: blinkCursor 0.8s infinite;
    flex-shrink: 0;
}

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

.hero-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-description strong {
    color: var(--text-main);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.2rem;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.social-icon:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* Hero Avatar */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.avatar-halo {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--gradient-primary);
    filter: blur(40px);
    opacity: 0.4;
    animation: pulseHalo 6s ease-in-out infinite alternate;
}

@keyframes pulseHalo {
    0% { transform: scale(0.9); opacity: 0.3; }
    100% { transform: scale(1.1); opacity: 0.6; }
}

.avatar-card {
    position: relative;
    width: 280px;
    height: 360px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    max-width: 100%;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition-normal);
}

.avatar-card:hover .avatar-img {
    transform: scale(1.05);
}

.avatar-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 5, 18, 0.8) 0%, transparent 60%);
}

.floating-badge {
    position: absolute;
    background: rgba(18, 14, 42, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    animation: floatBadge 4s ease-in-out infinite alternate;
    white-space: nowrap;
    z-index: 5;
}

.floating-badge i {
    color: var(--accent-cyan);
}

.badge-1 {
    top: 5%;
    left: -15px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 25%;
    right: -20px;
    animation-delay: -1.5s;
}

.badge-3 {
    bottom: 4%;
    left: -10px;
    animation-delay: -3s;
}

@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

/* Stats Bar */
.stats-bar {
    padding: 2rem 0;
    background: rgba(18, 14, 42, 0.4);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.stats-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid var(--border-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.stat-info h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
}

.stat-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-glass);
}

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

.section-subtitle {
    font-family: var(--font-code);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.about-card {
    padding: 2.2rem;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.about-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

.detail-value {
    font-size: 0.88rem;
    color: var(--text-main);
}

/* Console Widget */
.console-widget {
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #0d0a1d;
    border: 1px solid rgba(157, 78, 221, 0.3);
    max-width: 100%;
}

.console-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-glass);
}

.console-buttons {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.console-title {
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.console-body {
    padding: 1.2rem;
    font-family: var(--font-code);
    font-size: 0.85rem;
    line-height: 1.7;
    overflow-x: auto;
    color: #e2e8f0;
    -webkit-overflow-scrolling: touch;
}

.token-keyword { color: #f72585; }
.token-class { color: #4cc9f0; }
.token-function { color: #b5179e; }
.token-string { color: #00f5d4; }
.token-number { color: #f72585; }

/* Experience Section Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--gradient-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    margin-bottom: 2rem;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 44px;
    height: 44px;
    right: -22px;
    background: var(--bg-dark);
    border: 2px solid var(--accent-purple);
    border-radius: 50%;
    top: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-purple);
}

.timeline-item.right .timeline-dot {
    left: -22px;
}

.timeline-content {
    padding: 1.8rem;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.company-badge {
    background: rgba(123, 44, 191, 0.2);
    color: var(--accent-purple);
    border: 1px solid var(--border-glow);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

.company-badge.alt {
    background: rgba(0, 245, 212, 0.15);
    color: var(--accent-cyan);
    border-color: rgba(0, 245, 212, 0.3);
}

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

.role-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.role-location {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.experience-list {
    list-style: none;
    margin-bottom: 1.2rem;
}

.experience-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.experience-list li i {
    color: var(--accent-cyan);
    font-size: 0.8rem;
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.experience-list li span {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

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

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

/* Skills Section */
.skill-tabs {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.tab-btn:hover, .tab-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.4);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
}

.skill-card {
    padding: 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.skill-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    transition: var(--transition-normal);
}

.skill-card:hover .skill-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow);
}

.skill-icon.flutter { color: #40c4ff; }
.skill-icon.python { color: #ffd166; }
.skill-icon.java { color: #ff6b6b; }
.skill-icon.c-lang { color: #a855f7; }
.skill-icon.web { color: #e76f51; }
.skill-icon.noc { color: #00f5d4; }
.skill-icon.router { color: #4cc9f0; }
.skill-icon.win { color: #00b4d8; }
.skill-icon.sql { color: #f72585; }
.skill-icon.ai { color: #b5179e; }
.skill-icon.git { color: #f1502f; }
.skill-icon.team, .skill-icon.adapt { color: #7209b7; }

.skill-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.skill-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.skill-badge {
    background: rgba(0, 245, 212, 0.1);
    color: var(--accent-cyan);
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-banner {
    height: 150px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
    background-size: cover;
    background-position: center;
}

.project-numed {
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.8), rgba(0, 180, 216, 0.8));
}

.project-noc {
    background: linear-gradient(135deg, rgba(7, 5, 18, 0.9), rgba(0, 245, 212, 0.5));
}

.project-java {
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.7), rgba(58, 12, 163, 0.9));
}

.project-python {
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.3), rgba(123, 44, 191, 0.8));
}

.project-type {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.project-techs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.project-techs span {
    background: rgba(157, 78, 221, 0.15);
    color: var(--accent-purple);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.project-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.more-repos-cta {
    text-align: center;
}

/* Education Section */
.edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.column-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--accent-cyan);
}

.edu-card {
    padding: 1.5rem;
    margin-bottom: 1.2rem;
}

.edu-period {
    font-size: 0.8rem;
    color: var(--accent-purple);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.edu-degree {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.edu-institution {
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 0.6rem;
}

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

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-item {
    padding: 1.1rem 1.3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(157, 78, 221, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cert-icon.award { color: #ffd166; }
.cert-icon.net { color: #00f5d4; }
.cert-icon.py { color: #4cc9f0; }
.cert-icon.db { color: #f72585; }
.cert-icon.c-code { color: #a855f7; }
.cert-icon.work { color: #7209b7; }

.cert-details h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
}

.cert-details p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-box {
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.method-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid var(--border-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.method-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex-grow: 1;
}

.method-label {
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-value {
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    overflow-wrap: break-word;
    word-break: break-all;
}

a.method-value:hover {
    color: var(--accent-cyan);
}

.btn-copy {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: auto;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.btn-copy:hover {
    background: var(--accent-purple);
    color: #fff;
}

.contact-action-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-glow-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #25d366;
    margin-bottom: 1rem;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

.contact-action-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.contact-action-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

/* Footer */
.footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-glass);
    background: rgba(7, 5, 18, 0.95);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.gradient-heart {
    color: var(--accent-pink);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 25px;
    right: 20px;
    left: 20px;
    max-width: 400px;
    margin: 0 auto;
    background: rgba(18, 14, 42, 0.95);
    border: 1px solid var(--accent-cyan);
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 30px rgba(0, 245, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    z-index: 2000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: var(--transition-normal);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast i {
    color: var(--accent-cyan);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE OPTIMIZED)
   ========================================================================== */

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

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

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

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

    .about-grid, .contact-box, .edu-grid {
        grid-template-columns: 1fr;
    }

    .timeline::after {
        left: 18px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 42px;
        padding-right: 0;
    }

    .timeline-item.right {
        left: 0%;
    }

    .timeline-dot {
        left: 0 !important;
        right: auto;
        width: 36px;
        height: 36px;
        top: 15px;
        font-size: 0.85rem;
    }

    .timeline-content {
        padding: 1.1rem;
    }

    .experience-list li {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3.8rem 0;
    }

    .btn-nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(7, 5, 18, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-right: 1px solid var(--border-glass);
        flex-direction: column;
        justify-content: flex-start;
        padding: 6rem 2rem 2rem;
        transition: var(--transition-normal);
        z-index: 1050;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        text-align: left;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .hero-section {
        padding-top: 7rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .typewriter-box {
        font-size: 0.95rem;
        padding: 0.6rem 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .avatar-card {
        width: 240px;
        height: 310px;
    }

    .avatar-halo {
        width: 240px;
        height: 240px;
    }

    /* Floating badges positioning for mobile */
    .badge-1 {
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        animation: none;
    }

    .badge-2 {
        bottom: -20px;
        right: 0;
        animation: none;
    }

    .badge-3 {
        bottom: -20px;
        left: 0;
        animation: none;
    }

    .stats-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
        padding: 0 1rem;
    }

    .stat-divider {
        display: none;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-card, .contact-box {
        padding: 1.5rem;
    }

    .about-details-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.9rem;
    }

    .skill-card {
        padding: 1.2rem 0.8rem;
    }

    .skill-icon {
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
    }

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

    .project-links {
        flex-direction: column;
        align-items: stretch;
    }

    .project-links .btn {
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }

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

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

    .status-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.8rem;
    }

    .typewriter-box {
        font-size: 0.82rem;
    }

    .avatar-card {
        width: 210px;
        height: 270px;
    }

    .floating-badge {
        font-size: 0.72rem;
        padding: 0.4rem 0.7rem;
    }

    .badge-2 {
        right: -10px;
    }

    .badge-3 {
        left: -10px;
    }

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