* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Futuristic Color Palette */
    --primary: hsl(180, 100%, 50%);
    --secondary: hsl(220, 100%, 60%);
    --accent: hsl(270, 100%, 70%);
    --background: hsl(240, 10%, 3.9%);
    --surface: hsl(240, 3.7%, 15.9%);
    --darker-surface: hsl(240, 10%, 8%);
    --foreground: hsl(0, 0%, 98%);
    --muted: hsl(240, 5%, 64.9%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-secondary: linear-gradient(135deg, var(--accent), hsl(320, 100%, 60%));
    --gradient-cosmic: linear-gradient(135deg, var(--background) 0%, hsl(270, 100%, 10%) 50%, var(--background) 100%);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 6rem 1.5rem;
    
    /* Border radius */
    --radius: 0.75rem;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-family);
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px hsla(180, 100%, 50%, 0.5);
    }
    50% {
        box-shadow: 0 0 40px hsla(180, 100%, 50%, 0.8);
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

.bounce {
    animation: bounce 2s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.glow-pulse {
    animation: glowPulse 2s ease-in-out infinite;
}

.shimmer {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Utility Classes */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text.secondary {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.primary-color {
    color: var(--primary);
}

.secondary-color {
    color: var(--secondary);
}

.accent-color {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--background);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px hsla(180, 100%, 50%, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--background);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: hsla(180, 100%, 50%, 0.1);
    color: var(--primary);
    border: 1px solid hsla(180, 100%, 50%, 0.2);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge.secondary {
    background: hsla(220, 100%, 60%, 0.1);
    color: var(--secondary);
    border-color: hsla(220, 100%, 60%, 0.2);
}

.badge.accent {
    background: hsla(270, 100%, 70%, 0.1);
    color: var(--accent);
    border-color: hsla(270, 100%, 70%, 0.2);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.8;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-cosmic);
    overflow: hidden;
}

.bg-elements {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    z-index: 1;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(3rem);
}

.bg-orb-1 {
    width: 8rem;
    height: 8rem;
    background: var(--primary);
    top: 5rem;
    left: 5rem;
    animation: float 3s ease-in-out infinite;
}

.bg-orb-2 {
    width: 12rem;
    height: 12rem;
    background: var(--secondary);
    bottom: 5rem;
    right: 5rem;
    animation: float 3s ease-in-out infinite 1s;
}

.bg-orb-3 {
    width: 6rem;
    height: 6rem;
    background: var(--accent);
    top: 50%;
    left: 25%;
    animation: float 3s ease-in-out infinite 2s;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    space-y: 2rem;
}

.hero-subtitle {
    color: var(--primary);
    font-size: 1.125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.hero-roles {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 40rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--muted);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
}

.image-container {
    position: relative;
}

.image-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: 1rem;
    filter: blur(2rem);
    opacity: 0.3;
    animation: glowPulse 2s ease-in-out infinite;
}

.hero-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 28rem;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 2px solid hsla(180, 100%, 50%, 0.2);
}

.floating-orb {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 6rem;
    height: 6rem;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(1rem);
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator i {
    color: var(--primary);
    font-size: 1.5rem;
}

/* About Section */
.about-section {
    padding: var(--section-padding);
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.role-card {
    padding: 2rem;
    background: hsla(240, 3.7%, 15.9%, 0.5);
    border: 1px solid hsla(180, 100%, 50%, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(50%, -50%);
    filter: blur(1rem);
}

.role-card:hover {
    border-color: hsla(180, 100%, 50%, 0.3);
    box-shadow: 0 0 30px hsla(180, 100%, 50%, 0.1);
    transform: translateY(-5px);
}

.role-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.role-icon {
    font-size: 1.5rem;
    transition: var(--transition);
}

.role-card:hover .role-icon {
    transform: scale(1.1);
}

.role-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

.role-description {
    color: var(--muted);
    line-height: 1.7;
}

/* Skills Section */
.skills-section {
    padding: var(--section-padding);
    background: hsla(240, 10%, 8%, 0.3);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.skill-category {
    padding: 2rem;
    background: hsla(240, 3.7%, 15.9%, 0.5);
    border: 1px solid hsla(180, 100%, 50%, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.skill-category:hover {
    border-color: hsla(220, 100%, 60%, 0.3);
    box-shadow: 0 0 30px hsla(220, 100%, 60%, 0.1);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 2rem;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    font-weight: 500;
    color: var(--foreground);
}

.skill-level {
    font-size: 0.875rem;
    color: var(--secondary);
}

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background: var(--surface);
    border-radius: 0.25rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 0.25rem;
    transition: width 1s ease-out;
}

.tools-section {
    padding: 2rem;
    background: hsla(240, 3.7%, 15.9%, 0.3);
    border: 1px solid hsla(180, 100%, 50%, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.tools-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.tool-badge {
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--foreground);
    border: 1px solid hsla(180, 100%, 50%, 0.2);
    border-radius: 2rem;
    font-size: 0.875rem;
    transition: var(--transition);
}

.tool-badge:hover {
    border-color: hsla(180, 100%, 50%, 0.4);
    background: hsla(180, 100%, 50%, 0.1);
}

/* Projects Section */
.projects-section {
    padding: var(--section-padding);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    padding: 2rem;
    background: hsla(240, 3.7%, 15.9%, 0.5);
    border: 1px solid hsla(180, 100%, 50%, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    overflow: hidden;
}

.project-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(50%, -50%);
    filter: blur(2rem);
}

.project-card:hover {
    border-color: hsla(180, 100%, 50%, 0.3);
    box-shadow: 0 0 30px hsla(180, 100%, 50%, 0.1);
    transform: translateY(-5px);
}

.project-content {
    position: relative;
    z-index: 2;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-category {
    padding: 0.25rem 0.75rem;
    background: transparent;
    color: var(--foreground);
    border: 1px solid hsla(180, 100%, 50%, 0.2);
    border-radius: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-status {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-live {
    background: hsla(180, 100%, 50%, 0.1);
    color: var(--primary);
    border: 1px solid hsla(180, 100%, 50%, 0.2);
}

.status-beta {
    background: hsla(220, 100%, 60%, 0.1);
    color: var(--secondary);
    border: 1px solid hsla(220, 100%, 60%, 0.2);
}

.status-dev {
    background: hsla(270, 100%, 70%, 0.1);
    color: var(--accent);
    border: 1px solid hsla(270, 100%, 70%, 0.2);
}

.status-concept {
    background: hsla(240, 5%, 64.9%, 0.1);
    color: var(--muted);
    border: 1px solid hsla(240, 5%, 64.9%, 0.2);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.project-card:hover .project-title {
    color: var(--primary);
}

.project-description {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background: transparent;
    color: var(--foreground);
    border: 1px solid hsla(180, 100%, 50%, 0.2);
    border-radius: 1rem;
    font-size: 0.75rem;
    transition: var(--transition);
}

.tech-tag:hover {
    border-color: hsla(180, 100%, 50%, 0.4);
}

.project-actions {
    display: flex;
    gap: 0.75rem;
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background: hsla(240, 10%, 8%, 0.3);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    padding: 2rem;
    background: hsla(240, 3.7%, 15.9%, 0.5);
    border: 1px solid hsla(180, 100%, 50%, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--foreground);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    background: hsla(240, 10%, 8%, 0.5);
    border: 1px solid hsla(180, 100%, 50%, 0.2);
    border-radius: 0.5rem;
    color: var(--foreground);
    font-family: inherit;
    resize: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsla(180, 100%, 50%, 0.4);
    box-shadow: 0 0 0 3px hsla(180, 100%, 50%, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    padding: 2rem;
    background: hsla(240, 3.7%, 15.9%, 0.3);
    border: 1px solid hsla(180, 100%, 50%, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--muted);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.contact-item:hover {
    color: var(--primary);
    background: hsla(180, 100%, 50%, 0.05);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--muted);
}

.contact-value {
    font-weight: 500;
    color: var(--foreground);
}

.social-grid {
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: hsla(240, 10%, 8%, 0.5);
    border: 1px solid hsla(180, 100%, 50%, 0.2);
    border-radius: 50%;
    color: var(--muted);
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    border-color: hsla(180, 100%, 50%, 0.4);
    box-shadow: 0 0 20px hsla(180, 100%, 50%, 0.2);
}

.social-btn.github:hover {
    color: var(--primary);
}

.social-btn.linkedin:hover {
    color: var(--secondary);
}

.social-btn.twitter:hover {
    color: var(--accent);
}

.services-card {
    background: hsla(180, 100%, 50%, 0.05);
    border-color: hsla(180, 100%, 50%, 0.2);
}

.services-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-tag {
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--foreground);
    border: 1px solid hsla(180, 100%, 50%, 0.2);
    border-radius: 2rem;
    font-size: 0.875rem;
    width: fit-content;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .roles-grid {
        grid-template-columns: 1fr;
    }
    
    .social-grid {
        justify-content: center;
    }
    
    .tools-grid {
        gap: 0.5rem;
    }
    
    .tool-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .bg-orb-1, .bg-orb-2, .bg-orb-3 {
        display: none;
    }
}