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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

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

/* Color Variables */
:root {
    --primary-purple: #7c3aed;
    --dark-purple: #5b21b6;
    --light-purple: #a855f7;
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.logo h1 {
    color: var(--primary-purple);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--purple-50) 0%, #ffffff 100%);
    padding: 8rem 0 6rem;
    text-align: center;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    gap: 0.5rem;
}

.cta-button.primary {
    background: var(--primary-purple);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(124, 58, 237, 0.25);
}

.cta-button.primary:hover {
    background: var(--dark-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(124, 58, 237, 0.35);
}

/* Credibility Section */
.credibility {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.credibility-content {
    max-width: 900px;
    margin: 0 auto;
}

.credibility-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.credibility-text {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Solutions Section */
.solutions {
    padding: 6rem 0;
    background: var(--gray-50);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.solutions-intro {
    font-size: 1.1rem;
    color: var(--gray-600);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.solutions-carousel {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.solution-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 280px;
    flex: 0 0 280px;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--light-purple));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--purple-100);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.card-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--purple-100);
    color: var(--primary-purple);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid var(--purple-100);
}

.card-button:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-1px);
}

/* Custom Solutions Section */
.custom-solutions {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
    padding: 6rem 0;
    color: white;
    text-align: center;
}

/* Why Doup Section */
.why-doup {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

.why-intro {
    font-size: 1.2rem;
    color: var(--gray-600);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.differential-item {
    text-align: center;
}

.differential-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.differential-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.differential-description {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 1rem;
}

/* Final Contact Section */
.final-contact {
    padding: 6rem 0;
    background: var(--gray-50);
    text-align: center;
}

.final-contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.final-contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.final-contact-text {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.final-contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: white;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.cta-button.secondary:hover {
    background: var(--purple-50);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px 0 rgba(124, 58, 237, 0.15);
}

.custom-solutions-content {
    max-width: 800px;
    margin: 0 auto;
}

.custom-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.custom-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    background: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.25);
}

.whatsapp-button:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(37, 211, 102, 0.35);
}

.whatsapp-button i {
    font-size: 1.25rem;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: var(--light-purple);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--gray-300);
    font-size: 0.9rem;
}

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

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 1rem;
    text-align: center;
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .credibility-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .custom-title {
        font-size: 2rem;
    }
    
    .custom-description {
        font-size: 1.1rem;
    }
    
    .final-contact-title {
        font-size: 2rem;
    }
    
    .carousel-container {
        gap: 1rem;
        padding: 1rem;
    }
    
    .solution-card {
        min-width: 250px;
        flex: 0 0 250px;
        padding: 1.5rem;
    }
    
    .differentials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .final-contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .custom-title {
        font-size: 1.75rem;
    }
    
    .solution-card {
        padding: 1.5rem;
    }
    
    .whatsapp-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.cta-button:focus,
.card-button:focus,
.whatsapp-button:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

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

.hero-content,
.solution-card,
.custom-solutions-content {
    animation: fadeInUp 0.6s ease-out;
}

.solution-card:nth-child(2) {
    animation-delay: 0.1s;
}

.solution-card:nth-child(3) {
    animation-delay: 0.2s;
}

.solution-card:nth-child(4) {
    animation-delay: 0.3s;
}