* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Floating orbs */
.floating-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: floatOrb 20s ease-in-out infinite;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
}

.orb:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.112));
}

.orb:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: -7s;
    background: linear-gradient(45deg, rgba(118, 75, 162, 0.134), rgba(102, 126, 234, 0.09));
}

.orb:nth-child(3) {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 60%;
    animation-delay: -3s;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.112), rgba(118, 75, 162, 0.15));
}

@keyframes floatOrb {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
        opacity: 1;
    }
    33% { 
        transform: translate(30px, -30px) scale(1.1); 
        opacity: 0.7;
    }
    66% { 
        transform: translate(-20px, 20px) scale(0.9); 
        opacity: 0.9;
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo.bounce {
    animation: bounceClick 0.6s ease-in-out;
}

@keyframes bounceClick {
    0% { transform: scale(1); }
    30% { transform: scale(0.9) rotate(-5deg); }
    60% { transform: scale(1.15) rotate(3deg); }
    80% { transform: scale(0.95) rotate(-1deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: #667eea;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    contain: layout style paint;
    will-change: transform;
}

/* Simplified grid effect for better performance */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.135) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.135) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: 0 0, 0 0;
    mask: radial-gradient(ellipse 800px 500px at 50% 50%, transparent 15%, black 25%, black 45%, transparent 70%);
    -webkit-mask: radial-gradient(ellipse 800px 500px at 50% 50%, transparent 15%, black 25%, black 45%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: gridFloat 30s ease-in-out infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

@keyframes gridFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.6;
    }
    20% {
        transform: translate(-8px, -12px) rotate(0.5deg);
        opacity: 0.4;
    }
    40% {
        transform: translate(12px, -8px) rotate(-0.3deg);
        opacity: 0.8;
    }
    60% {
        transform: translate(-6px, 10px) rotate(0.2deg);
        opacity: 0.5;
    }
    80% {
        transform: translate(8px, -6px) rotate(-0.4deg);
        opacity: 0.7;
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    z-index: 5; /* High z-index to be above orbs and grid */
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: #ffffff;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.hero h1 .title-text {
    background: linear-gradient(135deg, #ffffff 0%, #667eea 50%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: titleColorShift 15s ease-in-out infinite;
}

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

.hero h1.animate {
    opacity: 1;
    transform: translateY(0);
}

.typing-tech {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 800;
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: colorShift 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

/* Technology-specific color schemes */
.typing-tech.typescript {
    background: linear-gradient(135deg, #3178c6 0%, #4a90e2 50%, #6bb6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: colorShift 3s ease-in-out infinite;
}

.typing-tech.react {
    background: linear-gradient(135deg, #61dafb 0%, #21d4fd 50%, #1e90ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: colorShift 3s ease-in-out infinite;
}

.typing-tech.nextjs {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #c0c0c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: colorShift 3s ease-in-out infinite;
}

.typing-tech.vuejs {
    background: linear-gradient(135deg, #4fc08d 0%, #42b883 50%, #35495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: colorShift 3s ease-in-out infinite;
}

.typing-tech.nuxtjs {
    background: linear-gradient(135deg, #00dc82 0%, #00c070 50%, #00a85a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: colorShift 3s ease-in-out infinite;
}

.typing-tech.nestjs {
    background: linear-gradient(90deg, #e0234e 0%, #ff4757 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: colorShift 3s ease-in-out infinite;
}


.typing-tech.express {
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 50%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: colorShift 3s ease-in-out infinite;
}


.typing-tech.capacitor {
    background: linear-gradient(135deg, #119eff 0%, #0080ff 50%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: colorShift 3s ease-in-out infinite;
}

.typing-tech.electron {
    background: linear-gradient(135deg, #9febf9 0%, #64d3e1 50%, #47848f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: colorShift 3s ease-in-out infinite;
}

.typing-tech.docker {
    background: linear-gradient(135deg, #2496ed 0%, #0db7ed 50%, #48cae4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: colorShift 3s ease-in-out infinite;
}

.typing-tech.aws {
    background: linear-gradient(135deg, #ff9900 0%, #ffb84d 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: colorShift 3s ease-in-out infinite;
}

.typing-tech.nodejs {
    background: linear-gradient(135deg, #339933 0%, #68cc68 50%, #90ee90 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: colorShift 3s ease-in-out infinite;
}

/* Cursor color matching */
.cursor {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: colorShift 3s ease-in-out infinite;
    font-weight: 100;
    font-size: 1em;
    line-height: 0.8;
    transition: all 0.3s ease;
    font-family: monospace;
    position: relative;
    left: -0.15em;  /* equivale aprox a -10px en desktop */
    top: -0.1em;    /* equivale aprox a -8px */
    vertical-align: middle;
}

.cursor.typescript {
    background: linear-gradient(135deg, #3178c6 0%, #4a90e2 50%, #6bb6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
}

.cursor.react {
    background: linear-gradient(135deg, #61dafb 0%, #21d4fd 50%, #1e90ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
}

.cursor.nextjs {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #c0c0c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
}

.cursor.vuejs {
    background: linear-gradient(135deg, #4fc08d 0%, #42b883 50%, #35495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
}

.cursor.nuxtjs {
    background: linear-gradient(135deg, #00dc82 0%, #00c070 50%, #00a85a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
}

.cursor.nestjs {
    background: linear-gradient(90deg, #e0234e 0%, #ff4757 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
}

.cursor.express {
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 50%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
}

.cursor.capacitor {
    background: linear-gradient(135deg, #119eff 0%, #0080ff 50%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
}

.cursor.electron {
    background: linear-gradient(135deg, #9febf9 0%, #64d3e1 50%, #47848f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
}

.cursor.docker {
    background: linear-gradient(135deg, #2496ed 0%, #0db7ed 50%, #48cae4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
}

.cursor.aws {
    background: linear-gradient(135deg, #ff9900 0%, #ffb84d 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
}

.cursor.nodejs {
    background: linear-gradient(135deg, #339933 0%, #68cc68 50%, #90ee90 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
}

.blink { 
    animation: blink-animation 1s linear infinite, colorShift 3s ease-in-out infinite; 
    -webkit-animation: blink-animation 1s linear infinite, colorShift 3s ease-in-out infinite; 
} 

@keyframes blink-animation { 
    0%, 50% { 
        visibility: visible; 
    }
    50.01%, 100% { 
        visibility: hidden; 
    } 
} 

@-webkit-keyframes blink-animation { 
    0%, 50% { 
        visibility: visible; 
    }
    50.01%, 100% { 
        visibility: hidden; 
    } 
}

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

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: lightgray;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.hero p.animate {
    opacity: 1;
    transform: translateY(0);
}

.tech-stack {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
}

.tech-stack.animate {
    opacity: 1;
    transform: translateY(0);
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    transition: left 0.6s ease;
}

.tech-item:hover::before {
    left: 100%;
}

.tech-item:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 10px 30px rgba(102, 126, 234, 0.2),
        0 0 20px rgba(102, 126, 234, 0.1);
    color: #667eea;
}

/* Floating particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(102, 126, 234, 0.6);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

/* Services Section */
.services {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.services .container {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.services.animate .container {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.6s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.service-card p {
    color: #b3b3b3;
    margin-bottom: 1.5rem;
}

.service-techs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* Case Studies Section */
.case-studies {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    text-align: center;
    position: relative;
}

.case-studies .container {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.case-studies.animate .container {
    opacity: 1;
    transform: translateY(0);
}

.case-studies-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.case-studies-content p {
    font-size: 1.3rem;
    color: #b3b3b3;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.case-studies-button {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.case-studies-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.6s ease;
}

.case-studies-button:hover::before {
    left: 100%;
}

.case-studies-button:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Process Section */
.process {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
}

.process .container {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.process.animate .container {
    opacity: 1;
    transform: translateY(0);
}

.process-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.process-step {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    backdrop-filter: blur(10px);
}

.process-step.animate {
    opacity: 1;
    transform: translateY(0);
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    border-radius: 20px 20px 0 0;
}

.process-step:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.process-number:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.process-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-content p {
    color: #b3b3b3;
    font-size: 1rem;
    line-height: 1.6;
}

.process-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
    gap: 1rem;
}

.flow-arrow {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.3), rgba(102, 126, 234, 0.8));
    position: relative;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid rgba(102, 126, 234, 0.8);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.flow-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.2);
    border: 2px solid rgba(102, 126, 234, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
}

/* Models Section */
.models {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
    position: relative;
}

.models .container {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.models.animate .container {
    opacity: 1;
    transform: translateY(0);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.model-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.6s ease;
    position: relative;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    transform: translateY(40px);
}

.model-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.model-card.featured {
    border-color: rgba(102, 126, 234, 0.4);
}

.model-card.featured.animate {
    transform: scale(1.05);
}

.model-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.model-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.model-header {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.model-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.model-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.model-subtitle {
    color: #667eea;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
}

.model-content {
    padding: 1.5rem;
}

.model-content > p {
    color: #b3b3b3;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.model-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.model-features li {
    color: #ffffff;
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.model-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.model-best-for {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    padding: 1rem;
    color: #b3b3b3;
    font-size: 0.9rem;
    line-height: 1.5;
}

.model-best-for strong {
    color: #667eea;
}

.model-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.model-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    text-align: center;
}

.cta-section .container {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta-section.animate .container {
    opacity: 1;
    transform: translateY(0);
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.cta-main-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

.cta-main-button:hover::before {
    left: 100%;
}

.cta-main-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Stats Section */
.stats {
    padding: 6rem 2rem;
    background: rgba(102, 126, 234, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats .container {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.stats.animate .container {
    opacity: 1;
    transform: translateY(0);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #b3b3b3;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
footer {
    background: #000000;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .container {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

footer.animate .container {
    opacity: 1;
    transform: translateY(0);
}

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

.footer-section h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
}

/* Loading animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(102, 126, 234, 0.1);
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Cursor following orb */
.cursor-orb {
    position: fixed;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transform: translate(-50%, -50%);
    will-change: transform;
}

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

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    border: 2px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a70e8 0%, #6d4296 100%);
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #667eea #000000;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .tech-stack {
        gap: 1rem;
    }
    
    /* Reduced spacing between sections on mobile */
    .services {
        padding: 1rem 2rem 4rem 2rem;
    }
    
    .process {
        padding: 4rem 2rem;
    }
    
    .models {
        padding: 4rem 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .process-flow {
        flex-direction: column;
        gap: 1rem;
    }

    .flow-arrow {
        width: 2px;
        height: 30px;
        background: linear-gradient(180deg, rgba(102, 126, 234, 0.3), rgba(102, 126, 234, 0.8));
    }

    .flow-arrow::after {
        right: -4px;
        top: auto;
        bottom: -8px;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 8px solid rgba(102, 126, 234, 0.8);
        border-bottom: none;
    }

    .models-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .model-card.featured {
        transform: none;
    }

    .model-card.featured:hover {
        transform: translateY(-10px);
    }

    .case-studies-content h2 {
        font-size: 2rem;
    }
}