:root {
    --primary-color: #0a0a0a;
    --accent-color: #1fe0ba;
    --accent-secondary: #ff0066;
    --accent-turquoise: #1fd7e0;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.1);
    --bg-light: #f8fafb;
    --text-dark: #1a1a1a;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container {
    position: relative;
    width: 60px;
    height: 60px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.3));
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.cta-button {
    background: linear-gradient(135deg, var(--accent-color), #00cc6a);
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: linear-gradient(90deg, #1fe0ba, #ff0066);
    transition: all 0.3s ease;
}

.nav-links.active { display:flex!important; position:absolute; top:100%; left:0; right:0; background:#fff; flex-direction:column; padding:1rem; z-index:999; }

.nav-links.active .nav-link { padding:0.75rem 1rem; border-radius:8px; color:var(--text-dark); background:transparent; }

.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; transform: scale(0); }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero Section */
.hero {
    margin-top: 100px;
    padding: 4rem 2rem;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 1000px 800px at 20% 40%, rgba(31, 218, 214, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 800px 600px at 80% 60%, rgba(246, 96, 138, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 700px 500px at 30% 80%, rgba(31, 224, 186, 0.2) 0%, transparent 50%);
    animation: aurora 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes aurora {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1) rotate(0deg);
    }
    25% {
        opacity: 0.6;
        transform: scale(1.1) rotate(2deg);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.05) rotate(-1deg);
    }
    75% {
        opacity: 0.7;
        transform: scale(1.08) rotate(1deg);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.hero-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(31, 224, 186, 0.2));
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.title-green {
    color: #1fe0ba;
}

.title-pink {
    color: #ff0066;
    margin-left: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    font-weight: 500;
}

.hero-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin: 0;
}

.hero-description {
    font-size: 1.125rem;
    color: #666;
    max-width: 500px;
}

.hero-cta {
    align-self: flex-start;
    background: linear-gradient(135deg, #f6608a, #1fdad6);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(246, 96, 138, 0.3);
}

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

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(246, 96, 138, 0.4);
}

/* Hero Image / Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-container {
    perspective: 1000px;
}

.laptop-mockup {
    width: 400px;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.laptop-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.screen {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.website-preview {
    height: 100%;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.brain-preview {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(31, 224, 186, 0.4));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.website-header {
    height: 40px;
    background: linear-gradient(90deg, #1fe0ba, #1fd7e0);
}

.website-content {
    padding: 20px;
}

.content-line {
    height: 12px;
    background: #e0e0e0;
    margin-bottom: 10px;
    border-radius: 2px;
}

.content-line.short {
    width: 60%;
}

.keyboard {
    width: 120%;
    height: 20px;
    background: #333;
    margin: 10px auto 0;
    border-radius: 0 0 20px 20px;
}

/* Enhanced WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 30px rgba(37, 211, 102, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1001;
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
    overflow: hidden;
}

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

.whatsapp-float:hover::before {
    width: 100px;
    height: 100px;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 
        0 12px 40px rgba(37, 211, 102, 0.6),
        0 6px 20px rgba(0, 0, 0, 0.15);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
    z-index: 2;
    position: relative;
}

.whatsapp-float:hover .whatsapp-icon {
    transform: rotate(10deg);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 
            0 8px 30px rgba(37, 211, 102, 0.4),
            0 4px 15px rgba(0, 0, 0, 0.1),
            0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 
            0 8px 30px rgba(37, 211, 102, 0.4),
            0 4px 15px rgba(0, 0, 0, 0.1),
            0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 
            0 8px 30px rgba(37, 211, 102, 0.4),
            0 4px 15px rgba(0, 0, 0, 0.1),
            0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* WhatsApp Tooltip */
.whatsapp-float::after {
    content: 'Chatea con nosotros';
    position: absolute;
    bottom: 100%;
    right: 50%;
    transform: translateX(50%);
    background: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(-5px);
}

/* Services Section */
.services {
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 1000px 800px at 20% 40%, rgba(31, 218, 214, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 800px 600px at 80% 60%, rgba(246, 96, 138, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 700px 500px at 30% 80%, rgba(31, 224, 186, 0.2) 0%, transparent 50%);
    animation: aurora 12s ease-in-out infinite;
    pointer-events: none;
}

.services .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f6608a, #1fdad6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f6608a, #1fdad6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.services-subtitle {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    display: none;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.service-icon::before {
    display: none;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    color: currentColor;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.2));
    transition: all 0.3s ease;
    transform: translateZ(0);
    stroke-width: 0.5;
}

.service-card:hover .service-icon svg {
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
    transform: translateY(-2px);
}

.service-card:nth-child(1) .service-icon svg {
    color: #00C851;
    background: none;
    filter: 
        drop-shadow(0 8px 16px rgba(0, 200, 81, 0.4)) 
        drop-shadow(0 0 1px rgba(0,0,0,0.1));
}

.service-card:nth-child(2) .service-icon svg {
    color: #FFD700;
    background: none;
    filter: 
        drop-shadow(0 8px 16px rgba(255, 215, 0, 0.4)) 
        drop-shadow(0 0 1px rgba(0,0,0,0.1));
}

.service-card:nth-child(3) .service-icon svg {
    color: #FF6B6B;
    background: none;
    filter: 
        drop-shadow(0 8px 16px rgba(255, 107, 107, 0.4)) 
        drop-shadow(0 0 1px rgba(0,0,0,0.1));
}

.service-card:nth-child(4) .service-icon svg {
    color: #4ECDC4;
    background: none;
    filter: 
        drop-shadow(0 8px 16px rgba(78, 205, 196, 0.4)) 
        drop-shadow(0 0 1px rgba(0,0,0,0.1));
}

.service-card:nth-child(5) .service-icon svg {
    color: #A855F7;
    background: none;
    filter: 
        drop-shadow(0 8px 16px rgba(168, 85, 247, 0.4)) 
        drop-shadow(0 0 1px rgba(0,0,0,0.1));
}

.service-card:nth-child(6) .service-icon svg {
    color: #F59E0B;
    background: none;
    filter: 
        drop-shadow(0 8px 16px rgba(245, 158, 11, 0.4)) 
        drop-shadow(0 0 1px rgba(0,0,0,0.1));
}

.service-card .service-icon img {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.service-card:hover .service-icon img {
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
    transform: translateY(-2px);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-description {
    color: #666;
    line-height: 1.6;
}

.services-cta-container {
    margin-top: 4rem;
}

.services-cta {
    background: linear-gradient(135deg, #f6608a, #1fdad6);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(246, 96, 138, 0.3);
}

.services-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(246, 96, 138, 0.4);
}

/* Web Services Section */
.web-services {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    position: relative;
    overflow: hidden;
}

.web-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 1000px 800px at 20% 40%, rgba(31, 218, 214, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 800px 600px at 80% 60%, rgba(246, 96, 138, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 700px 500px at 30% 80%, rgba(31, 224, 186, 0.2) 0%, transparent 50%);
    animation: aurora 12s ease-in-out infinite;
    pointer-events: none;
}

.web-services .container {
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.web-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin: 3rem 0;
}

.web-service-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.web-service-card:nth-child(1) {
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.web-service-card:nth-child(2) {
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.web-service-card:nth-child(3) {
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.web-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f6608a, #1fdad6);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.service-icon-web {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: #f6608a;
    filter: drop-shadow(0 6px 12px rgba(246, 96, 138, 0.3));
    transition: all 0.3s ease;
}

.service-icon-web svg {
    width: 100%;
    height: 100%;
}

.web-service-card:hover .service-icon-web {
    transform: scale(1.1);
}

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

.service-features li {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1fdad6;
    font-weight: bold;
}

.web-services-cta {
    margin-top: 3rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    position: relative;
    overflow: hidden;
}

.testimonials .container {
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: left;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

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

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.testimonial-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid transparent;
    background: linear-gradient(135deg, #f6608a, #1fdad6) border-box;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-image img {
    transform: scale(1.05);
}

.testimonial-content {
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: #f6608a;
    font-family: 'Georgia', serif;
    line-height: 0.5;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    text-align: center;
}

.author-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-role {
    color: #666;
    font-size: 0.875rem;
}

/* Responsive for testimonials */
@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
}

/* FAQs Section */
.faqs {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    position: relative;
    overflow: hidden;
}

.faqs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 1000px 800px at 20% 40%, rgba(31, 218, 214, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 800px 600px at 80% 60%, rgba(246, 96, 138, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 700px 500px at 30% 80%, rgba(31, 224, 186, 0.2) 0%, transparent 50%);
    animation: aurora 12s ease-in-out infinite;
    pointer-events: none;
}

.faqs .container {
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.faqs-list {
    width: 100%;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    list-style: none;
    user-select: none;
}

.faq-question:hover {
    background: rgba(31, 224, 186, 0.05);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: #f6608a;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem 1.75rem;
    color: #666;
    line-height: 1.7;
}

.faq-answer p {
    margin: 0;
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 1000px 800px at 20% 40%, rgba(31, 218, 214, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 800px 600px at 80% 60%, rgba(246, 96, 138, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 700px 500px at 30% 80%, rgba(31, 224, 186, 0.2) 0%, transparent 50%);
    animation: aurora 12s ease-in-out infinite;
    pointer-events: none;
}

.portfolio .container {
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 3rem;
}

.portfolio-card {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card:nth-child(3) { animation-delay: 0.3s; }

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

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-card:nth-child(2) .portfolio-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafb, #ffffff);
    padding: 2rem;
}

.portfolio-card:nth-child(2) .portfolio-image img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.portfolio-card:hover:nth-child(2) .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    text-align: left;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.portfolio-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(31, 224, 186, 0.1);
    color: #1fdad6;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f6608a;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    color: #1fdad6;
    transform: translateX(5px);
}

.portfolio-link svg {
    width: 16px;
    height: 16px;
}

/* Legal Popup Styles */
.legal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 2rem;
}

.legal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.legal-modal {
  background: white;
  border-radius: 20px;
  max-width: 90vw;
  max-height: 90vh;
  width: 100%;
  max-width: 800px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.legal-overlay.active .legal-modal {
  transform: scale(1);
}

.legal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  z-index: 1;
  transition: color 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.legal-close:hover {
  color: #333;
  background: rgba(0, 0, 0, 0.05);
}

.legal-content {
  padding: 3rem;
  max-height: 70vh;
  overflow-y: auto;
  line-height: 1.7;
  color: #333;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
  color: #1a1a1a;
}

.legal-content::-webkit-scrollbar {
  width: 6px;
}

.legal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.legal-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.legal-loading {
  text-align: center;
  color: #666;
  font-style: italic;
}

/* Ensure consistent submenu styling across all pages */
.nav-item {
    position: relative;
    display: inline-block;
}

.nav-item .submenu-toggle {
    background: transparent;
    border: none;
    color: var(--text-dark);
    font: inherit;
    cursor: pointer;
    padding: 0.5rem 0;
    font-weight: 600;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-item .submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    padding: 0.5rem;
    min-width: 200px;
    display: none;
    z-index: 1100;
    border: 1px solid rgba(0,0,0,0.04);
    opacity: 0;
    transform-origin: top center;
    transform: translateY(-6px) scale(0.99);
    transition: opacity 180ms ease, transform 180ms ease;
}

.nav-item .submenu.show {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.nav-item:hover .submenu {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.nav-item .submenu li {
    list-style: none;
}

.nav-item .submenu a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.nav-item .submenu a:hover {
    color: transparent;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .cta-button {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .brand-name {
        font-size: 1.25rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }

    .hero-container {
        grid-template-columns: 1fr; /* Stack hero content and image */
        gap: 2rem;
    }

    .hero-content {
        align-items: center; /* Center content when stacked */
        text-align: center;
    }

    .hero-cta {
        align-self: center; /* Center CTA button */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: none; /* Allow description to use full width */
    }
    
    .laptop-mockup {
        width: 100%; /* Make laptop mockup fill container */
        max-width: 350px; /* Limit max width for better appearance */
        margin: 0 auto; /* Center the mockup */
        transform: rotateY(0deg) rotateX(0deg); /* Remove initial transform */
    }

    .laptop-mockup:hover {
        transform: none; /* Disable hover transform on mobile */
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }
    
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
    
    .whatsapp-float::after {
        display: none;
    }
    
    .services {
        padding: 4rem 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr; /* Stack service cards one by one */
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .services-title {
        font-size: 1.75rem;
    }
    
    .services-subtitle {
        font-size: 1rem;
    }
    
    .services-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .web-services {
        padding: 4rem 2rem;
    }
    
    .web-services-grid {
        grid-template-columns: 1fr; /* Stack web service cards one by one */
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-image img {
        width: 70px;
        height: 70px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .faqs {
        padding: 4rem 2rem;
    }
    
    .faq-question {
        padding: 1.5rem 1.25rem;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr; /* Ensure portfolio cards stack one by one */
        gap: 1.5rem;
    }
    
    .portfolio-card {
        margin: 0 auto;
        max-width: 400px; /* Keep a max-width for single column cards if preferred, but allow stretching to 100% of parent width */
        width: 100%;
    }

    /* Fix: prevent menu text disappearing on hover when mobile menu is open */
    .nav-links.active .nav-link:hover,
    .nav-links.active .nav-item .submenu a:hover {
        color: var(--text-dark) !important;
        background: transparent !important;
        -webkit-background-clip: initial !important;
        -webkit-text-fill-color: initial !important;
        background-clip: initial !important;
        text-decoration: none;
    }

    /* Also avoid making links transparent on pointer hover (some browsers honor :hover on touch-capable devices) */
    .nav-links.active .nav-link,
    .nav-links.active .nav-item .submenu a {
        color: var(--text-dark);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-headline {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .testimonials {
        padding: 3rem 1rem;
    }
    
    .quote-icon {
        font-size: 3rem;
    }
    
    .faqs {
        padding: 3rem 1rem;
    }
    
    .portfolio {
        padding: 3rem 1rem;
    }
    
    /* No need to re-define portfolio-grid here, it's already 1fr at 768px and smaller */
    
    .portfolio-card {
        padding: 1.25rem;
        margin: 0 auto;
        max-width: 100%; /* Allow cards to take full width on very small screens */
    }
}