:root {
    --bg: #061130;
    --bg-soft: #0a1b4c;
    --panel: rgba(10, 27, 76, 0.72);
    --panel-strong: rgba(5, 16, 49, 0.92);
    --line: rgba(102, 172, 255, 0.18);
    --text: #eef6ff;
    --muted: #adcaf0;
    --primary: #2dc6ff;
    --primary-strong: #128eff;
    --accent: #8fe8ff;
    --success: #41d592;
    --danger: #ff6f7d;
    --shadow: 0 30px 60px rgba(0, 8, 30, 0.45);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(45, 198, 255, 0.2), transparent 30%),
        radial-gradient(circle at bottom right, rgba(18, 142, 255, 0.24), transparent 25%),
        linear-gradient(135deg, #020817 0%, #061130 48%, #09194a 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.site-shell,
.dashboard-layout {
    min-height: 100vh;
}

.site-shell {
    padding: 24px;
}

.site-header,
.site-footer,
.hero-panel,
.ticker-band,
.feature-grid,
.split-section,
.operations-stage,
.partner-showcase,
.profile-tabs-panel,
.profile-showcase,
.profile-workflow,
.profile-portal-links,
.profile-inline-banner,
.cta-banner,
.content-hero,
.content-grid,
.story-strip,
.service-grid,
.contact-layout,
.auth-panel {
    max-width: 1200px;
    margin: 0 auto 28px;
}

.site-header,
.site-footer,
.hero-panel,
.ticker-band,
.feature-card,
.highlight-panel,
.operation-card,
.partner-card,
.partner-metrics,
.profile-card,
.profile-feature-card,
.portal-link-card,
.profile-inline-banner,
.metric-card,
.cta-banner,
.content-hero,
.content-card,
.story-strip,
.service-card,
.contact-card,
.contact-form,
.auth-card,
.dashboard-sidebar,
.dashboard-topbar,
.stat-card,
.dashboard-panel,
.command-hero,
.entry-form {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
}

.site-header,
.site-footer,
.dashboard-topbar,
.dashboard-panel,
.command-hero,
.profile-tabs-panel,
.entry-form,
.auth-card,
.content-hero,
.story-strip,
.contact-form,
.contact-card,
.service-card,
.content-card,
.stat-card,
.feature-card,
.highlight-panel,
.cta-banner,
.operation-card,
.partner-card,
.partner-metrics {
    border-radius: var(--radius);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    position: sticky;
    top: 16px;
    z-index: 20;
}

.brand-mark,
.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark img,
.dashboard-brand img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 18px;
}

.brand-mark strong,
.dashboard-brand strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
}

.brand-mark small,
.dashboard-brand small {
    color: var(--muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-nav a {
    padding: 12px 14px;
    border-radius: 999px;
    color: var(--muted);
}

.site-nav a.is-active,
.site-nav a:hover,
.dashboard-nav a.is-current,
.dashboard-nav a:hover {
    background: rgba(45, 198, 255, 0.14);
    color: var(--text);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 999px;
    border: 1px solid rgba(143, 232, 255, 0.28);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(18, 142, 255, 0.22);
}

.button.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
    color: #fff;
}

.button.ghost {
    background: rgba(255, 255, 255, 0.04);
}

.full {
    width: 100%;
}

.hero-panel,
.split-section,
.story-strip,
.contact-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: center;
}

.hero-panel {
    padding: 42px;
    min-height: 72vh;
    overflow: hidden;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    color: var(--accent);
}

h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0 0 14px;
}

h1 {
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 1.05;
}

h2 {
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.1;
}

.lead {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-actions,
.hero-stats,
.feature-grid,
.operations-grid,
.content-grid,
.service-grid,
.stats-grid,
.dashboard-highlights,
.dashboard-panels,
.entry-layout {
    display: grid;
    gap: 20px;
}

.hero-actions {
    grid-template-columns: repeat(2, max-content);
    margin: 28px 0;
}

.hero-stats,
.feature-grid,
.operations-grid,
.content-grid,
.service-grid,
.stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
}

.analytics-layout {
    align-items: start;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(45, 198, 255, 0.12);
    border: 1px solid rgba(143, 232, 255, 0.22);
    color: var(--accent);
    font-size: 0.86rem;
    letter-spacing: 0.04em;
}

.ghost-badge {
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
}

.hero-stats article,
.highlight-item {
    padding: 18px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    border: 1px solid var(--line);
}

.hero-stats strong,
.highlight-item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.hero-stats strong {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    color: #fff;
}

.hero-visual {
    position: relative;
}

.orbital-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(45, 198, 255, 0.26), rgba(6, 17, 48, 0.95));
    padding: 24px;
    min-height: 500px;
    display: grid;
    place-items: center;
}

.orbital-card img,
.story-image {
    border-radius: 28px;
}

.orbital-lines {
    position: absolute;
    inset: 30px;
    border: 1px solid rgba(143, 232, 255, 0.26);
    border-radius: 28px;
    animation: pulse 3s infinite ease-in-out;
}

.signal-card {
    position: absolute;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(4, 15, 47, 0.8);
    border: 1px solid rgba(143, 232, 255, 0.22);
    box-shadow: 0 14px 35px rgba(0, 8, 30, 0.3);
    backdrop-filter: blur(12px);
}

.signal-card span {
    display: block;
    color: var(--accent);
    font-size: 0.78rem;
    margin-bottom: 4px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.signal-card strong {
    font-family: 'Space Grotesk', sans-serif;
}

.signal-card-top {
    top: 30px;
    right: 26px;
    animation: float 3s infinite ease-in-out;
}

.signal-card-bottom {
    left: 26px;
    bottom: 28px;
    animation: float 3.4s infinite ease-in-out;
}

.ticker-band {
    overflow: hidden;
    padding: 18px 0;
}

.ticker-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: marquee 22s linear infinite;
}

.ticker-track span {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(143, 232, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    white-space: nowrap;
}

.feature-index {
    color: var(--accent);
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 12px;
}

.feature-card,
.content-card,
.service-card,
.operation-card,
.metric-card,
.stat-card {
    padding: 24px;
}

.feature-card p,
.content-card p,
.service-card p,
.dashboard-panel,
.entry-form,
.contact-copy p,
.auth-card p,
.operation-card p,
.partner-card p,
.metric-card span,
.glance-card span {
    color: var(--muted);
    line-height: 1.65;
}

.highlight-panel,
.cta-banner,
.content-hero,
.story-strip,
.contact-form,
.auth-card,
.command-hero,
.partner-card,
.partner-metrics {
    padding: 28px;
}

.content-hero.slim {
    padding: 42px 28px;
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form,
.auth-card,
.entry-form {
    display: grid;
    gap: 14px;
}

.immersive-panel {
    position: relative;
}

.process-steps {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.process-steps div {
    padding: 16px 18px;
    border-left: 3px solid rgba(45, 198, 255, 0.5);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 18px 18px 0;
}

.process-steps strong,
.priority-item strong,
.metric-card strong {
    display: block;
    margin-bottom: 8px;
}

.process-steps span,
.priority-item span {
    color: var(--muted);
    line-height: 1.55;
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 24px;
    text-align: center;
}

.operation-card {
    min-height: 240px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(2, 8, 23, 0.35));
}

.operation-card span {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}

.partner-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
}

.profile-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.profile-hero-stack,
.profile-showcase-grid,
.portal-link-grid {
    display: grid;
    gap: 18px;
}

.profile-glass-card {
    padding: 20px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow);
}

.profile-glass-card span,
.profile-card span,
.profile-feature-card strong,
.portal-link-card span {
    color: var(--accent);
}

.profile-glass-card span,
.profile-card span,
.portal-link-card span {
    display: inline-block;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.profile-glass-card strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    line-height: 1.45;
}

.profile-tabs-panel {
    padding: 28px;
}

.profile-tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.profile-tab {
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(143, 232, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font: inherit;
    cursor: pointer;
}

.profile-tab.is-current {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
}

.profile-tab-body {
    display: none;
}

.profile-tab-body.is-current {
    display: block;
}

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

.profile-card,
.profile-feature-card,
.portal-link-card,
.profile-inline-banner {
    padding: 24px;
    border-radius: var(--radius);
}

.profile-card,
.profile-feature-card,
.portal-link-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}

.profile-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.8;
}

.profile-workflow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.profile-workflow-rail {
    display: grid;
    gap: 14px;
}

.workflow-node {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}

.workflow-node strong {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
}

.portal-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
}

.portal-link-grid a {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(143, 232, 255, 0.12);
    color: var(--muted);
}

.profile-inline-banner {
    max-width: 1200px;
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: center;
}

.partner-metrics {
    display: grid;
    gap: 18px;
}

.metric-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
}

label span {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 0.95rem;
}

input,
textarea,
select {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(173, 202, 240, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    padding: 14px 16px;
    font: inherit;
}

.contact-card {
    margin-top: 24px;
}

.flash {
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 16px 18px;
    border-radius: 18px;
}

.flash-success {
    background: rgba(65, 213, 146, 0.15);
    border: 1px solid rgba(65, 213, 146, 0.26);
}

.flash-error {
    background: rgba(255, 111, 125, 0.16);
    border: 1px solid rgba(255, 111, 125, 0.28);
}

.site-footer {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 20px;
    padding: 26px;
}

.site-footer h4,
.site-footer h3 {
    margin-bottom: 12px;
}

.site-footer a,
.site-footer p {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}

.page-loader {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(45, 198, 255, 0.24), transparent 20%),
        linear-gradient(160deg, rgba(2, 8, 23, 0.98), rgba(6, 17, 48, 0.98));
    display: grid;
    place-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-core {
    text-align: center;
}

.loader-logo {
    width: min(280px, 56vw);
    margin: 0 auto 24px;
    border-radius: 24px;
    box-shadow: 0 0 40px rgba(45, 198, 255, 0.35);
    animation: float 2.4s infinite ease-in-out;
}

.loader-rings {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.loader-rings span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary-strong));
    animation: bounce 1.2s infinite ease-in-out;
}

.loader-rings span:nth-child(2) {
    animation-delay: 0.15s;
}

.loader-rings span:nth-child(3) {
    animation-delay: 0.3s;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    border-radius: 99px;
    background: #fff;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 24px;
    padding: 24px;
}

.dashboard-sidebar {
    padding: 22px;
    border-radius: 28px;
    height: calc(100vh - 48px);
    position: sticky;
    top: 24px;
}

.dashboard-nav {
    display: grid;
    gap: 8px;
    margin-top: 28px;
}

.dashboard-nav a {
    padding: 14px 16px;
    border-radius: 18px;
    color: var(--muted);
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px;
    margin-bottom: 22px;
}

.dashboard-user {
    text-align: right;
}

.command-hero {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 20px;
    margin-bottom: 20px;
    background:
        radial-gradient(circle at top right, rgba(45, 198, 255, 0.18), transparent 28%),
        rgba(10, 27, 76, 0.72);
}

.command-copy p:last-of-type {
    color: var(--muted);
    line-height: 1.7;
}

.command-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.command-glance {
    display: grid;
    gap: 14px;
}

.glance-card,
.priority-item {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.clickable-card {
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.clickable-card:hover {
    transform: translateY(-4px);
    border-color: rgba(45, 198, 255, 0.4);
    background: rgba(45, 198, 255, 0.09);
}

.glance-card strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
}

.stats-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 20px;
}

.stats-grid.compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-grid-dashboard {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.dashboard-panels,
.entry-layout {
    grid-template-columns: 1fr 1.3fr;
}

.entry-layout.single {
    grid-template-columns: 1fr;
}

.dashboard-panel {
    padding: 24px;
    overflow-x: auto;
}

.priority-panel {
    overflow: hidden;
}

.priority-list {
    display: grid;
    gap: 14px;
}

.analytics-list,
.insight-grid {
    display: grid;
    gap: 16px;
}

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

.circle-metric-card {
    padding: 20px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
}

.circle-metric-card p {
    color: var(--muted);
    margin: 14px 0 0;
}

.circle-chart {
    --percent: 0;
    --chart-color: var(--primary);
    width: 160px;
    height: 160px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: conic-gradient(var(--chart-color) calc(var(--percent) * 1%), rgba(255, 255, 255, 0.08) 0);
    display: grid;
    place-items: center;
    position: relative;
}

.circle-chart::after {
    content: '';
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: rgba(5, 16, 49, 0.96);
    border: 1px solid rgba(143, 232, 255, 0.12);
    position: absolute;
}

.circle-chart-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 4px;
    justify-items: center;
}

.circle-chart-inner strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
}

.circle-chart-inner span {
    color: var(--muted);
    font-size: 0.86rem;
}

.analytics-item {
    display: grid;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(173, 202, 240, 0.12);
}

.analytics-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.analytics-copy strong,
.insight-card strong {
    display: block;
    margin-bottom: 6px;
}

.analytics-copy span,
.insight-card p,
.insight-card span {
    color: var(--muted);
}

.progress-bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(143, 232, 255, 0.12);
}

.progress-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--primary-strong));
}

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

.insight-card {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.insight-card span {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(173, 202, 240, 0.12);
    text-align: left;
    white-space: nowrap;
}

.message-cell {
    max-width: 360px;
    white-space: normal;
}

.inline-form {
    display: inline-flex;
    margin: 0;
}

.table-action {
    border: 1px solid rgba(143, 232, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
}

.table-action.danger {
    border-color: rgba(255, 111, 125, 0.32);
    background: rgba(255, 111, 125, 0.12);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}

.status-good {
    background: rgba(65, 213, 146, 0.18);
    color: #93ffd0;
}

.status-bad {
    background: rgba(255, 111, 125, 0.18);
    color: #ffb1ba;
}

.status-warn {
    background: rgba(255, 196, 87, 0.18);
    color: #ffd78d;
}

.status-neutral {
    background: rgba(173, 202, 240, 0.14);
    color: #d9e9ff;
}

.status-info {
    background: rgba(45, 198, 255, 0.18);
    color: #a7efff;
}

.auth-panel-wide {
    max-width: 1200px;
}

.portal-chooser,
.action-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
    padding: 28px;
}

.portal-chooser {
    margin-bottom: 24px;
}

.portal-role-grid,
.login-cards-grid {
    display: grid;
    gap: 18px;
}

.portal-role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
}

.portal-role-card {
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(143, 232, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    text-align: left;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.portal-role-card strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
}

.portal-role-card.is-current,
.portal-role-card:hover {
    transform: translateY(-4px);
    border-color: rgba(45, 198, 255, 0.45);
    background: rgba(45, 198, 255, 0.1);
}

.login-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.login-card {
    display: none;
}

.login-card.is-current {
    display: grid;
}

.action-panel-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.reveal,
.reveal-delay,
.counter {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-delay {
    transition-delay: 0.15s;
}

.reveal.is-visible,
.reveal-delay.is-visible,
.counter.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.45; }
    50% { transform: scale(1.04); opacity: 0.9; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
    40% { transform: translateY(-8px); opacity: 1; }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
    .hero-panel,
    .split-section,
    .story-strip,
    .contact-layout,
    .partner-showcase,
    .profile-hero,
    .profile-grid,
    .profile-showcase-grid,
    .profile-workflow,
    .profile-portal-links,
    .profile-inline-banner,
    .entry-layout,
    .dashboard-panels,
    .dashboard-highlights,
    .dashboard-layout,
    .site-footer,
    .hero-stats,
    .feature-grid,
    .operations-grid,
    .content-grid,
    .service-grid,
    .stats-grid,
    .stats-grid-dashboard,
    .command-hero,
    .insight-grid,
    .circle-metric-grid,
    .portal-link-grid,
    .portal-role-grid,
    .login-cards-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        height: auto;
        position: static;
    }
}

@media (max-width: 860px) {
    .site-header {
        align-items: flex-start;
        gap: 16px;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero-actions {
        grid-template-columns: 1fr;
    }

    .hero-badges,
    .command-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .action-panel-row {
        flex-direction: column;
        align-items: stretch;
    }
}
