/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover, a:focus, a:active, a:visited {
    text-decoration: none;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0a0a1a;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(236, 72, 153, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 20% 80%, rgba(59, 130, 246, 0.12) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundShift 25s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(10, 10, 26, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo h2 {
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(45deg, #8b5cf6, #ec4899, #3b82f6);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logoGradient 4s ease-in-out infinite;
    letter-spacing: 1px;
}

@keyframes logoGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8b5cf6;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #0a0a1a;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    animation: dimensionalShift 12s ease-in-out infinite;
}

@keyframes dimensionalShift {
    0%, 100% { 
        transform: translate(0, 0);
        opacity: 0.7;
    }
    50% { 
        transform: translate(-5px, 5px);
        opacity: 0.9;
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
    position: relative;
    width: 100%;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 3;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: #8b5cf6;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.05em;
    width: 100%;
    text-align: center;
    overflow: visible;
    position: relative;
    z-index: 100;
    isolation: isolate;
}

.gradient-text {
    background: linear-gradient(45deg, #8b5cf6, #ec4899, #3b82f6, #8b5cf6);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease-in-out infinite, textFloat 6s ease-in-out infinite;
    display: block;
    text-decoration: none;
    will-change: background-position, transform;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.8));
    position: relative;
    z-index: 100;
    isolation: isolate;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes textFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes textGlow {
    0%, 100% { filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.8)); }
    50% { filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.9)); }
}

.hero-roles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.role-item {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.role-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
    transform: translateY(-2px);
}

.role-divider {
    color: #64748b;
    font-weight: 300;
}

.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #94a3b8;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-location i {
    color: #ec4899;
    font-size: 1.1em;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:focus,
.btn:focus-visible,
.btn:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.btn-primary {
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    color: white;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6);
    background: linear-gradient(45deg, #7c3aed, #db2777);
}

.btn-secondary {
    background: transparent;
    color: #8b5cf6;
    border: 2px solid #8b5cf6;
}

.btn-secondary:hover {
    background: #8b5cf6;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

/* Hero Visual Elements */
.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    backdrop-filter: blur(20px);
}

.element-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation: float1 6s ease-in-out infinite;
}

.element-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 15%;
    animation: float2 8s ease-in-out infinite;
}

.element-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(-180deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(90deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #8b5cf6);
    position: relative;
    animation: scroll 2s ease-in-out infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid #8b5cf6;
}

@keyframes scroll {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 4rem;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    border-radius: 2px;
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-description {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #e0e0e0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    line-height: 1.8;
    font-weight: 400;
}

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #8b5cf6, #ec4899, #3b82f6);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.skill-card:hover::before {
    transform: translateX(0);
}

.skill-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(139, 92, 246, 0.3);
}

.skill-card i {
    font-size: 3.5rem;
    color: #8b5cf6;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.skill-card:hover i {
    color: #ec4899;
    transform: scale(1.1);
}

.skill-card h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.skill-card p {
    color: #bbb;
    line-height: 1.6;
    font-size: 1rem;
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    position: relative;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    outline: none !important;
}

.portfolio-item:focus,
.portfolio-item:focus-visible,
.portfolio-item:active {
    outline: none !important;
    border-color: rgba(139, 92, 246, 0.5) !important;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #8b5cf6, #ec4899, #3b82f6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.portfolio-item:hover::before {
    transform: scaleX(1);
}

.portfolio-item:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(78, 205, 196, 0.3);
}

.portfolio-image {
    height: 60%;
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-image::before {
    opacity: 1;
}

.portfolio-image i {
    font-size: 2.8rem;
    color: white;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-image i {
    transform: scale(1.1) rotate(5deg);
}

.portfolio-content {
    padding: 1.8rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.portfolio-content h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-content h3 {
    color: #8b5cf6;
}

.portfolio-content p {
    color: #bbb;
    line-height: 1.5;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-content p {
    color: #ddd;
}

/* Contact Section */
.contact {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-info p {
    color: #bbb;
    margin-bottom: 2.5rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    font-size: 1.1rem;
}

.contact-item i {
    color: #8b5cf6;
    margin-right: 1rem;
    width: 24px;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b5cf6;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    outline: none !important;
}

.social-link:focus,
.social-link:focus-visible {
    outline: none !important;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-link:hover {
    background: #8b5cf6;
    color: #0a0a1a;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.social-link:hover svg {
    fill: currentColor;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.08);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: 'Inter', sans-serif;
    outline: none !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
    opacity: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none !important;
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none !important;
}

.form-group select option {
    background: #0a0a1a;
    color: #fff;
    padding: 0.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.footer-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-text p {
    color: #bbb;
    font-size: 1rem;
    margin: 0;
}

/* Portfolio Page Styles */
.portfolio-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #0a0a1a;
    margin-top: 80px;
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    animation: dimensionalShift 12s ease-in-out infinite;
}

.portfolio-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 5;
    position: relative;
}

.portfolio-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: #8b5cf6;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.portfolio-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-align: center;
    width: 100%;
    overflow: visible;
    position: relative;
    z-index: 100;
    isolation: isolate;
}

.portfolio-description {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #94a3b8;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
}

.portfolio-content {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.content-text h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-text p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.content-features h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.feature-list {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
}

.feature-item i {
    color: #8b5cf6;
    font-size: 1.2rem;
    width: 20px;
}

.feature-item span {
    color: #e2e8f0;
    font-weight: 500;
}

.portfolio-cta {
    padding: 5rem 0;
    text-align: center;
    background: rgba(139, 92, 246, 0.05);
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    color: #94a3b8;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Music Production Page Specific Styles */
.genre-showcase {
    margin: 4rem 0;
    text-align: center;
}

.genre-showcase h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.genre-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.genre-card:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-5px);
}

.genre-card h4 {
    color: #8b5cf6;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-item {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #e2e8f0;
}

.content-text ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.content-text li {
    padding: 0.5rem 0;
    color: #94a3b8;
    position: relative;
    padding-left: 1.5rem;
}

.content-text li::before {
    content: '▶';
    color: #8b5cf6;
    position: absolute;
    left: 0;
}

/* Global reset for browser defaults */
*:focus {
    outline: none !important;
}

*::-moz-focus-inner {
    border: 0 !important;
}

/* Prevent browser default colors */
* {
    -webkit-tap-highlight-color: transparent !important;
}

/* Additional outline fixes */
*:focus,
*:focus-visible,
*:active {
    outline: none !important;
    border-color: rgba(139, 92, 246, 0.5) !important;
}

/* Specific portfolio item fixes */
.portfolio-item,
.portfolio-item:hover,
.portfolio-item:focus,
.portfolio-item:focus-visible,
.portfolio-item:active {
    outline: none !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
}

.portfolio-item:hover {
    border-color: rgba(139, 92, 246, 0.3) !important;
}

button:focus,
button:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible,
a:focus,
a:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.5) !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .portfolio-stats {
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 120px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 1024px) {
    .portfolio-grid {
        max-width: 700px;
        gap: 2rem;
    }

    .portfolio-item {
        aspect-ratio: 1.1;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(10, 10, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(20px);
        padding: 3rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 1.5rem;
        display: block;
        font-size: 1.1rem;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        padding: 3rem 20px;
    }

    .hero-title {
        font-size: clamp(3rem, 15vw, 6rem);
        width: 100vw;
        margin-left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    .hero-roles {
        flex-direction: column;
        gap: 0.5rem;
    }

    .role-divider {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .element {
        display: none;
    }

    .section-title {
        margin-bottom: 3rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }

    .skills {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 2rem;
        max-width: 400px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .portfolio-item {
        margin: 0 auto;
        width: 100%;
        max-width: 350px;
        aspect-ratio: 1.2;
    }

    .portfolio-image {
        height: 65%;
    }

    .skill-card {
        padding: 2.5rem 1.5rem;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .nav-logo h2 {
        font-size: 1.5rem;
    }

    .hero-content {
        padding: 2rem 15px;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .hero-location {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
        margin: 0 auto;
        max-width: 100%;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .social-links {
        justify-content: center;
    }

    .contact-item {
        justify-content: center;
        text-align: center;
    }

    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 360px) {
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }

    .skill-card {
        padding: 2rem 1rem;
    }

    .contact-form {
        padding: 1rem;
    }
}
