/* ==================== RESET & VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --space-cadet: #1A1B37;
    --special-magenta: #8C355B;
    --dark-cyan: #008E96;
    --chrysler-blue: #4427B9;
    --byzantine-blue: #3D59C8;

    /* Text Colors */
    --text-primary: #E8E9F3;
    --text-secondary: #A0A3BD;
    --text-accent: #00D9E1;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--space-cadet);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ==================== ANIMATED BACKGROUND ==================== */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: orb-float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--dark-cyan), transparent);
    top: -10%;
    right: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--chrysler-blue), transparent);
    bottom: -15%;
    left: -10%;
    animation-delay: 7s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--special-magenta), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes orb-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

@keyframes smooth-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(20px);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 142, 150, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 142, 150, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Grid Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(61, 89, 200, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 89, 200, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* ==================== HEADER ==================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(26, 27, 55, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 142, 150, 0.15);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header:hover {
    background: rgba(26, 27, 55, 0.98);
    border-bottom-color: rgba(0, 142, 150, 0.25);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    padding: 0.6rem 0.8rem;
    border-radius: 25px;
    background: linear-gradient(135deg,
        rgba(26, 27, 55, 0.6),
        rgba(20, 21, 45, 0.8)
    );
    border: 2px solid rgba(0, 217, 225, 0.15);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.logo::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg,
        rgba(0, 217, 225, 0.4),
        rgba(68, 39, 185, 0.4)
    );
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(15px);
}

.logo:hover::before {
    opacity: 1;
}

.logo:hover {
    border-color: rgba(0, 217, 225, 0.5);
    box-shadow:
        0 12px 40px rgba(0, 217, 225, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
/* Logo Image Container with Effects - ENHANCED */
.logo-container {
    position: relative;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glowing Background - MORE VISIBLE */
.logo-glow {
    position: absolute;
    inset: -15px;
    background: radial-gradient(circle,
        rgba(0, 217, 225, 0.6),
        rgba(0, 142, 150, 0.4),
        transparent
    );
    border-radius: 50%;
    filter: blur(25px);
    opacity: 0.5;
    animation: logo-glow-pulse 2.5s ease-in-out infinite;
}

@keyframes logo-glow-pulse {
    0%, 100% {
        transform: scale(0.95);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.logo:hover .logo-glow {
    opacity: 1;
    animation-duration: 1.5s;
}
/* Rotating Ring - MORE VISIBLE */
.logo-ring {
    position: absolute;
    inset: -6px;
    border: 3px solid transparent;
    border-radius: 50%;
    opacity: 0.7;
    animation: logo-ring-rotate 3s linear infinite;
    background: linear-gradient(135deg,
        var(--text-accent),
        var(--dark-cyan),
        var(--chrysler-blue),
        transparent
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 3px;
    box-shadow: 0 0 20px rgba(0, 217, 225, 0.5);
}

@keyframes logo-ring-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* Logo Image - ENHANCED */
.logo-img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
    position: relative;
    z-index: 1;
    border-radius: 50%;
    background: linear-gradient(135deg,
        rgba(0, 142, 150, 0.2),
        rgba(68, 39, 185, 0.2)
    );
    padding: 5px;
    border: 2px solid rgba(0, 217, 225, 0.3);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        0 0 20px rgba(0, 217, 225, 0.3);
}

.logo:hover .logo-img {
    transform: scale(1.2) rotate(12deg);
    filter: drop-shadow(0 12px 30px rgba(0, 217, 225, 0.8));
    border-color: rgba(0, 217, 225, 0.6);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        0 0 35px rgba(0, 217, 225, 0.6);
}
/* Animated Logo Text - ENHANCED */
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Individual Letters with Stagger Animation - ENHANCED */
.text-letter {
    display: inline-block;
    background: linear-gradient(135deg,
        #ffffff,
        var(--text-accent)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 0 20px rgba(0, 217, 225, 0.5);
}

.logo:hover .text-letter {
    background: linear-gradient(135deg,
        var(--text-accent),
        #ffffff,
        var(--text-accent)
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: letter-bounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 0 10px rgba(0, 217, 225, 0.8));
}
/* Glowing Dot - SUPER ENHANCED */
.logo-dot {
    font-size: 2.5rem;
    background: linear-gradient(135deg,
        var(--text-accent),
        var(--dark-cyan),
        var(--text-accent)
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
    animation: dot-pulse 1.8s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(0, 217, 225, 0.8));
}

@keyframes dot-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 12px rgba(0, 217, 225, 0.8));
    }
    50% {
        transform: scale(1.3);
        filter: drop-shadow(0 0 25px rgba(0, 217, 225, 1));
    }
}

.logo:hover .logo-dot {
    animation: dot-spin 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 0 20px rgba(0, 217, 225, 1));
}
/* Subtitle - MORE VISIBLE */
.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    background: linear-gradient(90deg,
        var(--dark-cyan),
        var(--text-accent),
        var(--dark-cyan)
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: subtitle-shimmer 2.5s linear infinite;
    opacity: 0.9;
    margin-left: 2px;
    filter: drop-shadow(0 0 8px rgba(0, 217, 225, 0.4));
}

@keyframes subtitle-shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.logo:hover .logo-subtitle {
    opacity: 1;
    letter-spacing: 3.5px;
    filter: drop-shadow(0 0 12px rgba(0, 217, 225, 0.8));
}
.logo:hover .logo-ring {
    opacity: 1;
    animation-duration: 2s;
    box-shadow: 0 0 30px rgba(0, 217, 225, 0.8);
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.logo-dot {
    color: var(--dark-cyan);
    font-size: 2rem;
}

.logo:hover .logo-text {
    color: var(--dark-cyan);
}

nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--dark-cyan), var(--chrysler-blue));
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px;
}

nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 142, 150, 0.08), transparent);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

nav a:hover {
    color: var(--text-accent);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover::before {
    opacity: 1;
}

.nav-cta {
    padding: 0.6rem 1.4rem;
    border: 2px solid var(--dark-cyan);
    border-radius: 10px;
    color: var(--dark-cyan) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 700 !important;
    background: linear-gradient(135deg, rgba(0, 142, 150, 0.08), transparent);
    position: relative;
    overflow: hidden;
}

.nav-cta::after {
    display: none;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dark-cyan), var(--chrysler-blue));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.nav-cta:hover {
    background-color: rgba(0, 142, 150, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 142, 150, 0.25);
    border-color: var(--text-accent);
    color: var(--text-accent) !important;
}

/* ==================== MAIN CONTENT ==================== */
main {
    margin-top: 80px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) 5%;
    gap: 4rem;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(0, 142, 150, 0.15), rgba(0, 142, 150, 0.05));
    border: 2px solid rgba(0, 142, 150, 0.4);
    border-radius: 30px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-accent);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 142, 150, 0.1);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    border-color: var(--text-accent);
    box-shadow: 0 6px 20px rgba(0, 142, 150, 0.2);
    transform: translateY(-2px);
}

.hero-badge svg circle {
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

.hero-greeting {
    color: var(--dark-cyan);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--byzantine-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.title-decoration {
    position: absolute;
    top: -20px;
    right: -40px;
    opacity: 0.3;
    pointer-events: none;
}

.accent-text {
    color: var(--dark-cyan);
    -webkit-text-fill-color: var(--dark-cyan);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.typing-text {
    position: relative;
    display: inline-block;
}

.typing-text::after {
    content: '|';
    color: var(--dark-cyan);
    animation: blink 1s infinite;
    margin-left: 4px;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.stat-icon {
    font-size: 1.2rem;
}

.btn {
    padding: 0.9rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    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.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn svg {
    transition: transform 0.4s ease;
}

.btn:hover svg {
    transform: translateX(5px) rotate(5deg);
}

.btn-primary {
    background: linear-gradient(135deg, var(--dark-cyan), var(--chrysler-blue));
    color: white;
    box-shadow: 0 8px 20px rgba(0, 142, 150, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 142, 150, 0.5);
}

.btn-secondary {
    border: 2px solid var(--byzantine-blue);
    color: var(--text-primary);
    background: transparent;
    position: relative;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 142, 150, 0.1), rgba(68, 39, 185, 0.1));
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    background: rgba(61, 89, 200, 0.15);
    transform: translateY(-5px);
    border-color: var(--dark-cyan);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Code Window */
.code-window {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: rgba(26, 27, 55, 0.8);
    border: 2px solid rgba(61, 89, 200, 0.3);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.window-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(61, 89, 200, 0.1);
    border-bottom: 1px solid rgba(61, 89, 200, 0.2);
}

.window-dots {
    display: flex;
    gap: 0.5rem;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.window-dots span:nth-child(1) {
    background: #ff5f57;
}

.window-dots span:nth-child(2) {
    background: #febc2e;
}

.window-dots span:nth-child(3) {
    background: #28c840;
}

.window-title {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}

.window-content {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.code-line {
    opacity: 0;
    animation: code-appear 0.5s ease forwards;
}

.code-line:nth-child(1) { animation-delay: 0.5s; }
.code-line:nth-child(2) { animation-delay: 1s; }
.code-line:nth-child(3) { animation-delay: 1.5s; }
.code-line:nth-child(4) { animation-delay: 2s; }
.code-line:nth-child(5) { animation-delay: 2.5s; }

@keyframes code-appear {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.code-property {
    color: #8C355B;
}

.code-bracket {
    color: var(--dark-cyan);
}

.code-attr {
    color: var(--chrysler-blue);
}

.code-value {
    color: #E8E9F3;
}

.floating-card {
    position: absolute;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.card-1 {
    width: 280px;
    height: 180px;
    background: linear-gradient(135deg, rgba(140, 53, 91, 0.2), rgba(140, 53, 91, 0.05));
    border: 2px solid rgba(140, 53, 91, 0.3);
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    width: 320px;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 142, 150, 0.2), rgba(0, 142, 150, 0.05));
    border: 2px solid rgba(0, 142, 150, 0.4);
    top: 40%;
    right: 5%;
    animation: float 7s ease-in-out infinite;
    animation-delay: 1s;
}

.card-3 {
    width: 260px;
    height: 160px;
    background: linear-gradient(135deg, rgba(68, 39, 185, 0.2), rgba(68, 39, 185, 0.05));
    border: 2px solid rgba(68, 39, 185, 0.3);
    bottom: 15%;
    left: 25%;
    animation: float 8s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* ==================== SECTION STYLES ==================== */
section {
    padding: var(--spacing-xl) 5%;
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    scroll-behavior: smooth;
}

/* Accent Lines */
.accent-line {
    position: absolute;
    width: 3px;
    height: 200px;
    background: linear-gradient(180deg, transparent, var(--dark-cyan), transparent);
    opacity: 0.6;
}

.accent-line.left {
    left: 3%;
    top: 20%;
}

.accent-line.right {
    right: 3%;
    top: 30%;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: var(--spacing-lg);
    justify-content: center;
}

@media (max-width: 768px) {
    .section-header {
        justify-content: flex-start;
    }
}

.section-number {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-cyan);
    padding: 0.5rem 1rem;
    border: 2px solid var(--dark-cyan);
    border-radius: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-cyan), var(--chrysler-blue));
    border-radius: 2px;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    background: linear-gradient(135deg, rgba(61, 89, 200, 0.03), transparent);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.quote-decoration {
    font-family: var(--font-heading);
    font-size: 8rem;
    line-height: 0;
    color: var(--dark-cyan);
    opacity: 0.15;
    position: absolute;
    left: -20px;
    top: -40px;
    pointer-events: none;
}

.about-text {
    position: relative;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(61, 89, 200, 0.08), rgba(0, 142, 150, 0.02));
    border: 2px solid rgba(61, 89, 200, 0.2);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 142, 150, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat:hover::after {
    opacity: 1;
}

.stat:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--dark-cyan);
    background: linear-gradient(135deg, rgba(61, 89, 200, 0.12), rgba(0, 142, 150, 0.08));
    box-shadow: 0 10px 30px rgba(0, 142, 150, 0.15);
}

.stat-icon-bg {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 3.5rem;
    opacity: 0.1;
    pointer-events: none;
}

.stat:hover .stat-icon-bg {
    opacity: 0.2;
    transform: scale(1.1) rotate(10deg);
    transition: all 0.3s ease;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--dark-cyan), var(--chrysler-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== SKILLS SECTION ==================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.skill-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26, 27, 55, 0.7), rgba(68, 39, 185, 0.04));
    border: 2px solid rgba(61, 89, 200, 0.2);
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.skill-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--dark-cyan), transparent);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    pointer-events: none;
    filter: blur(40px);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--chrysler-blue), var(--dark-cyan), var(--chrysler-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card:hover .skill-glow {
    opacity: 0.4;
    width: 150px;
    height: 150px;
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--dark-cyan);
    box-shadow: 0 15px 40px rgba(0, 142, 150, 0.3);
    background: linear-gradient(135deg, rgba(26, 27, 55, 0.9), rgba(68, 39, 185, 0.1));
}

.skill-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, rgba(0, 142, 150, 0.2), rgba(68, 39, 185, 0.2));
    border: 2px solid var(--dark-cyan);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: var(--dark-cyan);
}


.skill-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.skill-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.skill-level {
    margin-top: 1rem;
    height: 6px;
    background: rgba(61, 89, 200, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.level-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--dark-cyan), var(--chrysler-blue));
    border-radius: 10px;
    transition: width 1s ease;
    box-shadow: 0 0 10px rgba(0, 142, 150, 0.5);
}

/* ==================== PROJECTS SECTION ==================== */
.projects {
    background: linear-gradient(135deg, transparent, rgba(140, 53, 91, 0.03));
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(26, 27, 55, 0.8), rgba(68, 39, 185, 0.05));
    border: 2px solid rgba(61, 89, 200, 0.2);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 142, 150, 0.1), transparent);
    transition: all 0.5s ease;
    opacity: 0;
    pointer-events: none;
}

.project-card:hover::before {
    opacity: 1;
    top: -20%;
    right: -20%;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--chrysler-blue);
    box-shadow: 0 20px 50px rgba(68, 39, 185, 0.4);
    background: linear-gradient(135deg, rgba(26, 27, 55, 0.95), rgba(68, 39, 185, 0.1));
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.project-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.project-tag {
    padding: 0.4rem 1rem;
    background: rgba(0, 142, 150, 0.15);
    border: 1.5px solid var(--dark-cyan);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--dark-cyan);
    white-space: nowrap;
    transition: all 0.3s ease;
    font-weight: 600;
}

.project-card:hover .project-tag {
    background: rgba(0, 142, 150, 0.25);
    box-shadow: 0 0 15px rgba(0, 142, 150, 0.3);
    transform: translateY(-2px) scale(1.05);
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.project-tech span {
    padding: 0.4rem 0.9rem;
    background: rgba(61, 89, 200, 0.12);
    border: 1.5px solid rgba(61, 89, 200, 0.4);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--byzantine-blue);
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-card:hover .project-tech span {
    background: rgba(61, 89, 200, 0.2);
    border-color: var(--dark-cyan);
    color: var(--dark-cyan);
    transform: translateY(-2px);
}

.project-links {
    padding-top: 1rem;
    border-top: 1px solid rgba(61, 89, 200, 0.2);
}

.project-link {
    color: var(--dark-cyan);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.project-link::after {
    content: '→';
    transition: transform 0.4s ease;
}

.project-link:hover {
    transform: translateX(8px);
    color: var(--text-accent);
}

.project-link:hover::after {
    transform: translateX(5px);
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background: linear-gradient(135deg, rgba(0, 142, 150, 0.03), transparent);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-text {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.contact-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26, 27, 55, 0.7), rgba(68, 39, 185, 0.05));
    border: 2px solid rgba(61, 89, 200, 0.2);
    border-radius: 16px;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 280px;
}

.contact-card > div {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.contact-icon {
    margin-right: 0.25rem;
    width: 32px;
    height: 32px;
    color: var(--dark-cyan);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    color: var(--text-accent);
    transform: scale(1.1) rotate(5deg);
}

.contact-card-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.contact-card-disabled .contact-icon {
    color: var(--text-secondary);
}

.contact-card-disabled .contact-value {
    font-style: italic;
    color: var(--text-secondary);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 142, 150, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--dark-cyan);
    box-shadow: 0 15px 40px rgba(0, 142, 150, 0.3);
    background: linear-gradient(135deg, rgba(26, 27, 55, 0.9), rgba(68, 39, 185, 0.1));
}

.contact-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;

}

/* ==================== HAMBURGER MENU ==================== */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    background: transparent;
    border: none;
}

.hamburger-line {
    width: 28px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.menu-toggle:checked ~ .hamburger .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: var(--text-accent);
}

.menu-toggle:checked ~ .hamburger .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle:checked ~ .hamburger .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: var(--text-accent);
}

/* Navigation Styles - Clean & Fixed */
.nav-menu {
    position: relative;
    display: flex;
    align-items: center;
}

/* Simplified floating blob */
.nav-blob {
    display: none; /* Disabled for now - was causing visual issues */
}

/* Animated spotlight - disabled on desktop for cleaner look */
.nav-spotlight {
    display: none;
}

/* Floating particles - simplified */
.nav-particles {
    display: none; /* Disabled for cleaner look */
}

.particle {
    display: none;
}

/* Clean nav links with subtle effects */
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 2px solid transparent;
}

/* Hover effect - simple and effective */
.nav-link:hover {
    transform: translateY(-2px);
    background: rgba(0, 142, 150, 0.1);
    border-color: rgba(0, 142, 150, 0.3);
    box-shadow: 0 4px 15px rgba(0, 142, 150, 0.2);
}

/* Background gradient glow on hover */
.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 142, 150, 0.15), rgba(68, 39, 185, 0.1));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.nav-link:hover::before {
    opacity: 1;
}

/* Icon - simple and clean */
.nav-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    display: inline-block;
    z-index: 1;
}

.nav-link:hover .nav-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Text - clean */
.nav-text {
    position: relative;
    z-index: 1;
    font-weight: 600;
    transition: letter-spacing 0.3s ease;
}

.nav-link:hover .nav-text {
    letter-spacing: 0.5px;
}

/* Sound wave - disabled */
.nav-wave {
    display: none;
}


.nav-highlight:hover {
    background: linear-gradient(135deg, rgba(0, 142, 150, 0.25), rgba(68, 39, 185, 0.15));
    border-color: var(--text-accent);
    box-shadow: 0 6px 20px rgba(0, 142, 150, 0.3);
}

/* Glow effect for contact button */
.nav-glow {
    display: none;
}

/* Active state - simple visual feedback */
.nav-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 142, 150, 0.3);
}

/* ==================== TECH SHOWCASE SECTION ==================== */
.tech-showcase {
    padding: var(--spacing-xl) 5%;
    position: relative;
}

.showcase-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.tech-item {
    perspective: 1200px;
    height: 350px;
    width: 100%;
}

.tech-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
}

.tech-item:hover .tech-item-inner {
    transform: rotateY(180deg);
}

.tech-item:active .tech-item-inner {
    transition: transform 0.5s ease;
}

.tech-item-front,
.tech-item-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tech-item-front {
    background: linear-gradient(135deg, rgba(26, 27, 55, 0.8), rgba(68, 39, 185, 0.05));
    border: 2px solid rgba(61, 89, 200, 0.3);
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.tech-item-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 142, 150, 0.1), transparent);
    pointer-events: none;
}

.tech-item-back {
    background: linear-gradient(135deg, rgba(0, 142, 150, 0.2), rgba(68, 39, 185, 0.2));
    border: 2px solid var(--dark-cyan);
    transform: rotateY(180deg);
    box-shadow: 0 0 30px rgba(0, 142, 150, 0.2) inset;
}

.tech-icon-large {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.tech-item:hover .tech-icon-large {
    transform: scale(1.1) rotateZ(5deg);
}

.tech-icon-large svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(0, 142, 150, 0.4));
    transition: filter 0.3s ease;
}

.tech-item:hover .tech-icon-large svg {
    filter: drop-shadow(0 6px 20px rgba(0, 142, 150, 0.6));
}

.tech-logo-img {
    width: 125%;
    height: 125%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 142, 150, 0.4));
    transition: filter 0.3s ease;
}

.tech-item:hover .tech-logo-img {
    filter: drop-shadow(0 6px 20px rgba(0, 142, 150, 0.6));
}

.tech-item-front h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
    font-weight: 600;
}

.tech-percentage {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--dark-cyan), var(--chrysler-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.back-content {
    width: 100%;
    position: relative;
    z-index: 1;
}

.back-content h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.back-content ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.back-content li {
    color: var(--text-secondary);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-left: 3px solid var(--dark-cyan);
    border-radius: 4px;
    background: rgba(0, 142, 150, 0.05);
    transition: all 0.3s ease;
}

.back-content li:hover {
    border-left-color: var(--text-accent);
    background: rgba(0, 142, 150, 0.1);
    transform: translateX(5px);
}

/* ==================== CSS PLAYGROUND SECTION ==================== */
.css-playground {
    padding: var(--spacing-xl) 5%;
}

.playground-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.playground-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.playground-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26, 27, 55, 0.8), rgba(0, 142, 150, 0.03));
    border: 2px solid rgba(61, 89, 200, 0.3);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.playground-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 142, 150, 0.1), transparent);
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
}

.playground-card:hover::before {
    opacity: 1;
    top: -20%;
    left: -20%;
}

.playground-card:hover {
    border-color: var(--dark-cyan);
    box-shadow: 0 15px 50px rgba(0, 142, 150, 0.25);
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, rgba(26, 27, 55, 0.95), rgba(0, 142, 150, 0.08));
}

.playground-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.art-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* Neon Switch */
.neon-checkbox {
    display: none;
}

.neon-switch {
    position: relative;
    width: 120px;
    height: 60px;
    background: rgba(61, 89, 200, 0.2);
    border: 2px solid rgba(61, 89, 200, 0.4);
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.switch-slider {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 44px;
    height: 44px;
    background: var(--text-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.neon-checkbox:checked ~ .neon-switch {
    background: rgba(0, 142, 150, 0.3);
    border-color: var(--dark-cyan);
    box-shadow: 0 0 20px rgba(0, 142, 150, 0.5);
}

.neon-checkbox:checked ~ .neon-switch .switch-slider {
    transform: translateX(60px);
    background: var(--dark-cyan);
    box-shadow: 0 0 20px rgba(0, 142, 150, 0.8);
}

/* 3D Cube */
.cube-scene {
    width: 150px;
    height: 150px;
    perspective: 600px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: cube-rotate 10s infinite linear;
}

.cube-face {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid var(--dark-cyan);
    background: linear-gradient(135deg, rgba(0, 142, 150, 0.3), rgba(68, 39, 185, 0.3));
    opacity: 0.8;
}

.front  { transform: rotateY(0deg) translateZ(75px); }
.back   { transform: rotateY(180deg) translateZ(75px); }
.right  { transform: rotateY(90deg) translateZ(75px); }
.left   { transform: rotateY(-90deg) translateZ(75px); }
.top    { transform: rotateX(90deg) translateZ(75px); }
.bottom { transform: rotateX(-90deg) translateZ(75px); }

@keyframes cube-rotate {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.cube:hover {
    animation-play-state: paused;
}

/* Morphing Shapes */
.morph-container {
    width: 200px;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.morph-shape {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--dark-cyan), var(--chrysler-blue), var(--special-magenta));
    background-size: 200% 200%;
    animation: morph-animation 8s ease-in-out infinite, gradient-shift 4s ease infinite;
    box-shadow:
        0 0 20px rgba(0, 142, 150, 0.5),
        0 0 40px rgba(68, 39, 185, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    filter: blur(0.5px);
}

.morph-shape::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(225deg, var(--chrysler-blue), var(--special-magenta), var(--dark-cyan));
    background-size: 200% 200%;
    animation: morph-animation 8s ease-in-out infinite reverse, gradient-shift 4s ease infinite reverse;
    opacity: 0.6;
    mix-blend-mode: screen;
}

.morph-shape::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, rgba(232, 233, 243, 0.3), transparent);
    animation: morph-animation 8s ease-in-out infinite;
    filter: blur(5px);
}

@keyframes morph-animation {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg) scale(1);
    }
    12.5% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: rotate(45deg) scale(1.05);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        transform: rotate(90deg) scale(1);
    }
    37.5% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: rotate(135deg) scale(0.95);
    }
    50% {
        border-radius: 45% 55% 60% 40% / 45% 70% 30% 55%;
        transform: rotate(180deg) scale(1.1);
    }
    62.5% {
        border-radius: 75% 25% 47% 53% / 68% 55% 45% 32%;
        transform: rotate(225deg) scale(0.9);
    }
    75% {
        border-radius: 35% 65% 25% 75% / 35% 65% 35% 65%;
        transform: rotate(270deg) scale(1.05);
    }
    87.5% {
        border-radius: 80% 20% 55% 45% / 40% 80% 20% 60%;
        transform: rotate(315deg) scale(0.95);
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(360deg) scale(1);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Orbit Loader */
.orbit-loader {
    width: 120px;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border: rgba(61, 89, 200, 0.3) 3px solid;
    border-radius: 50%;
    animation: orbit-ring-spin 1.2s linear infinite;
}

.orbit-ball {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: orbit-ball-spin 2.5s linear infinite;
}

.orbit-ball::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    margin-top: -9px;
    background: linear-gradient(135deg, var(--dark-cyan), var(--text-accent));
    border-radius: 50%;
    box-shadow:
        0 0 10px rgba(0, 142, 150, 0.8),
        0 0 20px rgba(0, 217, 225, 0.6),
        0 0 30px rgba(0, 142, 150, 0.4);
}

.orbit-ball::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    margin-bottom: -6px;
    background: linear-gradient(135deg, var(--chrysler-blue), var(--special-magenta));
    border-radius: 50%;
    box-shadow:
        0 0 10px rgba(68, 39, 185, 0.8),
        0 0 20px rgba(140, 53, 91, 0.6);
}

@keyframes orbit-ring-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes orbit-ball-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Heartbeat */
.heart {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heart::before,
.heart::after,
.heart-left,
.heart-right {
    content: '';
    position: absolute;
    background: var(--special-magenta);
    animation: heartbeat 1.2s infinite ease-in-out;
}

.heart::before {
    width: 50px;
    height: 80px;
    border-radius: 50px 50px 0 0;
    left: 75%;
    top: 0;
    transform: translateX(-50%) rotate(-45deg);
    transform-origin: 0 100%;
}

.heart::after {
    width: 50px;
    height: 80px;
    border-radius: 50px 50px 0 0;
    left: 25%;
    top: 0;
    transform: translateX(-50%) rotate(45deg);
    transform-origin: 100% 100%;
    animation: heartbeat-right 1.2s infinite ease-in-out;
}

@keyframes heartbeat {
    0%, 100% {
        transform: translateX(-50%) rotate(-45deg) scale(1);
        filter: drop-shadow(0 0 5px var(--special-magenta));
    }
    10%, 30% {
        transform: translateX(-50%) rotate(-45deg) scale(0.85);
        filter: drop-shadow(0 0 3px var(--special-magenta));
    }
    20%, 40% {
        transform: translateX(-50%) rotate(-45deg) scale(1.15);
        filter: drop-shadow(0 0 15px var(--special-magenta));
    }
}

@keyframes heartbeat-right {
    0%, 100% {
        transform: translateX(-50%) rotate(45deg) scale(1);
    }
    10%, 30% {
        transform: translateX(-50%) rotate(45deg) scale(0.85);
    }
    20%, 40% {
        transform: translateX(-50%) rotate(45deg) scale(1.15);
    }
}

.heart-left,
.heart-right {
    display: none;
}

/* Glitch Effect */
.glitch-text {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px rgba(232, 233, 243, 0.5);
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch-text::before {
    color: var(--dark-cyan);
    animation: glitch-1 3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    text-shadow: 2px 0 var(--dark-cyan);
    z-index: -1;
}

.glitch-text::after {
    color: var(--special-magenta);
    animation: glitch-2 3s infinite reverse;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    z-index: -1;
}

@keyframes glitch-1 {
    0% {
        transform: translate(0);
        opacity: 1;
    }
    2% {
        transform: translate(-5px, 2px);
        opacity: 0.8;
    }
    4% {
        transform: translate(-3px, -2px);
        opacity: 0.9;
    }
    6% {
        transform: translate(3px, 1px);
        opacity: 1;
    }
    8% {
        transform: translate(0);
        opacity: 1;
    }
    10% {
        transform: translate(4px, -1px);
        opacity: 0.7;
    }
    12% {
        transform: translate(0);
        opacity: 1;
    }
    100% {
        transform: translate(0);
        opacity: 1;
    }
}

@keyframes glitch-2 {
    0% {
        transform: translate(0);
        opacity: 1;
    }
    3% {
        transform: translate(5px, -2px);
        opacity: 0.8;
    }
    5% {
        transform: translate(3px, 2px);
        opacity: 0.9;
    }
    7% {
        transform: translate(-3px, -1px);
        opacity: 1;
    }
    9% {
        transform: translate(0);
        opacity: 1;
    }
    11% {
        transform: translate(-4px, 1px);
        opacity: 0.7;
    }
    13% {
        transform: translate(0);
        opacity: 1;
    }
    100% {
        transform: translate(0);
        opacity: 1;
    }
}

/* ==================== FOOTER ==================== */
footer {
    padding: 3rem 5%;
    text-align: center;
    border-top: 2px solid rgba(0, 142, 150, 0.15);
    color: var(--text-secondary);
    font-size: 0.95rem;
    background: linear-gradient(135deg, rgba(26, 27, 55, 0.5), rgba(68, 39, 185, 0.02));
    transition: all 0.3s ease;
}

footer:hover {
    border-top-color: rgba(0, 142, 150, 0.25);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-md) 5%;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        height: 300px;
        width: 100%;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, rgba(26, 27, 55, 0.98), rgba(68, 39, 185, 0.4));
        backdrop-filter: blur(30px);
        border-left: 3px solid var(--dark-cyan);
        padding: 5rem 0 2rem;
        transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 999;
        box-shadow: -10px 0 60px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }

    .menu-toggle:checked ~ .nav-menu {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 1.5rem;
        position: relative;
        z-index: 1;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateX(50px) scale(0.8);
        animation: none;
    }

    .menu-toggle:checked ~ .nav-menu li {
        opacity: 1;
        animation: mobile-menu-slide 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }

    .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu li:nth-child(5) { animation-delay: 0.5s; }

    @keyframes mobile-menu-slide {
        from {
            opacity: 0;
            transform: translateX(50px) scale(0.8);
        }
        to {
            opacity: 1;
            transform: translateX(0) scale(1);
        }
    }

    .nav-link {
        padding: 1.2rem 1.5rem;
        justify-content: flex-start;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(0, 142, 150, 0.15), rgba(68, 39, 185, 0.1));
        border: 2px solid rgba(0, 142, 150, 0.3);
        transition: all 0.3s ease;
        position: relative;
        overflow: visible;
    }

    .nav-link::before {
        background: linear-gradient(135deg, rgba(0, 142, 150, 0.25), rgba(68, 39, 185, 0.2));
        opacity: 0;
    }

    .nav-link:hover::before,
    .nav-link:active::before {
        opacity: 1;
    }

    .nav-link:hover,
    .nav-link:active {
        background: linear-gradient(135deg, rgba(0, 142, 150, 0.25), rgba(68, 39, 185, 0.15));
        border-color: var(--dark-cyan);
        transform: translateX(10px) scale(1.02);
        box-shadow:
            0 8px 25px rgba(0, 142, 150, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .nav-text {
        font-size: 1.15rem;
        font-weight: 600;
    }

    .nav-icon {
        font-size: 1.4rem;
    }

    .nav-highlight {
        background: linear-gradient(135deg, rgba(0, 142, 150, 0.25), rgba(68, 39, 185, 0.15));
        border-color: var(--dark-cyan);
    }

    .nav-highlight:hover,
    .nav-highlight:active {
        background: linear-gradient(135deg, rgba(0, 142, 150, 0.35), rgba(68, 39, 185, 0.2));
        box-shadow: 0 6px 20px rgba(0, 142, 150, 0.4);
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    section {
        padding: var(--spacing-lg) 5%;
    }

    .projects-grid,
    .skills-grid,
    .showcase-grid,
    .playground-grid {
        grid-template-columns: 1fr;
    }

    .tech-item {
        height: 320px;
    }

    .glitch-text {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-img {
        width: 50px;
        height: 50px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .glitch-text {
        font-size: 2.5rem;
    }

    .playground-grid {
        gap: 1.5rem;
    }

    .art-container {
        min-height: 150px;
    }
}
