/* ========== VARIABLES & ROOT ========== */
:root {
    /* Primary Colors - Cyberpunk Neon */
    --primary: #00d4ff;
    --secondary: #ff006e;
    --accent: #a020f0;
    --success: #00ff88;

    /* Dark Backgrounds */
    --bg-dark: #0a0e27;
    --bg-darker: #050812;
    --bg-card: #1a1f3a;
    --bg-glass: rgba(26, 31, 58, 0.5);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b0b5cc;
    --text-muted: #6b7280;

    /* Borders & Effects */
    --border-color: #2d3561;
    --glow-color: rgba(0, 212, 255, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-secondary: linear-gradient(135deg, var(--accent), var(--secondary));
}

/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
                radial-gradient(ellipse at 0% 50%, rgba(255, 0, 110, 0.05) 0%, transparent 50%),
                radial-gradient(ellipse at 100% 100%, rgba(160, 32, 240, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: bgShift 15s ease infinite;
}

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

/* ========== LOADING SCREEN ========== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.8s ease forwards;
    animation-delay: 2s;
}

.loading-screen.hidden {
    display: none;
}

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

.loading-cube {
    width: 60px;
    height: 60px;
    margin: 0 auto 40px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 3s linear infinite;
}

.cube-face {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: 2px solid var(--primary);
    opacity: 0.3;
}

.cube-face:nth-child(1) { transform: rotateY(0deg) translateZ(30px); }
.cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(30px); }
.cube-face:nth-child(3) { transform: rotateY(180deg) translateZ(30px); }

@keyframes rotateCube {
    from { transform: rotateX(0deg) rotateY(0deg); }
    to { transform: rotateX(360deg) rotateY(360deg); }
}

.loading-text {
    font-size: 18px;
    color: var(--primary);
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 700;
    animation: pulse 2s ease-in-out infinite;
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: var(--border-color);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1px;
    position: relative;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    animation: loadProgress 2s ease-in-out forwards;
    box-shadow: 0 0 20px var(--primary);
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes fadeOut {
    0% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    width: 0%;
    z-index: 9998;
    box-shadow: 0 0 20px var(--primary);
}

/* ========== PARTICLE BACKGROUND ========== */
.particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#particleCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    background-image:
        radial-gradient(2px 2px at 20px 30px, var(--primary), rgba(0, 212, 255, 0.2)),
        radial-gradient(2px 2px at 60px 70px, var(--secondary), rgba(255, 0, 110, 0.2)),
        radial-gradient(1px 1px at 50px 50px, var(--accent), rgba(160, 32, 240, 0.2));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: floatParticles 20s ease-in-out infinite;
}

.floating-particles::before {
    width: 100%;
    height: 100%;
    background-size: 300px 300px;
    opacity: 0.3;
}

.floating-particles::after {
    width: 200%;
    height: 200%;
    background-size: 500px 500px;
    opacity: 0.2;
    animation: floatParticles 30s ease-in-out infinite reverse;
}

@keyframes floatParticles {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(50px, -50px); }
    50% { transform: translate(-50px, 50px); }
    75% { transform: translate(30px, 30px); }
}

/* ========== CURSOR GLOW ========== */
.cursor-glow {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    mix-blend-mode: screen;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--primary), inset 0 0 20px rgba(0, 212, 255, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cursor-glow.active {
    opacity: 0.8;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(10, 14, 39, 0.7);
    border-bottom: 1px solid var(--border-color);
    animation: slideDown 0.6s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.9);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.nav-logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    position: relative;
}

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

.logo-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, var(--primary), transparent);
    opacity: 0;
    z-index: -1;
    animation: logoPulse 2s ease-in-out infinite;
}

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

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

.nav-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary);
}

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

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

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

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.15) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    z-index: -1;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(50px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    z-index: 10;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

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

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    animation: slideInLeft 0.8s ease;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -1px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
    animation: slideInUp 0.9s ease;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

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

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    animation: fadeInUp 1.1s ease;
}

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

.hero-tagline {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 1.3s ease;
}

/* ========== BUTTONS ========== */
.btn {
    padding: 16px 40px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border: 2px solid;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    border-radius: 50px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(20px);
}

.btn:hover .btn-glow {
    opacity: 0.8;
}

.btn-primary {
    border-color: var(--primary);
    color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.05));
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.1), 0 0 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    border-color: var(--primary);
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.2), 0 0 40px rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: var(--secondary);
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(255, 0, 110, 0.05));
    box-shadow: inset 0 0 20px rgba(255, 0, 110, 0.1), 0 0 20px rgba(255, 0, 110, 0.2);
}

.btn-secondary:hover {
    border-color: var(--secondary);
    box-shadow: inset 0 0 20px rgba(255, 0, 110, 0.2), 0 0 40px rgba(255, 0, 110, 0.5);
    transform: translateY(-2px);
}

.btn-submit {
    width: 100%;
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--bg-dark);
    font-weight: 800;
    margin-top: 20px;
}

.btn-submit:hover {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.2);
}

/* ========== RESUME BUTTONS ========== */
.hero-resume-buttons {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    animation: fadeInUp 1.5s ease;
}

.btn-resume, .btn-download {
    border-color: var(--accent);
    color: var(--accent);
    background: linear-gradient(135deg, rgba(160, 32, 240, 0.1), rgba(160, 32, 240, 0.05));
    box-shadow: inset 0 0 20px rgba(160, 32, 240, 0.1), 0 0 20px rgba(160, 32, 240, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-resume::before, .btn-download::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(160, 32, 240, 0.3), transparent);
    animation: shine 3s infinite;
}

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

.btn-resume:hover, .btn-download:hover {
    border-color: var(--accent);
    box-shadow: inset 0 0 30px rgba(160, 32, 240, 0.3), 0 0 60px rgba(160, 32, 240, 0.8);
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(160, 32, 240, 0.2), rgba(160, 32, 240, 0.1));
}

.btn-resume:active, .btn-download:active {
    transform: translateY(-1px);
}

/* ========== PROJECT MODAL ========== */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 18, 0.95);
    backdrop-filter: blur(8px);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.project-modal.active {
    display: flex;
}

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

.modal-content {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.9), rgba(26, 31, 58, 0.95));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    width: 100%;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.2), inset 0 0 40px rgba(0, 212, 255, 0.05);
    animation: slideUp 0.4s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--secondary);
    background: rgba(255, 0, 110, 0.1);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
    padding-bottom: 20px;
}

.modal-header h2 {
    font-size: 32px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

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

.modal-tags .tag {
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.modal-body {
    margin-bottom: 30px;
}

.modal-section {
    margin-bottom: 30px;
}

.modal-section h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 18px;
    letter-spacing: 1px;
}

.modal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
}

.modal-section ul {
    list-style: none;
    padding-left: 0;
}

.modal-section li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.modal-section li:before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.modal-footer {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.modal-footer .project-btn {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 12px 24px;
}

/* ========== HERO STATS ========== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    animation: fadeInUp 1.4s ease;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ========== HERO VISUAL ========== */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1.2s ease;
}

.profile-frame {
    position: relative;
    width: 320px;
    height: 420px;
    border-radius: 40px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.15), rgba(255, 0, 110, 0.1));
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    border: 3px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.18);
    display: block;
}

.profile-placeholder {
    position: absolute;
    inset: 18px;
    border-radius: 32px;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    background: rgba(10, 14, 39, 0.95);
    border: 2px dashed rgba(0, 212, 255, 0.35);
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
    letter-spacing: 0.8px;
    font-weight: 700;
}

.profile-ring {
    position: absolute;
    inset: 12px;
    border: 2px solid rgba(0, 212, 255, 0.5);
    border-radius: 36px;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
    pointer-events: none;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.neon-box {
    width: 300px;
    height: 300px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 212, 255, 0.02));
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0, 212, 255, 0.1), 0 0 40px rgba(0, 212, 255, 0.2);
}

.neon-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

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

.box-inner {
    position: relative;
    z-index: 2;
}

.hero-icon {
    width: 200px;
    height: 200px;
    color: var(--primary);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    animation: float 4s ease-in-out infinite;
}

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    visibility: visible;
    opacity: 1;
}

.scroll-indicator.hidden {
    opacity: 0;
    visibility: hidden;
    animation: none;
}

.scroll-indicator span {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.mouse-wheel {
    width: 20px;
    height: 30px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    position: relative;
}

.mouse-wheel::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 8px;
    background: var(--primary);
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(15px); }
}

/* ========== SECTIONS ========== */
section {
    padding: 100px 20px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: slideInDown 0.8s ease;
}

.section-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* ========== ABOUT SECTION ========== */
.about {
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.03) 0%, transparent 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    color: var(--primary);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: 600;
}

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

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.highlight {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.highlight:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.05));
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.highlight-icon {
    font-size: 32px;
}

.highlight p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.about-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.about-card {
    background: var(--bg-glass);
    border: 2px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease;
}

.about-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
    transform: translateY(-10px);
}

.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.card-content {
    position: relative;
    z-index: 2;
}

.about-stat {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.about-stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

/* ========== SKILLS SECTION ========== */
.skills {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 0, 110, 0.03) 100%);
}

.skills-container {
    display: grid;
    gap: 60px;
}

.skill-category {
    animation: fadeInUp 0.8s ease;
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.skill-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.skill-card {
    background: var(--bg-glass);
    border: 2px solid var(--border-color);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.05));
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    color: var(--primary);
    position: relative;
    z-index: 2;
}

.skill-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.4));
}

.skill-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.skill-card p {
    font-size: 12px;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

/* ========== PROJECTS SECTION ========== */
.projects {
    background: linear-gradient(180deg, transparent 0%, rgba(160, 32, 240, 0.03) 100%);
    border-top: 1px solid var(--border-color);
}

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

.project-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    border-color: var(--primary);
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

.project-image {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 2px solid var(--border-color);
}

.project-number {
    font-size: 64px;
    font-weight: 900;
    color: rgba(0, 212, 255, 0.15);
    z-index: 1;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 110, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.project-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.project-card:hover .project-content h3 {
    color: var(--secondary);
}

.project-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:hover {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

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

.project-btn {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--primary);
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.project-btn.github {
    border-color: var(--secondary);
    background: rgba(255, 0, 110, 0.1);
    color: var(--secondary);
}

.project-btn.github:hover {
    background: var(--secondary);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

/* ========== JOURNEY SECTION ========== */
.journey {
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.03) 0%, rgba(160, 32, 240, 0.03) 100%);
    border-bottom: 1px solid var(--border-color);
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary), transparent);
    z-index: 0;
}

.timeline-item {
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
}

.timeline-item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 20px var(--primary);
}

.marker-glow {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--primary), transparent);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

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

.timeline-content {
    background: var(--bg-glass);
    border: 2px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.timeline-date {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        margin-left: 40px;
    }

    .timeline-item .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 1;
    }

    .timeline-marker {
        left: 0;
        transform: translateX(-50%);
    }
}

/* ========== CONTACT SECTION ========== */
.contact {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 0, 110, 0.03) 100%);
    border-top: 1px solid var(--border-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-method:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.05));
}

.method-icon {
    font-size: 24px;
}

.method-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-method a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.contact-method a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

/* ========== CERTIFICATIONS SECTION ========== */
.certifications {
    background: linear-gradient(180deg, rgba(160, 32, 240, 0.03) 0%, transparent 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.certification-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease;
}

.certification-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(160, 32, 240, 0.2);
}

.certification-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.certification-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.certification-card:hover .certification-content h3 {
    color: var(--accent);
}

.certification-issuer {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 5px;
}

.certification-year {
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.certification-link {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--accent);
    background: rgba(160, 32, 240, 0.1);
    color: var(--accent);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.certification-link:hover {
    background: var(--accent);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(160, 32, 240, 0.5);
}

.certification-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(160, 32, 240, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.certification-card:hover .certification-glow {
    opacity: 1;
}
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.form-focus {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.form-message {
    text-align: center;
    min-height: 20px;
    font-size: 14px;
    margin-top: 10px;
    border-radius: 8px;
    padding: 10px;
    display: none;
}

.form-message.show {
    display: block;
}

.form-message.success {
    color: var(--success);
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--success);
}

.form-message.error {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-darker);
    border-top: 2px solid var(--border-color);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1), transparent);
    animation: glow 3s ease-in-out infinite;
}

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

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-text {
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-year {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
}

.footer-glow {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent);
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

/* ========== EASTER EGG ========== */
.easter-egg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
}

.note {
    display: inline-block;
    font-size: 32px;
    color: var(--primary);
    margin: 0 10px;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.6));
}

.easter-egg.active {
    animation: noteFloat 2s ease-out forwards;
    opacity: 1;
}

@keyframes noteFloat {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -200%);
    }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        list-style: none;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

    .profile-frame {
        width: 100%;
        max-width: 320px;
        height: auto;
        padding: 14px;
    }

    .profile-photo {
        border-radius: 28px;
    }

    .neon-box {
        width: 250px;
        height: 250px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 30px;
        border-top: 1px solid var(--border-color);
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-resume-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 60px 20px;
    }

    .hero {
        padding: 80px 20px 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 12px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .stat-number {
        font-size: 24px;
    }

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

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

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        margin-left: 30px;
    }

    .timeline-marker {
        left: 0;
    }

    section {
        padding: 40px 15px;
    }

    .nav-menu {
        top: 65px;
    }

    .modal-content {
        padding: 25px;
        margin: 20px;
        max-width: 100%;
    }

    .modal-header h2 {
        font-size: 24px;
    }

    .modal-section h3 {
        font-size: 16px;
    }

    .modal-footer {
        flex-direction: column;
        gap: 10px;
    }

    .modal-footer .project-btn {
        width: 100%;
    }
}
