:root {
    --hhd-bg: #ffffff;
    --hhd-bg-soft: #f5f7fb;
    --hhd-bg-dark: #0b1220;
    --hhd-text: #111827;
    --hhd-text-muted: #5f6b7a;
    --hhd-text-soft: #d7deea;
    --hhd-border: #dde4ef;
    --hhd-primary: #2563eb;
    --hhd-primary-dark: #1d4ed8;
    --hhd-primary-soft: #eaf1ff;
    --hhd-surface: rgba(255, 255, 255, 0.86);
    --hhd-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    --hhd-radius-lg: 28px;
    --hhd-radius-md: 18px;
    --hhd-radius-sm: 12px;
    --hhd-max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--hhd-bg);
    color: var(--hhd-text);
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.hhd-public-layout {
    min-height: 100vh;
    background: var(--hhd-bg);
}

.hhd-container {
    width: min(100% - 40px, var(--hhd-max-width));
    margin: 0 auto;
}

.hhd-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(221, 228, 239, 0.72);
}

.hhd-header-inner {
    width: min(100% - 40px, var(--hhd-max-width));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hhd-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hhd-brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #0f172a);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
}

.hhd-brand-text {
    white-space: nowrap;
}

.hhd-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--hhd-text-muted);
    font-size: 0.95rem;
}

    .hhd-nav a {
        transition: color 0.18s ease;
    }

        .hhd-nav a:hover {
            color: var(--hhd-text);
        }

.hhd-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hhd-link-button {
    color: var(--hhd-text);
    font-weight: 600;
    font-size: 0.94rem;
}

.hhd-primary-button,
.hhd-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.hhd-primary-button {
    color: #ffffff;
    background: var(--hhd-primary);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

    .hhd-primary-button:hover {
        background: var(--hhd-primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 18px 36px rgba(37, 99, 235, 0.3);
    }

.hhd-secondary-button {
    color: var(--hhd-text);
    background: #ffffff;
    border: 1px solid var(--hhd-border);
}

    .hhd-secondary-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    }

.hhd-primary-button-small {
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.9rem;
}

.hhd-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 82px;
}

.hhd-hero-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 15%, rgba(37, 99, 235, 0.16), transparent 32%), radial-gradient(circle at 88% 20%, rgba(14, 165, 233, 0.14), transparent 30%), linear-gradient(180deg, #f8fbff 0%, #ffffff 66%);
    pointer-events: none;
}

.hhd-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 48px;
    align-items: center;
}

.hhd-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--hhd-primary-dark);
    background: var(--hhd-primary-soft);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hhd-eyebrow-dark {
    color: #bfdbfe;
    background: rgba(37, 99, 235, 0.22);
}

.hhd-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(3rem, 6vw, 5.7rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
}

.hhd-hero-subtitle {
    max-width: 720px;
    margin: 26px 0 0;
    color: var(--hhd-text-muted);
    font-size: 1.23rem;
    line-height: 1.65;
}

.hhd-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.hhd-trust-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

    .hhd-trust-row span {
        padding: 9px 12px;
        border: 1px solid var(--hhd-border);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.72);
        color: var(--hhd-text-muted);
        font-size: 0.88rem;
        font-weight: 600;
    }

.hhd-hero-panel {
    padding: 28px;
    border: 1px solid rgba(221, 228, 239, 0.9);
    border-radius: var(--hhd-radius-lg);
    background: var(--hhd-surface);
    box-shadow: var(--hhd-shadow);
    backdrop-filter: blur(20px);
}

.hhd-panel-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.hhd-panel-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--hhd-primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hhd-panel-top h2 {
    margin: 0;
    font-size: 1.55rem;
    letter-spacing: -0.035em;
}

.hhd-status-pill {
    padding: 7px 11px;
    border-radius: 999px;
    color: #047857;
    background: #d1fae5;
    font-size: 0.78rem;
    font-weight: 800;
}

.hhd-panel-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

    .hhd-panel-metrics div {
        padding: 18px;
        border: 1px solid var(--hhd-border);
        border-radius: var(--hhd-radius-md);
        background: #ffffff;
    }

    .hhd-panel-metrics strong {
        display: block;
        margin-bottom: 6px;
        font-size: 1.06rem;
    }

    .hhd-panel-metrics span {
        color: var(--hhd-text-muted);
        font-size: 0.9rem;
        line-height: 1.45;
    }

.hhd-panel-flow {
    margin-top: 18px;
    padding: 16px;
    border-radius: var(--hhd-radius-md);
    background: #0f172a;
    color: #ffffff;
    display: grid;
    gap: 10px;
}

    .hhd-panel-flow div {
        padding: 12px 14px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        color: #e5edf7;
        font-weight: 600;
    }

.hhd-section {
    padding: 86px 0;
}

.hhd-section-soft {
    background: var(--hhd-bg-soft);
}

.hhd-section-dark {
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.28), transparent 32%), var(--hhd-bg-dark);
    color: #ffffff;
}

.hhd-section-heading {
    max-width: 780px;
    margin-bottom: 40px;
}

    .hhd-section-heading h2,
    .hhd-split h2,
    .hhd-cta h2 {
        margin: 0;
        font-size: clamp(2.1rem, 4vw, 3.65rem);
        line-height: 1.05;
        letter-spacing: -0.055em;
    }

    .hhd-section-heading p,
    .hhd-split p,
    .hhd-cta p {
        margin: 20px 0 0;
        color: var(--hhd-text-muted);
        font-size: 1.08rem;
        line-height: 1.7;
    }

.hhd-section-dark .hhd-split p {
    color: var(--hhd-text-soft);
}

.hhd-card-grid {
    display: grid;
    gap: 20px;
}

.hhd-card-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hhd-card-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hhd-card {
    min-height: 250px;
    padding: 26px;
    border: 1px solid var(--hhd-border);
    border-radius: var(--hhd-radius-lg);
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.05);
}

.hhd-card-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 15px;
    color: var(--hhd-primary-dark);
    background: var(--hhd-primary-soft);
    font-weight: 900;
}

.hhd-card h3,
.hhd-solution-card h3,
.hhd-step h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

.hhd-card p,
.hhd-solution-card p,
.hhd-step p {
    margin: 0;
    color: var(--hhd-text-muted);
    line-height: 1.65;
}

.hhd-card-highlight {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.hhd-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 52px;
    align-items: center;
}

.hhd-solution-stack {
    display: grid;
    gap: 16px;
}

.hhd-solution-card {
    padding: 24px;
    border: 1px solid var(--hhd-border);
    border-radius: var(--hhd-radius-lg);
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.05);
}

    .hhd-solution-card span {
        display: inline-flex;
        margin-bottom: 12px;
        color: var(--hhd-primary);
        font-weight: 800;
        font-size: 0.8rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

.hhd-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.hhd-step {
    position: relative;
    padding: 26px;
    border: 1px solid var(--hhd-border);
    border-radius: var(--hhd-radius-lg);
    background: #ffffff;
}

    .hhd-step span {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        margin-bottom: 22px;
        border-radius: 50%;
        color: #ffffff;
        background: var(--hhd-primary);
        font-weight: 900;
    }

.hhd-security-list {
    display: grid;
    gap: 14px;
}

    .hhd-security-list div {
        padding: 20px;
        border: 1px solid rgba(215, 222, 234, 0.18);
        border-radius: var(--hhd-radius-md);
        background: rgba(255, 255, 255, 0.07);
    }

    .hhd-security-list strong {
        display: block;
        margin-bottom: 6px;
    }

    .hhd-security-list span {
        color: var(--hhd-text-soft);
        line-height: 1.55;
    }

.hhd-billing .hhd-section-heading {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hhd-cta-section {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

.hhd-cta {
    padding: 56px;
    border-radius: 36px;
    background: radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.16), transparent 26%), radial-gradient(circle at 85% 30%, rgba(14, 165, 233, 0.14), transparent 28%), #ffffff;
    border: 1px solid var(--hhd-border);
    box-shadow: var(--hhd-shadow);
    text-align: center;
}

    .hhd-cta p {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }

.hhd-cta-actions {
    justify-content: center;
}

.hhd-footer {
    padding: 36px 0;
    border-top: 1px solid var(--hhd-border);
    background: #ffffff;
}

.hhd-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.hhd-footer p {
    max-width: 520px;
    margin: 8px 0 0;
    color: var(--hhd-text-muted);
    line-height: 1.55;
}

.hhd-footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--hhd-text-muted);
    font-weight: 600;
}

#blazor-error-ui {
    color-scheme: light only;
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 1024px) {
    .hhd-nav,
    .hhd-header-actions {
        display: none;
    }

    .hhd-hero-grid,
    .hhd-split {
        grid-template-columns: 1fr;
    }

    .hhd-card-grid-4,
    .hhd-card-grid-3,
    .hhd-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .hhd-container,
    .hhd-header-inner {
        width: min(100% - 28px, var(--hhd-max-width));
    }

    .hhd-hero {
        padding: 64px 0 56px;
    }

        .hhd-hero h1 {
            font-size: clamp(2.55rem, 13vw, 4rem);
        }

    .hhd-hero-subtitle {
        font-size: 1.05rem;
    }

    .hhd-card-grid-4,
    .hhd-card-grid-3,
    .hhd-steps,
    .hhd-panel-metrics {
        grid-template-columns: 1fr;
    }

    .hhd-card,
    .hhd-hero-panel,
    .hhd-cta {
        border-radius: 22px;
    }

    .hhd-cta {
        padding: 34px 22px;
    }

    .hhd-footer-inner {
        flex-direction: column;
    }

    .hhd-brand-text {
        font-size: 0.95rem;
    }
}


.hhd-signup-hero {
    min-height: calc(100vh - 76px);
    padding: 78px 0;
    background: radial-gradient(circle at 18% 16%, rgba(37, 99, 235, 0.16), transparent 30%), radial-gradient(circle at 88% 20%, rgba(14, 165, 233, 0.12), transparent 28%), linear-gradient(180deg, #f8fbff 0%, #ffffff 70%);
}

.hhd-signup-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 52px;
    align-items: start;
}

.hhd-signup-copy h1 {
    margin: 0;
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.065em;
}

.hhd-signup-copy p {
    margin: 24px 0 0;
    color: var(--hhd-text-muted);
    font-size: 1.16rem;
    line-height: 1.7;
}

.hhd-signup-points {
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

    .hhd-signup-points div {
        padding: 18px;
        border: 1px solid var(--hhd-border);
        border-radius: var(--hhd-radius-md);
        background: rgba(255, 255, 255, 0.82);
    }

    .hhd-signup-points strong {
        display: block;
        margin-bottom: 5px;
    }

    .hhd-signup-points span {
        color: var(--hhd-text-muted);
        line-height: 1.55;
    }

.hhd-signup-card {
    padding: 32px;
    border: 1px solid var(--hhd-border);
    border-radius: var(--hhd-radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--hhd-shadow);
    backdrop-filter: blur(18px);
}

    .hhd-signup-card h2 {
        margin: 0 0 24px;
        font-size: 1.65rem;
        letter-spacing: -0.035em;
    }

.hhd-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hhd-form-field {
    display: grid;
    gap: 7px;
}

.hhd-form-field-full {
    grid-column: 1 / -1;
}

.hhd-form-field label {
    color: var(--hhd-text);
    font-size: 0.92rem;
    font-weight: 700;
}

.hhd-form-field input,
.hhd-form-field select,
.hhd-form-field textarea {
    width: 100%;
    border: 1px solid var(--hhd-border);
    border-radius: 14px;
    padding: 12px 14px;
    color: var(--hhd-text);
    background: #ffffff;
    font: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

    .hhd-form-field input:focus,
    .hhd-form-field select:focus,
    .hhd-form-field textarea:focus {
        border-color: rgba(37, 99, 235, 0.75);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    }

.hhd-checkbox-row {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--hhd-text-muted);
    line-height: 1.45;
    font-size: 0.95rem;
}

    .hhd-checkbox-row input {
        margin-top: 3px;
    }

.hhd-form-error {
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 14px;
    color: #991b1b;
    background: #fff1f2;
    line-height: 1.45;
}

.hhd-submit-button {
    width: 100%;
    margin-top: 22px;
    border: 0;
    cursor: pointer;
}

    .hhd-submit-button:disabled {
        cursor: default;
        opacity: 0.72;
        transform: none;
    }

.hhd-success-panel {
    padding: 24px;
    border-radius: var(--hhd-radius-md);
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.hhd-success-badge {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hhd-success-panel h3 {
    margin: 0 0 10px;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
}

.hhd-success-panel p {
    margin: 0 0 16px;
    color: var(--hhd-text-muted);
    line-height: 1.6;
}

.hhd-success-panel dl {
    display: grid;
    gap: 8px;
    margin: 18px 0 24px;
}

.hhd-success-panel dt {
    font-weight: 800;
}

.hhd-success-panel dd {
    margin: 0;
    color: var(--hhd-text-muted);
    overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
    .hhd-signup-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .hhd-signup-hero {
        padding: 48px 0;
    }

    .hhd-form-grid {
        grid-template-columns: 1fr;
    }

    .hhd-signup-card {
        padding: 24px;
    }
}

