/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --bg-primary: #0A0A0F;
    --bg-secondary: #111118;
    --bg-tertiary: #1A1A24;
    --text-primary: #FFFFFF;
    --text-secondary: #B8B8C8;
    --text-tertiary: #8A8A9A;
    --accent-primary: #6366F1;
    --accent-secondary: #8B5CF6;
    --accent-tertiary: #EC4899;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-accent: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
    
    /* Typography */
    --font-heading: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Performance: Reduce animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   NAVIGATION MENU
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    height: 32px;
    z-index: 1001;
    position: relative;
}

.nav-logo svg {
    height: 100%;
    width: auto;
    display: block;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo:hover svg {
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-sm);
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all var(--transition-base);
    position: relative;
    display: block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
    display: block;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: var(--spacing-md) 0;
        gap: 0;
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 1rem var(--spacing-md);
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link::after {
        display: none;
    }
}

/* ============================================
   CINEMATIC BACKGROUND
   ============================================ */

.cinematic-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-primary);
}

.ambient-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    transform: translate3d(0, 0, 0);
    contain: layout style paint;
    /* Animation disabled for performance */
}

.light-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.6) 0%, transparent 70%);
    top: -300px;
    left: -300px;
    animation-delay: 0s;
}

.light-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, transparent 70%);
    bottom: -250px;
    right: -250px;
    animation-delay: 5s;
}

.light-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4) 0%, transparent 70%);
    top: 50%;
    right: 5%;
    animation-delay: 10s;
}

/* ambientPulse animation removed for performance */

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(99, 102, 241, 0.2), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(139, 92, 246, 0.2), transparent);
    background-size: 200% 200%;
    animation: particleMove 60s linear infinite;
    opacity: 0.3;
    will-change: background-position;
}

@keyframes particleMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.grain {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
    opacity: 0.2;
    pointer-events: none;
    contain: strict;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px var(--spacing-md) 0;
    text-align: center;
    overflow: hidden;
    contain: layout style paint;
}

/* Geometric animated shapes */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
    border: 2px solid;
    pointer-events: none;
}

.shape-1 {
    width: 120px;
    height: 120px;
    border-color: var(--accent-primary);
    border-radius: 20px;
    top: 15%;
    left: 10%;
    animation: rotateShape 20s linear infinite, floatShape1 15s ease-in-out infinite;
    transform: rotate(45deg);
}

.shape-2 {
    width: 80px;
    height: 80px;
    border-color: var(--accent-secondary);
    border-radius: 50%;
    top: 60%;
    right: 15%;
    animation: floatShape2 18s ease-in-out infinite, scaleShape 8s ease-in-out infinite;
}

.shape-3 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid var(--accent-tertiary);
    border-top: none;
    top: 25%;
    right: 20%;
    animation: rotateShape 25s linear infinite reverse, floatShape3 12s ease-in-out infinite;
    opacity: 0.15;
}

.shape-4 {
    width: 100px;
    height: 100px;
    border-color: var(--accent-primary);
    border-radius: 0;
    bottom: 20%;
    left: 8%;
    animation: rotateShape 30s linear infinite, floatShape4 20s ease-in-out infinite;
    transform: rotate(20deg);
}

.shape-5 {
    width: 60px;
    height: 200px;
    border-color: var(--accent-secondary);
    border-radius: 30px;
    top: 40%;
    left: 5%;
    animation: floatShape5 14s ease-in-out infinite, rotateShape 22s linear infinite;
    opacity: 0.12;
}

.shape-6 {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    border: none;
    top: 70%;
    right: 10%;
    animation: floatShape6 16s ease-in-out infinite, fadeShape 4s ease-in-out infinite;
    opacity: 0.2;
}

@keyframes rotateShape {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatShape1 {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(45deg);
    }
    33% {
        transform: translate3d(30px, -40px, 0) rotate(135deg);
    }
    66% {
        transform: translate3d(-20px, 30px, 0) rotate(225deg);
    }
}

@keyframes floatShape2 {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(40px, -50px, 0) scale(1.2);
    }
}

@keyframes floatShape3 {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(-30px, 40px, 0) rotate(180deg);
    }
}

@keyframes floatShape4 {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(20deg);
    }
    50% {
        transform: translate3d(50px, -30px, 0) rotate(200deg);
    }
}

@keyframes floatShape5 {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(-25px, 35px, 0) rotate(90deg);
    }
}

@keyframes floatShape6 {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(60px, -40px, 0) rotate(45deg);
    }
}

@keyframes scaleShape {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

@keyframes fadeShape {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
}

/* Subtle background accent for hero */
.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    z-index: 0;
    pointer-events: none;
    animation: subtlePulse 8s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate3d(-50%, -50%, 0) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate3d(-50%, -50%, 0) scale(1.1);
    }
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    top: 30%;
    right: 10%;
    z-index: 0;
    pointer-events: none;
    animation: subtlePulse 10s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
    contain: layout style;
}

.logo-reveal {
    margin-bottom: var(--spacing-md);
    animation: logoReveal 1.2s ease-out;
}

.hero-logo {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    background: var(--gradient-accent);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
    animation: logoShine 3s ease-in-out infinite;
}

.hero-logo:hover {
    transform: scale(1.05);
}

@keyframes logoShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: translate3d(0, -30px, 0) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translate3d(0, 40px, 0) scale(0.95);
    animation: fadeInUpScale 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.3s ease, filter 0.3s ease;
    position: relative;
}

.title-line:hover {
    transform: translate3d(0, -2px, 0) scale(1);
    filter: brightness(1.1);
}

.title-line::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.5s ease;
    opacity: 0;
}

.title-line:hover::after {
    width: 100%;
    opacity: 1;
}

.title-line:nth-child(1) {
    animation-delay: 0.3s;
}

.title-line:nth-child(2) {
    animation-delay: 0.5s;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUpScale {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.9;
    opacity: 0;
    transform: translate3d(0, 25px, 0);
    animation: fadeInUp 1s ease 0.7s forwards, subtleFade 4s ease-in-out infinite 1.7s;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    transition: color 0.3s ease;
}

.hero-subtitle:hover {
    color: var(--text-primary);
}

@keyframes subtleFade {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translate3d(0, 25px, 0);
    animation: fadeInUp 1s ease 1s forwards;
    margin-top: var(--spacing-md);
    margin-bottom: 4rem;
    position: relative;
    width: 100%;
}

.hero-cta .btn {
    position: relative;
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: buttonFloat 3s ease-in-out infinite;
}

.hero-cta .btn:nth-child(1) {
    animation-delay: 1.2s;
}

.hero-cta .btn:nth-child(2) {
    animation-delay: 1.4s;
}

.hero-cta .btn:hover {
    transform: translate3d(0, -4px, 0) scale(1.02);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

@keyframes buttonFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -3px, 0);
    }
}

.hero-cta .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.hero-cta .btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Button pulse animation removed for performance */

.scroll-indicator-wrapper {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    pointer-events: none;
    margin-top: 3rem;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, var(--accent-primary), transparent);
    border-radius: 2px;
    animation: scrollLine 2s ease-in-out infinite;
    position: relative;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        opacity: 0.3;
        transform: translate3d(0, 0, 0) scaleY(1);
    }
    50% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scaleY(1);
    }
    100% {
        opacity: 0.3;
        transform: translate3d(0, 0, 0) scaleY(1);
    }
}

@keyframes scrollDot {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
    100% {
        opacity: 0;
        transform: translate3d(0, 42px, 0);
    }
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::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;
    z-index: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    position: relative;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.lead {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-item {
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translate3d(0, 30px, 0);
}

.feature-item.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translate3d(0, -8px, 0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   PORTFOLIO SECTION - PREMIUM DESIGN
   ============================================ */

.portfolio-section {
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    border-radius: 24px;
    overflow: visible;
    position: relative;
    aspect-ratio: 16/10;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translate3d(0, 40px, 0) scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.portfolio-item.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.portfolio-item:nth-child(1) {
    animation-delay: 0.1s;
}

.portfolio-item:nth-child(2) {
    animation-delay: 0.2s;
}

.portfolio-item:nth-child(3) {
    animation-delay: 0.3s;
}

.portfolio-item:nth-child(4) {
    animation-delay: 0.4s;
}

.portfolio-item:nth-child(5) {
    animation-delay: 0.5s;
}

.portfolio-featured {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .portfolio-featured {
        grid-column: span 1;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Color accents for each project */
.portfolio-item[data-color="emerald"] {
    --accent-color: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.3);
}

.portfolio-item[data-color="blue"] {
    --accent-color: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.3);
}

.portfolio-item[data-color="purple"] {
    --accent-color: #8b5cf6;
    --accent-glow: rgba(139, 92, 246, 0.3);
}

.portfolio-item[data-color="orange"] {
    --accent-color: #f59e0b;
    --accent-glow: rgba(245, 158, 11, 0.3);
}

.portfolio-item[data-color="pink"] {
    --accent-color: #ec4899;
    --accent-glow: rgba(236, 72, 153, 0.3);
}

.portfolio-item:hover {
    transform: translate3d(0, -8px, 0) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--accent-glow);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.15);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.6) 40%, rgba(10, 10, 15, 0.98) 100%);
    opacity: 0.9;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.7) 30%, rgba(10, 10, 15, 0.98) 100%);
}

.portfolio-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

.portfolio-item:hover .portfolio-gradient {
    opacity: 0.4;
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md) var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    z-index: 3;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.95) 50%, rgba(10, 10, 15, 1) 100%);
    min-height: auto;
}

.portfolio-item:hover .portfolio-content {
    opacity: 1;
}

.portfolio-badges {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 4;
}

.portfolio-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 1;
    visibility: visible;
}

.portfolio-item:hover .portfolio-badge {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    text-shadow: none;
}

.portfolio-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: var(--spacing-xs);
    color: #FFFFFF;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.portfolio-content p {
    color: #E0E0E0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-link {
    color: var(--accent-color);
    transform: translateX(4px);
}

.portfolio-link svg {
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-link svg {
    transform: translate(4px, -4px);
}

/* ============================================
   CASE STUDIES SECTION
   ============================================ */

.case-studies-section {
    position: relative;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.case-study {
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    text-align: center;
}

.case-study.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.case-study:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translate3d(0, -8px, 0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.case-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.case-study h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    text-align: center;
}

.case-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.case-stats {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--spacing-md);
}

.stat {
    flex: 1;
    min-width: 80px;
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-section {
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all var(--transition-base);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border: 2px solid var(--accent-primary);
    background: rgba(99, 102, 241, 0.05);
}

.badge {
    position: absolute;
    top: -12px;
    right: var(--spacing-md);
    padding: 0.4rem 1rem;
    background: var(--gradient-accent);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}

.amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.currency {
    color: var(--text-secondary);
    font-size: 1rem;
}

.features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.features li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
}

/* ============================================
   WHY SECTION
   ============================================ */

.why-section {
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.why-item {
    padding: var(--spacing-md);
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.why-item.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.why-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    position: relative;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    min-height: 300px;
}

.testimonial {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    text-align: center;
}

.testimonial.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.quote {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author strong {
    color: var(--text-primary);
    font-weight: 600;
}

.author span {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.light-beam {
    position: absolute;
    width: 2px;
    height: 100%;
    left: 50%;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(99, 102, 241, 0.4) 50%,
        transparent 100%
    );
    filter: blur(1px);
    animation: beamPulse 3s ease-in-out infinite;
}

@keyframes beamPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50%) scaleY(1);
    }
    50% {
        opacity: 0.6;
        transform: translateX(-50%) scaleY(1.2);
    }
}

.contact-section .container {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all var(--transition-base);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.contact-value:hover {
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .contact-item {
        width: 100%;
        justify-content: center;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    align-items: center;
}

.footer-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-wrapper svg {
    height: 45px;
    width: auto;
    max-width: 160px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: flex-end;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    transition: color var(--transition-base);
}

.footer-contact-item svg {
    flex-shrink: 0;
    color: var(--accent-primary);
    opacity: 0.8;
    transition: opacity var(--transition-base);
}

.footer-contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-base);
}

.footer-contact-item:hover a,
.footer-contact-item:hover {
    color: var(--text-primary);
}

.footer-contact-item:hover svg {
    opacity: 1;
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .footer-center {
        order: -1;
        margin-bottom: var(--spacing-md);
    }
    
    .footer-contact {
        align-items: center;
    }
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item:first-child {
        grid-column: span 1;
    }

    .services-grid,
    .case-studies-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

