﻿@import 'variables.css';

.intro-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-content: center;
    align-items: center;
    padding-top: 200px;
    padding-bottom: 48px;
    padding-left: 16px;
    padding-right: 16px;
}


/* שכבת הוידאו */
.video-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* שלא יתפוס קליקים */
    top: 100px
}

    .video-background video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        transform: translate(-50%, -50%);
    }

    /* Overlay לקריאות */
    .video-background::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.1);
    }

/* כל התוכן מעל הוידאו */
.intro-section > *:not(.video-background) {
    position: relative;
    z-index: 1;
}

.radar-container-box {
    width: min(1440px, 100%);
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-content: center;
    align-items: center;
    margin: 0 auto
}
.intro-section-left {
    flex: 2;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-content: flex-start;
    text-align: left;
    z-index: 1;
}

.intro-section-right {
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-content: start;
    align-items: start;
    flex: 1;
    z-index: 1;
}

.market-radar-phone {
    width: 600px;
    margin: 0 auto;
    display: none;
    text-align: center;
    align-content: center;
    align-items: center;
    transition: 0.3s;
}

.header-headline {
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
    text-shadow: 0 0 26px rgba(103, 227, 165, 0.14);
    color: white;
    font-size: clamp(44px, 5.3vw, 96px);
}



.header-subheading {
    font-weight: 500;
    font-size: 40px;
    text-align: start;
    width: 100%;
    padding-bottom: 8px;
}

.bullets {
    padding-top: 8px;
    padding-bottom: 16px;
}

.header-subtitle-row {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding-bottom: 8px;
    padding-top: 8px;
}



.header-subtitle-icon {
    width: 20px;
    height: auto;
    display: flex;
    align-self: center;
    margin: auto 0;
}



.header-subtitle {
    font-weight: 300;
    padding-bottom: 40px;
    font-size: 22px;
    color: white;
    display: flex;
    text-align: start;
}

.bullet-subtitle {
    font-weight: 300;
    font-size: 20px;
    color: white;
    display: flex;
    align-self: center;
}




/*.main-button-glow {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    min-width: 300px;
    padding: 0 16px;
    border-radius: 60px;
    text-decoration: none;
    color: #0a1612;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 0.01em;
    background: linear-gradient(180deg, rgba(151, 255, 210, 1), rgba(85, 224, 167, 1));
    box-shadow: 0 12px 42px rgba(103, 227, 165, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 0 22px rgba(103, 227, 165, 0.25);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

    .main-button-glow::before {
        content: "";
        position: absolute;
        inset: -12px;
        border-radius: 20px;
        background: radial-gradient(circle at 50% 45%, rgba(103, 227, 165, 0.85), transparent 62%);
        filter: blur(16px);
        opacity: 0.55;
        z-index: -1;
        transition: opacity 180ms ease;
    }

    .main-button-glow:hover {
        transform: translateY(-1px);
        filter: saturate(1.05);
        box-shadow: 0 16px 56px rgba(103, 227, 165, 0.33), 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 0 30px rgba(103, 227, 165, 0.32);
    }

        .main-button-glow:hover::before {
            opacity: 0.82;
        }

.main-button-glow-text {
    position: relative;
}
*/



/*.main-button {
    border-radius: 15px;
    background-color: var(--primary-color);
    color: var(--primary-background-color);
    padding: 14px 48px;
    font-style: normal;
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s;
    border: none;
    display: inline-block;
}*/

.instruments-carusel {
    align-content: center;
   
    min-height: 75vh;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    padding: 80px 16px;
    background-color: #06090D;
    text-align: center
}



.standard-text {
    font-weight: 300;
    padding-bottom: 16px;
    font-size: 22px;
    color: white;
  justify-content:center;
  margin: 0 auto;
    text-align: center;
}



.movers-tabs {
    width: 560px;
    margin: 56px auto 0;
    position: relative;
}

.movers-tab {
    border: 0;
    background: transparent;
    color: rgba(233, 237, 243, 0.65);
    font-size: 18px;
    font-weight: 500;
    padding: 10px 14px;
    cursor: pointer;
    transition: color 160ms ease, opacity 160ms ease;
}

    .movers-tab.is-active {
        color: #79e1a8;
        opacity: 1;
        font-weight: 600;
    }

.movers-line {
    width: 100%;
    height: 2px;
    margin: 10px auto 0;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    position: relative;
}

.movers-ind {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 999px;
    background: linear-gradient( 90deg, rgba(121, 225, 168, 0) 0%, rgba(121, 225, 168, 0.95) 18%, rgba(121, 225, 168, 0.95) 82%, rgba(121, 225, 168, 0) 100% );
    transform: translateX(0);
    transition: transform 220ms ease;
}

/* Layout tabs like in screenshot */
.movers-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
}

.movers-line {
    grid-column: 1 / -1;
}

/* When Losers active — make the active tab red */
.movers-tabs.is-losers .movers-tab.is-active {
    color: #ED5562;
}

.movers-tabs.is-losers .movers-ind {
    background: linear-gradient( 90deg, rgba(237, 85, 98, 0) 0%, rgba(237, 85, 98, 0.95) 18%, rgba(237, 85, 98, 0.95) 82%, rgba(237, 85, 98, 0) 100% );
}

.movers-car {
    /*    position: relative;*/
    width: min(1440px, 100%);
    margin: 0 auto;
    /*    padding: 0 56px;*/
}

.movers-rail {
    overflow: hidden;
    scroll-behavior: smooth;
    gap:8px;
    flex-wrap: nowrap; /* חשוב לקרוסלה */
    justify-content: flex-start;
}

.movers-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: rgba(140, 150, 165, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
   
    place-items: center;
    transition: transform 150ms ease, background 150ms ease, opacity 150ms ease;
    z-index: 5;
    display:none
}

    .movers-btn:hover {
        background: rgba(140, 150, 165, 0.26);
        transform: translateY(-50%) scale(1.05);
        display: none
    }

.movers-btn--l {
    left: 0;
    display: none
}

.movers-btn--r {
    right: 0;
    display: none
}

.movers-btnic {
    font-size: 24px;
    line-height: 1;
    color: rgba(233, 237, 243, 0.65);
    display:none
}

.movers-btn--r .movers-btnic {
    color: #79e1a8;
    display: none
}

/* Disabled state */
.movers-btn.is-off {
    opacity: 0.35;
    pointer-events: none;
    display:none
}

/* Responsive: אם אין מקום ל-1440 */
@media (max-width: 1500px) {
    .movers-car {
        width: 100%;
/*        padding: 0 56px;*/
    }
}

/* Mobile: תן לקרוסלה לגלול עם swipe */
@media (max-width: 768px) {
    .movers-car {
/*        padding: 0 44px;*/
    }

    .movers-rail {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

        .movers-rail::-webkit-scrollbar {
            display: none;
        }

    .instrument-card {
        margin: 4px;
        border-radius: 15px;
        background: #121316;
        padding: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .instrument-icon-box {
        width: 48px;
        place-items: center;
        margin: 0 auto
    }
}



.row-stocks {
    padding: 24px 16px;
    width: min(1440px, 100%);
    margin: 0 auto;
    justify-content: center;
    display: flex;
    flex-direction: row;
    text-align: center
}

.instrument-card {
    margin: 8px;
    border-radius: 15px;
    background: #141817;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.instrument-icon-box {
    width: 64px;
    place-items: center;
    margin: 0 auto
}

.instrument-icon-img {
    object-fit: contain;
    width: 80px;
    display: block;
}

.instrument-name {
    margin-top: 16px;
    font-size: 20px;
    font-weight: 500;
    color: #f2f5f9;
    letter-spacing: 0.2px;
    max-width: 160px;
}

.instrument-price {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 400;
    color: rgba(233, 237, 243, 0.7);
}

.instrument-change {
    margin-top: 24px;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.2px;
  
}

.change-up {
    color: #79e1a8;
}

.change-down {
    color: #ED5562;
}





.features-section {
    background-color: white;
    width: 100%;
   
    padding-bottom: 80px;
    margin: 0 auto;
    /*    background-color: var(--secenodary-bacgroung-color);*/
}

.features-box {
    margin: 0 auto;
    width: min(1440px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 40px;
    padding-bottom: 40px;
}

.feature-title {
    margin: 0 auto;
    padding: 0px 16px 24px;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    color: #101114
}



.features-grid {
    display: flex;
    width: 1200px;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
}

.feature-container {
    width:450px;
    border-radius: 15px;
    background-color: #F8F8F8;
    border: solid 1px #E2E9EC;
    padding:16px;
    margin:8px;
    display:flex;
}

.feature-img-box {

}
.feature-text-box {
    flex: 3;
}

.feature-headline {
    font-size: 22px;
    font-weight: 500;
    padding-left: 16px;
    color: #101114;
    padding-bottom: 8px;
}

.feature-text {
    font-size: 20px;
    font-weight: 300;
    padding-left: 16px;
    color: #101114;
}

.feature-img {
    width: 32px;
    margin:0 auto;
   
}

.divider-toggle {
    margin: 0 auto;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    display: flex;
    padding-top: 50px;
}

.small-headline {
    color: var(--primary-color);
    padding: 8px 16px;
    display: flex;
    font-size: 16px;
    margin: 0 auto;
    border-radius: 15px;
    background-color: var(--secenodary-bacgroung-color);
}

.standard-title {
    margin-bottom: 16px;
    font-size: 48px;
    font-weight: bold;
    text-align: center
}




.how-to-section {
    margin: 0 auto;
    width: 1200px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px;
}

.how-to-row {
    margin: 0 auto;
    width: 1200px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px;
}

.reverse {
    flex-direction: row-reverse
}

.how-to-section-left {
    width: 50%;
    text-align: start;
}

.how-to-headline {
    text-align: start;
    font-size: 48px;
    font-weight: 600;
    padding-top: 24px;
    padding-bottom: 8px;
    color: white;
    line-height: 1.2
}

.how-to-headline-text {
    text-align: start;
    font-size: 22px;
    font-weight: 300;
    padding-top: 16px;
    padding-bottom: 24px;
    color: #dcdcdc

}

.how-to-section-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-to-image {
    width: 350px;
    margin: 0 auto;
    justify-content:center;
    text-align:center
}

.callout {
    align-content:center;
  
    margin: 0 auto;
    width: 100%;  
    align-items: center;
    padding: 160px 16px;
   
    box-sizing: border-box;
    background-color:white
}

.callout-box {
    width: min(1440px, 100%);
    flex-direction: row;
    display: flex;
    margin: 0 auto;
    justify-content: center
}

.callout-left {
    flex: 1;
    width: 100%;
    text-align: center;
}

.callout-right {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    direction: ltr;
    text-align: left;
    min-height: 320px;
}

.callout__headline {
    margin: 0 0 18px 0;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
    width: 80%;
    color: #101114
}

.callout__lines {
    position: relative;
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.callout__line {
    color:  #101114;
    position: relative;
    padding: 6px 0;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
}

    .callout__line.is-active {
        color: #269969;
        font-weight: 600
    }

/* Arrow image overlay (desktop) */
.callout__arrow {
    position: absolute;
    top: 0;
    left: 0; /* JS moves with transform */
    width: 44px;
    height: 44px;
    object-fit: contain;
    pointer-events: none;
    z-index: 3;
    transform: translate3d(0, 0, 0);
    transition: transform 650ms cubic-bezier(.2, .9, .2, 1);
    will-change: transform;

}

@media (prefers-reduced-motion: reduce) {
    .callout__arrow {
        transition: none;
    }
}

/* =========================
   Responsive: <=1024 (iPad)
   ========================= */
@media (max-width: 1024px) {

    /* Intro */
    .intro-section {
        width: 100%;
        height: auto;
        padding-top: 160px;
        padding-bottom: 48px;
    }
    .how-to-image {
        width: 90%;
    }

    .radar-container-box {
      
        display: flex;
        width: 100%;
        height: auto;
       
    }

    .intro-section-left,
    .intro-section-right {
        width: 100%;
    }

    .market-radar-phone {
        width: 320px;
        display: none
    }

    /* Carousel area widths */

    .instruments-carusel {
      
        padding: 80px 16px;
     
    }

    .movers-car {
        width: 100%;
    }

    .row-stocks {
        width: 100%;
        padding: 40px 16px;
    }

    /* Callout */
    .callout {
        height: auto;
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .callout-box {
        width: 100%;
        gap: 32px;
    }

    .callout__headline {
        width: 100%;
        font-size: 40px;
    }

    /* Features */
    .features-box {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .features-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        justify-content: unset;
    }

    .feature-container {
        width: 100%;
        margin: 0;
    }

    .feature-title,
    .standard-title {
        font-size: 40px;
    }
}


/* =========================
   Responsive: <=768 (Mobile)
   ========================= */
@media (max-width: 768px) {

    /* Intro: stack */

    .video-background video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        transform: translate(-50%, -50%);
        opacity:0.7
    }


    .radar-container-box {
        display: flex;
        width: 100%;
        height: auto;
        gap: 24px;
        padding-top: 40px;
        padding-bottom: 40px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }




    .intro-section-left,
    .intro-section-right {
        width: 100%;
        flex: unset;
    }

    .intro-section-right {
        justify-content: center;
        align-items: center;
    }

    .market-radar-phone {
       display:none
    }

    .header-subheading {
        font-size: 24px;
    }

    .header-subtitle {
        font-size: 18px;
    }

   

    /* Tabs */
    .movers-tabs {
        width: 100%;
        max-width: 560px;
        margin:24px 0 auto
    }

    /* Carousel cards spacing */

    .instruments-carusel {
      
        height:auto;
    }


    .movers-btn {
    
        top: 62%;
  
    }
    .instrument-icon-img {      
        width: 40px;
        margin: 0 auto
    }

    .instrument-name {
        margin-top: 8px;
        font-size: 18px;        
        letter-spacing: 0.1px;
    }

    .instrument-change {
        margin-top: 16px;
        font-size: 24px;
        font-weight: 600;
        letter-spacing: 0.1px;
    }


    .row-stocks {
        width: 100%;
        padding: 32px 0px;
        justify-content: start
    }

    /* Callout: stack */
    .callout {
       
        height: auto;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .callout-box {
        width: 100%;
        flex-direction: column-reverse;
        gap: 16px;
    }

    .callout-right {
        min-height: unset;
        align-items: flex-start;
    }

    .callout__headline {
        font-size: 32px;
    }

    .callout__line {
        font-size: 18px;
    }

    /* Hide arrow overlay on mobile (usually breaks layout) */
    .callout__arrow {
        display: none;
    }

    /* Features: single column */
    .features-box {
        width: 100%;
    }

    .feature-title,
    .standard-title {
        font-size: 32px;
    }

    .standard-text {
        font-size: 18px;
    }

    .features-grid {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-container {
        width: 100%;
        margin: 0;
        padding: 14px;
        flex-direction: row; /* נשאר שורה: אייקון + טקסט */
    }

    .feature-img-box {
       
    }

    .feature-headline {
        font-size: 18px;
        padding-left: 12px;
        padding-bottom:4px
    }

    .feature-text {
        font-size: 16px;
        padding-left: 12px;
    }

    .feature-img {
        width: 24px;
        margin: 0 auto;
    }

}
