@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --bg: #07111f;
    --bg-soft: #0d1b2c;
    --panel: rgba(12, 24, 39, 0.78);
    --panel-strong: #10233b;
    --line: rgba(135, 181, 255, 0.16);
    --text: #ecf3ff;
    --muted: #9eb2cb;
    --cyan: #63e6ff;
    --blue: #4f7cff;
    --mint: #85ffc7;
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(99, 230, 255, 0.16), transparent 32%),
        radial-gradient(circle at top right, rgba(79, 124, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #040913 0%, var(--bg) 35%, #081523 100%);
}

a {
    color: inherit;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 56px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
    padding: 16px 20px;
    background: rgba(8, 18, 31, 0.72);
    border: 1px solid var(--line);
    border-radius: 22px;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.brand-lockup {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-kicker,
.eyebrow,
.status-label,
.card-index {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: var(--cyan);
}

.brand-name,
h1,
h2,
h3,
strong {
    font-family: 'Outfit', sans-serif;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.topbar-actions,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.primary-link,
.secondary-link,
.ghost-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.primary-link {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #04101b;
}

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

.ghost-link {
    color: var(--muted);
}

.primary-link:hover,
.secondary-link:hover,
.ghost-link:hover {
    transform: translateY(-1px);
}

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

.hero-copy,
.hero-panel,
.info-card,
.workflow-section,
.system-section {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 28px;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 42px;
}

.hero-copy h1 {
    margin: 14px 0 18px;
    font-size: clamp(2.8rem, 5vw, 4.9rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero-copy p {
    max-width: 58ch;
    margin: 0 0 28px;
    font-size: 1.05rem;
    color: var(--muted);
}

.hero-panel {
    display: grid;
    gap: 14px;
    padding: 22px;
}

.status-card {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.status-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.25rem;
}

.status-card p {
    margin: 8px 0 0;
    color: var(--muted);
}

.grid-section,
.system-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
}

.info-card,
.system-box {
    padding: 22px;
}

.info-card h2,
.workflow-header h2,
.system-box h3 {
    margin: 10px 0 10px;
    font-size: 1.45rem;
}

.info-card p,
.system-box p,
.workflow-step p {
    margin: 0;
    color: var(--muted);
}

.workflow-section,
.system-section {
    margin-top: 22px;
    padding: 28px;
}

.workflow-header {
    margin-bottom: 20px;
}

.workflow-list {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-step {
    padding: 18px;
    border-radius: 20px;
    background: var(--panel-strong);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.workflow-step strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

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

@media (max-width: 980px) {
    .hero,
    .grid-section,
    .workflow-list,
    .system-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 30px 24px;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 20px, 1180px);
        padding-top: 14px;
    }

    .topbar,
    .hero-copy,
    .workflow-section,
    .system-section,
    .info-card {
        border-radius: 20px;
    }

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

    .hero-copy h1 {
        font-size: 2.4rem;
    }
}
