/* ================================
   CYBERPUNK PORTFOLIO STYLES
   Premium Dark Theme with Neon Accents
   ================================ */

/* CSS Variables for Theme */
:root {
    /* Aggressive Neon Colors */
    --neon-red: #ff0040;
    --neon-crimson: #dc143c;
    --neon-cyan: #00ffff;
    --neon-cyan-dark: #00d4ff;
    --neon-orange: #ff4500;
    --neon-yellow: #ffff00;
    --electric-blue: #0080ff;
    
    /* Background - Darker */
    --bg-primary: #000000;
    --bg-secondary: #0d0d0d;
    --bg-tertiary: #1a1a1a;
    
    /* Glass Effect */
    --glass-bg: rgba(13, 13, 13, 0.6);
    --glass-border: rgba(255, 0, 64, 0.3);
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-tertiary: #999999;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 40px;
    
    /* Fonts */
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Selection */
::selection {
    background: var(--neon-red);
    color: var(--text-primary);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-red), var(--neon-cyan));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-orange), var(--electric-blue));
}

/* Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
    max-width: 600px;
    width: 90%;
}

.loader-logo {
    margin-bottom: 50px;
}

.loader-name {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-red), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

.loader-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.loader-bar-container {
    position: relative;
}

.loader-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(255, 0, 64, 0.3);
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-red), var(--neon-orange), var(--neon-cyan));
    background-size: 200% 100%;
    animation: shimmerLoad 1.5s infinite;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--neon-red), 0 0 40px rgba(255, 0, 64, 0.5);
    transition: width 0.1s linear;
}

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

.loader-percentage {
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 10px 40px rgba(255, 0, 64, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--neon-red);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-red), var(--neon-cyan));
    transition: width 0.3s ease;
}

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

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

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

.nav-hamburger span {
    width: 30px;
    height: 3px;
    background: var(--neon-red);
    transition: var(--transition-smooth);
}

/* Glitch Effect */
.glitch {
    position: relative;
    font-weight: 700;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-red);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--neon-cyan);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
    }
    10% {
        clip: rect(112px, 9999px, 76px, 0);
    }
    20% {
        clip: rect(85px, 9999px, 77px, 0);
    }
    30% {
        clip: rect(29px, 9999px, 40px, 0);
    }
    40% {
        clip: rect(14px, 9999px, 27px, 0);
    }
    50% {
        clip: rect(83px, 9999px, 98px, 0);
    }
    60% {
        clip: rect(23px, 9999px, 85px, 0);
    }
    70% {
        clip: rect(54px, 9999px, 46px, 0);
    }
    80% {
        clip: rect(65px, 9999px, 15px, 0);
    }
    90% {
        clip: rect(25px, 9999px, 99px, 0);
    }
    100% {
        clip: rect(76px, 9999px, 52px, 0);
    }
}

/* Typing Header Effect */
.typing-header {
    position: relative;
    animation: typing-header 3.5s steps(10, end) 0.5s 1 forwards;
    overflow: hidden;
    white-space: nowrap;
}

@keyframes typing-header {
    from {
        width: 0;
        visibility: visible;
    }
    to {
        width: 100%;
        visibility: visible;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(255, 0, 64, 0.05) 0%,
        rgba(0, 255, 255, 0.05) 100%);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    z-index: 10;
}

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

.hero-tag {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--neon-cyan);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.tag-bracket {
    color: var(--neon-red);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.name-primary {
    background: linear-gradient(135deg, var(--neon-red), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    text-shadow: 0 0 80px rgba(176, 38, 255, 0.5);
}

.glitch-hero {
    position: relative;
}

.hero-alias {
    font-family: var(--font-mono);
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.alias-label {
    color: var(--neon-red);
}

.alias-name {
    color: var(--neon-cyan);
    font-weight: 700;
    margin-left: 10px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 20px;
    min-height: 50px;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.cursor-blink {
    color: var(--neon-red);
    animation: blink 1s infinite;
}

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

.hero-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-tertiary);
    font-size: 16px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 1s backwards;
}

.hero-location svg {
    color: var(--neon-red);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 1.2s backwards;
}

.hero-btn {
    position: relative;
    padding: 15px 35px;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
    border: 2px solid;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    border-color: var(--neon-red);
    background: rgba(176, 38, 255, 0.1);
}

.btn-primary:hover {
    background: var(--neon-red);
    box-shadow: 0 0 30px var(--neon-red), 0 0 60px rgba(176, 38, 255, 0.5);
    transform: translateY(-3px);
}

.btn-secondary {
    border-color: var(--neon-cyan);
    background: rgba(0, 212, 255, 0.1);
}

.btn-secondary:hover {
    background: var(--neon-cyan);
    color: var(--bg-primary);
    box-shadow: 0 0 30px var(--neon-cyan), 0 0 60px rgba(0, 212, 255, 0.5);
    transform: translateY(-3px);
}

.btn-accent {
    border-color: var(--electric-blue);
    background: rgba(0, 212, 255, 0.1);
}

.btn-accent:hover {
    background: var(--electric-blue);
    color: var(--bg-primary);
    box-shadow: 0 0 30px var(--electric-blue), 0 0 60px rgba(0, 212, 255, 0.5);
    transform: translateY(-3px);
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-btn:active::before {
    width: 300px;
    height: 300px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.8s ease 1.4s backwards;
}

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

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

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

.scroll-indicator p {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.hex-grid {
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        linear-gradient(30deg, var(--neon-red) 12%, transparent 12.5%, transparent 87%, var(--neon-red) 87.5%, var(--neon-red)),
        linear-gradient(150deg, var(--neon-red) 12%, transparent 12.5%, transparent 87%, var(--neon-red) 87.5%, var(--neon-red)),
        linear-gradient(30deg, var(--neon-red) 12%, transparent 12.5%, transparent 87%, var(--neon-red) 87.5%, var(--neon-red)),
        linear-gradient(150deg, var(--neon-red) 12%, transparent 12.5%, transparent 87%, var(--neon-red) 87.5%, var(--neon-red));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

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

.section-tag {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--neon-cyan);
    margin-bottom: 15px;
    display: inline-block;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--neon-red), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-red), var(--neon-cyan));
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 10;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(176, 38, 255, 0.1), 
        transparent);
    transition: left 0.8s;
}

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

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--neon-red), var(--neon-cyan));
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    filter: blur(20px);
    transition: opacity 0.5s;
}

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

.intro-text {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.highlight {
    color: var(--neon-cyan);
    font-weight: 600;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.expertise-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(176, 38, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.expertise-item:hover {
    background: rgba(176, 38, 255, 0.05);
    border-color: var(--neon-red);
    transform: translateX(10px);
}

.expertise-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--neon-red), var(--neon-cyan));
    border-radius: 12px;
    color: var(--text-primary);
}

.expertise-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--neon-cyan);
    margin-bottom: 8px;
}

.expertise-item p {
    font-size: 14px;
    color: var(--text-tertiary);
    margin: 0;
}

/* Experience Section */
.experience-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 10;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--neon-red), var(--neon-cyan));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--neon-red);
    border: 4px solid var(--bg-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--neon-red);
    z-index: 1;
}

.timeline-content {
    width: calc(50% - 50px);
    margin-left: auto;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--neon-cyan);
    margin-bottom: 15px;
}

.timeline-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--neon-red);
    margin-bottom: 10px;
}

.timeline-company {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.timeline-description {
    list-style: none;
    padding: 0;
}

.timeline-description li {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.timeline-description li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-size: 20px;
}

/* Skills Section */
.skills-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 10;
}

.skills-content {
    max-width: 900px;
    margin: 0 auto;
}

.skill-item {
    margin-bottom: 35px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.skill-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-percentage {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--neon-cyan);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-red), var(--neon-cyan));
    border-radius: 10px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 20px var(--neon-red);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Projects Section */
.projects-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 10;
}

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

.project-card {
    padding: 40px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

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

.project-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, 
        rgba(176, 38, 255, 0.2), 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.project-card:hover .project-glow {
    opacity: 1;
}

.project-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--neon-red), var(--neon-cyan));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.project-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.project-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    font-size: 12px;
    padding: 6px 14px;
    background: rgba(176, 38, 255, 0.1);
    border: 1px solid var(--neon-red);
    border-radius: 20px;
    color: var(--neon-cyan);
    transition: var(--transition-smooth);
}

.tag:hover {
    background: var(--neon-red);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 10;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.contact-form {
    position: relative;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--neon-cyan);
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    font-family: var(--font-secondary);
    font-size: 16px;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(176, 38, 255, 0.2);
    border-radius: 8px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--neon-red);
    background: rgba(176, 38, 255, 0.1);
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-red), var(--neon-cyan));
    transition: width 0.4s;
}

.form-group input:focus ~ .input-border,
.form-group textarea:focus ~ .input-border {
    width: 100%;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--neon-red), var(--neon-cyan));
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    box-shadow: 0 10px 40px rgba(176, 38, 255, 0.5);
    transform: translateY(-3px);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:active::before {
    width: 400px;
    height: 400px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    margin-bottom: 20px;
    animation: scaleIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-icon svg {
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 20px var(--neon-cyan));
}

.form-success h3 {
    font-size: 28px;
    color: var(--neon-cyan);
    margin-bottom: 15px;
}

.form-success p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.back-btn {
    padding: 12px 30px;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(176, 38, 255, 0.2);
    border: 2px solid var(--neon-red);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.back-btn:hover {
    background: var(--neon-red);
    box-shadow: 0 0 20px var(--neon-red);
}

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 10;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    color: var(--text-tertiary);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-subtext {
    color: var(--text-tertiary);
    font-size: 12px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
        --container-padding: 0 30px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: left 0.4s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-hamburger {
        display: flex;
    }
    
    .nav-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .glass-card {
        padding: 30px;
    }
    
    .intro-text {
        font-size: 20px;
    }
    
    .about-text p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .loader-name {
        font-size: 2.5rem;
    }
    
    .loader-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .loader-percentage {
        font-size: 2rem;
    }
    
    .terminal-content {
        padding: 20px;
    }
    
    .terminal-line {
        font-size: 14px;
    }
    
    .boot-line {
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-alias {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .glass-card {
        padding: 20px;
    }
}