/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* FULL PAGE BASE */
html,
body {
    width: 100%;
    min-height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0b1220 !important;
    color: #f5f7fb;
    line-height: 1.6;
}

/* =========================
   INDEX PAGE
========================= */
.page-shell {
    min-height: 100vh;
    width: 100%;
    background-color: #0b1220;
    display: flex;
    flex-direction: column;
}

.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 24px 120px 24px;
    background: none !important;
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

.eyebrow {
    color: #8fb8ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.05;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-text {
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #cfd8ea;
    font-size: 1.1rem;
}

.main-button {
    display: inline-block;
    padding: 14px 30px;
    background-color: #5f8dff;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
}

.language-button {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 20px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.language-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* =========================
   BRAIN PAGE
========================= */
.brain-page {
    min-height: 100vh;
    width: 100%;
    background-color: #0b1220;
    padding: 32px 24px 140px 24px;
}

.brain-shell {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.top-bar {
    margin-bottom: 24px;
}

.back-button {
    text-decoration: none;
    color: #8fb8ff;
    font-weight: 700;
}

.back-button:hover {
    text-decoration: underline;
}

.brain-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 0.9fr);
    gap: 28px;
    align-items: stretch;
}

.brain-graphic-frame {
    width: 100%;
    min-height: 760px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.02);
}

.brain-graphic {
    position: relative;
    width: 100%;
    max-width: 950px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.brain-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.brain-hotspot {
    position: absolute;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.18);
    background-color: rgba(95, 141, 255, 0.10);
    border-radius: 999px;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.brain-hotspot:hover,
.brain-hotspot:focus {
    background-color: rgba(95, 141, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.92);
    transform: scale(1.04);
    outline: none;
}

.hotspot-architecture {
    left: 21%;
    top: 16%;
    width: 17%;
    height: 17%;
}

.hotspot-ai {
    left: 41%;
    top: 13%;
    width: 15%;
    height: 15%;
}

.hotspot-schools {
    left: 62%;
    top: 16%;
    width: 17%;
    height: 17%;
}

.hotspot-crm {
    left: 18%;
    top: 35%;
    width: 20%;
    height: 17%;
}

.hotspot-systems {
    left: 41%;
    top: 34%;
    width: 16%;
    height: 16%;
}

.hotspot-about {
    left: 62%;
    top: 37%;
    width: 16%;
    height: 16%;
}

.hotspot-projects {
    left: 21%;
    top: 58%;
    width: 18%;
    height: 16%;
}

.hotspot-vision {
    left: 42%;
    top: 58%;
    width: 16%;
    height: 15%;
}

.hotspot-contact {
    left: 62%;
    top: 59%;
    width: 16%;
    height: 15%;
}

.brain-info-card {
    min-height: 760px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    padding: 32px;
    background-color: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brain-info-label {
    color: #8fb8ff;
    font-size: 0.8rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
}

.brain-info-card h3 {
    font-size: 2rem;
    margin-bottom: 14px;
}

.brain-info-card p {
    color: #cfd8ea;
    font-size: 1.05rem;
    max-width: 32ch;
}

/* =========================
   GENERIC CONTENT / CONTACT
========================= */
.content-box {
    max-width: 1000px;
    margin: 40px auto 0 auto;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    background-color: transparent;
}

.content-box h2 {
    margin-bottom: 15px;
}

.content-box p {
    margin-bottom: 15px;
}

.contact-intro {
    color: #cfd8ea;
}

.contact-form {
    max-width: 700px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
}

.contact-form select,
.contact-form textarea {
    width: 100%;
    margin-bottom: 16px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background-color: #0b1220;
    color: #ffffff;
}

.contact-form button {
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 10px;
    background-color: #5f8dff;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
}

.contact-form button:hover {
    opacity: 0.9;
}

.form-message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 10px;
}

.form-message.success {
    background-color: rgba(0, 255, 100, 0.2);
}

.form-message.error {
    background-color: rgba(255, 0, 0, 0.2);
}

/* =========================
   STATUS FOOTER
========================= */
.status-footer-wrap {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 32px);
    max-width: 760px;
    pointer-events: none;
}

.status-footer {
    pointer-events: auto;
    background: rgba(7, 14, 28, 0.92);
    border: 1px solid rgba(95, 141, 255, 0.22);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(8px);
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.78rem;
    line-height: 1.55;
}

.status-title {
    color: #8fb8ff;
    margin-bottom: 6px;
}

.status-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-key {
    color: #7dd3fc;
}

.status-value {
    color: #39ff14;
}

/* MOBILE */
@media (max-width: 980px) {
    .brain-layout {
        grid-template-columns: 1fr;
    }

    .brain-graphic-frame,
    .brain-info-card {
        min-height: auto;
    }

    .brain-info-card p {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .language-switch {
        top: 18px;
        right: 18px;
    }

    .brain-page {
        padding: 20px 16px 150px 16px;
    }

    .brain-graphic-frame,
    .brain-info-card,
    .content-box {
        padding: 20px;
    }

    .brain-info-card h3 {
        font-size: 1.6rem;
    }

    .status-footer-wrap {
        width: calc(100% - 20px);
        bottom: 10px;
    }

    .status-footer {
        font-size: 0.72rem;
        padding: 12px 14px;
    }
}