/* Scelaris Technology Page Layout */

.tech-hero {
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--body-bg);
}

.tech-hero h1 {
    font-size: var(--h1size)rem;
    margin-bottom: 1rem;
}

.tech-hero .sub-headline {
    font-size: 1.2rem;
    color: var(--link-color);
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-weight: 300;
}

/* Tech Stack Flow */
.tech-stack-flow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.stack-step {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    padding: 2rem;
    background: var(--body-bg);
    border: 1px solid var(--border, #ddd);
    border-radius: 8px;
}

.stack-label {
    flex: 0 0 200px;
    font-weight: bold;
    color: var(--btnbg);
    text-transform: uppercase;
    font-size: 0.9rem;
    border-right: 2px solid var(--border, #ddd);
    padding-right: 1.5rem;
}

.stack-content {
    flex: 1;
}

.stack-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    color: var(--link-color);
}

.stack-content p {
    margin: 0;
    line-height: 1.6;
}

/* AI Depth Section */
.tech-depth {
    margin: 4rem 0;
    padding: 2.5rem;
    background: rgba(0,0,0,0.02);
    border-radius: 12px;
    border: 1px solid var(--border, #ddd);
}

.tech-depth h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.depth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.depth-item {
    background: var(--body-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid var(--sc-orange);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.depth-item h4 {
    margin-top: 0;
    color: var(--link-color);
}

/* Toolbox Section */
.tech-toolbox {
    margin: 4rem 0;
}

.toolbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.toolbox-category {
    padding: 1.5rem;
    background: var(--body-bg);
    border: 1px solid var(--border, #ddd);
    border-radius: 8px;
}

.toolbox-category h4 {
    margin-top: 0;
    color: var(--btnbg);
    font-size: 1rem;
    border-bottom: 1px solid var(--border, #ddd);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.toolbox-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Resilience and Security */
.tech-resilience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 4rem 0;
}

.resilience-box {
    padding: 2rem;
    background: var(--body-bg);
    border: 1px solid var(--border, #ddd);
    border-radius: 8px;
}

.resilience-box h3 {
    color: var(--link-color);
    margin-top: 0;
}

/* Final CTA */
.tech-cta {
    text-align: center;
    padding: 4rem 1rem;
    background-color: var(--footerbg);
    color: var(--footercolor);
    border-radius: 8px;
}

.tech-cta h2 {
    color: var(--footercolor);
    margin-bottom: 1.5rem;
}
/* Deterministic Boundaries Section */
.tech-boundary {
    margin: 3rem 0;
}
.boundary-box {
    padding: 2.5rem;
    background: var(--sc-offwhite, #f9f9f9);
    border-radius: 12px;
    border-left: 5px solid var(--sc-orange, #f28c28);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.boundary-box h3 {
    margin-top: 0;
    color: var(--sc-navy-deep, #001f3f);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.boundary-box p {
    line-height: 1.7;
    color: var(--sc-slate, #444);
    margin-bottom: 1rem;
}
.boundary-box p:last-child {
    margin-bottom: 0;
}
.boundary-principle {
    font-weight: 600;
    color: var(--sc-navy-deep, #001f3f);
    padding-top: 1rem;
    border-top: 1px solid var(--border, #ddd);
    font-style: italic;
}
/* Updated Deterministic Boundaries Section */
.tech-boundary {
    margin: 4rem 0;
    width: 100%;
    clear: both;
}
.boundary-box {
    padding: 2.5rem;
    background-color: #f9f9f9 !important; /* Force a subtle off-white */
    border-radius: 12px;
    border-left: 6px solid #f28c28 !important; /* Force Scelaris Orange */
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: block;
    width: 100%;
    box-sizing: border-box;
}
.boundary-box h3 {
    margin-top: 0 !important;
    color: #001f3f !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.25rem !important;
}
.boundary-box p {
    line-height: 1.7 !important;
    color: #444 !important;
    margin-bottom: 1.25rem !important;
    font-size: 1.05rem !important;
}
.boundary-box p:last-child {
    margin-bottom: 0 !important;
}
.boundary-principle {
    font-weight: 700 !important;
    color: #001f3f !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid #ddd !important;
    font-style: italic !important;
    margin-top: 1rem !important;
}
