* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* font-family: 'Roboto', sans-serif; */
}

:root {
    --bs-primary: #00ff00;

    --bs-body-font-size: .9em;

    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.075);

    .btn-primary {
        --bs-btn-bg: #00ff00;
        --bs-btn-border-color: #00ff00;
        --bs-btn-color: #000;

        --bs-btn-hover-bg: #00ff00;
        --bs-btn-hover-border-color: #00ff00;
        --bs-btn-hover-color: #000;
    }
}

body {
    --bs-body-bg: var(--bs-light);
    /* var(--bs-light-bg); */

    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* color: #454545; */
}

body.has-navbar {
    padding-top: 71px;
}

/********************************************************
* TOP NAVIGATION
********************************************************/
.navbar {
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(10px);
}

.navbar .nav-link {
    margin: 10px;
    color: #333;
    border-radius: 8px;
}

.navbar .nav-link:hover {
    background: #000;
    color: #2ecc71;
}

.navbar .nav-link.active {
    color: #2ecc71;
    border-bottom: 2px solid #2ecc71;
}

.splash {
    background: var(--bs-secondary-bg);
}

.page-section {
    scroll-margin: 80px;
}

.banner-container {
    text-align: center;
    margin: 20px;
    margin-top: 60px;
}

#logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

#logo-container img {
    width: 12em;
    height: 12em;
    margin-right: -6px;
}

.logo-text {
    margin-left: 0;
    margin-top: 25px;
    font-size: 4em;
    text-align: left;
    font-weight: bold;
    color: black;
}

.header-logo {
    width: 5em;
    height: 5em;
    margin-right: -4px;
    margin-bottom: 20px;
}

.header-image {
    width: 75%;
    max-width: 40vw;
    margin: 4em auto;
}


.insider-header-text {
    margin-left: 0;
    margin-bottom: 20px;
    font-size: 2.5em;
    text-align: center;
    font-weight: bold;
    color: black;
}

.header-text {
    margin-left: 0;
    margin-bottom: 20px;
    font-size: 4em;
    text-align: center;
    font-weight: bold;
    color: black;
}

.header-subtitle {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 30px;
}

.header-feature-logo {
    width: 4em;
    height: 4em;
    margin-right: -2px;
    margin-bottom: 20px;
}

.header-feature-tag-line {
    margin-left: 0;
    margin-bottom: 20px;
    font-size: 1.2em;
    text-align: center;
    font-weight: bold;
    color: black;
}

.header-feature-block {
    background: rgb(0, 0, 0);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px 3px #70da70;
}

.header-feature-title {
    color: #00ff00;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 10px;
    text-align: left;
}

.header-feature-info {
    color: rgb(255, 255, 255);
    font-size: 1em;
    margin-bottom: 10px;
    text-align: left;
}

.header-feature-tag {
    background: #ffff00;
    color: black;
    border: 1px solid #000;
    border-radius: 8px;
    padding: 2px;
    width: 10ch;
    display: inline-block;
    text-align: center;
}

/* Feature Summary */
#header-feature-container {
    flex: 0 0 auto;
    /* Take only the space needed for its content */
    max-width: 300px;
    /* Set an optional maximum width */
    padding: 10px;
    box-sizing: border-box;
    background: #f8f8f8;
    /* Optional styling for better visibility */
    border: 1px solid #ccc;
    /* Optional border */
    border-radius: 6px;
}

/* Canvas Simulation */
#canvas-simulation {
    flex: 1;
    /* Take the remaining space */
    padding: 10px;
    background: #fff;
    /* Optional styling */
    border: 1px solid #ccc;
    /* Optional border */
    border-radius: 6px;
}


.section-build-container {
    display: flex;
    flex-wrap: wrap;
}


.signup-card {
    margin: 0 auto;
    margin-top: 30px;
    flex: 1 1 calc(40% - 20px);
    /* max-width: calc(40% - 20px); */
}

.four-step-card {
    flex: 1 1 20%;
    max-width: calc(25% - 20px);
    box-shadow: var(--bs-box-shadow);
}

.two-wide-card {
    flex: 1 1 40%;
    max-width: calc(50% - 20px);
    box-shadow: var(--bs-box-shadow);
}

/* Medium Screens: 2 across */
@media (max-width: 1024px) and (min-width: 769px) {
    .four-step-card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .four-step-card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 585px) {
    .four-step-card {
        flex: 0 0 90%;
        max-width: 90%;
        margin: 0 auto;
    }

    .two-wide-card {
        flex: 0 0 90%;
        max-width: 90%;
        margin: 0 auto;
    }
}

.four-step-header {
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    margin-bottom: 8px;
    background: black;
    color: #00ff00;
    font-size: 1.5em;
    font-weight: bolder;
    text-align: left;
}

.four-step-icon {
    margin-left: 10px;
    margin-right: 5px;
}

.four-step-text-header {
    font-size: 1.1em;
    font-weight: bold;
    text-align: left;
}

.four-step-text {
    font-size: 1em;
    margin-top: 10px;
    text-align: left;
}

.section-text {
    font-size: 1em;
    margin-bottom: 10px;
}

.tag-yellow {
    font-weight: bold;
    background: #cdf004d0;
    color: black;
    border: 1px solid #000;
    border-radius: 8px;
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
    white-space: nowrap;
}

.tag-green {
    color: #00ff00;
    background: black;
    border-radius: 8px;
    padding: 5px;
    text-align: center;
    white-space: nowrap;
}

.attention-header {
    margin: 20px;
    margin-bottom: 0px;
    color: #dfff2cfa;
    background: black;
    border-radius: 8px;
    padding: 10px;
    padding: 10px;
    font-size: 1.5em;
    font-weight: bolder;
    text-align: center;
}

.attention-header-text {
    font-size: 1em;
    text-align: left;
    padding: 5px;
    margin-left: 20px;
    margin-right: 20px;
    color: var(--bs-light-text-emphasis);
}

.text-highlight {
    color: #039603;
    background: white;
}


/********************************************************
       * SCENARIO SECTION
       ********************************************************/
.scenario-section {
    margin-top: 20px;
    position: relative;
}

.scenario-toolbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 40px;
    background: #eee;
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
}

.toolbar-left {
    display: flex;
    align-items: left;
    gap: 10px;
}

.toolbar-left i {
    cursor: pointer;
    font-size: 1.2rem;
}

.toolbar-caption {
    margin-left: 10px;
    text-align: left;
    font-weight: bold;
    font-size: 1.1rem;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 175px;
}

.progress-container {
    width: 100%;
    max-width: 100px;
    height: 16px;
    border-radius: 8px;
    border: 2px black solid;
    padding: 2px;
}

.progress-bar {
    overflow: hidden;
    margin: 0px;
    width: 0%;
    height: 100%;
    /* Match the height of the container */
    background: #10ea63;
    transition: width 15s linear;
    border-radius: 8px 0 0 8px;
    /* Rounded edges for the progress bar */
}

.progress-caption {
    font-size: 14px;
    font-weight: bold;
    color: black;
}

.scenario-content {
    display: flex;
    flex-direction: row;
    /* Default: side-by-side */
    min-height: 100vh;
}

/* Canvas Column */
.canvas-column {
    flex: 1;
    /* Takes remaining space */
    display: flex;
    flex-direction: column;
}

/* Chat Column */
.chat-column {
    flex: 0 0 25%;
    /* Occupies 25% of the width */
    background: #f8f8f8;
    min-height: 100vh;
    padding: 5px;
    box-sizing: border-box;
    overflow-y: auto;
}

.chat-column.collapsed {
    width: 40px !important;
    padding: 0 !important;
    border-right: 2px solid #ccc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-column.collapsed .chat-header,
.chat-column.collapsed .chat-bubble {
    display: none;
}

.chat-header {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: left;
    gap: 5px;
}

.chat-header i {
    color: #52184a;
    font-size: 1.2rem;
}

.chat-bubble {
    display: flex;
    width: 100%;
    padding: 0 10px;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s, transform 0.4s ease;
}

.chat-bubble.active {
    opacity: 1;
    transform: translateX(0);
}

.chat-avatar {
    margin-right: 5px;
    font-size: 1.2rem;
}


.chat-message {
    background: #fff;
    border: 1px solid #ccc;
    padding: 8px 10px;
    border-radius: 5px;
    flex: 1;
    max-width: 90%;
    word-wrap: break-word;
}

.story-container {
    margin-bottom: 20px;
    /* Add space below the story section */
    padding: 20px;
    /* Add inner spacing */
    box-sizing: border-box;
    /* Ensure padding doesn't affect dimensions */
    height: 290px;
    /* Set a fixed height for the story blox */
    background: #fff;
    /* Optional: background for clarity */
    border: 1px solid #ccc;
    /* Optional: border for visual distinction */
    overflow: hidden;
    /* Prevent content overflow */
}

.story-header {
    padding: 10px;
    font-size: 1.2rem;
    background-color: black;
    color: #ffff00;
}

.story-step {
    flex: 1;
    /* Make each step take equal space */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    background: #e6ff01cc;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-bottom: 10px;
}

.story-step.active {
    opacity: 1;
    transform: translateY(0);
}

.story-step h3 {
    margin-bottom: 4px;
    font-size: 1rem;
    color: #333;
}

.story-step p {
    font-size: 0.9rem;
    color: #555;
}


.diagram-container {
    position: relative;
    margin-bottom: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ccc;
    overflow: visible;
}

.blocks-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    height: 100%;
    height: 190px;
}

.blocks-row {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.block {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #00ff00;
    color: #000;
    border: 2px solid #000;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    font-size: 1em;
    font-weight: bold;
}

/* We'll draw curved paths with <path> in this SVG overlay */
.connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* #region Next Steps */

.next-steps-container {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
}

.next-steps-header {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #333;
}

.next-steps-subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #555;
}

.next-steps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.next-steps-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
}

.next-steps-text {
    text-align: left;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #555;
}

.card-body {
    padding: 20px;
    background: var(--bs-white);
    border-radius: 8px;
}

.card-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #222;
}

.card-button {
    display: block;
    margin: 0 auto;
    padding: 8px 16px;
    background: black;
    color: #f8f4f4;
    border: 2px solid black;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: transform 0.2s;
    text-align: center;
    width: fit-content;
}

.card-button:hover {
    transform: scale(1.05);
    color: #00ff00;
    border-color: #00ff00;
}

/* #endregion */

.header-feature-container {
    flex: 15%;
}

.list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 60%;
    margin: 0 auto;
}

.nice-list {
    list-style-type: square;
    padding-left: 20px;
}

.nice-list li {
    text-align: left;
    margin-bottom: 5px;
    padding: 5px;
    font-size: 1.2em;
    font-weight: 500;
}

/* Four-Step Cards */
.four-step-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.blox-text {
    padding: 1em 0;
    font-size: 3em;
    font-weight: bold;
    text-align: center;
}

.blox-text-highlight {
    background: black;
    color: #00ff00;
    padding: 4px 8px;
    border-radius: 8px;
    box-shadow: 0 0 8px #00ff00;
    text-align: center;
}

.insider-blox-text-header {
    margin: 20px;
    background: black;
    color: #00ff00;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 8px #00ff00;
    font-size: 1.25em;
    font-weight: bolder;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 30px;
    border: 2px solid black;
    border-radius: 8px;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.billing-text {
    text-align: left;
    margin-bottom: 10px;
}

.price-details {
    margin-top: auto;
    /* Push to bottom */
    padding: 10px 0;
    /* Optional: Add padding */
}

.pricing-card {
    display: flex;
    /* Make parent a flex container */
    flex-direction: column;
    /* Arrange children vertically */
    padding: 20px;
    border: 2px solid black;
    border-radius: 8px;
    background: white;
    margin: 0 auto;
    height: 100%;
    /* Ensure parent takes full height */
}

.price {
    font-size: 1.2em;
    font-weight: bold;
    margin: 20px 0;
    text-align: center;
}

.hosting {
    background: black;
    border: #000 3px solid;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    color: #ffff00;
    font-weight: bolder;
    text-align: center;
}

.one-narrow-column {
    max-width: 65%;
}

@media (max-width: 768px) {
    .one-narrow-column {
        max-width: 100%;
    }

    .scenario-content {
        flex-direction: column;
        /* Stack vertically */
    }

    .chat-column {
        width: 100%;
        /* Full width */
        border-right: none;
        border-bottom: 2px solid #ccc;
    }

    .story-container {
        flex-direction: column;
        /* Stack steps vertically */
    }

    .header-feature-container {
        flex: 100%;
        min-width: 100%;
    }

    .list-container {
        width: 80%;
    }
}


@media (max-width: 700px) {
    .hide-on-narrow {
        display: none;
    }

    /* Narrow Screens: 1 across */
    @media (max-width: 585px) {
        .four-step-row {
            gap: 10px;
            /* Optional: Reduce gap for better fit */
        }

        .header-feature-container {
            flex: 100%;
            width: 100%;
        }

        .list-container {
            width: 80%;
        }

        .blox-text {
            font-size: 1.6em;
        }
    }
}