/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (Midnight Aurora Theme)
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-deep: #07090e;
    --bg-dark: #0b0f19;
    --bg-card: rgba(17, 23, 41, 0.65);
    --bg-card-hover: rgba(23, 32, 59, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-active: rgba(0, 242, 254, 0.4);
    
    /* Accents (Cyan & Purple Gradations) */
    --primary: #00f2fe;
    --primary-rgb: 0, 242, 254;
    --secondary: #7f21f7;
    --secondary-rgb: 127, 33, 247;
    --accent: #4facfe;
    --success: #10b981;
    --error: #ef4444;
    
    /* Typography */
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    /* Fonts */
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    /* Layout & Animation Configs */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-neon: 0 0 20px rgba(0, 242, 254, 0.15);
    --shadow-neon-hover: 0 0 35px rgba(0, 242, 254, 0.35);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-deep);
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   BACKGROUND AURORA BLOBS
   ========================================================================== */
.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    animation: pulseAurora 12s ease-in-out infinite alternate;
}

.aurora-1 {
    top: 5%;
    right: 10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 80%);
}

.aurora-2 {
    top: 35%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 80%);
    animation-delay: -3s;
}

.aurora-3 {
    bottom: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 80%);
    animation-delay: -6s;
}

@keyframes pulseAurora {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-30px, 40px) scale(1.15);
    }
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 9, 14, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(7, 9, 14, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-code {
    color: var(--primary);
    font-family: var(--font-mono);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    padding: 0.25rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
}

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

.nav-btn:hover {
    background: var(--primary);
    color: var(--bg-deep);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

/* Hamburger toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-fast);
}

/* ==========================================================================
   GLOBAL UTILITIES
   ========================================================================== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #4facfe 30%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--bg-deep);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon-hover);
}

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

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

.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-block {
    width: 100%;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 7rem 2rem 5rem;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 8.5rem;
    padding-bottom: 5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.badge-container {
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

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

.hero-subtitle {
    font-size: 1.7rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    min-height: 40px;
}

.typewriter {
    color: var(--primary);
    border-right: 2px solid var(--primary);
    padding-right: 4px;
    animation: blinkCaret 0.75s step-end infinite;
    font-family: var(--font-mono);
}

@keyframes blinkCaret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary); }
}

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

.hero-actions {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    line-height: 1.3;
}

/* Clean Avatar Card */
.hero-visual {
    display: flex;
    justify-content: center;
}

.avatar-card {
    position: relative;
    width: 320px;
    height: 410px;
    border-radius: var(--radius-md);
    padding: 8px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.25), rgba(127, 33, 247, 0.25));
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.avatar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-neon-hover);
}

.avatar-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    filter: blur(25px);
    opacity: 0.35;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.avatar-card:hover .avatar-glow {
    opacity: 0.6;
}

.avatar-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    border-radius: calc(var(--radius-md) - 4px);
    overflow: hidden;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* ==========================================================================
   ABOUT ME SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.about-text-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.about-p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-p strong {
    color: var(--primary);
    font-weight: 500;
}

.about-p:last-child {
    margin-bottom: 0;
}

.about-info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.info-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.info-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

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

.info-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    flex-shrink: 0;
}

.info-text {
    font-size: 0.95rem;
    color: var(--text-main);
    word-break: break-all;
}

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

/* ==========================================================================
   EXPERIENCE SECTION (TIMELINE)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    top: 8px;
    bottom: 8px;
    left: 20px;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

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

.timeline-marker {
    position: absolute;
    left: 0;
    top: 4px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background-color: var(--bg-deep);
    border: 3px solid var(--primary);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    transform: scale(1.2);
}

.timeline-item:nth-child(2) .timeline-dot {
    border-color: var(--accent);
}
.timeline-item:nth-child(3) .timeline-dot {
    border-color: #ec4899;
}
.timeline-item:nth-child(4) .timeline-dot {
    border-color: var(--secondary);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.timeline-content:hover {
    border-color: rgba(0, 242, 254, 0.25);
    transform: translateX(6px);
}

.timeline-header {
    margin-bottom: 1.25rem;
    position: relative;
}

.timeline-date {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-job-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.timeline-company {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.location-tag {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
}

.timeline-body ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 1.2rem;
    list-style-type: disc;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   TECHNICAL SKILLS MATRIX (Clean Pills Style)
   ========================================================================== */
.skills-tag-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.skill-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.skill-category-card:hover {
    border-color: rgba(0, 242, 254, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.skill-category-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.category-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

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

.skill-pill {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.skill-pill.highlight {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.3);
    color: var(--primary);
}

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

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

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

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-active);
    box-shadow: var(--shadow-neon);
}

.project-img-wrapper {
    position: relative;
    height: 170px;
    overflow: hidden;
    background-color: #12182b;
}

.project-gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.15;
    transition: var(--transition-smooth);
}

.scraper-gradient {
    background: linear-gradient(135deg, #00f2fe, #3b82f6);
}

.mcp-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.leadgen-gradient {
    background: linear-gradient(135deg, #f59e0b, #ec4899);
}

.malware-gradient {
    background: linear-gradient(135deg, #10b981, #3b82f6);
}

.dumper-gradient {
    background: linear-gradient(135deg, #6366f1, #a855f7);
}

.project-card:hover .project-gradient-overlay {
    opacity: 0.35;
}

.project-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.project-icon-top {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    transition: var(--transition-smooth);
    color: var(--text-main);
}

.project-card:hover .project-icon-top {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.2);
}

.project-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-muted);
}

.project-btn {
    align-self: flex-start;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: rgba(0, 242, 254, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    background: rgba(0, 242, 254, 0.07);
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--bg-deep);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: start;
}

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

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

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

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

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

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(7, 9, 14, 0.2);
    border-top: 2px solid var(--bg-deep);
    border-radius: 50%;
    animation: rotateSpinner 0.8s linear infinite;
    margin-left: 10px;
}

@keyframes rotateSpinner {
    to { transform: rotate(360deg); }
}

.form-status-msg {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 0.5rem;
    display: none;
}

.form-status-msg.success {
    display: block;
    color: var(--success);
}

.form-status-msg.error {
    display: block;
    color: var(--error);
}

.contact-outro h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.outro-p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.social-channels h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.social-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.social-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: var(--transition-fast);
}

.social-icon:hover {
    color: var(--bg-deep);
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.4);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    background: #05060a;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   PROJECT DETAIL MODALS & CLIENT BADGES
   ========================================================================== */
.client-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: #0f1422;
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 650px;
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    z-index: 10;
    transform: scale(0.9);
    transition: var(--transition-smooth);
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 1;
}

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

.modal-body-content .modal-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.modal-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1.75rem;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.modal-desc p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-desc h5 {
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-desc ul {
    padding-left: 1.2rem;
    list-style-type: disc;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

/* ==========================================================================
   SCROLL REVEAL CLASS
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .stats-grid {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skills-tag-matrix {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background: #07090e;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.35rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .avatar-card {
        width: 280px;
        height: 360px;
    }
}
