:root {
    --primary-color: #0e7cb3;
    --secondary-color: #25a870;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
}

.background-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    z-index: 1;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.text-content {
    padding-right: 2rem;
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-align: left;
}

.diagnostic-cards {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.card {
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    animation: fadeIn 1s ease-out backwards;
    z-index: 2;
}

.card:nth-child(1) { animation-delay: 0.3s; }
.card:nth-child(2) { animation-delay: 0.5s; }
.card:nth-child(3) { animation-delay: 0.7s; }

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.card-container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.form-control {
    min-height: 65px !important;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    min-height: 52px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.3rem;
}

.card-link svg {
    margin-top: 0.2rem;
    margin-left: 0.4rem;
    width: 20px;
    height: 20px;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .background-image {
        opacity: 0.3;
        width: 100%;
    }

    .diagnostic-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .text-content {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .py-6 {
        padding-top: 2rem !important;
    }
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .form-control {
        min-height: 65px !important;
    }

    .hero-section {
        padding: 0 1rem;
    }
    .diagnostic-cards {
        margin-top: 2rem;
    }
}
.upgrade-section {
    position: relative;
    z-index: 2;
    animation: fadeInLeft 1s ease-out;
}
#upgradeButton {
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 30px;
    transition: var(--transition);
    text-transform: uppercase;
}
#upgradeButton:hover {
    transform: translateY(-2px);
}