/* Improved Desktop Layout */
.main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px;
}

.feature-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.feature-section:hover {
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 22px;
    color: #1a237e;
}

/* Card Improvements */
.small-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.card {
    width: 130px;
    height: 185px;
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: scale(1.03);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Mobile Optimization */
@media screen and (max-width: 390px) {
    .main-grid {
        gap: 8px;
        padding: 8px;
    }

    .feature-section {
        padding: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    }

    .section-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .small-cards {
        gap: 4px;
    }

    .card {
        width: calc((100% - 4px) / 2);
        height: auto;
        aspect-ratio: 1/1.4;
    }
}

/* Button and Input Styling */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
}

.signup-input {
    width: 300px;
    padding: 12px;
    border: 2px solid #1a237e;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
}

.signup-button, 
.whatsapp-button {
    width: 300px;
    padding: 12px 24px;
    background-color: #1a237e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.signup-button:hover,
.whatsapp-button:hover {
    background-color: #0d1642;
}

.whatsapp-button {
    animation: gentle-shake 3s infinite;
}

@keyframes gentle-shake {
    0% { transform: translate(0, 0); }
    2% { transform: translate(-2px, 0); }
    4% { transform: translate(2px, 0); }
    6% { transform: translate(-2px, 0); }
    8% { transform: translate(0, 0); }
    100% { transform: translate(0, 0); }
}

/* Highlight Word Animation */
.highlight-word {
    position: relative;
    color: #1a237e;
    display: inline-block;
    padding: 0 2px;
}

.highlight-word::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: #1a237e;
    border-radius: 2px;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.highlight-word:hover::after {
    transform: scaleX(1.1);
}