:root {
    --bg-deep: #010b17;
    --bg-panel: #061529;
    --bg-panel-light: #0d213c;
    --border-color: rgba(255, 255, 255, 0.08);
    --text-light: #f4f7fb;
    --accent: #4cd3ff;
    --accent-muted: rgba(76, 211, 255, 0.2);
    --font-display: 'Space Grotesk', 'Segoe UI', Tahoma, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: var(--font-display);
    background-color: var(--bg-deep);
    color: var(--text-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.landing-body {
    background: radial-gradient(circle at top, #072442, #020915 70%);
    color: var(--text-light);
}

.landing-hero {
    min-height: 100vh;
    padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
}

.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.brand-badge {
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
}

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

.hero-copy h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 600;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-panels {
    display: grid;
    gap: 1rem;
}

.metric-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
}

.metric-card h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 600;
}

.feature-grid {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-panel);
    border-radius: 1.2rem;
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    min-height: 200px;
}

.status-band {
    margin-top: 4rem;
    padding: 1.5rem;
    background: var(--bg-panel-light);
    border-radius: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    text-align: center;
}

.timeline {
    margin-top: 4rem;
    border-left: 2px solid var(--border-color);
    padding-left: 1.5rem;
}

.timeline-step {
    position: relative;
    padding: 1rem 0 1rem 1rem;
}

.timeline-step::before {
    content: '';
    position: absolute;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--accent);
    top: 1.35rem;
    left: -2.15rem;
}

.footer-links {
    margin-top: 5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.portal-body {
    background: linear-gradient(135deg, #02142a, #010912 70%);
    color: #0b1524;
}

.portal-body-simple {
    color: var(--text-light);
}

.portal-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 3rem 1rem;
}

.portal-surface {
    width: min(1100px, 100%);
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(1, 15, 35, 0.35);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    overflow: hidden;
}

.portal-form {
    padding: clamp(2rem, 6vw, 3.5rem);
}

.portal-aside {
    background: #050f1f;
    color: var(--text-light);
    padding: clamp(2rem, 6vw, 3.5rem);
}
.portal-shell-simple {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem) 1.5rem;
}

.portal-card-simple {
    width: min(900px, 100%);
    background: rgba(5, 18, 34, 0.95);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(1.5rem, 5vw, 3rem);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
}

.portal-guidance {
    background: rgba(4, 12, 24, 0.9);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: clamp(1.2rem, 4vw, 2rem);
}

.guidance-steps {
    margin: 0 0 1.5rem 1rem;
    padding-left: 1rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.guidance-steps li {
    font-size: 0.95rem;
}

.sample-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
}

.sample-card code {
    color: var(--accent);
    font-size: 0.95rem;
}

.portal-form-simple {
    background: #ffffff;
    color: #0b1524;
    border-radius: 20px;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    box-shadow: 0 25px 60px rgba(1, 15, 35, 0.25);
}

.portal-form-simple .form-control {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(4, 15, 31, 0.2);
}

.portal-form-simple .btn-primary {
    font-size: 1rem;
    padding: 0.95rem;
    border-radius: 14px;
}

.portal-card-simple .btn-link {
    text-decoration: none;
}


.portal-aside h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.role-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
}

.quick-roles .btn {
    border-radius: 999px;
}

.role-body {
    background: radial-gradient(circle at top, #010b17, #040c1b 60%);
    min-height: 100vh;
    color: var(--text-light);
}

.role-shell {
    max-width: 1100px;
}

.role-header {
    background: rgba(6, 21, 41, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.2rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

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

.role-card {
    background: rgba(5, 15, 31, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    padding: 1.5rem;
    min-height: 220px;
}

.role-card h2 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.resource-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.resource-table th,
.resource-table td {
    padding: 0.6rem 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.resource-table th {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.role-badge {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .hero-content {
        margin-top: 2.5rem;
    }

    .portal-surface {
        border-radius: 18px;
    }

    .role-grid {
        grid-template-columns: 1fr;
    }

    .portal-card-simple {
        grid-template-columns: 1fr;
    }
}
