/* ============================================================
   Estyles Home page
   ============================================================ */

/* ============================================================
   Dropdown menu: login and demo request for small screens
   ============================================================ */
.home_dropdown_menu .dropdown-menu {
    background-color: hsl(var(--background) / 0.9) !important;
    border: none !important;
    border-radius: 10px;
    box-shadow: 0 4px 12px hsl(var(--background) / 0.3);
}

.home_dropdown_menu button {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.home_dropdown_menu button:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.home_dropdown_menu button:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.home_dropdown_menu.show {
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 0 4px 12px hsl(var(--background) / 0.3) !important;
    background-color: hsl(var(--background) / 0.8);
}

.home_dropdown_menu .dropdown-item{
    padding: 0.75rem 1rem !important;
    font-size: 0.87rem !important;
    color: hsl(var(--foreground)) !important;
}

.home_dropdown_menu .dropdown-item:hover {
    background-color: hsl(var(--primary) / 0.15) !important;
    color: hsl(var(--primary)) !important;
}

.home_dropdown_menu .dropdown-item:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ============================================================
   Section 1: Growth market
   ============================================================ */
.home_growthmarket_container{
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4rem;
    background: hsl(var(--background));
    box-sizing: border-box;
}

.home_growthmarket_image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.home_growthmarket_imagecontainer {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
}

.home_growthmarket_imageoverlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        hsl(var(--background) / 1) 0%,
        hsl(var(--background) / 0.9) 40%,
        hsl(var(--background) / 0.5) 70%,
        hsl(var(--background) / 0) 100%
    );
}

.home_growthmarket_textoverlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.3;
}

.home_growthmarket_AIcontainer {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(0, 196, 204, 0.3);
    background-color: rgba(0, 196, 204, 0.1);
    padding: 0.4rem 0.8rem;
    font-size: 0.87rem;
    color: hsl(var(--primary));
    width: fit-content;
}

.home_growthmarket_title {
    margin-top: 32px;
    margin-bottom: 32px;
    max-width: 650px;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
    position: relative;
    z-index: 1;
}

.home_growthmarket_list  {
    list-style: none; 
    padding: 0;
}

.home_growthmarket_list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.5;
    max-width: 40rem;
}

.home_growthmarket_list li::marker {
    content: "●";
    position: absolute;
    color: hsl(var(--primary));
    font-size: 1.125rem;
}

.home_growthmarket_buttons_container {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 1;
    margin-top: auto;
}

/* ============================================================
   Section 2: Magnet Modules 
   ============================================================ */
.home_modules_container {
    padding: 6rem 0;
    background-color: hsl(var(--background));
}

.home_modules_wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.home_modules_title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
    font-weight: 600;
}

.home_modules_subtitle {
    max-width: 37rem;
    margin: 0 auto 4rem;
    color: #888;
}

.home_modules_especific_container {
    max-width: 57rem;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: hsl(var(--card));
    box-shadow: var(--shadow-card);
}

.home_modules_card_externaltitle {
    margin-bottom: 1rem;
    font-weight: 600;
    color: hsl(var(--foreground))
}

.home_modules_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .home_modules_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .home_modules_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.home_modules_specificcard {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 12px;
    padding: 1.5rem;
    background: hsl(var(--secondary));
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.home_modules_specificcard:hover {
    border: 1px solid rgba(0,196,204,0.4);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.home_modules_icon {
    font-size: 1.9rem;
    margin-bottom: 1rem;
    color: hsl(var(--primary));
    transition: transform 0.3s ease;
}

.home_modules_specificcard:hover .home_modules_icon {
    transform: scale(1.1);
}

.home_modules_card_title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
    text-align: start;
    color: hsl(var(--foreground))
}

.home_modules_card_subtitle {
    font-size: 0.8rem;
    color: rgba(0,196,204,0.7);
    margin-bottom: 8px;
    text-align: start;
}

.home_modules_card_description {
    font-size: 0.87rem;
    text-align: start;
    color: #aaa;
}

/* ============================================================
   Section 3: Audience comprehension
   ============================================================ */
.home_audience_container { 
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background-color: hsl(var(--background));
}

.home_audience_image_container {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    display: none;
}

@media (min-width: 1024px) {
    .home_audience_image_container {
        display: block;
    }
}

.home_audience_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.home_audience_image_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        hsl(var(--background)) 0%,
        hsl(var(--background) / 0.6) 30%,
        hsl(var(--background) / 0.3) 100%
    );
}

.home_audience_text_container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.home_audience_text_content {
    max-width: 37.5rem;
}

.home_audience_title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

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

.home_audience_item {
    display: flex;
    gap: 1.25rem;
}

.home_audience_item_iconbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    flex-shrink: 0;
}

.home_audience_item_title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: hsl(var(--foreground));
}

.home_audience_item_text {
    color: #888;
}

/* ============================================================
   Section 4: Call to action (CTA) 
   ============================================================ */
.home_cta_section {
    padding: 3.4rem 0;
    background-color: hsl(var(--background));
}

.home_cta_container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.home_cta_box {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    background: var(--gradient-hero)
}

/* Responsive padding */
@media (min-width: 1024px) {
    .home_cta_box {
        padding: 5rem;
    }
}

.home_cta_box_content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home_cta_box_title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

@media (min-width: 1024px) {
    .home_cta_box_title {
        font-size: 3rem;
    }
}

.home_cta_box_subtitle {
    max-width: 37.5rem;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
    color: hsl(var(--secondary-foreground));
}

/* ============================================================
   Footer section
   ============================================================ */
.home_footer_section {
    border-top: 1px solid hsl(var(--border));
    padding: 1rem 0;
    background: hsl(var(--background));
}

.home_footer_container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.87rem;
    color: hsl(var(--muted-foreground));
}