/* =========================
GLOBAL
========================= */

*,
*::before,
*::after{
box-sizing:border-box;
}

html{
overflow-x:hidden;
}

body{

background:#0b0f1a;
color:#00ffcc;

font-family:Arial, Helvetica, sans-serif;

margin:0;
padding:0;

display:flex;
flex-direction:column;
min-height:100vh;
overflow-x:hidden;

}

/* =========================
HEADER
========================= */

header{

background:#020617;
padding:20px;
border-bottom:1px solid #00ffcc33;

}

.header{

display:flex;
align-items:center;
gap:20px;

}

.logo{

height:120px;
max-width:100%;
width:auto;

}

nav{

margin-top:15px;

}

.main-nav{
align-items:center;
display:flex;
flex-wrap:wrap;
gap:10px;
}

.nav-group{
align-items:center;
display:flex;
flex-wrap:wrap;
gap:6px;
}

.nav-group-right{
margin-left:auto;
}

.nav-account{
border-left:1px solid #1f3448;
gap:8px;
padding-left:14px;
}

nav a,
.nav-dropdown button{

color:#00ffcc;
background:transparent;
border:1px solid transparent;
border-radius:6px;
cursor:pointer;
font:inherit;
font-size:14px;
font-weight:800;
line-height:1;
padding:10px 11px;
text-decoration:none;

transition:0.3s;

}

nav a:hover,
.nav-dropdown button:hover{

color:white;
background:#07111f;
border-color:#24445f;

}

.nav-primary{
background:#00ffcc;
border-color:#00ffcc;
color:#001014;
}

.nav-danger{
background:#7f1d1d33;
border-color:#ef444466;
color:#fecaca;
}

.nav-dropdown{
position:relative;
}

.nav-menu{
background:#020617;
border:1px solid #1f3448;
border-radius:8px;
box-shadow:0 18px 40px #00000045;
display:none;
min-width:220px;
padding:8px;
position:absolute;
top:calc(100% + 8px);
z-index:20;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu{
display:grid;
gap:4px;
}

.nav-menu a{
display:block;
margin:0;
white-space:nowrap;
}

@media(max-width:900px){
    header{
        padding:16px;
    }

    .logo{
        height:auto;
        max-height:92px;
        width:100%;
    }

    .main-nav{
        align-items:flex-start;
        flex-direction:column;
    }

    .nav-group-right{
        margin-left:0;
    }

    .nav-account{
        border-left:0;
        border-top:1px solid #1f3448;
        padding-left:0;
        padding-top:10px;
        width:100%;
    }

    .nav-dropdown,
    .nav-menu{
        width:100%;
    }

    .nav-dropdown button{
        text-align:left;
        width:100%;
    }

    .nav-menu{
        position:static;
        margin-top:6px;
    }
}

/* =========================
CONTENT
========================= */

main{

flex:1;

}

.container{

padding:40px;

}

.page-eyebrow{
color:#00ffcc;
display:block;
font-size:12px;
font-weight:800;
letter-spacing:.08em;
margin-bottom:12px;
text-transform:uppercase;
}

.publications-page{
display:grid;
gap:24px;
}

.publications-hero{
align-items:center;
background:#020617;
border:1px solid #1f3448;
border-radius:8px;
display:grid;
gap:24px;
grid-template-columns:minmax(0, 1fr) 180px;
padding:32px;
}

.publications-hero h1{
color:#f8fafc;
font-size:42px;
line-height:1.05;
margin:0 0 14px;
}

.publications-hero p,
.publications-empty p,
.publication-card p{
color:#b6c5d6;
line-height:1.6;
margin:0;
max-width:760px;
}

.publications-status{
background:#07111f;
border:1px solid #24445f;
border-radius:8px;
padding:22px;
text-align:center;
}

.publications-status span,
.publication-type{
color:#8fb3cc;
display:block;
font-size:12px;
font-weight:800;
letter-spacing:.06em;
text-transform:uppercase;
}

.publications-status strong{
color:#f8fafc;
display:block;
font-size:44px;
line-height:1;
margin-top:8px;
}

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

.publication-card,
.publications-empty{
background:#020617;
border:1px solid #1f3448;
border-radius:8px;
padding:24px;
}

.publication-card{
display:flex;
flex-direction:column;
gap:22px;
justify-content:space-between;
min-height:210px;
}

.publication-card h2,
.publications-empty h2{
color:#f8fafc;
font-size:22px;
line-height:1.2;
margin:8px 0 10px;
}

.publication-meta{
align-items:center;
border-top:1px solid #18324a;
display:flex;
justify-content:space-between;
padding-top:14px;
}

.publication-meta span{
color:#8fb3cc;
font-weight:700;
}

.publication-meta a{
background:#00ffcc;
border:1px solid #00ffcc;
border-radius:6px;
color:#001014;
font-size:13px;
font-weight:800;
padding:10px 14px;
text-decoration:none;
}

.publications-empty{
max-width:760px;
}

.publications-empty span{
color:#00ffcc;
font-size:13px;
font-weight:800;
text-transform:uppercase;
}

@media(max-width:800px){
    .publications-hero{
        grid-template-columns:1fr;
        padding:24px;
    }

    .publications-hero h1{
        font-size:34px;
    }
}

/* =========================
MISSION CONTROL GRID
========================= */

.mission-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:20px;

margin-bottom:30px;

}

/* =========================
DASHBOARD GRID
========================= */

.dashboard{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

gap:25px;

margin-top:30px;

}

/* =========================
PANELS
========================= */

.panel{

background:#020617;

padding:20px;

border-radius:10px;

border:1px solid #00ffcc33;

box-shadow:0 0 10px #00ffcc22;

text-align:center;

}

/* telemetry numbers */

.telemetry{

font-size:22px;

font-weight:bold;

}

/* AI analysis */

.ai{

font-size:18px;

margin-top:10px;

}

/* =========================
ALERTS
========================= */

.alarm{

color:red;

font-weight:bold;

font-size:26px;

margin-top:15px;

animation:blink 1s infinite;

}

@keyframes blink{

0%{opacity:1;}
50%{opacity:0.3;}
100%{opacity:1;}

}

/* =========================
CHARTS
========================= */

canvas{

background:#020617;

border-radius:10px;

padding:10px;

box-shadow:0 0 10px #00ffcc22;

}

/* =========================
BUTTONS
========================= */

.report-btn{

padding:12px 25px;

font-size:16px;

background:#00ffcc;

border:none;

border-radius:6px;

cursor:pointer;

font-weight:bold;

transition:0.3s;

}

.report-btn:hover{

background:#00ffaa;

}

/* =========================
FOOTER
========================= */

footer{

background:#020617;

padding:15px;

text-align:center;

margin-top:auto;

border-top:1px solid #00ffcc33;

}

.brand-disclaimer{
    color:#8aa0b8;
    font-size:11px;
    line-height:1.45;
    margin:6px auto 0;
    max-width:920px;
}

/* =========================
AUTH / LOGIN PAGE
========================= */

.auth-wrapper{
    align-items:center;
    color:#e5edf5;
    display:flex;
    justify-content:center;
    min-height:calc(100vh - 330px);
    padding:38px 0;
}

.auth-panel{
    background:#020617;
    border:1px solid #1f3448;
    border-radius:8px;
    box-shadow:0 24px 60px #00000040;
    max-width:520px;
    padding:38px;
    width:100%;
}

.auth-badge{
    color:#00ffcc;
    font-size:13px;
    font-weight:800;
    margin-bottom:14px;
}

.auth-title{
    color:#f8fafc;
    font-size:42px;
    line-height:1.05;
    margin:0 0 14px;
}

.auth-subtitle{
    color:#b6c5d6;
    font-size:16px;
    line-height:1.55;
    margin:0 0 26px;
}

.auth-messages{
    display:grid;
    gap:10px;
    margin-bottom:18px;
}

.auth-message{
    background:#7f1d1d33;
    border:1px solid #ef444466;
    border-radius:6px;
    color:#fecaca;
    padding:12px 14px;
}

.auth-form{
    display:grid;
    gap:16px;
}

.auth-field{
    display:grid;
    gap:7px;
}

.auth-field label{
    color:#94a3b8;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
}

.auth-field input{
    background:#07111f;
    border:1px solid #24445f;
    border-radius:6px;
    color:#f8fafc;
    font:inherit;
    min-height:46px;
    padding:11px 13px;
    width:100%;
}

.auth-field input:focus{
    border-color:#00ffcc;
    box-shadow:0 0 0 3px #00ffcc22;
    outline:none;
}

.auth-button{
    background:#00ffcc;
    border:1px solid #00ffcc;
    border-radius:6px;
    color:#001014;
    cursor:pointer;
    font:inherit;
    font-weight:800;
    min-height:46px;
    padding:11px 16px;
    width:100%;
}

.auth-button:hover{
    filter:brightness(1.05);
    transform:translateY(-1px);
}

.auth-footnote{
    border-top:1px solid #18324a;
    color:#94a3b8;
    font-size:13px;
    line-height:1.45;
    margin-top:24px;
    padding-top:16px;
}

@media(max-width:640px){
    .auth-wrapper{
        min-height:auto;
        padding:18px 0;
    }

    .auth-panel{
        padding:24px;
    }

    .auth-title{
        font-size:34px;
    }
}

/* =========================
PROFILE PAGE
========================= */

.profile-page{
    color:#e5edf5;
    display:grid;
    gap:22px;
}

.profile-hero,
.profile-card,
.profile-actions-panel{
    background:#020617;
    border:1px solid #1f3448;
    border-radius:8px;
    box-shadow:0 18px 40px #00000028;
}

.profile-hero{
    align-items:stretch;
    display:grid;
    gap:24px;
    grid-template-columns:minmax(0, 1.3fr) minmax(320px, 0.7fr);
    padding:38px;
}

.profile-eyebrow{
    color:#00ffcc;
    display:block;
    font-size:13px;
    font-weight:800;
    margin-bottom:14px;
}

.profile-hero h1{
    color:#f8fafc;
    font-size:48px;
    line-height:1.05;
    margin:0 0 16px;
}

.profile-hero p,
.profile-card-header p,
.profile-actions-panel p,
.profile-identity-card span,
.profile-identity-card small,
.profile-detail-list span,
.profile-access-list span{
    color:#94a3b8;
}

.profile-hero p{
    font-size:17px;
    line-height:1.55;
    margin:0;
    max-width:760px;
}

.profile-identity-card{
    align-items:center;
    background:#07111f;
    border:1px solid #18324a;
    border-radius:8px;
    display:flex;
    gap:18px;
    padding:22px;
}

.profile-avatar{
    align-items:center;
    background:#00ffcc;
    border-radius:8px;
    color:#001014;
    display:flex;
    flex:0 0 64px;
    font-size:30px;
    font-weight:900;
    height:64px;
    justify-content:center;
    width:64px;
}

.profile-identity-card span,
.profile-identity-card small{
    display:block;
    font-size:13px;
}

.profile-identity-card strong{
    color:#f8fafc;
    display:block;
    font-size:19px;
    margin:7px 0;
    overflow-wrap:anywhere;
}

.profile-grid{
    display:grid;
    gap:16px;
    grid-template-columns:repeat(2, minmax(0, 1fr));
}

.profile-card,
.profile-actions-panel{
    padding:22px;
}

.profile-card-header{
    margin-bottom:18px;
}

.profile-card-header h2,
.profile-actions-panel h2{
    color:#f8fafc;
    margin:0;
}

.profile-card-header p,
.profile-actions-panel p{
    line-height:1.45;
    margin:6px 0 0;
}

.profile-detail-list,
.profile-access-list{
    display:grid;
    gap:0;
}

.profile-detail-list div,
.profile-access-list div{
    border-bottom:1px solid #18324a;
    padding:14px 0;
}

.profile-detail-list div:first-child,
.profile-access-list div:first-child{
    padding-top:0;
}

.profile-detail-list div:last-child,
.profile-access-list div:last-child{
    border-bottom:0;
    padding-bottom:0;
}

.profile-detail-list span,
.profile-access-list span{
    display:block;
    font-size:12px;
    font-weight:800;
    margin-bottom:7px;
    text-transform:uppercase;
}

.profile-detail-list strong,
.profile-access-list strong{
    color:#e5edf5;
    display:block;
    overflow-wrap:anywhere;
}

.profile-actions-panel{
    align-items:center;
    display:flex;
    justify-content:space-between;
    gap:22px;
}

.profile-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.profile-primary-action,
.profile-secondary-action,
.profile-danger-action{
    border-radius:6px;
    font-weight:800;
    min-height:42px;
    padding:12px 16px;
    text-decoration:none;
}

.profile-primary-action{
    background:#00ffcc;
    border:1px solid #00ffcc;
    color:#001014;
}

.profile-secondary-action{
    background:#07111f;
    border:1px solid #24445f;
    color:#dbeafe;
}

.profile-danger-action{
    background:#7f1d1d33;
    border:1px solid #ef444466;
    color:#fecaca;
}

.profile-primary-action:hover,
.profile-secondary-action:hover,
.profile-danger-action:hover{
    filter:brightness(1.05);
    transform:translateY(-1px);
}

@media(max-width:900px){
    .profile-hero,
    .profile-grid{
        grid-template-columns:1fr;
    }

    .profile-actions-panel{
        align-items:flex-start;
        flex-direction:column;
    }
}

@media(max-width:640px){
    .profile-hero,
    .profile-card,
    .profile-actions-panel{
        padding:24px;
    }

    .profile-hero h1{
        font-size:38px;
    }

    .profile-identity-card{
        align-items:flex-start;
        flex-direction:column;
    }

    .profile-primary-action,
    .profile-secondary-action,
    .profile-danger-action{
        text-align:center;
        width:100%;
    }
}

/* =========================
ADMIN ACCOUNTS PAGE
========================= */

.accounts-page{
    color:#e5edf5;
    display:grid;
    gap:22px;
}

.accounts-hero,
.accounts-card{
    background:#020617;
    border:1px solid #1f3448;
    border-radius:8px;
    box-shadow:0 18px 40px #00000028;
}

.accounts-hero{
    align-items:stretch;
    display:grid;
    gap:24px;
    grid-template-columns:minmax(0, 1.25fr) minmax(360px, 0.75fr);
    padding:38px;
}

.accounts-eyebrow{
    color:#00ffcc;
    display:block;
    font-size:13px;
    font-weight:800;
    margin-bottom:14px;
}

.accounts-hero h1{
    color:#f8fafc;
    font-size:48px;
    line-height:1.05;
    margin:0 0 16px;
}

.accounts-hero p,
.accounts-section-header p,
.accounts-role-list span,
.accounts-kpi-grid span,
.accounts-field label{
    color:#94a3b8;
}

.accounts-hero p{
    font-size:17px;
    line-height:1.55;
    margin:0;
    max-width:780px;
}

.accounts-kpi-grid{
    display:grid;
    gap:0;
    grid-template-columns:repeat(3, minmax(0, 1fr));
}

.accounts-kpi-grid div{
    background:#07111f;
    border:1px solid #18324a;
    padding:18px;
}

.accounts-kpi-grid div:first-child{
    border-radius:8px 0 0 8px;
}

.accounts-kpi-grid div:last-child{
    border-radius:0 8px 8px 0;
}

.accounts-kpi-grid span,
.accounts-field label{
    display:block;
    font-size:12px;
    font-weight:800;
    margin-bottom:8px;
    text-transform:uppercase;
}

.accounts-kpi-grid strong{
    color:#00ffcc;
    display:block;
    font-size:30px;
    line-height:1;
}

.accounts-status:empty{
    display:none;
}

.accounts-alert{
    border-radius:8px;
    font-weight:800;
    padding:13px 15px;
}

.accounts-alert.info{
    background:#0f172a;
    border:1px solid #24445f;
    color:#dbeafe;
}

.accounts-alert.success{
    background:#14532d33;
    border:1px solid #22c55e66;
    color:#bbf7d0;
}

.accounts-alert.error{
    background:#7f1d1d33;
    border:1px solid #ef444466;
    color:#fecaca;
}

.accounts-grid{
    display:grid;
    gap:16px;
    grid-template-columns:minmax(0, 1fr) minmax(360px, 0.65fr);
}

.accounts-card{
    padding:22px;
}

.accounts-section-header{
    align-items:end;
    display:flex;
    justify-content:space-between;
    gap:18px;
    margin-bottom:18px;
}

.accounts-section-header h2{
    color:#f8fafc;
    margin:0;
}

.accounts-section-header p{
    line-height:1.45;
    margin:6px 0 0;
}

.accounts-form{
    display:grid;
    gap:14px;
    grid-template-columns:1.2fr 1fr 180px auto;
}

.accounts-field{
    display:grid;
    gap:7px;
}

.accounts-field input,
.accounts-field select,
.accounts-inline-select{
    background:#07111f;
    border:1px solid #24445f;
    border-radius:6px;
    color:#f8fafc;
    font:inherit;
    min-height:42px;
    padding:10px 12px;
    width:100%;
}

.accounts-field input:focus,
.accounts-field select:focus,
.accounts-inline-select:focus{
    border-color:#00ffcc;
    box-shadow:0 0 0 3px #00ffcc22;
    outline:none;
}

.accounts-form button,
.accounts-secondary{
    background:#00ffcc;
    border:1px solid #00ffcc;
    border-radius:6px;
    color:#001014;
    cursor:pointer;
    font:inherit;
    font-weight:800;
    min-height:42px;
    padding:10px 14px;
}

.accounts-form button{
    align-self:end;
}

.accounts-secondary{
    background:#07111f;
    border-color:#24445f;
    color:#dbeafe;
}

.accounts-form button:hover,
.accounts-secondary:hover{
    filter:brightness(1.05);
    transform:translateY(-1px);
}

.accounts-role-list{
    display:grid;
    gap:0;
}

.accounts-role-list div{
    border-bottom:1px solid #18324a;
    padding:12px 0;
}

.accounts-role-list div:first-child{
    padding-top:0;
}

.accounts-role-list div:last-child{
    border-bottom:0;
    padding-bottom:0;
}

.accounts-role-list span{
    display:block;
    font-size:12px;
    font-weight:800;
    margin-bottom:6px;
    text-transform:uppercase;
}

.accounts-role-list strong{
    color:#e5edf5;
    display:block;
    font-size:14px;
    line-height:1.4;
}

.accounts-table-wrap{
    border:1px solid #18324a;
    border-radius:8px;
    overflow:auto;
}

.accounts-table{
    background:transparent;
    border-collapse:collapse;
    min-width:920px;
    width:100%;
}

.accounts-table th,
.accounts-table td{
    border:0;
    border-bottom:1px solid #18324a;
    color:#cbd5e1;
    padding:13px 14px;
    text-align:left;
    vertical-align:middle;
}

.accounts-table th{
    background:#07111f;
    color:#94a3b8;
    font-size:12px;
    text-transform:uppercase;
}

.accounts-table tr:last-child td{
    border-bottom:0;
}

.accounts-table td strong{
    color:#f8fafc;
    overflow-wrap:anywhere;
}

.accounts-toggle{
    align-items:center;
    color:#cbd5e1;
    display:flex;
    gap:9px;
}

.accounts-toggle input{
    height:16px;
    width:16px;
}

@media(max-width:1100px){
    .accounts-hero,
    .accounts-grid,
    .accounts-form{
        grid-template-columns:1fr;
    }

    .accounts-kpi-grid{
        grid-template-columns:1fr;
    }

    .accounts-kpi-grid div,
    .accounts-kpi-grid div:first-child,
    .accounts-kpi-grid div:last-child{
        border-radius:0;
    }
}

@media(max-width:640px){
    .accounts-hero,
    .accounts-card{
        padding:24px;
    }

    .accounts-hero h1{
        font-size:38px;
    }

    .accounts-section-header{
        align-items:flex-start;
        flex-direction:column;
    }

    .accounts-secondary,
    .accounts-form button{
        width:100%;
    }
}

/* =========================
DB DEBUG PAGE
========================= */

.debug-db-page{
    color:#e5edf5;
    display:grid;
    gap:22px;
}

.debug-db-hero,
.debug-db-card,
.debug-db-section,
.debug-db-status-card{
    background:#020617;
    border:1px solid #1f3448;
    border-radius:8px;
    box-shadow:0 18px 40px #00000028;
}

.debug-db-hero{
    align-items:stretch;
    display:grid;
    gap:24px;
    grid-template-columns:minmax(0, 1.3fr) minmax(300px, 0.7fr);
    padding:38px;
}

.debug-db-eyebrow{
    color:#00ffcc;
    display:block;
    font-size:13px;
    font-weight:800;
    margin-bottom:14px;
}

.debug-db-hero h1{
    color:#f8fafc;
    font-size:48px;
    line-height:1.05;
    margin:0 0 16px;
}

.debug-db-hero p,
.debug-db-status-card span,
.debug-db-status-card small,
.debug-db-card span,
.debug-db-card small,
.debug-db-section-header p{
    color:#94a3b8;
}

.debug-db-hero p{
    font-size:17px;
    line-height:1.55;
    margin:0;
    max-width:760px;
}

.debug-db-status-card,
.debug-db-card{
    padding:20px;
}

.debug-db-status-card span,
.debug-db-card span{
    display:block;
    font-size:12px;
    font-weight:800;
    margin-bottom:9px;
    text-transform:uppercase;
}

.debug-db-status-card strong,
.debug-db-card strong{
    color:#00ffcc;
    display:block;
    font-size:30px;
    line-height:1;
    margin-bottom:10px;
}

.debug-db-status-card small,
.debug-db-card small{
    display:block;
    line-height:1.35;
}

.debug-db-grid{
    display:grid;
    gap:16px;
    grid-template-columns:repeat(5, minmax(0, 1fr));
}

.debug-db-section{
    padding:22px;
}

.debug-db-section-header{
    align-items:end;
    display:flex;
    justify-content:space-between;
    gap:18px;
    margin-bottom:18px;
}

.debug-db-section-header h2{
    color:#f8fafc;
    margin:0;
}

.debug-db-section-header p{
    line-height:1.45;
    margin:6px 0 0;
}

.debug-db-section-header a{
    background:#00ffcc;
    border-radius:6px;
    color:#001014;
    font-weight:800;
    padding:12px 16px;
    text-decoration:none;
}

.debug-db-table-wrap{
    border:1px solid #18324a;
    border-radius:8px;
    overflow:auto;
}

.debug-db-table{
    background:transparent;
    border-collapse:collapse;
    min-width:520px;
    width:100%;
}

.debug-db-table th,
.debug-db-table td{
    border:0;
    border-bottom:1px solid #18324a;
    color:#cbd5e1;
    padding:13px 14px;
    text-align:left;
}

.debug-db-table th{
    background:#07111f;
    color:#94a3b8;
    font-size:12px;
    text-transform:uppercase;
}

.debug-db-table tr:last-child td{
    border-bottom:0;
}

.debug-db-table code{
    background:#07111f;
    border:1px solid #18324a;
    color:#dbeafe;
}

@media(max-width:1100px){
    .debug-db-hero,
    .debug-db-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:640px){
    .debug-db-hero,
    .debug-db-section{
        padding:24px;
    }

    .debug-db-hero h1{
        font-size:38px;
    }

    .debug-db-section-header{
        align-items:flex-start;
        flex-direction:column;
    }
}
table{
background:#020617;
color:#00ffcc;
border-collapse:collapse;
}

th, td{
padding:10px;
border:1px solid #00ffcc;
}
.hero-img:hover{
transform:scale(1.02);
transition:0.3s;
}

.card:hover{
transform:translateY(-5px);
transition:0.3s;
}
/* ACTION BAR */

.action-bar{
display:flex;
gap:20px;
margin:30px 0;
}

/* BUTTONS */

.action-btn{
background:#00ffcc;
color:#000;
border:none;
padding:15px 25px;
font-size:16px;
font-weight:bold;
cursor:pointer;
border-radius:8px;
}

.action-btn:hover{
background:#00ccaa;
transform:scale(1.05);
transition:0.2s;
}
/* HERO */

.hero{
position:relative;
margin-bottom:50px;
}

.hero-img{
width:100%;
height:400px;
object-fit:cover;
border-radius:12px;
filter:brightness(0.5);
}

.hero-overlay{
position:absolute;
top:30%;
left:50px;
color:#00ffcc;
}

.hero-overlay h1{
font-size:42px;
margin-bottom:10px;
}

.hero-overlay p{
font-size:18px;
margin-bottom:20px;
}

/* ACTION BUTTONS */

.action-bar{
display:flex;
gap:15px;
}

.action-btn{
background:#00ffcc;
color:#000;
border:none;
padding:12px 20px;
font-weight:bold;
cursor:pointer;
border-radius:6px;
}

.action-btn:hover{
background:#00ccaa;
transform:scale(1.05);
transition:0.2s;
}

/* SECTION */

.section-title{
margin-top:40px;
color:#00ffcc;
}

/* GRID */

.system-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:30px;
margin-top:20px;
}

/* CARD */

.system-card{
background:#020617;
border-radius:10px;
overflow:hidden;
box-shadow:0 0 20px #00ffcc22;
}

.system-img{
width:100%;
height:250px;
object-fit:cover;
}

.system-content{
padding:20px;
}

/* FLOW */

.flow{
display:flex;
flex-wrap:wrap;
align-items:center;
gap:15px;
margin-top:30px;
}

.flow-box{
background:#020617;
padding:10px 15px;
border:1px solid #00ffcc;
border-radius:6px;
}

.flow-arrow{
color:#00ffcc;
font-size:20px;
}



.step {
flex:1;
padding:10px;
text-align:center;
border-radius:6px;
background:#eee;
font-weight:bold;
}

.step.active{
    background:#007bff;
    color:white;
}

.step.done{
    background:#28a745;
    color:white;
}

.step.pending {
background:#ccc;
}

.section-desc {
    color: #bbb;
    font-size: 15px;
    margin-bottom: 20px;
    max-width: 700px;
    line-height: 1.5;
}
.step{
    position:relative;
}

.step.done::after{
    content:"✔";
    position:absolute;
    right:10px;
    top:8px;
    font-size:14px;
    color:white;
}
.progress-wrapper{
    width:100%;
    height:20px;
    background:#ddd;
    margin:15px 0;
    border-radius:10px;
    overflow:hidden;
}

#progressBar{
    height:100%;
    width:0%;
    background:#28a745;
    transition:0.3s;
}

#progressText{
    margin-bottom:20px;
    font-weight:bold;
}
.step.done{
    background:#28a745;
    color:white;
}

/* =========================
HOME PAGE
========================= */

.home-page{
    color:#e5edf5;
    display:grid;
    gap:28px;
}

.home-hero{
    align-items:stretch;
    display:grid;
    grid-template-columns:minmax(0, 1.35fr) minmax(340px, 0.65fr);
    gap:22px;
    min-height:430px;
}

.home-hero-copy,
.home-hero-panel,
.home-status-strip,
.home-module-card{
    background:#020617;
    border:1px solid #1f3448;
    border-radius:8px;
    box-shadow:0 18px 40px #00000028;
}

.home-hero-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:44px;
}

.home-eyebrow{
    color:#00ffcc;
    font-size:13px;
    font-weight:700;
    letter-spacing:0;
    margin-bottom:16px;
}

.home-hero h1{
    color:#f8fafc;
    font-size:56px;
    line-height:1;
    margin:0 0 18px;
}

.home-hero p{
    color:#b6c5d6;
    font-size:18px;
    line-height:1.55;
    margin:0;
    max-width:780px;
}

.home-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:28px;
}

.home-primary-action,
.home-secondary-action{
    border-radius:6px;
    font-weight:700;
    padding:12px 16px;
    text-decoration:none;
}

.home-primary-action{
    background:#00ffcc;
    color:#001014;
}

.home-secondary-action{
    background:#07111f;
    border:1px solid #24445f;
    color:#dbeafe;
}

.home-primary-action:hover,
.home-secondary-action:hover,
.home-module-card:hover{
    transform:translateY(-2px);
    transition:0.2s;
}

.home-hero-panel{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:24px;
}

.home-signal-row{
    border-bottom:1px solid #18324a;
    padding-bottom:18px;
}

.home-signal-row span,
.home-signal-grid span,
.home-status-strip span,
.home-module-card span,
.home-section-header p{
    color:#94a3b8;
    font-size:13px;
}

.home-signal-row strong{
    color:#f8fafc;
    display:block;
    font-size:22px;
    margin-top:8px;
}

.home-signal-grid{
    display:grid;
    gap:12px;
    grid-template-columns:1fr 1fr;
    margin-top:18px;
}

.home-signal-grid div{
    background:#07111f;
    border:1px solid #18324a;
    border-radius:8px;
    padding:14px;
}

.home-signal-grid strong{
    color:#00ffcc;
    display:block;
    margin-top:6px;
}

.home-status-strip{
    display:grid;
    gap:0;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    overflow:hidden;
}

.home-status-strip div{
    border-right:1px solid #18324a;
    padding:16px;
}

.home-status-strip div:last-child{
    border-right:0;
}

.home-status-strip strong{
    color:#f8fafc;
    display:block;
    font-size:18px;
    margin-top:7px;
}

.home-section-header{
    align-items:end;
    display:flex;
    justify-content:space-between;
    gap:20px;
}

.home-section-header h2{
    color:#f8fafc;
    margin:0;
}

.home-section-header p{
    line-height:1.45;
    margin:0;
    max-width:560px;
}

.home-module-grid{
    display:grid;
    gap:16px;
    grid-template-columns:repeat(3, minmax(0, 1fr));
}

.home-module-card{
    color:#dbeafe;
    min-height:180px;
    padding:20px;
    text-decoration:none;
}

.home-module-card.featured{
    border-color:#00ffcc88;
}

.home-module-card h3{
    color:#f8fafc;
    margin:14px 0 10px;
}

.home-module-card p{
    color:#94a3b8;
    line-height:1.45;
    margin:0 0 18px;
}

.home-module-card strong{
    color:#00ffcc;
}

@media(max-width:1000px){
    .home-hero,
    .home-module-grid{
        grid-template-columns:1fr;
    }

    .home-status-strip{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:640px){
    .container{
        padding:22px;
    }

    .home-hero-copy{
        padding:28px;
    }

    .home-hero h1{
        font-size:40px;
    }

    .home-status-strip,
    .home-signal-grid{
        grid-template-columns:1fr;
    }

    .home-status-strip div{
        border-right:0;
        border-bottom:1px solid #18324a;
    }

    .home-status-strip div:last-child{
        border-bottom:0;
    }

    .home-section-header{
        align-items:flex-start;
        flex-direction:column;
    }
}

/* =========================
RESEARCH PLATFORM PAGE
========================= */

.platform-page{
    color:#e5edf5;
    display:grid;
    gap:26px;
}

.platform-hero{
    background:#020617;
    border:1px solid #1f3448;
    border-radius:8px;
    box-shadow:0 18px 40px #00000028;
    min-height:380px;
    overflow:hidden;
    position:relative;
}

.platform-hero-img{
    display:block;
    height:100%;
    inset:0;
    min-height:380px;
    object-fit:cover;
    opacity:0.42;
    position:absolute;
    width:100%;
}

.platform-hero::after{
    background:linear-gradient(
        90deg,
        #020617 0%,
        rgba(2, 6, 23, 0.86) 38%,
        rgba(2, 6, 23, 0.28) 100%
    );
    content:"";
    inset:0;
    position:absolute;
}

.platform-hero-content{
    max-width:760px;
    padding:46px;
    position:relative;
    z-index:1;
}

.platform-eyebrow{
    color:#00ffcc;
    font-size:13px;
    font-weight:700;
    letter-spacing:0;
}

.platform-hero h1{
    color:#f8fafc;
    font-size:48px;
    line-height:1.05;
    margin:16px 0;
}

.platform-hero p,
.platform-section-heading p,
.platform-flow-card p,
.platform-module-card p{
    color:#b6c5d6;
    line-height:1.55;
    margin:0;
}

.platform-hero p{
    font-size:18px;
}

.platform-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:28px;
}

.platform-primary-action,
.platform-secondary-action{
    border-radius:6px;
    font-weight:700;
    padding:12px 16px;
    text-decoration:none;
}

.platform-primary-action{
    background:#00ffcc;
    color:#001014;
}

.platform-secondary-action{
    background:#07111f;
    border:1px solid #24445f;
    color:#dbeafe;
}

.platform-primary-action:hover,
.platform-secondary-action:hover,
.platform-module-card:hover{
    transform:translateY(-2px);
    transition:0.2s;
}

.platform-status-grid{
    background:#020617;
    border:1px solid #1f3448;
    border-radius:8px;
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    overflow:hidden;
}

.platform-status-grid div{
    border-right:1px solid #18324a;
    padding:16px;
}

.platform-status-grid div:last-child{
    border-right:0;
}

.platform-status-grid span,
.platform-module-card span{
    color:#94a3b8;
    font-size:13px;
}

.platform-status-grid strong{
    color:#f8fafc;
    display:block;
    font-size:18px;
    margin-top:7px;
}

.platform-section-heading{
    align-items:end;
    display:flex;
    justify-content:space-between;
    gap:20px;
}

.platform-section-heading h2,
.platform-flow-card h2{
    color:#f8fafc;
    margin:0;
}

.platform-section-heading p{
    max-width:650px;
}

.platform-module-grid{
    display:grid;
    gap:16px;
    grid-template-columns:repeat(3, minmax(0, 1fr));
}

.platform-module-card,
.platform-flow-card{
    background:#020617;
    border:1px solid #1f3448;
    border-radius:8px;
    box-shadow:0 18px 40px #00000028;
}

.platform-module-card{
    padding:20px;
}

.platform-module-card h3{
    color:#f8fafc;
    margin:14px 0 10px;
}

.platform-module-card ul{
    color:#dbeafe;
    line-height:1.55;
    margin:16px 0 0;
    padding-left:18px;
}

.platform-module-card li::marker{
    color:#00ffcc;
}

.platform-flow-card{
    align-items:center;
    display:grid;
    gap:24px;
    grid-template-columns:minmax(260px, 0.35fr) 1fr;
    padding:22px;
}

.platform-flow-card p{
    margin-top:8px;
}

.platform-flow{
    display:grid;
    gap:10px;
    grid-template-columns:repeat(7, minmax(0, 1fr));
}

.platform-flow span,
.platform-flow strong{
    align-items:center;
    background:#07111f;
    border:1px solid #18324a;
    border-radius:8px;
    color:#dbeafe;
    display:flex;
    justify-content:center;
    min-height:58px;
    padding:10px;
    position:relative;
    text-align:center;
}

.platform-flow span:not(:last-child)::after,
.platform-flow strong:not(:last-child)::after{
    color:#00ffcc;
    content:">";
    position:absolute;
    right:-9px;
    z-index:1;
}

.platform-flow strong{
    border-color:#00ffcc55;
    color:#00ffcc;
}

@media(max-width:1100px){
    .platform-module-grid,
    .platform-flow-card{
        grid-template-columns:1fr;
    }

    .platform-flow{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .platform-flow span::after,
    .platform-flow strong::after{
        display:none;
    }
}

@media(max-width:760px){
    .platform-hero-content{
        padding:30px;
    }

    .platform-hero h1{
        font-size:38px;
    }

    .platform-status-grid,
    .platform-flow{
        grid-template-columns:1fr;
    }

    .platform-status-grid div{
        border-bottom:1px solid #18324a;
        border-right:0;
    }

    .platform-status-grid div:last-child{
        border-bottom:0;
    }

    .platform-section-heading{
        align-items:flex-start;
        flex-direction:column;
    }
}

/* =========================
AI TESTING LAB PUBLIC PAGE
========================= */

.ai-testing-page{
    color:#e5edf5;
    display:grid;
    gap:24px;
}

.ai-testing-hero,
.ai-testing-summary-grid,
.ai-testing-section,
.ai-testing-card,
.ai-testing-module-card,
.ai-testing-access-note{
    background:#020617;
    border:1px solid #1f3448;
    border-radius:8px;
    box-shadow:0 18px 40px #00000028;
}

.ai-testing-hero{
    align-items:stretch;
    display:grid;
    gap:24px;
    grid-template-columns:minmax(0, 1.35fr) minmax(320px, 0.65fr);
    padding:38px;
}

.ai-testing-eyebrow{
    color:#00ffcc;
    display:block;
    font-size:13px;
    font-weight:800;
    margin-bottom:14px;
}

.ai-testing-hero h1{
    color:#f8fafc;
    font-size:52px;
    line-height:1.05;
    margin:0 0 16px;
}

.ai-testing-hero p,
.ai-testing-section-header p,
.ai-testing-module-card p,
.ai-testing-card p,
.ai-testing-access-note p{
    color:#b6c5d6;
    line-height:1.55;
    margin:0;
}

.ai-testing-hero p{
    font-size:17px;
    max-width:820px;
}

.ai-testing-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:28px;
}

.ai-testing-primary,
.ai-testing-secondary{
    border-radius:6px;
    font-weight:800;
    padding:12px 16px;
    text-decoration:none;
}

.ai-testing-primary{
    background:#00ffcc;
    border:1px solid #00ffcc;
    color:#001014;
}

.ai-testing-secondary{
    background:#07111f;
    border:1px solid #24445f;
    color:#dbeafe;
}

.ai-testing-primary:hover,
.ai-testing-secondary:hover,
.ai-testing-module-card:hover{
    filter:brightness(1.05);
    transform:translateY(-2px);
    transition:0.2s;
}

.ai-testing-status-panel{
    background:#07111f;
    border:1px solid #18324a;
    border-radius:8px;
    display:grid;
    overflow:hidden;
}

.ai-testing-status-panel div{
    border-bottom:1px solid #18324a;
    padding:18px;
}

.ai-testing-status-panel div:last-child{
    border-bottom:0;
}

.ai-testing-status-panel span,
.ai-testing-summary-grid span,
.ai-testing-module-card span,
.ai-testing-method-list span,
.ai-testing-proof-grid span,
.ai-testing-access-note span{
    color:#94a3b8;
    display:block;
    font-size:12px;
    font-weight:800;
    margin-bottom:8px;
    text-transform:uppercase;
}

.ai-testing-status-panel strong,
.ai-testing-summary-grid strong{
    color:#f8fafc;
    display:block;
    font-size:18px;
}

.ai-testing-summary-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    overflow:hidden;
}

.ai-testing-summary-grid div{
    border-right:1px solid #18324a;
    padding:16px;
}

.ai-testing-summary-grid div:last-child{
    border-right:0;
}

.ai-testing-section{
    padding:22px;
}

.ai-testing-section-header{
    align-items:end;
    display:flex;
    justify-content:space-between;
    gap:18px;
    margin-bottom:18px;
}

.ai-testing-section-header h2,
.ai-testing-card h2,
.ai-testing-access-note h2{
    color:#f8fafc;
    margin:0;
}

.ai-testing-section-header p{
    margin-top:6px;
    max-width:760px;
}

.ai-testing-module-grid{
    display:grid;
    gap:16px;
    grid-template-columns:repeat(4, minmax(0, 1fr));
}

.ai-testing-module-card{
    background:#07111f;
    border-color:#18324a;
    display:flex;
    flex-direction:column;
    min-height:240px;
    padding:18px;
}

.ai-testing-module-card h3{
    color:#f8fafc;
    margin:14px 0 10px;
}

.ai-testing-module-card p{
    flex:1;
}

.ai-testing-module-card strong{
    color:#00ffcc;
    display:block;
    margin-top:18px;
}

.ai-testing-two-column{
    background:transparent;
    border:0;
    box-shadow:none;
    display:grid;
    gap:16px;
    grid-template-columns:minmax(0, 1fr) minmax(320px, 0.72fr);
    padding:0;
}

.ai-testing-card{
    padding:22px;
}

.ai-testing-card h2{
    margin-bottom:16px;
}

.ai-testing-method-list{
    display:grid;
    gap:0;
}

.ai-testing-method-list div{
    border-bottom:1px solid #18324a;
    padding:13px 0;
}

.ai-testing-method-list div:first-child{
    padding-top:0;
}

.ai-testing-method-list div:last-child{
    border-bottom:0;
    padding-bottom:0;
}

.ai-testing-method-list strong{
    color:#dbeafe;
    display:block;
    line-height:1.45;
}

.ai-testing-proof-grid{
    display:grid;
    gap:12px;
    grid-template-columns:1fr 1fr;
    margin-top:20px;
}

.ai-testing-proof-grid div{
    background:#07111f;
    border:1px solid #18324a;
    border-radius:8px;
    padding:16px;
}

.ai-testing-proof-grid strong{
    color:#00ffcc;
    display:block;
}

.ai-testing-flow{
    color:#dbeafe;
    display:grid;
    gap:10px;
    grid-template-columns:repeat(6, minmax(0, 1fr));
}

.ai-testing-flow span,
.ai-testing-flow strong{
    align-items:center;
    background:#07111f;
    border:1px solid #18324a;
    border-radius:8px;
    display:flex;
    justify-content:center;
    min-height:58px;
    padding:10px;
    position:relative;
    text-align:center;
}

.ai-testing-flow span:not(:last-child)::after{
    color:#00ffcc;
    content:">";
    position:absolute;
    right:-9px;
    z-index:1;
}

.ai-testing-flow strong{
    border-color:#00ffcc66;
    color:#00ffcc;
}

.ai-testing-access-note{
    align-items:center;
    border-color:#00ffcc55;
    display:grid;
    gap:22px;
    grid-template-columns:minmax(260px, 0.42fr) 1fr;
    padding:24px;
}

.ai-testing-access-note h2{
    font-size:28px;
    line-height:1.15;
}

.ai-testing-access-note span{
    color:#00ffcc;
}

@media(max-width:1180px){
    .ai-testing-hero,
    .ai-testing-module-grid,
    .ai-testing-two-column,
    .ai-testing-access-note{
        grid-template-columns:1fr;
    }

    .ai-testing-summary-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .ai-testing-summary-grid div:nth-child(2){
        border-right:0;
    }

    .ai-testing-summary-grid div:nth-child(-n+2){
        border-bottom:1px solid #18324a;
    }

    .ai-testing-flow{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .ai-testing-flow span::after{
        display:none;
    }
}

@media(max-width:720px){
    .ai-testing-hero,
    .ai-testing-section,
    .ai-testing-card,
    .ai-testing-access-note{
        padding:22px;
    }

    .ai-testing-hero h1{
        font-size:38px;
    }

    .ai-testing-summary-grid,
    .ai-testing-flow,
    .ai-testing-proof-grid{
        grid-template-columns:1fr;
    }

    .ai-testing-summary-grid div{
        border-bottom:1px solid #18324a;
        border-right:0;
    }

    .ai-testing-summary-grid div:last-child{
        border-bottom:0;
    }

    .ai-testing-section-header{
        align-items:flex-start;
        flex-direction:column;
    }

    .ai-testing-primary,
    .ai-testing-secondary{
        text-align:center;
        width:100%;
    }
}

.content-page{
    color:#cbd5e1;
    margin:0 auto;
    max-width:960px;
    padding:36px 0 56px;
}

.content-page h1{
    color:#f8fafc;
    font-size:42px;
    margin:10px 0 20px;
}

.content-page h2{
    color:#f8fafc;
    font-size:21px;
    margin:28px 0 8px;
}

.content-page p{
    line-height:1.7;
}

.page-eyebrow{
    color:#00ffcc;
    font-size:13px;
    font-weight:800;
    text-transform:uppercase;
}

.onboarding-grid{
    display:grid;
    gap:14px;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    margin:28px 0;
}

.onboarding-grid article{
    background:#07111f;
    border:1px solid #1f3448;
    border-radius:8px;
    padding:20px;
}

.onboarding-grid strong{
    color:#00ffcc;
}

.button-link{
    background:#00ffcc;
    border-radius:6px;
    color:#001014;
    display:inline-block;
    font-weight:800;
    padding:11px 16px;
    text-decoration:none;
}

footer a{
    color:#94a3b8;
}

@media(max-width:720px){
    .onboarding-grid{
        grid-template-columns:1fr;
    }

    .content-page h1{
        font-size:34px;
    }
}

/* =========================
ABOUT PAGE
========================= */

.about-page{
    color:#e5edf5;
    display:grid;
    gap:26px;
}

.about-hero{
    align-items:stretch;
    display:grid;
    gap:22px;
    grid-template-columns:minmax(0, 0.95fr) minmax(420px, 1.05fr);
}

.about-hero-copy,
.about-hero-media,
.about-status-grid,
.about-section,
.about-panel,
.about-photo-card,
.about-note{
    background:#020617;
    border:1px solid #1f3448;
    border-radius:8px;
    box-shadow:0 18px 40px #00000028;
}

.about-hero-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:44px;
}

.about-eyebrow{
    color:#00ffcc;
    font-size:13px;
    font-weight:700;
}

.about-hero h1{
    color:#f8fafc;
    font-size:52px;
    line-height:1.05;
    margin:14px 0 18px;
}

.about-hero p,
.about-section-heading p,
.about-card p,
.about-panel p,
.about-flow p,
.about-note p{
    color:#b6c5d6;
    line-height:1.55;
    margin:0;
}

.about-hero p{
    font-size:17px;
    max-width:780px;
}

.about-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:28px;
}

.about-primary-action,
.about-secondary-action{
    border-radius:6px;
    font-weight:700;
    padding:12px 16px;
    text-decoration:none;
}

.about-primary-action{
    background:#00ffcc;
    color:#001014;
}

.about-secondary-action{
    background:#07111f;
    border:1px solid #24445f;
    color:#dbeafe;
}

.about-primary-action:hover,
.about-secondary-action:hover,
.about-card:hover{
    transform:translateY(-2px);
    transition:0.2s;
}

.about-hero-media{
    min-height:420px;
    overflow:hidden;
}

.about-hero-media img{
    display:block;
    height:100%;
    object-fit:cover;
    object-position:center center;
    width:100%;
}

.about-status-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    overflow:hidden;
}

.about-status-grid div{
    border-right:1px solid #18324a;
    padding:16px;
}

.about-status-grid div:last-child{
    border-right:0;
}

.about-status-grid span,
.about-card span{
    color:#94a3b8;
    font-size:13px;
}

.about-status-grid strong{
    color:#f8fafc;
    display:block;
    font-size:18px;
    margin-top:7px;
}

.about-section,
.about-note{
    padding:22px;
}

.about-section-heading{
    align-items:flex-end;
    display:flex;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
}

.about-section-heading h2,
.about-panel h2{
    color:#f8fafc;
    margin:0;
}

.about-section-heading p{
    margin-top:6px;
    max-width:720px;
}

.about-card-grid{
    display:grid;
    gap:16px;
    grid-template-columns:repeat(3, minmax(0, 1fr));
}

.about-card{
    background:#07111f;
    border:1px solid #18324a;
    border-radius:8px;
    min-height:170px;
    padding:20px;
}

.about-card img{
    display:block;
    height:38px;
    margin-bottom:16px;
    object-fit:contain;
    width:38px;
}

.about-card h3{
    color:#f8fafc;
    margin:0 0 10px;
}

.about-split{
    display:grid;
    gap:18px;
    grid-template-columns:minmax(0, 1fr) minmax(360px, 0.75fr);
}

.about-photo-card{
    min-height:340px;
    overflow:hidden;
}

.about-photo-card img{
    display:block;
    height:100%;
    object-fit:cover;
    object-position:center center;
    width:100%;
}

.about-panel{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:34px;
}

.about-panel h2{
    font-size:34px;
    line-height:1.15;
    margin:14px 0;
}

.about-flow{
    display:grid;
    gap:12px;
    grid-template-columns:repeat(4, minmax(0, 1fr));
}

.about-flow div{
    background:#07111f;
    border:1px solid #18324a;
    border-radius:8px;
    padding:18px;
    position:relative;
}

.about-flow div:not(:last-child)::after{
    color:#00ffcc;
    content:">";
    position:absolute;
    right:-11px;
    top:50%;
    transform:translateY(-50%);
    z-index:1;
}

.about-flow span{
    color:#00ffcc;
    display:block;
    font-size:12px;
    font-weight:800;
    margin-bottom:10px;
}

.about-flow strong{
    color:#f8fafc;
    display:block;
    margin-bottom:8px;
}

.about-note{
    border-color:#00ffcc55;
}

.about-note strong{
    color:#00ffcc;
    display:block;
    margin-bottom:8px;
}

@media(max-width:1100px){
    .about-hero,
    .about-card-grid,
    .about-split{
        grid-template-columns:1fr;
    }

    .about-flow{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .about-flow div::after{
        display:none;
    }
}

@media(max-width:720px){
    .about-hero-copy,
    .about-section,
    .about-panel,
    .about-note{
        padding:24px;
    }

    .about-hero h1{
        font-size:38px;
    }

    .about-hero-media,
    .about-photo-card{
        min-height:260px;
    }

    .about-status-grid,
    .about-flow{
        grid-template-columns:1fr;
    }

    .about-status-grid div{
        border-bottom:1px solid #18324a;
        border-right:0;
    }

    .about-status-grid div:last-child{
        border-bottom:0;
    }
}

/* =========================
CONTACT PAGE
========================= */

.contact-page{
    color:#e5edf5;
    display:grid;
    gap:26px;
}

.contact-hero,
.contact-direct-card,
.contact-card,
.contact-panel,
.contact-note{
    background:#020617;
    border:1px solid #1f3448;
    border-radius:8px;
    box-shadow:0 18px 40px #00000028;
}

.contact-hero{
    align-items:stretch;
    display:grid;
    gap:22px;
    grid-template-columns:minmax(0, 1.25fr) minmax(320px, 0.75fr);
    padding:44px;
}

.contact-eyebrow{
    color:#00ffcc;
    font-size:13px;
    font-weight:700;
}

.contact-hero h1{
    color:#f8fafc;
    font-size:50px;
    line-height:1.08;
    margin:14px 0 18px;
    max-width:860px;
}

.contact-hero p,
.contact-direct-card p,
.contact-card p,
.contact-panel p,
.contact-checklist span,
.contact-note p{
    color:#b6c5d6;
    line-height:1.55;
    margin:0;
}

.contact-hero p{
    font-size:17px;
    max-width:760px;
}

.contact-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:28px;
}

.contact-primary-action,
.contact-secondary-action{
    border-radius:6px;
    font-weight:700;
    padding:12px 16px;
    text-decoration:none;
}

.contact-primary-action{
    background:#00ffcc;
    color:#001014;
}

.contact-secondary-action{
    background:#07111f;
    border:1px solid #24445f;
    color:#dbeafe;
}

.contact-primary-action:hover,
.contact-secondary-action:hover,
.contact-card:hover{
    transform:translateY(-2px);
    transition:0.2s;
}

.contact-direct-card{
    background:#07111f;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:24px;
}

.contact-direct-card span,
.contact-card span{
    color:#94a3b8;
    font-size:13px;
}

.contact-direct-card a{
    color:#f8fafc;
    display:block;
    font-size:22px;
    font-weight:800;
    margin:10px 0 14px;
    overflow-wrap:anywhere;
    text-decoration:none;
}

.contact-direct-card a:hover{
    color:#00ffcc;
}

.contact-grid{
    display:grid;
    gap:16px;
    grid-template-columns:repeat(3, minmax(0, 1fr));
}

.contact-card{
    min-height:190px;
    padding:22px;
}

.contact-card h2{
    color:#f8fafc;
    font-size:22px;
    margin:12px 0 10px;
}

.contact-panel{
    align-items:start;
    display:grid;
    gap:24px;
    grid-template-columns:minmax(260px, 0.35fr) 1fr;
    padding:24px;
}

.contact-panel h2{
    color:#f8fafc;
    margin:0 0 8px;
}

.contact-checklist{
    display:grid;
    gap:12px;
    grid-template-columns:repeat(3, minmax(0, 1fr));
}

.contact-checklist div{
    background:#07111f;
    border:1px solid #18324a;
    border-radius:8px;
    padding:16px;
}

.contact-checklist strong{
    color:#00ffcc;
    display:block;
    margin-bottom:8px;
}

.contact-checklist span{
    display:block;
}

.contact-note{
    border-color:#00ffcc55;
    padding:20px 22px;
}

.contact-note strong{
    color:#00ffcc;
    display:block;
    margin-bottom:8px;
}

@media(max-width:1000px){
    .contact-hero,
    .contact-grid,
    .contact-panel,
    .contact-checklist{
        grid-template-columns:1fr;
    }
}

@media(max-width:720px){
    .contact-hero,
    .contact-card,
    .contact-panel,
    .contact-note{
        padding:24px;
    }

    .contact-hero h1{
        font-size:38px;
    }

    .contact-primary-action,
    .contact-secondary-action{
        text-align:center;
        width:100%;
    }
}
