/* ==========================================
   DESIGN SYSTEM & GLOBAL STYLES (EMERALD GREEN THEME)
   ========================================== */
:root {
    --font-primary: 'Plus Jakarta Sans', 'Prompt', sans-serif;
    
    /* Color Palette - Cyber Emerald Green */
    --bg-dark: #04120D;
    --bg-card: rgba(8, 28, 20, 0.7);
    --bg-card-hover: rgba(15, 45, 32, 0.85);
    --border-glass: rgba(52, 211, 153, 0.18);
    --border-glass-hover: rgba(52, 211, 153, 0.55);
    
    --text-primary: #F0FDF4;
    --text-secondary: #A7F3D0;
    --text-muted: #6EE7B7;
    
    --primary-indigo: #10B981;
    --primary-purple: #059669;
    --primary-pink: #34D399;
    --primary-cyan: #A7F3D0;
    
    --gradient-primary: linear-gradient(135deg, #059669 0%, #10B981 50%, #34D399 100%);
    --gradient-glow: linear-gradient(135deg, rgba(16, 185, 129, 0.35) 0%, rgba(52, 211, 153, 0.35) 100%);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 10px 30px -10px rgba(16, 185, 129, 0.4);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================
   BACKGROUND GRADIENT BLOBS (GREEN GLOW)
   ========================================== */
.bg-gradient-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 18s ease-in-out infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #059669;
}

.blob-2 {
    top: 40%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: #10B981;
    animation-delay: -5s;
}

.blob-3 {
    bottom: -10%;
    left: 20%;
    width: 550px;
    height: 550px;
    background: #34D399;
    animation-delay: -10s;
}

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

/* ==========================================
   GLASSMORPHISM CARD STYLES
   ========================================== */
.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-lg);
    transition: var(--transition-normal);
}

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

/* ==========================================
   BUTTONS & BADGES
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #04120D;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 28px rgba(52, 211, 153, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(52, 211, 153, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-outline:hover {
    background: rgba(52, 211, 153, 0.18);
    border-color: rgba(52, 211, 153, 0.4);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

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

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(4, 18, 13, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.8rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.logo-icon {
    color: var(--primary-pink);
    font-family: monospace;
}

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

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    padding: 10rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--primary-pink);
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-pink);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-pink);
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.name-gradient-animated {
    background: linear-gradient(
        120deg,
        #FBBF24 0%,
        #10B981 30%,
        #34D399 65%,
        #F59E0B 100%
    );
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: nameShimmer 4s ease-in-out infinite alternate;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(52, 211, 153, 0.45));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.name-gradient-animated:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 30px rgba(251, 191, 36, 0.75));
}

@keyframes nameShimmer {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    min-height: 2.5rem;
}

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

.animated-shimmer {
    background: linear-gradient(
        90deg,
        #059669 0%,
        #10B981 25%,
        #34D399 50%,
        #A7F3D0 75%,
        #34D399 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerGlow 3s linear infinite;
    display: inline-block;
}

@keyframes shimmerGlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 1.1em;
    vertical-align: middle;
    background-color: var(--primary-pink);
    margin-left: 3px;
    box-shadow: 0 0 12px var(--primary-pink);
    animation: blinkCursor 0.8s infinite;
}

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

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
}

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

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.social-icon:hover {
    color: #04120D;
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-3px);
}

/* Avatar Card Visual */
.avatar-card {
    position: relative;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.avatar-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: var(--gradient-primary);
    filter: blur(50px);
    opacity: 0.35;
    border-radius: 50%;
}

.avatar-inner {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(52, 211, 153, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    background: #04120D;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-img-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-upload-btn {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    background: var(--gradient-primary);
    color: #04120D;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.6);
    transition: var(--transition-normal);
    z-index: 10;
}

.avatar-upload-btn:hover {
    transform: translateX(-50%) scale(1.06);
    box-shadow: 0 6px 24px rgba(52, 211, 153, 0.8);
}

.avatar-svg {
    width: 100%;
    height: 100%;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(8, 28, 20, 0.95);
    border: 1px solid var(--border-glass-hover);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    animation: floatBadge 6s ease-in-out infinite alternate;
}

.badge-1 {
    top: 10%;
    left: -10%;
}

.badge-2 {
    bottom: 10%;
    right: -10%;
    animation-delay: -3s;
}

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

.badge-icon {
    font-size: 1.5rem;
}

.badge-text strong {
    display: block;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.badge-text small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ==========================================
   WORK GALLERY SECTION (SQUARE FRAMES)
   ========================================== */
.work-gallery-section {
    padding: 2rem 0 5rem;
}

.work-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.work-frame-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.work-frame-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: rgba(8, 28, 20, 0.95);
    border-bottom: 1px solid var(--border-glass);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-frame-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.work-frame-box:hover .work-frame-img {
    transform: scale(1.06);
}

.work-frame-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
}

.placeholder-icon {
    font-size: 2.2rem;
}

.placeholder-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-pink);
}

.work-frame-upload-badge {
    position: absolute;
    bottom: 0.6rem;
    right: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    background: var(--gradient-primary);
    color: #04120D;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    transition: var(--transition-fast);
    opacity: 0.9;
}

.work-frame-box:hover .work-frame-upload-badge {
    transform: scale(1.08);
    opacity: 1;
}

.work-frame-info {
    padding: 1.25rem;
    flex-grow: 1;
}

.work-frame-info h4 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.work-frame-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

[contenteditable="true"] {
    outline: none;
    border-radius: 4px;
    transition: var(--transition-fast);
    cursor: text;
    padding: 0.1rem 0.2rem;
}

[contenteditable="true"]:hover {
    background: rgba(52, 211, 153, 0.1);
}

[contenteditable="true"]:focus {
    background: rgba(52, 211, 153, 0.2);
    box-shadow: 0 0 0 2px var(--primary-pink);
}

@media (max-width: 992px) {
    .work-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .work-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   SECTION COMMON HEADERS
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-pink);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.about-text {
    padding: 2.5rem;
}

.about-text h3 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.about-highlights {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.icon-box {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.25);
    color: var(--primary-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
}

/* Timeline */
.timeline-container {
    padding: 2.5rem;
}

.timeline-container h3 {
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

.timeline {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(52, 211, 153, 0.2);
}

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

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.95rem;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-pink);
    box-shadow: 0 0 10px var(--primary-pink);
}

.timeline-date {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--primary-pink);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.timeline-company {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

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

/* ==========================================
   SKILLS SECTION
   ========================================== */
.skills-section {
    padding: 5rem 0;
}

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

.skill-category {
    padding: 2rem;
}

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

.cat-icon {
    font-size: 1.5rem;
}

.category-header h3 {
    font-size: 1.25rem;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(52, 211, 153, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 1s ease-in-out;
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */
.projects-section {
    padding: 5rem 0;
}

.filter-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: var(--transition-normal);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gradient-primary);
    color: #04120D;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

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

.project-card {
    overflow: hidden;
}

.project-preview {
    height: 240px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.preview-1 {
    background-image: linear-gradient(135deg, #064E3B, #047857), radial-gradient(circle at 50% 50%, #10B981, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-2 {
    background-image: linear-gradient(135deg, #022C22, #065F46), radial-gradient(circle at 50% 50%, #059669, transparent);
}

.preview-3 {
    background-image: linear-gradient(135deg, #064E3B, #115E59), radial-gradient(circle at 50% 50%, #14B8A6, transparent);
}

.preview-4 {
    background-image: linear-gradient(135deg, #065F46, #047857), radial-gradient(circle at 50% 50%, #34D399, transparent);
}

.preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 18, 13, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.project-card:hover .preview-overlay {
    opacity: 1;
}

.project-info {
    padding: 1.75rem;
}

.project-tag {
    font-size: 0.75rem;
    color: var(--primary-pink);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
    display: block;
}

.project-title {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.project-tech {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.project-tech span {
    padding: 0.3rem 0.8rem;
    background: rgba(52, 211, 153, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    padding: 5rem 0 8rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
}

.contact-info {
    padding: 2.5rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

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

.method-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.method-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-glass);
}

.contact-form-container {
    padding: 2.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    padding: 0.85rem 1.1rem;
    background: rgba(52, 211, 153, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-indigo);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
    background: rgba(52, 211, 153, 0.12);
}

/* ==========================================
   FOOTER & BACK TO TOP
   ========================================== */
.footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-glass);
    background: rgba(4, 18, 13, 0.95);
}

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

.back-to-top {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #04120D;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-normal);
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ==========================================
   MODAL & TOAST
   ========================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 650px;
    padding: 2.5rem;
    background: rgba(8, 28, 20, 0.98);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(8, 28, 20, 0.95);
    border: 1px solid var(--primary-pink);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-normal);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 992px) {
    .hero-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .grid-4, .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(4, 18, 13, 0.96);
        backdrop-filter: blur(16px);
        padding: 2rem;
        border-bottom: 1px solid var(--border-glass);
        transform: translateY(-150%);
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .grid-4, .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .badge-1, .badge-2 {
        position: static;
        margin-top: 1rem;
    }
}
