/* Modern Reset & Base Styles */
:root {
    /* Premium Modern Palette - Enhanced */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.5);

    --secondary: #ec4899;
    --secondary-light: #f472b6;
    --secondary-dark: #db2777;
    --secondary-glow: rgba(236, 72, 153, 0.5);

    --accent: #8b5cf6;
    --accent-light: #a78bfa;

    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: rgba(30, 41, 59, 0.4);
    --bg-card-hover: rgba(51, 65, 85, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-2: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    --gradient-3: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    --gradient-text: linear-gradient(135deg, #818cf8, #c084fc, #f472b6);
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.2) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(236, 72, 153, 0.2) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.2) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(99, 102, 241, 0.15) 0px, transparent 50%);

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-spring: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* Animated Gradient Mesh Background */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh);
    z-index: -2;
    pointer-events: none;
    animation: meshRotate 20s ease-in-out infinite;
}

@keyframes meshRotate {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1) rotate(5deg);
    }
}

/* Cursor Glow Effect - Enhanced */
.cursor-glow {
    position: fixed;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(236, 72, 153, 0.2) 30%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    mix-blend-mode: screen;
    transition: background 0.3s ease;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

/* Noise Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-bounce);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 600px;
    height: 600px;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 30px -10px var(--primary-glow);
    position: relative;
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, #818cf8, #c084fc, #f472b6);
    -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;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px -10px var(--primary-glow), var(--shadow-glow);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: var(--bg-glass);
    color: white;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-left: 1rem;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-md);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.logo-dot {
    color: var(--secondary);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
    transition: var(--transition-smooth);
}

.mobile-toggle:hover {
    transform: scale(1.1);
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    display: none;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-greeting {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s forwards, shimmer 3s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
}

.title-line.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: fadeUp 0.8s 0.3s forwards, gradientShift 5s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 650px;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
    line-height: 1.7;
}

.hero-buttons {
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-stats {
    display: flex;
    gap: 3.5rem;
    margin-top: 4rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    position: relative;
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item::before {
    content: "";
    position: absolute;
    top: -2.5rem;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.25rem;
    display: block;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s 1.5s forwards, bounce 2s 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.mouse {
    width: 28px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.wheel {
    width: 4px;
    height: 10px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 25px;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Sections Common */
section {
    padding: 7rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-label {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    padding: 0.5rem 1.5rem;
    background: rgba(236, 72, 153, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: white;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 30px;
    overflow: hidden;
    background: var(--bg-card);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.image-wrapper:hover {
    transform: scale(1.02) rotate(2deg);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.image-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.image-placeholder svg {
    width: 100%;
    height: 100%;
}

.about-subtitle {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
}

.about-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-glass);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-bounce);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.highlight-item:hover {
    background: var(--bg-glass-hover);
    transform: translateX(15px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.highlight-text h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.highlight-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.skill-category {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-category:hover::before {
    transform: scaleX(1);
}

.skill-category:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
    transform: translateY(-10px);
}

.category-title {
    font-family: var(--font-heading);
    color: white;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.skill-name {
    color: white;
    font-weight: 600;
}

.skill-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.skill-progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 10px;
    width: 0;
    transform: translateX(-100%);
    animation: slideRight 1.5s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmerSlide 2s infinite;
}

@keyframes shimmerSlide {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.skill-item:nth-child(1) .skill-progress {
    animation-delay: 0.2s;
}

.skill-item:nth-child(2) .skill-progress {
    animation-delay: 0.4s;
}

.skill-item:nth-child(3) .skill-progress {
    animation-delay: 0.6s;
}

@keyframes slideRight {
    to {
        transform: translateX(0);
        width: var(--progress, 100%);
    }
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    perspective: 1000px;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 15px;
    flex-shrink: 0;
}

/* Tablet: 2 items */
@media (min-width: 768px) {
    .carousel-slide {
        width: 50%;
        min-width: 50%;
        max-width: 50%;
    }
}

/* Desktop: 3 items */
@media (min-width: 1024px) {
    .carousel-slide {
        width: 33.333%;
        min-width: 33.333%;
        max-width: 33.333%;
    }
}

.carousel-btn {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    z-index: 10;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    background: var(--gradient-1);
    transform: scale(1.15);
    box-shadow: var(--shadow-glow);
    border-color: transparent;
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn svg {
    transition: var(--transition-smooth);
}

.carousel-btn:hover svg {
    transform: scale(1.1);
}

/* Projects Grid OLD - kept for backup if needed, but overridden */
.projects-grid {
    display: none;
}

.project-card {
    background: var(--bg-card);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
    max-height: 500px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    transform-style: preserve-3d;
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(99, 102, 241, 0.3), 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;
    opacity: 0;
    transition: opacity 0.5s;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 102, 241, 0.5);
}

.project-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.project-image {
    height: 260px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(99, 102, 241, 0.2));
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.project-card:hover .project-image::after {
    opacity: 1;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9);
    z-index: 10;
    pointer-events: none;
}

.project-image-link:hover .project-overlay {
    opacity: 1;
    transform: scale(1);
}

.project-link-text {
    color: white;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: var(--transition-bounce);
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 20;
    cursor: pointer;
    display: inline-block;
}

.project-link-text::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-link-text:hover::before {
    transform: scaleX(1);
}

.project-link-text:hover {
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.project-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
    min-height: 220px;
    overflow: hidden;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.tag {
    font-size: 0.75rem;
    color: var(--secondary-light);
    background: rgba(236, 72, 153, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(236, 72, 153, 0.2);
    transition: var(--transition-smooth);
    font-weight: 500;
}

.tag:hover {
    background: rgba(236, 72, 153, 0.25);
    border-color: rgba(236, 72, 153, 0.4);
    transform: translateY(-2px);
}

.project-title {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.project-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-height: 6.4rem;
    /* 4 lines at 1.6 line-height */
    overflow: hidden;
    position: relative;
    word-break: break-word;
    overflow-wrap: break-word;
}

.project-description::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1.6rem;
    /* One line height */
    background: linear-gradient(to bottom, transparent, rgba(30, 41, 59, 0.4));
    pointer-events: none;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-subtitle {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.contact-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-text h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.contact-text a,
.contact-text p {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: white;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    color: white;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.8);
}

.btn-submit {
    width: 100%;
    cursor: pointer;
}

.btn-loading {
    display: none;
}

.loading .btn-text {
    display: none;
}

.loading .btn-loading {
    display: block;
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 5rem);
    }

    .section-title {
        font-size: 2.5rem;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }

    .stat-item {
        width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .carousel-container {
        gap: 0.75rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .project-card {
        min-height: 450px;
        max-height: 450px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }

    .carousel-slide {
        padding: 10px;
    }

    .project-card {
        min-height: 420px;
        max-height: 420px;
    }

    .project-image {
        height: 200px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--secondary-light));
}

/* Selection */
::selection {
    background: var(--gradient-1);
    color: white;
}

/* Scroll Animations */
.project-card,
.about-content,
.contact-content,
.skill-category,
.highlight-item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stagger Animation Delays */
.skill-category:nth-child(1) {
    transition-delay: 0.1s;
}

.skill-category:nth-child(2) {
    transition-delay: 0.2s;
}

.skill-category:nth-child(3) {
    transition-delay: 0.3s;
}

/* Background Fix */
html {
    background-color: var(--bg-dark);
}

body {
    background-color: transparent !important;
}

/* ============================================
   🔥 INSANE VISUAL EFFECTS - EYE CANDY MODE 🔥
   ============================================ */

/* Glitch Effect Animation */
@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

/* Holographic Text Effect */
.hero-title,
.section-title {
    position: relative;
    animation: holographic 8s ease-in-out infinite;
}

@keyframes holographic {

    0%,
    100% {
        filter: hue-rotate(0deg) brightness(1);
    }

    25% {
        filter: hue-rotate(90deg) brightness(1.2);
    }

    50% {
        filter: hue-rotate(180deg) brightness(1);
    }

    75% {
        filter: hue-rotate(270deg) brightness(1.2);
    }
}

/* Neon Pulse Border Effect */
.project-card::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 28px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #ec4899, #f472b6, #6366f1);
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0;
    animation: neonPulse 3s ease-in-out infinite;
    filter: blur(10px);
}

.project-card:hover::after {
    opacity: 0.7;
}

@keyframes neonPulse {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Floating Animation for Cards */
.skill-category,
.highlight-item {
    animation: float3D 6s ease-in-out infinite;
}

.skill-category:nth-child(2) {
    animation-delay: -2s;
}

.skill-category:nth-child(3) {
    animation-delay: -4s;
}

@keyframes float3D {

    0%,
    100% {
        transform: translateY(0px) rotateX(0deg);
    }

    50% {
        transform: translateY(-20px) rotateX(5deg);
    }
}

/* Liquid Morphing Blobs */
.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 10s ease-in-out infinite, float 20s ease-in-out infinite;
    top: 20%;
    right: 10%;
    z-index: 0;
    filter: blur(60px);
}

.hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 12s ease-in-out infinite reverse, float 18s ease-in-out infinite reverse;
    bottom: 20%;
    left: 10%;
    z-index: 0;
    filter: blur(60px);
}

@keyframes morph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    25% {
        border-radius: 60% 40% 50% 50% / 30% 60% 40% 70%;
    }

    50% {
        border-radius: 50% 50% 30% 70% / 50% 50% 70% 30%;
    }

    75% {
        border-radius: 30% 70% 40% 60% / 60% 40% 50% 50%;
    }
}

/* Text Glitch on Hover */
.nav-link:hover,
.project-title:hover {
    animation: glitch 0.3s infinite;
}

/* Rainbow Border Animation */
.btn-primary {
    position: relative;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    background-size: 200% 200%;
    animation: rainbowShift 3s ease infinite;
}

@keyframes rainbowShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Sparkle Effect */
@keyframes sparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-greeting::before,
.section-label::before {
    content: "✨";
    position: absolute;
    left: -30px;
    animation: sparkle 2s ease-in-out infinite;
}

/* 3D Perspective Sections */
.about,
.skills,
.projects,
.contact {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Scan Line Effect */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.1) 0px,
            transparent 1px,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 3px);
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Glow Pulse on Hover */
.btn:hover,
.carousel-btn:hover {
    animation: glowPulse 1.5s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.5),
            0 0 40px rgba(99, 102, 241, 0.3),
            0 0 60px rgba(99, 102, 241, 0.1);
    }

    50% {
        box-shadow: 0 0 30px rgba(236, 72, 153, 0.6),
            0 0 60px rgba(236, 72, 153, 0.4),
            0 0 90px rgba(236, 72, 153, 0.2);
    }
}

/* Chromatic Aberration Effect */
.hero-title::before,
.hero-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.hero-title:hover::before {
    opacity: 0.7;
    color: #ff0000;
    animation: glitchTop 0.3s infinite;
}

.hero-title:hover::after {
    opacity: 0.7;
    color: #00ffff;
    animation: glitchBottom 0.3s infinite reverse;
}

@keyframes glitchTop {

    0%,
    100% {
        transform: translate(0);
    }

    33% {
        transform: translate(-2px, -2px);
    }

    66% {
        transform: translate(2px, 2px);
    }
}

@keyframes glitchBottom {

    0%,
    100% {
        transform: translate(0);
    }

    33% {
        transform: translate(2px, 2px);
    }

    66% {
        transform: translate(-2px, -2px);
    }
}

/* Particle Trail Effect - Enhanced Cursor */
.cursor-glow {
    background: radial-gradient(circle,
            rgba(99, 102, 241, 0.6) 0%,
            rgba(236, 72, 153, 0.4) 30%,
            rgba(139, 92, 246, 0.2) 50%,
            transparent 70%);
    animation: cursorPulse 2s ease-in-out infinite;
}

@keyframes cursorPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

/* Rotating Border Gradient */
.image-wrapper::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 30px;
    background: conic-gradient(from 0deg,
            #6366f1,
            #8b5cf6,
            #ec4899,
            #f472b6,
            #6366f1);
    z-index: -1;
    opacity: 0;
    animation: rotateBorder 4s linear infinite;
}

.image-wrapper:hover::after {
    opacity: 1;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Shimmer Wave Effect */
.skill-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    animation: shimmerWave 3s ease-in-out infinite;
}

@keyframes shimmerWave {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* Depth Shadow Layers */
.project-card:hover {
    box-shadow:
        0 1px 3px rgba(99, 102, 241, 0.4),
        0 4px 8px rgba(139, 92, 246, 0.3),
        0 8px 16px rgba(236, 72, 153, 0.2),
        0 16px 32px rgba(99, 102, 241, 0.1),
        0 32px 64px rgba(236, 72, 153, 0.05);
}

/* Typewriter Effect for Stats */
.stat-number {
    overflow: hidden;
    border-right: 2px solid var(--primary);
    white-space: nowrap;
    animation: typing 2s steps(10) 1s forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Parallax Depth Layers */
.hero-content {
    transform-style: preserve-3d;
}

.hero-greeting {
    transform: translateZ(50px);
}

.hero-title {
    transform: translateZ(100px);
}

.hero-description {
    transform: translateZ(75px);
}

.hero-buttons {
    transform: translateZ(125px);
}

/* Cosmic Dust Effect */
@keyframes cosmicDust {

    0%,
    100% {
        opacity: 0.1;
        transform: translateY(0) scale(1);
    }

    50% {
        opacity: 0.3;
        transform: translateY(-20px) scale(1.1);
    }
}

.gradient-orb {
    animation: cosmicDust 8s ease-in-out infinite;
}

.gradient-orb.orb-2 {
    animation-delay: -2.6s;
}

.gradient-orb.orb-3 {
    animation-delay: -5.2s;
}

/* Magnetic Hover Effect Enhanced */
.btn,
.carousel-btn {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Ripple Effect on Click */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    opacity: 0;
}

.btn:active::after {
    animation: ripple 0.6s ease-out;
}

/* Infinite Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s 2s ease-in-out infinite, glow 2s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.8));
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Series Comparison Section Styles
   ========================================================================== */

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.comparison-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.comparison-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Smart Series Specifics */
.smart-card .card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.comparison-card:hover .card-glow {
    opacity: 1;
}

/* Nexus Series Specifics */
.nexus-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(236, 72, 153, 0.3);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.05);
}

.nexus-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(236, 72, 153, 0.15), transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-title {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nexus-card .card-title {
    background: linear-gradient(135deg, #f472b6, #c084fc, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.card-desc {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-main);
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateX(5px);
    color: white;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.nexus-check {
    background: rgba(236, 72, 153, 0.2);
    color: var(--secondary-light);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.2);
}

.card-btn {
    width: 100%;
    margin: 0;
    justify-content: center;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .comparison-card {
        padding: 2rem;
    }
}