/* =============== CSS VARIABLES =============== */
:root {
    --header-height: 4rem;

    /* Wild Modern Colors */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --neon-pink: #ff006e;
    --neon-cyan: #00f5ff;
    --neon-purple: #c77dff;
    --neon-green: #39ff14;

    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --border-color: #2d2d44;

    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-2: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-3: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    --gradient-4: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 50%, #45b7d1 100%);
    --gradient-wild: linear-gradient(270deg, #ff006e, #8338ec, #3a86ff, #00f5ff);
    --gradient-neon: linear-gradient(45deg, #ff006e, #c77dff, #00f5ff, #39ff14);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-neon: 0 0 20px rgba(255, 0, 110, 0.5), 0 0 40px rgba(131, 56, 236, 0.3);
    --shadow-neon-cyan: 0 0 20px rgba(0, 245, 255, 0.6), 0 0 40px rgba(0, 245, 255, 0.3);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

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

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --z-fixed: 100;
    --z-modal: 1000;
}

/* =============== BASE & RESET =============== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: #ffffff;
    background: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, #0a0a0f, #1a1a2e, #16213e, #0a0a0f);
    background-size: 800% 800%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea {
    font-family: inherit;
    outline: none;
}

/* =============== FLOATING PARTICLES =============== */
.particle {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--gradient-wild);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

/* =============== REUSABLE CLASSES =============== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    animation: fadeInDown 0.8s ease-out;
}

.section__subtitle {
    display: inline-block;
    color: var(--neon-cyan);
    font-weight: 700;
    font-size: var(--font-size-base);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding: 0.5rem 1.5rem;
    animation: glow 2s ease-in-out infinite;
}

.section__subtitle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0.2;
    border-radius: var(--radius-md);
}

.section__title {
    font-size: var(--font-size-5xl);
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-wild);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease infinite;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
}

.section__description {
    color: #cbd5e1;
    font-size: var(--font-size-lg);
    max-width: 600px;
    margin: 0 auto;
}

.button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.button::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;
}

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

.button--primary {
    background: var(--gradient-wild);
    background-size: 300% 300%;
    color: white;
    box-shadow: var(--shadow-neon);
    animation: gradientFlow 3s ease infinite;
    border: 2px solid transparent;
}

.button--primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 40px rgba(255, 0, 110, 0.8), 0 0 60px rgba(131, 56, 236, 0.5);
}

.button--secondary {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.button--secondary:hover {
    background: var(--neon-cyan);
    color: var(--bg-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-neon-cyan);
}

/* =============== HEADER & NAVIGATION =============== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scroll-header {
    box-shadow: var(--shadow-neon);
    background: rgba(10, 10, 15, 0.95);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.nav__logo {
    font-size: var(--font-size-xl);
    font-weight: 900;
    background: var(--gradient-wild);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease infinite;
    transition: transform var(--transition-fast);
    text-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
}

.nav__logo:hover {
    transform: scale(1.1) rotate(-2deg);
}

.nav__list {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav__link {
    position: relative;
    font-weight: 600;
    color: #cbd5e1;
    transition: all var(--transition-fast);
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.nav__link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-wild);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav__link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 110, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: var(--radius-md);
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.nav__link:hover::before,
.nav__link.active-link::before {
    width: 100%;
}

.nav__link:hover::after {
    opacity: 1;
}

.nav__toggle,
.nav__close {
    display: none;
    cursor: pointer;
    color: #ffffff;
}

/* =============== HERO SECTION =============== */
.hero {
    padding-top: calc(var(--header-height) + 3rem);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.3), transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.hero__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__content {
    animation: fadeInLeft 1s ease-out;
}

.hero__subtitle {
    display: inline-block;
    color: var(--neon-pink);
    font-weight: 700;
    font-size: var(--font-size-base);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--spacing-sm);
    padding: 0.5rem 1rem;
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid var(--neon-pink);
    border-radius: var(--radius-lg);
    animation: glow 2s ease-in-out infinite;
}

.hero__title {
    font-size: var(--font-size-6xl);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    font-weight: 900;
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero__highlight {
    background: var(--gradient-wild);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease infinite;
    position: relative;
    display: inline-block;
}

.hero__highlight::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: var(--gradient-wild);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(20px);
    opacity: 0.7;
}

.hero__description {
    font-size: var(--font-size-lg);
    color: #cbd5e1;
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero__buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out;
}

.hero__blob {
    width: 500px;
    height: 500px;
    background: var(--gradient-wild);
    background-size: 300% 300%;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blob 8s ease-in-out infinite, gradientFlow 4s ease infinite, rotate3d 20s linear infinite;
    opacity: 0.4;
    filter: blur(40px);
    box-shadow: 0 0 100px rgba(255, 0, 110, 0.6);
}

/* =============== SERVICES SECTION =============== */
.services {
    background: rgba(26, 26, 46, 0.3);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1" fill="%2300f5ff" opacity="0.1"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.service__card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 110, 0.2), transparent);
    transition: left 0.5s;
}

.service__card:hover::before {
    left: 100%;
}

.service__card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.4), 0 0 40px rgba(131, 56, 236, 0.3);
    border-color: var(--neon-pink);
}

.service__icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-wild);
    background-size: 300% 300%;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: white;
    transition: all var(--transition-base);
    animation: gradientFlow 4s ease infinite;
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
}

.service__card:hover .service__icon {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 0 50px rgba(255, 0, 110, 0.8);
}

.service__title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-neon);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service__description {
    color: #cbd5e1;
    line-height: 1.7;
}

/* =============== ABOUT SECTION =============== */
.about__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    align-items: center;
}

.about__content {
    animation: fadeInLeft 0.8s ease-out;
}

.about__text {
    color: #cbd5e1;
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.stat {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--neon-pink), transparent 30%);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.stat:hover::before {
    opacity: 1;
}

.stat::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: rgba(26, 26, 46, 0.9);
    border-radius: var(--radius-xl);
    z-index: 1;
}

.stat:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 0 50px rgba(255, 0, 110, 0.6);
}

.stat__number {
    font-size: var(--font-size-4xl);
    background: var(--gradient-wild);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease infinite;
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 2;
    font-weight: 900;
}

.stat__label {
    color: #cbd5e1;
    font-size: var(--font-size-base);
    position: relative;
    z-index: 2;
}

.about__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

.about__blob {
    width: 450px;
    height: 450px;
    background: var(--gradient-2);
    background-size: 300% 300%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: blob 8s ease-in-out infinite, gradientFlow 4s ease infinite, rotate3d 15s linear infinite;
    opacity: 0.4;
    filter: blur(40px);
    box-shadow: 0 0 100px rgba(250, 112, 154, 0.6);
}

/* =============== PORTFOLIO SECTION =============== */
.portfolio {
    background: rgba(26, 26, 46, 0.3);
    position: relative;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.portfolio__card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.portfolio__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(131, 56, 236, 0.2));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.portfolio__card:hover::before {
    opacity: 1;
}

.portfolio__card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(255, 0, 110, 0.5);
    border-color: var(--neon-pink);
}

.portfolio__image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.portfolio__placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-wild);
    background-size: 300% 300%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: white;
    transition: all var(--transition-base);
    animation: gradientFlow 5s ease infinite;
}

.portfolio__card:hover .portfolio__placeholder {
    transform: scale(1.2) rotate(3deg);
}

.portfolio__content {
    padding: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.portfolio__title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-neon);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio__description {
    color: #cbd5e1;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

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

.tag {
    padding: 0.4rem 1rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    color: var(--neon-cyan);
    font-weight: 600;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag:hover {
    background: var(--neon-cyan);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--neon-cyan);
}

/* =============== CONTACT SECTION =============== */
.contact__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact__card {
    padding: var(--spacing-lg);
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact__card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--neon-cyan), transparent 30%);
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.contact__card:hover::before {
    opacity: 0.5;
}

.contact__card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: rgba(26, 26, 46, 0.9);
    border-radius: var(--radius-xl);
    z-index: 1;
}

.contact__card:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.5);
}

.contact__icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-wild);
    background-size: 300% 300%;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: var(--spacing-sm);
    animation: gradientFlow 4s ease infinite;
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
    position: relative;
    z-index: 2;
}

.contact__card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.contact__card p {
    color: #cbd5e1;
    position: relative;
    z-index: 2;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form__group {
    display: flex;
    flex-direction: column;
}

.form__input {
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    color: #ffffff;
}

.form__input:focus {
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3), 0 0 40px rgba(255, 0, 110, 0.1);
    transform: translateY(-2px);
}

.form__input::placeholder {
    color: #6b7280;
}

textarea.form__input {
    resize: vertical;
    min-height: 120px;
}

/* =============== FOOTER =============== */
.footer {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-md);
    border-top: 1px solid rgba(255, 0, 110, 0.3);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-wild);
    background-size: 300% 300%;
    animation: gradientFlow 3s ease infinite;
}

.footer__container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer__logo {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    background: var(--gradient-wild);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease infinite;
}

.footer__description {
    color: #cbd5e1;
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.footer__social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer__social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid var(--neon-pink);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.footer__social-link:hover {
    background: var(--gradient-wild);
    background-size: 300% 300%;
    animation: gradientFlow 2s ease infinite;
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.7);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.footer__title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    color: var(--neon-cyan);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer__list a {
    color: #cbd5e1;
    transition: all var(--transition-fast);
    position: relative;
    padding-left: 1rem;
}

.footer__list a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all var(--transition-fast);
}

.footer__list a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
    padding-left: 1.5rem;
}

.footer__list a:hover::before {
    opacity: 1;
}

.footer__bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #6b7280;
}

/* =============== WILD ANIMATIONS =============== */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
    }
    50% {
        text-shadow: 0 0 20px currentColor, 0 0 40px currentColor;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

@keyframes blob {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    50% {
        border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%;
    }
    75% {
        border-radius: 60% 40% 60% 40% / 70% 30% 50% 60%;
    }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotate3d {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    33% { transform: rotateX(360deg) rotateY(0deg) rotateZ(0deg); }
    66% { transform: rotateX(360deg) rotateY(360deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-100px) translateX(100px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-200px) translateX(-50px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-150px) translateX(-100px) rotate(270deg);
        opacity: 0.6;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* =============== RESPONSIVE DESIGN =============== */

/* Tablet (968px and below) */
@media screen and (max-width: 968px) {
    :root {
        --font-size-6xl: 2.5rem;
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
    }

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

    .hero__container,
    .about__container,
    .contact__container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .hero__image,
    .about__image {
        order: -1;
    }

    .hero__blob,
    .about__blob {
        width: 350px;
        height: 350px;
    }

    .about__stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__container {
        grid-template-columns: 1fr;
    }
}

/* Mobile (768px and below) */
@media screen and (max-width: 768px) {
    :root {
        --font-size-6xl: 2rem;
        --font-size-5xl: 1.75rem;
        --font-size-4xl: 1.5rem;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: var(--shadow-xl);
        padding: var(--spacing-xl) var(--spacing-lg);
        transition: right var(--transition-base);
        z-index: var(--z-modal);
        border-left: 1px solid rgba(255, 0, 110, 0.3);
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: flex-start;
    }

    .nav__toggle,
    .nav__close {
        display: flex;
    }

    .nav__close {
        position: absolute;
        top: var(--spacing-md);
        right: var(--spacing-md);
    }

    .hero {
        padding-top: calc(var(--header-height) + 2rem);
        min-height: auto;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
        text-align: center;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .about__stats {
        grid-template-columns: 1fr;
    }

    .portfolio__grid {
        grid-template-columns: 1fr;
    }

    .contact__container {
        grid-template-columns: 1fr;
    }

    .footer__links {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 350px) {
    .container {
        padding: 0 1rem;
    }

    :root {
        --font-size-6xl: 1.75rem;
        --font-size-5xl: 1.5rem;
        --spacing-2xl: 3rem;
    }
}
