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

:root {
    --bg: #0E141C;
    --bg-soft: #121b26;
    --panel: rgba(18, 27, 38, 0.82);
    --panel-solid: #16212d;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(214, 171, 76, 0.28);
    --text: #f6f7fb;
    --muted: #b8c4d1;
    --gold: #d6ab4c;
    --gold-strong: #f0c962;
    --success: #1e9c63;
    --danger: #d86161;
    --shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    --radius: 24px;
    --radius-sm: 14px;
    --max: 1200px;
    --nav-height: 86px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 10%, rgba(214, 171, 76, 0.14), transparent 26%),
        radial-gradient(circle at 85% 20%, rgba(54, 89, 146, 0.18), transparent 24%),
        linear-gradient(180deg, #0e141c 0%, #111923 45%, #0d141b 100%);
    line-height: 1.6;
}

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

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

.container {
    width: min(calc(100% - 2rem), var(--max));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(14, 20, 28, 0.72);
    border-bottom: 1px solid var(--line);
}

.nav-shell {
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-mark {
    width: 2.7rem;
    height: 2.7rem;
    border: 2px solid rgba(214, 171, 76, 0.85);
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: var(--gold-strong);
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(214, 171, 76, 0.08);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text strong {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-text strong span {
    color: var(--gold-strong);
}

.brand-text small {
    color: var(--muted);
    margin-top: 0.2rem;
    font-size: 0.78rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.site-nav a {
    color: var(--muted);
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 0.25rem;
    width: 44px;
    height: 44px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    margin: 6px 0;
    border-radius: 999px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
}

.hero-overlay,
.parallax-panel::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(14, 20, 28, 0.55), rgba(14, 20, 28, 0.92)),
        radial-gradient(circle at center, rgba(214, 171, 76, 0.12), transparent 32%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.15fr 0.95fr;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    color: var(--gold-strong);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

h1,
h2,
h3 {
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 0 0 1rem;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    max-width: 11ch;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    max-width: 14ch;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.lead {
    font-size: 1.1rem;
    max-width: 62ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1.8rem 0 1.4rem;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.95rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.26);
}

.btn-primary {
    background: linear-gradient(180deg, var(--gold-strong), var(--gold));
    color: #0e141c;
}

.btn-outline {
    border-color: rgba(214, 171, 76, 0.45);
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
}

.btn-small {
    padding: 0.75rem 1rem;
}

.btn-full {
    width: 100%;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 1.3rem 0 0;
    display: grid;
    gap: 0.7rem;
}

.hero-points li {
    position: relative;
    padding-left: 1.3rem;
    color: var(--text);
}

.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--gold-strong);
}

.hero-card,
.form-card,
.callout-box,
.login-card {
    position: relative;
    background: linear-gradient(180deg, rgba(21, 31, 43, 0.95), rgba(15, 23, 32, 0.96));
    border: 1px solid rgba(214, 171, 76, 0.18);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-card {
    padding: 1.3rem;
}

.hero-card::after,
.form-card::after,
.login-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(214, 171, 76, 0.08), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.03));
    pointer-events: none;
}

.hero-logo {
    width: 100%;
    border-radius: 18px;
    border: 1px solid var(--line);
    margin-bottom: 1rem;
}

.stat-grid,
.feature-grid,
.benefit-list {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card,
.feature-card,
.benefit-item,
.workflow-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.25rem;
}

.stat-card strong,
.feature-card h3,
.benefit-item h3,
.workflow-step h3 {
    display: block;
    color: var(--text);
    margin-bottom: 0.45rem;
}

.content-section {
    position: relative;
    padding: 6rem 0;
}

.alt-surface,
.dark-band {
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.parallax-panel {
    overflow: hidden;
}

.parallax-panel::before {
    content: "";
    opacity: 1;
}

.two-col,
.contact-layout,
.benefit-layout {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.section-heading.center,
.section-copy.center {
    text-align: center;
    margin: 0 auto 2rem;
}

.section-heading.center h2,
.section-heading.center p {
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
}

.section-heading.center p {
    max-width: 58ch;
}

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

.workflow-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: rgba(214, 171, 76, 0.13);
    border: 1px solid rgba(214, 171, 76, 0.22);
    color: var(--gold-strong);
    font-weight: 800;
    margin-bottom: 1rem;
}

.dark-band .benefit-layout {
    align-items: center;
}

.callout {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.callout-box {
    text-align: center;
    padding: 3rem;
    max-width: 880px;
    margin: 0 auto;
}

.callout-box h2,
.callout-box p {
    max-width: 16ch;
    margin-left: auto;
    margin-right: auto;
}

.callout-box p {
    max-width: 55ch;
}

.contact-points {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.form-card,
.login-card {
    padding: 1.5rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

label {
    display: grid;
    gap: 0.45rem;
    font-weight: 600;
    color: var(--text);
}

input,
select,
textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(7, 11, 16, 0.62);
    color: var(--text);
    padding: 0.95rem 1rem;
    outline: none;
    font: inherit;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(214, 171, 76, 0.7);
    box-shadow: 0 0 0 4px rgba(214, 171, 76, 0.11);
}

.alert {
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(30, 156, 99, 0.14);
    border: 1px solid rgba(30, 156, 99, 0.35);
    color: #c0f0d8;
}

.alert-error {
    background: rgba(216, 97, 97, 0.14);
    border: 1px solid rgba(216, 97, 97, 0.35);
    color: #ffcbcb;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 2rem 0 3rem;
    background: rgba(0, 0, 0, 0.16);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--muted);
}

.login-body,
.dashboard-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(214, 171, 76, 0.13), transparent 24%),
        linear-gradient(180deg, #0e141c 0%, #121a24 100%);
}

.login-wrap,
.dashboard-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}

.login-panel {
    width: min(100%, 1120px);
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 2rem;
    align-items: center;
}

.login-brand {
    padding-right: 1rem;
}

.login-brand p {
    max-width: 52ch;
    margin-top: 1rem;
}

.login-card h1 {
    font-size: 2.2rem;
    max-width: none;
}

.login-help {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.text-link {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--gold-strong);
    font-weight: 700;
}

.dashboard-header {
    position: sticky;
    top: 0;
    background: rgba(14, 20, 28, 0.82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.dashboard-bar {
    min-height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-shell {
    width: min(100%, 1100px);
    padding: 4rem 0;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 980px) {
    .hero-grid,
    .two-col,
    .benefit-layout,
    .contact-layout,
    .login-panel,
    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 1rem;
        left: 1rem;
        flex-direction: column;
        align-items: stretch;
        background: rgba(15, 23, 32, 0.98);
        border: 1px solid var(--line);
        padding: 1rem;
        border-radius: 18px;
        box-shadow: var(--shadow);
        display: none;
    }

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

    .nav-toggle {
        display: inline-block;
    }

    .hero {
        padding-top: 4rem;
        min-height: auto;
    }

    h1 {
        max-width: 14ch;
    }

    .callout-box {
        padding: 2rem;
    }
}

@media (max-width: 720px) {
    .stat-grid,
    .feature-grid,
    .benefit-list,
    .form-row {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 4.5rem 0;
    }

    .footer-row,
    .dashboard-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-text small {
        display: none;
    }
}
