/* ===========================================
   DISEÑO & APLICACIONES - CSS
   Estilos específicos para diseno-aplicaciones.html
   =========================================== */

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

html {
    height: 100%;
    overflow-x: hidden;
}

:root {
    --primary-dark: #0b0a2b;
    --primary-purple: #8B5CF6;
    --primary-orange: #f86800;
    --primary-yellow: #FFD600;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --accent-green: #10b981;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100%;
    position: relative;
}

body.menu-open {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
}

/* ===========================================
   ANIMATED BACKGROUND
   =========================================== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(248, 104, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
    animation: bgMove 20s ease-in-out infinite;
}

/* ===========================================
   FLOATING SHAPES
   =========================================== */
.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
    top: 60%;
    right: 15%;
    animation-duration: 30s;
    animation-delay: 2s;
}

.shape-3 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(139, 92, 246, 0.3);
    top: 40%;
    left: 70%;
    animation-duration: 28s;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-pink), var(--primary-orange));
    border-radius: 50%;
    bottom: 20%;
    left: 30%;
    animation-duration: 35s;
    animation-delay: 1s;
}

.shape-5 {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
    top: 10%;
    right: 25%;
    animation-duration: 22s;
    animation-delay: 3s;
}

.shape-6 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 87px solid rgba(248, 104, 0, 0.3);
    bottom: 30%;
    right: 40%;
    animation-duration: 26s;
    animation-delay: 5s;
}

.shape-7 {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-green));
    border-radius: 50%;
    top: 70%;
    left: 5%;
    animation-duration: 32s;
    animation-delay: 2.5s;
}

.shape-8 {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--primary-purple));
    top: 50%;
    left: 50%;
    animation-duration: 29s;
    animation-delay: 6s;
}

/* ===========================================
   KEYFRAMES
   =========================================== */
@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -50px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, -100px) rotate(180deg);
    }
    75% {
        transform: translate(50px, -70px) rotate(270deg);
    }
}

@keyframes bgMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-5%, 5%) rotate(120deg); }
    66% { transform: translate(5%, -5%) rotate(240deg); }
}

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

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

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

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

@keyframes scrollHint {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(10px); opacity: 1; }
}

/* ===========================================
   NAVIGATION
   =========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(11, 10, 43, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(11, 10, 43, 0.95);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo:hover {
    opacity: 0.9;
}

.logo img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

.logo span {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu-wrapper {
    display: contents;
}

.nav-menu-header {
    display: none;
}

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

/* Hide mobile CTA in desktop */
.nav-cta-mobile {
    display: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-cyan));
    transition: width 0.3s ease;
}

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

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
    border: none;
    border-radius: 50px;
    color: var(--primary-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(248, 104, 0, 0.4);
}

/* ===========================================
   LANGUAGE SELECTOR
   =========================================== */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Nav CTA Button */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    color: #1a1a2e !important;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    margin-left: 1rem;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.language-btn svg {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.language-btn #currentLang {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.7rem 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a2e;
    transition: all 0.2s ease;
    text-align: left;
}

.language-option:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(255, 214, 0, 0.05));
    color: #8b5cf6;
}

.language-option .flag {
    font-size: 1.4rem;
    line-height: 1;
}

/* ===========================================
   HAMBURGER MENU
   =========================================== */
.nav-toggle {
    display: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger {
    width: 30px;
    height: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.line {
    width: 25px;
    height: 3px;
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* ===========================================
   MOBILE OVERLAY
   =========================================== */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

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

.navbar.menu-open .logo,
.navbar.menu-open .nav-toggle,
.navbar.menu-open .nav-cta {
    filter: blur(8px);
    opacity: 0.5;
    pointer-events: none;
}

body.menu-open .whatsapp-float {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ===========================================
   WHATSAPP FLOATING BUTTON
   =========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 4px 15px rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, 
        #1a1a2e 0%,
        #16213e 15%,
        #A855F7 35%,
        #8B5CF6 50%,
        #7C3AED 65%,
        #F59E0B 80%,
        #FCD34D 100%
    );
    background-size: 200% 100%;
    animation: gradientShift 4s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-float a:hover {
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 8px 25px rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
}

.whatsapp-float-icon {
    color: #FFFFFF;
    background: transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float-icon svg {
    fill: #FFFFFF !important;
    stroke: none;
    background: none !important;
    transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-float-icon {
    transform: scale(1.1);
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-purple);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
    color: var(--primary-dark);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(248, 104, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-3px);
}

/* ===========================================
   HERO VISUAL
   =========================================== */
.hero-visual {
    position: relative;
    height: 500px;
}

.hero-visual-mobile {
    display: none;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-1 {
    top: calc(10% + 15px);
    left: calc(10% + 80px);
    width: 250px;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: calc(50% - 100px);
    right: calc(10% - 120px);
    width: 200px;
    animation: float 8s ease-in-out infinite;
}

.card-3 {
    bottom: 10%;
    left: 30%;
    width: 220px;
    animation: float 7s ease-in-out infinite;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.icon-purple { background: linear-gradient(135deg, var(--primary-purple), #a78bfa); }
.icon-orange { background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow)); }
.icon-cyan { background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green)); }

.card-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===========================================
   SECTIONS BASE
   =========================================== */
.services {
    padding: 6rem 0;
    overflow: hidden;
}

.services .container {
    max-width: 100%;
    padding: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ===========================================
   SERVICES GRID
   =========================================== */
.services-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2rem 2rem 3rem 2rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.5) rgba(255, 255, 255, 0.05);
    width: 100%;
}

.services-grid::-webkit-scrollbar {
    height: 10px;
}

.services-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 0 2rem;
}

.services-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-cyan));
    border-radius: 10px;
}

.service-card {
    flex: 0 0 450px;
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.08) 0%,
        rgba(6, 182, 212, 0.05) 50%,
        rgba(248, 104, 0, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.15) 0%,
        transparent 50%,
        rgba(248, 104, 0, 0.1) 100%
    );
    border-radius: 24px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 
        0 20px 50px rgba(139, 92, 246, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

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

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

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    display: block;
    position: relative;
    z-index: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-tags .tag {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    position: relative;
    z-index: 1;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: 700;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 214, 0, 0.15);
    border: 1px solid rgba(255, 214, 0, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-yellow);
}

/* ===========================================
   SCROLL INDICATOR
   =========================================== */
.scroll-indicator {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: scrollHint 2s ease-in-out infinite;
}

.scroll-indicator svg {
    width: 20px;
    height: 20px;
}

/* ===========================================
   PROCESS SECTION
   =========================================== */
.process {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.02);
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    position: relative;
    z-index: 1;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===========================================
   CTA SECTION
   =========================================== */
.cta-section {
    padding: 6rem 0;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 30px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    animation: rotateBg 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================================
   FOOTER
   =========================================== */
footer {
    padding: 3rem 0;
    background: #0B0C29;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-purple);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-3px);
}

/* ===========================================
   RESPONSIVE - TABLET
   =========================================== */
@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80vw;
        max-width: 460px;
        height: 100vh;
        background: #0b0a2b;
        display: flex;
        flex-direction: column;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border-left: 2px solid rgba(139, 92, 246, 0.3);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
        z-index: 1001;
        overflow-y: auto;
        margin: 0;
        padding: 0;
    }
    
    .nav-menu-wrapper.active {
        right: 0;
    }

    .nav-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 1.2rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: #0b0a2b;
        flex-shrink: 0;
        margin-top: 0;
        margin-bottom: 1.5rem;
    }
    
    .nav-links {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        gap: 0.5rem;
        padding: 0 1.5rem 2rem 1.5rem;
        list-style: none;
        margin: 0;
    }
    
    .nav-menu-logo {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding-left: 0;
        text-decoration: none;
        color: inherit;
    }
    
    .nav-menu-logo:hover {
        opacity: 0.8;
    }
    
    .nav-menu-logo img {
        width: 30px;
        height: 30px;
        filter: brightness(0) invert(1);
    }
    
    .nav-menu-logo span {
        color: #ffffff;
        font-size: 1.1rem;
        font-weight: 700;
    }

    .nav-menu-close {
        background: transparent;
        border: none;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }

    .nav-menu-close:hover {
        transform: rotate(90deg);
    }
    
    .nav-menu-close:hover svg path {
        stroke: #ff8a7a;
    }

    .nav-menu-close:active {
        transform: rotate(90deg) scale(0.95);
    }

    .nav-links li {
        margin: 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
        width: 100%;
    }

    .nav-menu-wrapper.active .nav-links li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu-wrapper.active .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu-wrapper.active .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu-wrapper.active .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu-wrapper.active .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu-wrapper.active .nav-links li:nth-child(5) { transition-delay: 0.5s; }

    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
        border-radius: 12px;
        width: 100%;
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-links a:hover,
    .nav-links a:active {
        background: rgba(255, 215, 0, 0.2);
        border-color: rgba(255, 215, 0, 0.4);
        transform: translateX(5px);
    }
    
    .nav-links a:hover::after {
        width: 80%;
    }
    
    .nav-link-cta::after {
        display: none !important;
    }
    
    .nav-menu-cta {
        margin-top: 0.5rem;
        width: 100%;
    }
    
    .nav-link-cta {
        background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%) !important;
        color: #1a1a2e !important;
        font-weight: 600 !important;
        border: none !important;
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
        border-radius: 12px;
    }
    
    .nav-link-cta:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 15px 40px rgba(248, 104, 0, 0.6) !important;
        background: linear-gradient(135deg, #ff8c00, #ffd700) !important;
    }

    .nav-cta {
        display: none;
    }

    .language-selector {
        display: none;
    }

    .nav-toggle.active .line1 {
        transform: rotate(45deg) translate(8px, 8px);
        background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    }

    .nav-toggle.active .line2 {
        opacity: 0;
        transform: translateX(20px);
    }

    .nav-toggle.active .line3 {
        transform: rotate(-45deg) translate(8px, -8px);
        background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    }

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

    .hero-visual {
        display: none;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-ctas {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

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

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

    section {
        padding: 4rem 0 !important;
    }

    .container {
        padding: 0 1.5rem;
    }

    .motivation-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .process-steps {
        grid-template-columns: 1fr !important;
    }

    .featured-projects {
        grid-template-columns: 1fr !important;
    }

    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-section > .container > div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* ===========================================
   RESPONSIVE - MOBILE
   =========================================== */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 70px;
        height: 70px;
    }
    
    .whatsapp-float-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .services-grid {
        gap: 1rem;
        padding: 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .service-card {
        flex: 0 0 85vw;
        max-width: 320px;
        padding: 1.5rem;
        border-radius: 20px;
        scroll-snap-align: center;
        margin: 0 auto;
    }
    
    .service-icon {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .service-tags {
        margin-bottom: 0.8rem;
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    
    .service-tags .tag {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }
    
    .service-title {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .service-desc {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        line-height: 1.5;
    }
    
    .service-features {
        margin: 0;
        padding: 0;
    }
    
    .service-features li {
        font-size: 0.8rem;
        padding: 0.25rem 0;
    }
    
    .scroll-indicator {
        display: flex !important;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 6rem 0 3rem 0 !important;
        min-height: auto !important;
    }

    .hero-content {
        gap: 3rem;
        padding-top: 40px;
    }

    .hero-text {
        padding: 0 0.5rem;
    }

    .hero-text h1 {
        font-size: 2.25rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.5rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        font-weight: 900 !important;
    }

    .hero-text h1 .gradient-text {
        display: block;
        font-size: inherit !important;
        margin-top: 0.5rem;
    }

    .hero-text p {
        font-size: 1rem !important;
        line-height: 1.7 !important;
        margin-bottom: 2rem !important;
        color: var(--text-muted);
    }

    .hero-badges {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.75rem !important;
        margin-bottom: 2rem !important;
    }

    .hero-badges .badge {
        font-size: 0.85rem !important;
        padding: 0.6rem 1rem !important;
        text-align: center;
        width: auto !important;
        flex: 0 0 auto !important;
    }

    .hero-ctas {
        gap: 1rem !important;
        flex-direction: column;
    }

    .hero-ctas .btn {
        font-size: 1rem !important;
        padding: 1.1rem 2rem !important;
        width: 100%;
    }

    .hero-visual {
        display: none !important;
    }

    .hero-visual-mobile {
        display: block !important;
        margin: 2rem 0 !important;
    }

    .hero-visual-mobile .floating-card {
        position: relative !important;
        width: 100% !important;
        margin-bottom: 1rem !important;
        animation: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }

    .section-title {
        font-size: 1.85rem !important;
        line-height: 1.3 !important;
    }

    .section-subtitle {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .section-badge {
        font-size: 0.75rem !important;
        padding: 0.4rem 1rem !important;
    }

    .services-scroll {
        gap: 1rem !important;
    }

    .service-card {
        min-width: 280px !important;
        padding: 2rem 1.5rem !important;
    }

    .pricing-card {
        padding: 2rem 1.5rem !important;
    }

    .plan-price {
        font-size: 2.5rem !important;
    }

    .process-card {
        padding: 2rem 1.5rem !important;
    }

    .brands-carousel {
        gap: 2rem !important;
    }

    .brand-logo {
        min-width: 120px !important;
        height: 60px !important;
    }

    .contact-section input,
    .contact-section textarea,
    .contact-section button {
        font-size: 1rem !important;
    }

    .faq-item button {
        padding: 1.5rem !important;
        font-size: 1rem !important;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem !important;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem !important;
    }
}

/* ============================================
   PRICING SCROLL & HOVER EFFECTS
   ============================================ */

/* Hide scrollbar for pricing container */
.pricing-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Pricing card hover effects */
.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.pricing-card.pricing-featured:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 
        0 25px 60px rgba(248, 104, 0, 0.35),
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Pricing button hover effects */
.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.pricing-btn-featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(248, 104, 0, 0.5);
}

.pricing-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Pricing Mobile styles */
@media (max-width: 1024px) {
    .pricing-scroll-hint {
        display: flex !important;
    }
    
    .pricing-dots {
        display: flex !important;
    }
    
    .pricing-scroll-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .pricing-card {
        width: 85vw !important;
        max-width: 320px !important;
        min-width: 280px !important;
    }
    
    .pricing-card.pricing-featured {
        width: 88vw !important;
        max-width: 340px !important;
        transform: scale(1) !important;
    }
}

@media (max-width: 640px) {
    .pricing-card {
        padding: 2rem 1.5rem !important;
    }
}

/* ============================================
   PORTFOLIO SCROLL & HOVER EFFECTS
   ============================================ */

/* Hide scrollbar for portfolio container */
.portfolio-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Portfolio card hover effects */
.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 15px 30px rgba(139, 92, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Portfolio button hover effects */
.portfolio-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.portfolio-btn-orange:hover {
    box-shadow: 0 10px 25px rgba(248, 104, 0, 0.4);
}

.portfolio-btn-green:hover {
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.portfolio-btn-outline:hover {
    background: rgba(236, 72, 153, 0.15);
    border-color: rgba(236, 72, 153, 0.6);
}

/* Portfolio Mobile styles */
@media (max-width: 1024px) {
    .portfolio-scroll-hint {
        display: flex !important;
    }
    
    .portfolio-dots {
        display: flex !important;
    }
    
    .portfolio-scroll-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .portfolio-card {
        width: 85vw !important;
        max-width: 320px !important;
        min-width: 280px !important;
    }
}

@media (max-width: 640px) {
    .portfolio-card {
        padding: 0 !important;
    }
    
    .portfolio-card > div:last-child {
        padding: 1.25rem !important;
    }
}

/* ============================================
   BRANDS SCROLL & HOVER EFFECTS
   ============================================ */

/* Hide scrollbar for brands container */
.brands-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Brand card hover */
.brand-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.brand-card:hover img {
    filter: brightness(1.3);
}

@media (max-width: 768px) {
    .brands-scroll-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .brand-card {
        min-width: 180px !important;
        padding: 1rem 1.5rem !important;
    }
}

/* ============================================
   LANGUAGE NOTIFICATION
   ============================================ */
.language-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: linear-gradient(135deg, #9A4DFF 0%, #6B46C1 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(154, 77, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.language-notification.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.language-notification .notification-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.language-notification .notification-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.language-notification .notification-title {
    font-weight: 600;
    font-size: 14px;
}

.language-notification .notification-lang {
    font-size: 12px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .language-notification {
        top: 80px;
        right: 20px;
        left: 20px;
        padding: 14px 20px;
    }
    
    .language-notification .notification-icon {
        width: 20px;
        height: 20px;
        font-size: 14px;
    }
    
    .language-notification .notification-title {
        font-size: 13px;
    }
    
    .language-notification .notification-lang {
        font-size: 11px;
    }
}

/* ============================================
   MOBILE LANGUAGE SELECTOR
   ============================================ */
.mobile-language-selector {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    bottom: 27px;
    left: 0;
    right: 0;
    background: rgba(11, 10, 43, 0.95);
    backdrop-filter: blur(10px);
}

.mobile-lang-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0.5rem;
}

.mobile-lang-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.mobile-lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-lang-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.mobile-lang-btn.active {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
    border-color: transparent;
    color: white;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

.mobile-lang-btn .flag {
    font-size: 1.2rem;
}

@media (max-width: 1024px) {
    .mobile-language-selector {
        display: flex;
    }
    
    .nav-links-wrapper {
        padding-bottom: 120px !important;
    }
    
    /* Hide desktop CTA button on mobile */
    .nav-content > .nav-cta-btn {
        display: none;
    }
    
    /* Mobile CTA Button - Show on mobile */
    .nav-cta-mobile {
        display: block;
        margin-top: 1rem;
    }
    
    .nav-cta-mobile .nav-cta-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
        color: #1a1a2e !important;
        border-radius: 12px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        margin-left: 0;
    }
    
    .nav-cta-mobile .nav-cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
    }
}
