/* ====== Vision Page Styles ====== */

/* ====== Mission Section ====== */
.vision-hero p {
    max-width: 1520px !important;

}

.vision-mission-title {
    margin-bottom: 0;
}

.vision-mission-section {
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    /*background: linear-gradient(to bottom right, #ffffff, #1a1a1a);*/
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000000 15%, #fefefe);
    /* Ensure the section grows to contain the floor grid */
    position: relative;
    padding-bottom: 298px; /* matches .vision-floor-grid height */
        border-bottom: 1px solid #000000;

}

.vision-mission-box {
    width: var(--spacing-1120-343);
    margin: 0 auto;
    padding: var(--spacing-64-24);
    background: linear-gradient(to bottom,
    #d1d1d1 0%,
        /*#1a1a1a 50%,*/ rgba(26, 26, 26, 0.7) 70%,
    rgba(26, 26, 26, 0.3) 85%,
    transparent 100%
    );
    border-bottom: rgba(255, 255, 255, 0.5) solid 1px;
    border-radius: var(--spacing-64-24);
    color: black;

    position: relative;
    z-index: 1;
    overflow: hidden;

    /* Apply subtle blur effect to show grid underneath */
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}


/*.vision-mission-box {*/
/*    max-width: 800px;*/
/*    width: 100%;*/
/*    margin: 0 auto;*/
/*    padding: 45px 40px 70px;*/
/*    background: linear-gradient(to bottom, */
/*        #d1d1d1 0%,*/
/*        #1a1a1a 50%,*/
/*        rgba(26, 26, 26, 0.7) 70%,*/
/*        rgba(26, 26, 26, 0.3) 85%,*/
/*        transparent 100%*/
/*    );*/
/*    border-radius: 40px;*/
/*    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);*/
/*    color: black;*/

/*    position: relative;*/
/*    z-index: 1;*/
/*    overflow: hidden;*/

/*    !* Apply subtle blur effect to show grid underneath *!*/
/*    backdrop-filter: blur(1px);*/
/*    -webkit-backdrop-filter: blur(1px);*/
/*}*/

.vision-mission-item {
    background: linear-gradient(to bottom right, #d1d1d1, #f5f5f5);
    border-radius: var(--spacing-48-16);
    padding: var(--spacing-48-16);
    margin-top: var(--spacing-32-24);
}

.vision-mission-item h4 {
    font-size: var(--fs-32-20);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 16px;
    color: #121314;
}

.vision-mission-item p {
    font-size: var(--fs-18-16);
    font-weight: var(--font-weight-regular);
    color: #333;
    line-height: 140%;
}

/* ====== Quote Section ====== */

.vision-quote-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000000 15%, #fefefe);
    padding: 80px 20px;
    min-height: 300px;
    position: relative;
    overflow: visible;
    margin-bottom: 0 !important;
}

.vision-quote-box {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 60px;
    line-height: 1.6;
    color: white;
    background: transparent;
    overflow: visible;
    z-index: 10; /* To appear above the grid */
}

/* Floor grid (rectangular grid with 3D effect) */
.vision-floor-grid {
    position: absolute;
    /* Removed bottom to prevent stretching beyond parent */
    top: 130px;
    left: 10%;
    width: 80%;
    height: 500px; /* explicit height so parent padding can contain it */
    background-image: repeating-linear-gradient(
            to right,
            rgba(0, 0, 0),
            rgba(0, 0, 0) 0.01rem,
            transparent 1px,
            transparent 60px
    ),
    repeating-linear-gradient(
            to top,
            rgba(0, 0, 0),
            rgba(0, 0, 0) 0.01rem,
            transparent 1px,
            transparent 60px
    );
    background-size: 21px 25px;
    background-position: center bottom;
    z-index: 0; /* keep it behind content */
    pointer-events: none;
    transform-style: preserve-3d;
    transform-origin: center top;
    transform: perspective(474px) rotateX(30deg);
    overflow: hidden;
}

.vision-floor-grid::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 6;
}

.vision-floor-grid::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 6;
}

/* Quote text */
.vision-quote-text {
    font-size: var(--fs-48-24);
    margin-left: 15%;
    text-align: left;
    font-weight: var(--font-weight-light);
    position: relative;
    z-index: 15;

}

.quote-signature {
    color: #D8FF5A;
    font-weight: normal;
    font-size: var(--fs-24-16);
}

/* Desktop-first approach - Default styles for desktop */
.vision-quote-container {
    position: relative;
    display: block;
    margin-top: 96px;
}

.vision-quote-svg {
    position: absolute;
    width: var(--spacing-100-60);
    height: var(--spacing-100-60);
    user-select: none;
    z-index: 20;
}

.vision-quote-svg-top {
    top: -32px;
    margin: 0;
}

.vision-quote-svg-bottom {
    bottom: -30px;
    right: 0;
    margin: 0;

}


/* Mobile styles - responsive layout for small screens */
@media (max-width: 991px) {
    .vision-quote-container {
        /*display: flex;*/
        /*flex-direction: column;*/
        /*align-items: center;*/
        /*justify-content: center;*/
        /*height: 100%;*/
        /*width: 100%;*/
        /*padding: 0;*/
        margin-top: 24px;
    }

    .vision-quote-svg {
        position: static;
    }

    .vision-quote-svg-top {
        margin-right: 95%;
        /*margin-bottom: 20px;*/
        top: auto;
        left: auto;
    }

    .vision-quote-svg-bottom {
        margin-left: 80%;
        /*margin-top: 20px;*/
        bottom: auto;
        right: auto;
    }

    .vision-floor-grid {
        position: absolute;
        bottom: 0;
        width: 100%;
        top: 130px;
        left: 0;
        /*margin-top: 210px;*/
        /*display: none;*/
    }
    .vision-mission-section{
        border-bottom: 1px solid #000000;
        min-height: 850px;
    }

    /* Remove extra bottom space when grid is hidden */
    .vision-mission-section {
        padding-bottom: 0;
    }

    .vision-quote-text {
        margin-left: 0;
    }

}

/* Our North Star — The AGI Compass Section */
.compass-section {
    background: white;
    position: relative;
    overflow: hidden;
}


.compass-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80%;
    pointer-events: none;
    background-image: radial-gradient(rgba(0, 0, 0, 0.8) 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.25;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.12) 48%, rgba(0, 0, 0, 0) 50%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0) 50%);
}

.compass-container {
    /*max-width: 1200px;*/
    /*margin: 0 auto;*/
    border: 2px solid #D9D9D9;
    /*border-radius: 40px;*/
}

/*.compass-container::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    top: 550px;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 10%;*/

/*    background-image: radial-gradient(rgba(0, 0, 0, 0.25) 1px, transparent 1px);*/
/*    background-size: 10px 10px;*/
/*    background-repeat: repeat;*/

/*    mask-image: radial-gradient(ellipse at bottom center, black 0%, black 20%, transparent 60%);*/
/*    -webkit-mask-image: radial-gradient(ellipse at bottom center, black 0%, black 20%, transparent 60%);*/

/*    pointer-events: none;*/
/*    z-index: 0;*/
/*}*/

.compass-content {
    display: flex;
    align-items: center;
    gap: 0px;
    position: relative;
    padding-top: var(--spacing-48-24);
}

/* Compass Visual */
.compass-visual {
    /*flex: 0 0 300px;*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.compass-image {
    width: 270px;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
    z-index: 999;
}

.compass-image:hover {
    transform: scale(1.05);
}

/* Timeline */
.compass-timeline {
    flex: 1;
    position: relative;
    padding: 40px 20px;
    background: white;
}

/* Seamless connector line that starts from compass */
.compass-timeline::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 60%;
    transform: translateY(-50%);
    width: calc(90%);
    height: 3px;
    background: #D9D9D9;
    border-radius: 2px;
    z-index: 1;
}

.timeline-path {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
    margin-top: 100px;
}

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

}

.timeline-dot::before {
    content: '';
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.timeline-dot-completed::before {
    background: #3BF5FF;
    box-shadow: 0 0 20px rgba(59, 245, 255, 1);
    border: 3px solid rgba(255, 255, 255, 1);
}

.timeline-dot-agi::before {
    background: #D8FF5A;
    box-shadow: 0 0 40px rgba(255, 255, 0, 0.6);
    border: 5px solid rgba(255, 255, 255, 1);
    width: 110px;
    height: 110px;
    margin-bottom: 45px;
}

.timeline-arrow {
    position: absolute;
    top: 29%;
    left: 50.6%;
    transform: translate(-50%, -50%);
    width: 11px;
    height: 15px;
    z-index: 2;
}

.agi-timeline-text {
    color: #000000;
    font-weight: 600;
    top: 32%;
    left: 36%;
    font-size: 1.5rem;
}

.timeline-label {
    font-size: 1.03rem;
    font-weight: bold;
    color: #1a1a1a;
    text-align: center;
    margin-top: 15px;
    white-space: nowrap;
}


/* Hover Effects */
.timeline-dot:hover::before {
    transform: scale(1.1);
}

.timeline-dot-completed:hover::before {
    box-shadow: 0 0 30px rgba(59, 245, 255, 0.9);
}

.timeline-dot-agi:hover::before {
    box-shadow: 0 0 40px rgba(255, 255, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 991px) {
    .compass-content {
        flex-direction: column;
    }

    /*.compass-visual {*/
    /*    flex: none;*/
    /*}*/

    .compass-image {
        width: 240px;
    }

    .compass-timeline {
        width: 100%;
        padding: 30px 15px;
    }

    .timeline-path {
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 0;

    }


    .timeline-dot {
        flex: 1;
        min-width: 120px;
    }

    .compass-timeline::before {
        display: none;
    }

}

@media (max-width: 767px) {
    .compass-content {
        gap: 30px;
    }

    .compass-image {
        width: 200px;
    }

    .timeline-path {
        flex-direction: column;
        gap: 30px;

    }

    .timeline-dot {
        min-width: auto;
    }

    .timeline-dot::before {
        width: 35px;
        height: 35px;
    }

    .timeline-dot-agi::before {
        width: 110px;
        height: 110px;
    }

    /* Hide progress line on mobile */
    .compass-timeline::before {
        display: none;
    }
}

/* Feature Boxes Container (within Compass Section) */
.feature-boxes-container {
    display: flex;
    gap: 16px;
    align-items: stretch;
    margin-top: 16px;
}
.feature-box-title{
    color: #121314;
}
.feature-box {
    flex: 1;
    z-index: 2;
}

.feature-box-left {
    border: #3BF5FF 2px solid;
    background: linear-gradient(to bottom,
    #ffffff 8%,
    rgba(114, 248, 255, 0.6) 100%);

}

.feature-box-right {

    border: #D8FF5A 2px solid;
    background: linear-gradient(to bottom,
    #ffffff 8%,
    rgba(216, 255, 90, 0.6) 100%);
}


.feature-items {
    margin-top: var(--spacing-48-24);
}
.feature-item {
    background: white;
    border-radius: var(--radius-24-16);
    padding: var(--spacing-24-16);
    margin-top: var(--spacing-16-8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item-title {
    font-size: var(--fs-24-20);
    font-weight: var(--font-weight-semibold);
    color: #121314;
    /*margin-bottom: 10px;*/
    /*line-height: 1.3;*/
}


/* Responsive Design for Feature Boxes */
@media (max-width: 991px) {
    .feature-boxes-container {
        flex-direction: column;
    }

    .feature-box {
        padding: 30px;
        min-height: auto;
    }

    .feature-item {
        padding: 20px;
    }

    /*.feature-item-title {*/
    /*    font-size: 16px;*/
    /*}*/
}

@media (max-width: 767px) {
    .feature-box {
        padding: 25px 20px;
        border-radius: 25px;
    }

    .feature-item {
        padding: 18px;
        border-radius: 15px;
        margin-bottom: 15px;
    }

}