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

/* Performance optimizations */
.solution-card,
.portfolio-item,
.cta-button,
.service-card {
    will-change: transform, box-shadow;
}

.hero::before,
.solution-card::before,
.cta-button.primary::before {
    will-change: opacity, left;
}

html {
    scroll-behavior: smooth;
}

/* Hardware acceleration for better performance */
.hero-content,
.solution-card,
.portfolio-item {
    transform: translateZ(0);
    backface-visibility: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0;
}

.logo span {
    color: #1e40af;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero,
.hero-background {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e40af 100%);
    color: white;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(30, 64, 175, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Typing effect for hero title */
.hero-title {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.hero-title.typing-complete::after {
    content: '|';
    animation: blink 1s infinite;
    color: #1e3a8a;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

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

.hero-content {
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.highlight {
    color: #2563eb;
}

@keyframes highlightGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::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.4s ease;
    z-index: -1;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

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

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

.cta-button.primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.cta-button.primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.5), 0 5px 15px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
    color: white;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.cta-button.secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.4);
}

.cta-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

.cta-button:active {
    transform: translateY(0) scale(0.98);
    transition: all 0.1s ease;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.rocket-animation {
    position: relative;
    width: 300px;
    height: 300px;
}

.rocket {
    font-size: 4rem;
    color: #2563eb;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rocketFloat 3s ease-in-out infinite;
}

@keyframes rocketFloat {
    0%, 100% { transform: translate(-50%, -50%) rotate(-10deg); }
    50% { transform: translate(-50%, -60%) rotate(10deg); }
}

.service-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-float {
    position: absolute;
    font-size: 2rem;
    color: #1e40af;
    animation: iconOrbit 8s linear infinite;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
}

.icon-float:nth-child(1) { animation-delay: 0s; }
.icon-float:nth-child(2) { animation-delay: -1s; }
.icon-float:nth-child(3) { animation-delay: -2s; }
.icon-float:nth-child(4) { animation-delay: -3s; }
.icon-float:nth-child(5) { animation-delay: -4s; }
.icon-float:nth-child(6) { animation-delay: -5s; }
.icon-float:nth-child(7) { animation-delay: -6s; }
.icon-float:nth-child(8) { animation-delay: -7s; }
.icon-float:nth-child(9) { animation-delay: -8s; }

@keyframes iconOrbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(120px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(120px) rotate(-360deg);
        opacity: 0.7;
    }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: black;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #1e3a8a);
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #64748b;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f8fafc;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.about-content {
    max-width: none;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 2rem;
}

.pain-points {
    margin: 2.5rem 0;
    padding: 2rem;
    background: transparent;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.pain-points::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #1e40af);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

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

.pain-points h3 {
    color: #2563eb;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.pain-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pain-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease forwards;
}

.pain-item:nth-child(1) { animation-delay: 0.1s; }
.pain-item:nth-child(2) { animation-delay: 0.2s; }
.pain-item:nth-child(3) { animation-delay: 0.3s; }
.pain-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pain-item:hover {
    background: #fef2f2;
    transform: translateX(5px) scale(1.02);
}

.pain-item i {
    color: #2563eb;
    font-size: 1.1rem;
    min-width: 20px;
    animation: pulse 2s infinite;
}

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

.pain-item span {
    color: #374151;
    font-weight: 500;
}

.solution-intro {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border-radius: 15px;
}

.solution-intro h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.solution-intro p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.stat-number.animated {
    animation: countUp 0.5s ease-out;
}

@keyframes countUp {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.values-container {
    background: #1e293b;
    color: white;
    padding: 2rem;
    border-radius: 15px;
}

.values-container h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.value-item:last-child {
    margin-bottom: 0;
}

.value-item i {
    font-size: 1.5rem;
    color: #1e40af;
    min-width: 30px;
}

.value-item h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.value-item p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    margin-top: 2rem;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 3rem;
    font-weight: 500;
}

.challenges-section {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 4px solid red;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-section {
        background: white;
        padding: 2.5rem;
        border-radius: 20px;
        margin-bottom: 2rem;
        box-shadow: 0 10px 30px rgba(30, 64, 175, 0.1);
        border: 4px solid blue;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

.challenges-section::before,
.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    transition: left 0.6s ease;
}

.challenges-section:hover::before,
.mission-section:hover::before {
    left: 100%;
}

.challenges-section:hover,
.mission-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.challenges-section h3 {
    color: #000000;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
    text-shadow: none;
}

.mission-section h3 {
        color: #000000;
        font-size: 1.5rem;
        margin-bottom: 1rem;
        font-weight: 600;
        position: relative;
        z-index: 2;
        text-shadow: none;
    }

.challenges-section p,
.mission-section p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

/* Solutions Section */
.solutions {
    padding: 6rem 0;
    background: #f8fafc;
}

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

.solution-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

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

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.solution-card:hover::before {
    left: 100%;
}

.solution-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(30, 64, 175, 0.2), 0 10px 25px rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.solution-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-cta {
    display: inline-block;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.card-cta:hover {
    color: #1d4ed8;
}

.solutions-cta {
    text-align: center;
}

.cta-text {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

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

.portfolio-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(37, 99, 235, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-5px) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.25), 0 8px 20px rgba(37, 99, 235, 0.2);
    border: 2px solid rgba(59, 130, 246, 0.4);
}

.portfolio-image {
    height: 200px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(1) contrast(1);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.1);
}

.portfolio-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.portfolio-content h3 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #333;
        transition: color 0.3s ease;
    }

    .portfolio-item:hover .portfolio-content h3 {
        color: #333;
    }

.portfolio-category {
        color: #333;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .portfolio-item:hover .portfolio-category {
        color: #333;
    }

/* Clientes Section */
.clientes-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.clientes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.clientes-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.clientes-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.brand-highlight {
        background: linear-gradient(135deg, #0000FF, #00008B);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 800;
    }

.logos-container {
    position: relative;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: logoSlide 30s linear infinite;
    width: fit-content;
}

.logo-card {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.logo-card:hover {
    transform: none;
    box-shadow: none;
}

.logo-card:hover::before {
    display: none;
}

.logo-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    transition: none;
    position: relative;
    z-index: 1;
}

.logo-card:hover img {
    filter: none;
    transform: none;
}

@keyframes logoSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-140px * 9 - 3rem * 9));
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .clientes-title {
        font-size: 2rem;
    }
    
    .logos-track {
        gap: 2.5rem;
        animation: logoSlideTablet 25s linear infinite;
    }
    
    .logo-card {
        width: 120px;
        height: 120px;
        padding: 1.2rem;
    }
    
    @keyframes logoSlideTablet {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 9 - 2.5rem * 9));
        }
    }
}

/* Mobile */
@media (max-width: 768px) {
    .clientes-section {
        padding: 3rem 0;
    }
    
    .clientes-header {
        margin-bottom: 3rem;
    }
    
    .clientes-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .logos-track {
        gap: 2rem;
        animation: logoSlideMobile 20s linear infinite;
    }
    
    .logo-card {
        width: 100px;
        height: 100px;
        padding: 1rem;
        border-radius: 15px;
    }
    
    @keyframes logoSlideMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100px * 9 - 2rem * 9));
        }
    }
}

@media (max-width: 480px) {
    .clientes-title {
        font-size: 1.2rem;
    }
    
    .logos-track {
        gap: 1.5rem;
        animation: logoSlideSmall 18s linear infinite;
    }
    
    .logo-card {
        width: 80px;
        height: 80px;
        padding: 0.8rem;
        border-radius: 12px;
    }
    
    @keyframes logoSlideSmall {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-80px * 9 - 1.5rem * 9));
        }
    }
}

/* Final CTA Section */
.final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="white" opacity="0.1"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

.final-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: rotate 60s linear infinite;
    pointer-events: none;
}

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

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
    to { text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(37, 99, 235, 0.5); }
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo h3 {
    margin: 0;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.footer-section h3 span {
    color: #1e40af;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    color: #94a3b8;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    color: #2563eb;
}

.social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .pain-points,
    .solution-intro,
    .values-container {
        padding: 1.5rem;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-carousel {
        grid-template-columns: 1fr;
    }
    
    .logo-carousel {
        gap: 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .solution-card {
        padding: 2rem;
    }
    
    .rocket-animation {
        width: 200px;
        height: 200px;
    }
    
    .rocket {
        font-size: 3rem;
    }
    
    .icon-float {
        font-size: 1.5rem;
    }
    
    /* Disable complex animations on small screens */
    .solution-card:hover {
        transform: translateY(-5px);
    }
    
    .portfolio-item:hover {
        transform: translateY(-3px);
    }
    
    .cta-button:hover {
        transform: translateY(-1px);
    }
    
    /* Reduce animation intensity */
    .pain-item i {
        animation: none;
    }
    
    .hero-title.typing-complete::after {
        display: none;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Scroll animations */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

/* Interactive Demo Section */
.demo-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.demo-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.demo-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    margin-bottom: 4rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.demo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin: 2rem auto 0;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

@media (min-width: 768px) {
    .demo-section {
        padding: 6rem 0;
    }
    
    .demo-container {
        flex-direction: row;
        gap: 4rem;
        margin: 2rem auto 0;
    }
}

/* Tablet e Mobile - Reorganização completa */
@media (max-width: 1023px) {
    .demo-section {
        padding: 4rem 0;
        text-align: center;
    }
    
    .demo-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        padding: 0 2rem;
        max-width: 800px;
        margin: 2rem auto 0;
        width: 100%;
    }
    
    .carousel-container {
        max-width: 400px;
        width: 100%;
        margin: 0 auto;
        order: 1;
    }
    
    .demo-features {
        max-width: 500px;
        width: 100%;
        aspect-ratio: auto;
        min-height: auto;
        height: auto;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        overflow: visible;
        order: 2;
    }
    
    .demo-features h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .feature-list {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .feature-list li {
        font-size: 1rem;
        margin-bottom: 0;
        line-height: 1.6;
        white-space: normal;
        word-wrap: break-word;
        padding: 0.75rem 0;
    }
}

/* Mobile pequeno */
@media (max-width: 767px) {
    .demo-section {
        padding: 3rem 0;
        text-align: center;
    }
    
    .demo-container {
        gap: 2.5rem;
        padding: 0 1.5rem;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 2rem auto 0;
    }
    
    .carousel-container {
        max-width: 350px;
        margin: 0 auto;
        display: block;
    }
    
    .demo-features {
        max-width: 100%;
        padding: 1.75rem;
    }
    
    .demo-features h3 {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }
    
    .feature-list li {
        font-size: 0.95rem;
        padding: 0.6rem 0;
    }
}

/* Mobile muito pequeno */
@media (max-width: 480px) {
    .demo-section {
        padding: 2.5rem 0;
        text-align: center;
    }
    
    .demo-container {
        gap: 2rem;
        padding: 0 1rem;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 2rem auto 0;
    }
    
    .carousel-container {
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
    
    .demo-features {
        padding: 1.5rem;
    }
    
    .demo-features h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .feature-list li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
}

/* Mobile extra pequeno */
@media (max-width: 360px) {
    .demo-section {
        padding: 2rem 0;
        text-align: center;
    }
    
    .demo-container {
        gap: 1.5rem;
        padding: 0 0.75rem;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 2rem auto 0;
    }
    
    .carousel-container {
        max-width: 280px;
        margin: 0 auto;
        display: block;
    }
    
    .demo-features {
        padding: 1.25rem;
    }
    
    .demo-features h3 {
        font-size: 1.1rem;
        margin-bottom: 0.875rem;
    }
    
    .feature-list li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
}

@media (min-width: 1024px) {
    .demo-container {
        gap: 6rem;
    }
}

/* Nova seção de recursos fora do card */
.demo-features-section {
    margin: 4rem auto 0;
    text-align: center;
    max-width: 1000px;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.features-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 2px;
}

.features-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: #475569;
    font-weight: 500;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-item i {
    color: #10b981;
    font-size: 1.1rem;
    background: rgba(16, 185, 129, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-item:hover i {
    background: #10b981;
    color: white;
    transform: scale(1.1);
}

/* Responsividade para a nova seção de recursos */
@media (max-width: 1023px) {
    .demo-features-section {
        margin-top: 3rem;
        padding: 0 1.5rem;
    }
    
    .features-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.25rem;
    }
    
    .feature-item {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 767px) {
    .demo-features-section {
        margin-top: 2.5rem;
        padding: 0 1rem;
    }
    
    .features-title {
        font-size: 1.6rem;
        margin-bottom: 1.75rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .feature-item i {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .demo-features-section {
        margin-top: 2rem;
        padding: 0 0.75rem;
    }
    
    .features-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .features-title::after {
        width: 60px;
        height: 3px;
    }
    
    .feature-item {
        padding: 0.875rem;
        font-size: 0.85rem;
        gap: 0.75rem;
    }
    
    .feature-item i {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .demo-features-section {
        margin-top: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .features-title {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }
    
    .feature-item {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    .feature-item i {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }
}

/* Animações e transições para a seção demo */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.demo-section .section-title {
    animation: fadeInUp 0.8s ease-out;
}

.demo-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.carousel-container {
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

.demo-features {
    animation: slideInRight 0.8s ease-out 0.6s both;
}

/* Smooth scroll behavior */
.demo-section {
    scroll-margin-top: 80px;
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .demo-section .section-title,
    .demo-subtitle,
    .carousel-container,
    .demo-features {
        animation: none;
    }
    
    .carousel-container:hover,
    .demo-features:hover,
    .feature-list li:hover {
        transform: none;
    }
}

.demo-features {
    text-align: left;
    width: 100%;
    max-width: 300px;
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.4s ease;
    aspect-ratio: 9/16; /* Mesma proporção do carrossel */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.demo-features:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 130, 246, 0.25);
}

.demo-features h3 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
    flex-shrink: 0;
}

.demo-features h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 2px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.feature-list li {
    font-size: 0.8rem;
    color: #475569;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
}

.feature-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.feature-list li:hover {
    color: #1e293b;
    transform: translateX(5px);
}

.feature-list li i {
    color: #10b981;
    margin-right: 8px;
    font-size: 0.75rem;
    min-width: 14px;
    background: rgba(16, 185, 129, 0.1);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-list li:hover i {
    background: #10b981;
    color: white;
    transform: scale(1.1);
}

.demo-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.demo-btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.demo-btn.primary {
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
}

.demo-btn.primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.demo-btn.secondary {
    background-color: #6c757d;
    color: #fff;
    border: 1px solid #6c757d;
}

.demo-btn.secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}

.demo-btn.large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.cta-guarantee {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-guarantee i {
    margin-right: 8px;
    color: #007bff;
}

/* Carousel Styles - Responsivo e Otimizado */
.carousel-container {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.4s ease;
    aspect-ratio: 9/16; /* Proporção de smartphone */
    align-self: center;
    justify-self: center;
    display: block;
}

.carousel-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 130, 246, 0.25);
}

.carousel-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #1e40af, #7c3aed);
    z-index: 10;
    border-radius: 20px 20px 0 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

/* Responsividade otimizada para carousel */
@media (min-width: 1024px) {
    .carousel-container {
        max-width: 350px;
    }
}

@media (max-width: 1023px) {
    .carousel-container {
        max-width: 400px;
    }
}

@media (max-width: 767px) {
    .carousel-container {
        max-width: 350px;
        border-radius: 18px;
    }
    
    .carousel-container::before {
        border-radius: 18px 18px 0 0;
        height: 3px;
    }
    
    .carousel-slide img {
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        max-width: 300px;
        border-radius: 16px;
    }
    
    .carousel-container::before {
        border-radius: 16px 16px 0 0;
        height: 3px;
    }
    
    .carousel-slide img {
        border-radius: 16px;
    }
}

@media (max-width: 360px) {
    .carousel-container {
        max-width: 280px;
        border-radius: 14px;
    }
    
    .carousel-container::before {
        border-radius: 14px 14px 0 0;
        height: 2px;
    }
    
    .carousel-slide img {
        border-radius: 14px;
    }
}

/* Indicadores do carrossel */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
}