/* Hero Dropdowns CSS */
/* Hero subtitle adjustments */
.hero-subtitle {
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
    margin-top: 12px !important;
    font-weight: 400 !important;
    max-width: 580px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-subtitle .highlight-subtle {
    color: #7d3bed;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.hero-subtitle .highlight-subtle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(125, 59, 237, 0.12);
    border-radius: 4px;
    z-index: -1;
    transform: translateY(3px);
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.15rem !important;
        max-width: 90% !important;
        line-height: 1.35 !important;
    }
    
    .hero-features {
        gap: 6px;
        max-width: 100%;
        justify-content: space-between;
        padding: 0 8px;
    }
    
    .feature-icon {
        width: 32px;
        height: 32px;
    }
    
    .feature-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .feature-label {
        font-size: 0.7rem;
        font-weight: 600;
        white-space: nowrap;
    }
    
    /* Mobile dropdown adjustments */
    .hero-dropdowns {
        gap: 12px;
        margin: 20px auto;
    }
    
    .dropdown-container {
        border-radius: 12px;
    }
    
    .dropdown-toggle {
        padding: 16px 18px;
        font-size: 1rem;
    }
    
    .dropdown-arrow {
        width: 20px;
        height: 20px;
        padding: 3px;
    }
    
    .dropdown-list {
        grid-template-columns: 1fr;
        padding: 0 18px 0 22px;
        grid-gap: 6px;
    }
    
    .dropdown-list li {
        padding: 6px 0 6px 26px;
        font-size: 0.9rem;
    }
    
    .dropdown-list li::before {
        width: 14px;
        height: 14px;
    }
    
    .dropdown-list li::after {
        left: 2px;
        top: 6px;
        font-size: 0.8em;
    }
    
    .dropdown-content.show {
        padding: 12px 0 16px;
    }
}

.hero-video {
    width: 100%;
    max-width: 700px;
    margin: 25px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(125, 59, 237, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-video:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(125, 59, 237, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-video .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.hero-video .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.hero-video .video-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(125, 59, 237, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

/* Dropdowns styling */
.hero-dropdowns {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 700px;
    margin: 25px auto;
    width: 100%;
    padding: 0 15px;
}

.dropdown-container {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background-color: #ffffff;
    margin-bottom: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f2f2f2;
}

.dropdown-container:hover {
    box-shadow: 0 12px 28px rgba(125, 59, 237, 0.15);
}

.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(to right, #f9f6ff, #ffffff);
    border: none;
    color: #333;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid #7d3bed;
    outline: none;
}

.dropdown-toggle:focus {
    outline: none;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    color: #7d3bed;
    width: 24px;
    height: 24px;
    background-color: rgba(125, 59, 237, 0.12);
    border-radius: 50%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-toggle.active {
    border-left: 4px solid #7d3bed;
    background: linear-gradient(to right, #f4f0ff, #ffffff);
}

.dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
    background-color: rgba(125, 59, 237, 0.2);
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    padding: 0;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.dropdown-content.show {
    max-height: 500px; /* Adjust based on content */
    padding: 16px 0 20px;
}

.dropdown-list {
    list-style: none;
    padding: 0 24px 0 28px;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 10px 20px;
}

.dropdown-list li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: #555;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.5;
}

.dropdown-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 16px;
    height: 16px;
    background-color: rgba(125, 59, 237, 0.12);
    border-radius: 50%;
}

.dropdown-list li::after {
    content: "✓";
    position: absolute;
    left: 3px;
    top: 7px;
    color: #7d3bed;
    font-size: 0.9em;
    font-weight: bold;
}

.dropdown-content.show .dropdown-list li {
    opacity: 1;
    transform: translateY(0);
}

/* Sequential animation for list items */
.dropdown-content.show .dropdown-list li:nth-child(1) { transition-delay: 0.05s; }
.dropdown-content.show .dropdown-list li:nth-child(2) { transition-delay: 0.08s; }
.dropdown-content.show .dropdown-list li:nth-child(3) { transition-delay: 0.11s; }
.dropdown-content.show .dropdown-list li:nth-child(4) { transition-delay: 0.14s; }
.dropdown-content.show .dropdown-list li:nth-child(5) { transition-delay: 0.17s; }
.dropdown-content.show .dropdown-list li:nth-child(6) { transition-delay: 0.20s; }
.dropdown-content.show .dropdown-list li:nth-child(7) { transition-delay: 0.23s; }
.dropdown-content.show .dropdown-list li:nth-child(8) { transition-delay: 0.26s; }

/* Mobile optimization */
@media (max-width: 768px) {
    .hero-video {
        max-width: 100%;
        margin: 15px auto;
    }
    
    .hero-dropdowns {
        padding: 0 10px;
    }
    
    .dropdown-toggle {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .dropdown-content.show {
        padding: 0 16px 14px;
    }
    
    .dropdown-list li {
        padding: 7px 0 7px 20px;
        font-size: 0.9rem;
    }
}

/* Feature icons adjustments */
.hero-features {
    margin: 15px auto 25px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 0 15px !important;
    max-width: 600px !important;
    width: 100% !important;
    align-items: flex-start !important;
}

.feature-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: transform 0.2s ease !important;
    flex: 1 0 auto !important;
    max-width: 23% !important;
    flex-basis: 23% !important;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%; /* Make icons fully rounded */
    background-color: #7d3bed;
    color: white;
    box-shadow: 0 4px 12px rgba(125, 59, 237, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(125, 59, 237, 0.4);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333333;
    text-align: center;
}
