/* ========================================
   CSS Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - iOS Inspired */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);

    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #4facfe;
    --success-color: #43e97b;
    --danger-color: #f5576c;

    /* Neutral Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131a;
    --bg-tertiary: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #b4b4c8;
    --text-muted: #6e6e8f;

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.4);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ========================================
   Animated Background
   ======================================== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out, pulse 4s infinite ease-in-out;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-gradient);
    top: -250px;
    left: -250px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-gradient);
    top: 50%;
    right: -200px;
    animation-delay: 5s;
}

.shape-3 {
    width: 600px;
    height: 600px;
    background: var(--accent-gradient);
    bottom: -300px;
    left: 30%;
    animation-delay: 10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: var(--success-gradient);
    top: 20%;
    left: 60%;
    animation-delay: 15s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(50px, 50px) rotate(90deg) scale(1.2);
    }

    50% {
        transform: translate(0, 100px) rotate(180deg) scale(0.9);
    }

    75% {
        transform: translate(-50px, 50px) rotate(270deg) scale(1.1);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.5;
    }
}


/* ========================================
   Utility Classes
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow:
        0 1px 1px rgba(0, 0, 0, 0.15),
        0 2px 2px rgba(0, 0, 0, 0.15),
        0 4px 4px rgba(0, 0, 0, 0.15),
        0 8px 8px rgba(0, 0, 0, 0.15),
        0 16px 16px rgba(0, 0, 0, 0.15),
        0 32px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    position: relative;
    transform: perspective(1000px) translateZ(0);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.3) 0%,
            rgba(245, 87, 108, 0.3) 50%,
            rgba(67, 233, 123, 0.3) 100%);
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    filter: blur(20px);
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.glass-card:hover {
    transform: perspective(1000px) translateZ(80px) scale(1.05);
    box-shadow:
        0 2px 2px rgba(102, 126, 234, 0.2),
        0 4px 4px rgba(102, 126, 234, 0.2),
        0 8px 8px rgba(102, 126, 234, 0.2),
        0 16px 16px rgba(102, 126, 234, 0.2),
        0 32px 32px rgba(102, 126, 234, 0.2),
        0 64px 64px rgba(102, 126, 234, 0.2),
        0 0 80px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.6);
}

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

.glass-card:hover::after {
    opacity: 1;
}

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

.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width var(--transition-normal);
}

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

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

.nav-link.contact-btn {
    background: var(--primary-gradient);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    border: none;
}

.nav-link.contact-btn::after {
    display: none;
}

.nav-link.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

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

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-3xl) 0;
    position: relative;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-badge i {
    color: var(--accent-color);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    animation: slideInLeft 0.8s ease;
}

.title-line:nth-child(2) {
    animation: slideInRight 0.8s ease;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    transform: perspective(800px) translateZ(0);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.1);
}

.stat-item:hover {
    transform: perspective(800px) translateZ(60px) scale(1.1);
    box-shadow:
        0 4px 8px rgba(102, 126, 234, 0.2),
        0 8px 16px rgba(102, 126, 234, 0.2),
        0 16px 32px rgba(102, 126, 234, 0.2),
        0 32px 64px rgba(102, 126, 234, 0.2),
        0 0 60px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.6);
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    transform: perspective(400px) translateZ(0);
    box-shadow:
        0 4px 8px rgba(102, 126, 234, 0.3),
        0 8px 16px rgba(102, 126, 234, 0.2);
}

.stat-item:hover .stat-icon {
    transform: perspective(400px) translateZ(40px) scale(1.3);
    box-shadow:
        0 8px 16px rgba(102, 126, 234, 0.5),
        0 16px 32px rgba(102, 126, 234, 0.4),
        0 0 50px rgba(102, 126, 234, 0.7);
    animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.3);
    }
}

.stat-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.stat-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow:
        0 4px 8px rgba(102, 126, 234, 0.3),
        0 8px 16px rgba(102, 126, 234, 0.2);
    transform-style: preserve-3d;
    transform: perspective(600px) translateZ(0);
}

.btn-primary:hover {
    transform: perspective(600px) translateZ(30px) scale(1.08);
    box-shadow:
        0 8px 16px rgba(102, 126, 234, 0.4),
        0 16px 32px rgba(102, 126, 234, 0.3),
        0 0 50px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(20px);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    transform: perspective(600px) translateZ(0);
}

.btn-secondary:hover {
    transform: perspective(600px) translateZ(30px) scale(1.08);
    border-color: var(--primary-color);
    box-shadow:
        0 8px 16px rgba(102, 126, 234, 0.3),
        0 16px 32px rgba(102, 126, 234, 0.2),
        0 0 50px rgba(102, 126, 234, 0.4);
    background: rgba(102, 126, 234, 0.1);
}

.btn i {
    transition: transform var(--transition-normal);
}

.btn:hover i {
    transform: translateZ(10px) scale(1.2);
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-badge {
    display: inline-block;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   About Section
   ======================================== */
.about-card {
    padding: var(--spacing-2xl);
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(102, 126, 234, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all var(--transition-normal);
}

.highlight-item:hover {
    transform: translateX(8px);
    background: rgba(102, 126, 234, 0.15);
}

.highlight-item i {
    color: var(--success-color);
    font-size: 1.2rem;
}

/* ========================================
   Services Section
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    padding: var(--spacing-xl);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: visible;
    transform-style: preserve-3d;
    transform: perspective(1000px) translateZ(0);
    box-shadow:
        0 1px 1px rgba(0, 0, 0, 0.12),
        0 2px 2px rgba(0, 0, 0, 0.12),
        0 4px 4px rgba(0, 0, 0, 0.12),
        0 8px 8px rgba(0, 0, 0, 0.12),
        0 16px 16px rgba(0, 0, 0, 0.12);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.6s ease;
    box-shadow: 0 0 30px rgba(102, 126, 234, 1);
    z-index: 10;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle at center, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: -1;
}

.service-card:hover {
    transform: perspective(1000px) translateZ(100px) scale(1.08);
    box-shadow:
        0 2px 2px rgba(102, 126, 234, 0.15),
        0 4px 4px rgba(102, 126, 234, 0.15),
        0 8px 8px rgba(102, 126, 234, 0.15),
        0 16px 16px rgba(102, 126, 234, 0.15),
        0 32px 32px rgba(102, 126, 234, 0.15),
        0 64px 64px rgba(102, 126, 234, 0.15),
        0 0 100px rgba(102, 126, 234, 0.5);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    transform: perspective(500px) translateZ(0);
    box-shadow:
        0 4px 8px rgba(102, 126, 234, 0.3),
        0 8px 16px rgba(102, 126, 234, 0.2);
}

.service-card:hover .service-icon {
    transform: perspective(500px) translateZ(60px) scale(1.4);
    box-shadow:
        0 8px 16px rgba(102, 126, 234, 0.4),
        0 16px 32px rgba(102, 126, 234, 0.3),
        0 32px 64px rgba(102, 126, 234, 0.2),
        0 0 60px rgba(102, 126, 234, 0.6);
    filter: brightness(1.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
}

.service-features i {
    color: var(--success-color);
}

/* ========================================
   Tech Stack Section
   ======================================== */
.tech-categories {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
}

.tech-category {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-md);
}

.tech-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    transform-style: preserve-3d;
    transform: perspective(800px) translateZ(0);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.1);
    position: relative;
}

.tech-badge::before {
    content: '';
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle at center, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.tech-badge:hover {
    transform: perspective(800px) translateZ(50px) scale(1.2);
    background: rgba(102, 126, 234, 0.15);
    border-color: var(--primary-color);
    box-shadow:
        0 4px 8px rgba(102, 126, 234, 0.2),
        0 8px 16px rgba(102, 126, 234, 0.2),
        0 16px 32px rgba(102, 126, 234, 0.2),
        0 0 60px rgba(102, 126, 234, 0.5);
}

.tech-badge:hover::before {
    opacity: 1;
}

.tech-badge i {
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.5s ease;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.4));
    transform: translateZ(0);
}

.tech-badge:hover i {
    transform: translateZ(20px) scale(1.3);
    filter: drop-shadow(0 8px 16px rgba(102, 126, 234, 0.8)) drop-shadow(0 0 30px rgba(102, 126, 234, 0.6));
}

.tech-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ========================================
   Projects Section
   ======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.project-card {
    padding: var(--spacing-xl);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    transform: perspective(1000px) translateZ(0);
    box-shadow:
        0 1px 1px rgba(0, 0, 0, 0.12),
        0 2px 2px rgba(0, 0, 0, 0.12),
        0 4px 4px rgba(0, 0, 0, 0.12),
        0 8px 8px rgba(0, 0, 0, 0.12),
        0 16px 16px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: visible;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at center,
            rgba(102, 126, 234, 0.15) 0%,
            rgba(245, 87, 108, 0.1) 50%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: -1;
}

.project-card:hover {
    transform: perspective(1000px) translateZ(90px) scale(1.06);
    box-shadow:
        0 2px 2px rgba(102, 126, 234, 0.15),
        0 4px 4px rgba(102, 126, 234, 0.15),
        0 8px 8px rgba(102, 126, 234, 0.15),
        0 16px 16px rgba(102, 126, 234, 0.15),
        0 32px 32px rgba(102, 126, 234, 0.15),
        0 64px 64px rgba(102, 126, 234, 0.15),
        0 0 80px rgba(102, 126, 234, 0.4);
}

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

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.project-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-gradient);
    border-radius: var(--radius-md);
    font-size: 1.8rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    transform: perspective(500px) translateZ(0);
    box-shadow:
        0 4px 8px rgba(245, 87, 108, 0.3),
        0 8px 16px rgba(245, 87, 108, 0.2);
}

.project-card:hover .project-icon {
    transform: perspective(500px) translateZ(50px) scale(1.3);
    box-shadow:
        0 8px 16px rgba(245, 87, 108, 0.4),
        0 16px 32px rgba(245, 87, 108, 0.3),
        0 0 50px rgba(245, 87, 108, 0.6);
    filter: brightness(1.2);
}

.project-status {
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(67, 233, 123, 0.1);
    border: 1px solid rgba(67, 233, 123, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--success-color);
    font-weight: 600;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.tech-tag {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* ========================================
   Contact CTA Section
   ======================================== */
.contact-cta {
    padding: var(--spacing-3xl) 0;
}

.cta-content {
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.footer-tagline {
    margin-top: var(--spacing-md);
    font-style: italic;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: var(--spacing-xs);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-gradient);
    transform: translateY(-4px) rotateZ(10deg);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.footer-contact {
    margin-top: var(--spacing-md);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-contact i {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.footer-bottom p {
    margin-bottom: var(--spacing-xs);
}

.footer-bottom i {
    color: var(--danger-color);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .stat-item {
        width: 100%;
        max-width: 400px;
    }

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

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

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

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    section {
        padding: var(--spacing-2xl) 0;
    }
}

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

    .section-title {
        font-size: 2rem;
    }

    .about-card,
    .service-card,
    .project-card,
    .cta-content {
        padding: var(--spacing-md);
    }
}

/* ========================================
   Scroll Animations
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}