* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: #171717;
    background: #ffffff;
}

body {
    min-height: 100vh;
}

.trial-header {
    height: 68px;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    padding: 0 30px;
    background: #fff;
}

.trial-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #171717;
    text-decoration: none;
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -0.03em;
}

.trial-brand img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.trial-brand > span > span {
    color: #ef6c00;
}

.trial-layout {
    min-height: calc(100vh - 68px);
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
}

.trial-sidebar {
    background: #fafafa;
    border-right: 1px solid #e4e4e4;
}

.trial-sidebar-inner {
    padding: 42px 30px;
    position: sticky;
    top: 0;
}

.trial-steps {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.trial-step {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 650;
}

.trial-step.muted {
    color: #777;
    font-weight: 500;
}

.step-dot {
    width: 14px;
    height: 14px;
    border: 1px solid #d5d5d5;
    border-radius: 50%;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
}

.step-dot.filled {
    background: #171717;
    border-color: #171717;
    color: white;
}

.trial-progress {
    margin-top: 46px;
}

.trial-progress-bar {
    height: 4px;
    background: #dedede;
    border-radius: 10px;
    overflow: hidden;
}

.trial-progress-bar span {
    display: block;
    height: 100%;
    width: 16.666%;
    background: #ef6c00;
}

.trial-progress-bar.step-two span {
    width: 33.333%;
}

.trial-progress-label {
    margin-top: 12px;
    color: #6f6f6f;
    font-size: 13px;
}

.trial-main {
    display: flex;
    justify-content: center;
    padding: 72px 60px 90px;
}

.trial-content {
    width: min(680px, 100%);
}

.trial-kicker {
    color: #777;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

h1 {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin: 0;
}

.trial-lead {
    color: #666;
    font-size: 16px;
    line-height: 1.65;
    max-width: 620px;
    margin: 18px 0 0;
}

.trial-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 24px;
    font-size: 14px;
    font-weight: 650;
}

.trial-error {
    margin-top: 28px;
    padding: 14px 16px;
    background: #fff4f2;
    border: 1px solid #f1c6be;
    border-radius: 7px;
    color: #9c2d20;
    font-size: 14px;
}

.trial-form {
    margin-top: 38px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.trial-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trial-form label > span {
    font-size: 14px;
    font-weight: 700;
}

.trial-form input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    background: #fff;
    font: inherit;
    outline: none;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.trial-form input:focus {
    border-color: #8d8d8d;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .04);
}

.trial-form small {
    color: #777;
    font-size: 12px;
}

.trial-submit {
    height: 52px;
    margin-top: 8px;
    border: 0;
    border-radius: 5px;
    background: #171717;
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.trial-submit:hover {
    background: #292929;
}

.trial-login {
    text-align: center;
    margin-top: 24px;
    color: #777;
    font-size: 14px;
}

.trial-login a {
    color: #171717;
    font-weight: 700;
}

.trial-preview-card {
    margin-top: 38px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 22px;
    display: flex;
    gap: 18px;
}

.preview-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.trial-preview-card strong {
    font-size: 16px;
}

.trial-preview-card p {
    margin: 7px 0 0;
    color: #666;
    line-height: 1.55;
    font-size: 14px;
}

.trial-coming {
    margin-top: 20px;
    color: #777;
    font-size: 13px;
}

.trial-brand-mobile {
    display: none;
}

@media (max-width: 850px) {
    .trial-layout {
        grid-template-columns: 1fr;
    }

    .trial-sidebar {
        border-right: 0;
        border-bottom: 1px solid #e4e4e4;
    }

    .trial-sidebar-inner {
        padding: 20px;
    }

    .trial-steps {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 6px;
    }

    .trial-step {
        justify-content: center;
    }

    .trial-step span:last-child {
        display: none;
    }

    .trial-progress {
        margin-top: 18px;
    }

    .trial-main {
        padding: 42px 22px 70px;
    }
}

@media (max-width: 600px) {
    .trial-header {
        height: 60px;
        padding: 0 18px;
    }

    .trial-layout {
        min-height: calc(100vh - 60px);
    }

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

    .trial-main {
        padding-top: 34px;
    }
}


/* ============================================================
   Trial onboarding – horizontal progress
   ============================================================ */

.trial-onboarding {
    min-height: calc(100vh - 68px);
    background: #fff;
}

.trial-top-progress {
    width: min(1120px, calc(100% - 64px));
    margin: 0 auto;
    padding: 30px 0 32px;
    border-bottom: 1px solid #ececec;
}

.trial-top-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    color: #777;
    font-size: 13px;
}

.trial-top-progress-head > div:first-child {
    color: #333;
    font-weight: 700;
}

.trial-horizontal-steps {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.horizontal-step {
    position: relative;
    flex: 0 0 auto;
    min-width: 70px;
    text-align: center;
    color: #999;
}

.horizontal-marker {
    width: 34px;
    height: 34px;
    margin: 0 auto;
    border: 1px solid #d9d9d9;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 13px;
    font-weight: 750;
    position: relative;
    z-index: 2;
}

.horizontal-label {
    margin-top: 9px;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
}

.horizontal-line {
    flex: 1 1 auto;
    height: 2px;
    min-width: 24px;
    margin-top: 16px;
    background: #e3e3e3;
}

.horizontal-step.done .horizontal-marker {
    background: #171717;
    border-color: #171717;
    color: #fff;
}

.horizontal-step.done .horizontal-label {
    color: #555;
}

.horizontal-step.active .horizontal-marker {
    background: #ef6c00;
    border-color: #ef6c00;
    color: #fff;
    box-shadow: 0 0 0 5px rgba(239, 108, 0, .10);
}

.horizontal-step.active .horizontal-label {
    color: #171717;
    font-weight: 800;
}

.horizontal-line.done {
    background: #171717;
}


/* ============================================================
   Trial – company description
   ============================================================ */

.trial-company-main {
    display: flex;
    justify-content: center;
    padding: 58px 32px 90px;
}

.trial-company-content {
    width: min(800px, 100%);
}

.trial-company-lead {
    max-width: 760px;
    font-size: 18px;
    color: #4f4f4f;
}

.trial-company-copy {
    max-width: 760px;
    margin: 14px 0 0;
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.trial-company-form {
    margin-top: 36px;
}

.trial-company-form label {
    display: block;
}

.trial-field-title {
    display: block;
    color: #171717;
    font-size: 15px;
    font-weight: 750;
}

.trial-field-help {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

.trial-company-form textarea {
    width: 100%;
    min-height: 245px;
    margin-top: 12px;
    padding: 17px 18px;
    resize: vertical;
    border: 1px solid #d5d5d5;
    border-radius: 7px;
    background: #fff;
    color: #171717;
    font: inherit;
    font-size: 15px;
    line-height: 1.6;
    outline: none;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.trial-company-form textarea::placeholder {
    color: #aaa;
}

.trial-company-form textarea:focus {
    border-color: #888;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, .04);
}

.trial-company-hint {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 18px;
    padding: 15px 17px;
    border: 1px solid #ececec;
    border-radius: 7px;
    background: #fafafa;
}

.trial-hint-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff3e8;
    color: #ef6c00;
    font-size: 14px;
}

.trial-company-hint strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
}

.trial-company-hint div > span {
    display: block;
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

.trial-company-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 25px;
}

.trial-company-submit {
    width: auto;
    min-width: 220px;
    margin-top: 0;
    padding-left: 24px;
    padding-right: 24px;
}


/* ============================================================
   Trial onboarding – responsive
   ============================================================ */

@media (max-width: 850px) {

    .trial-top-progress {
        width: min(100% - 40px, 760px);
        padding-top: 24px;
        overflow: hidden;
    }

    .trial-top-progress-head {
        margin-bottom: 20px;
    }

    .horizontal-step {
        min-width: 42px;
    }

    .horizontal-marker {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .horizontal-line {
        margin-top: 14px;
        min-width: 8px;
    }

    .horizontal-label {
        display: none;
    }

    .horizontal-step.active {
        min-width: 92px;
    }

    .horizontal-step.active .horizontal-label {
        display: block;
        font-size: 11px;
    }

    .trial-company-main {
        padding: 42px 22px 70px;
    }

}

@media (max-width: 600px) {

    .trial-onboarding {
        min-height: calc(100vh - 60px);
    }

    .trial-top-progress {
        width: calc(100% - 32px);
        padding: 20px 0 23px;
    }

    .trial-top-progress-head > div:first-child {
        display: none;
    }

    .trial-top-progress-head {
        justify-content: flex-end;
        margin-bottom: 16px;
    }

    .horizontal-step {
        min-width: 30px;
    }

    .horizontal-step.active {
        min-width: 72px;
    }

    .horizontal-marker {
        width: 28px;
        height: 28px;
    }

    .horizontal-line {
        margin-top: 13px;
        min-width: 5px;
    }

    .trial-company-main {
        padding-top: 34px;
    }

    .trial-company-lead {
        font-size: 16px;
    }

    .trial-company-form textarea {
        min-height: 280px;
    }

    .trial-company-actions {
        display: block;
    }

    .trial-company-submit {
        width: 100%;
    }

}


/* =========================================================
   Nuvraqel Trial AI
   ========================================================= */

.trial-ai-error {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0 0 22px;
    padding: 16px 18px;
    border: 1px solid rgba(190, 40, 40, .18);
    border-radius: 14px;
    background: rgba(190, 40, 40, .055);
    font-size: 14px;
    line-height: 1.5;
}

.trial-ai-error strong {
    font-size: 15px;
}

.trial-ai-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(133, 62, 238, .12),
            transparent 35%
        ),
        rgba(249, 247, 252, .97);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.trial-ai-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

body.trial-ai-running {
    overflow: hidden;
}

.trial-ai-stage {
    width: min(760px, 100%);
    text-align: center;
}

.trial-ai-orbit {
    position: relative;
    width: 360px;
    height: 270px;
    margin: 0 auto 12px;
}

.trial-ai-core {
    position: absolute;
    top: 82px;
    left: 50%;
    width: 108px;
    height: 108px;
    transform: translateX(-50%);
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow:
        0 24px 70px rgba(45, 23, 87, .14),
        0 0 0 1px rgba(66, 34, 126, .06);
    animation:
        trialCorePulse 2.2s ease-in-out infinite;
}

.trial-ai-spark {
    font-size: 45px;
    line-height: 1;
}

.trial-ai-chip {
    position: absolute;
    padding: 9px 13px;
    border-radius: 999px;
    background: #fff;
    box-shadow:
        0 10px 28px rgba(54, 33, 97, .10);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    animation:
        trialChipFloat 3s ease-in-out infinite;
}

.trial-ai-chip.chip-a {
    top: 28px;
    left: 8px;
}

.trial-ai-chip.chip-b {
    top: 10px;
    right: 38px;
    animation-delay: .35s;
}

.trial-ai-chip.chip-c {
    top: 125px;
    right: 0;
    animation-delay: .7s;
}

.trial-ai-chip.chip-d {
    bottom: 22px;
    right: 45px;
    animation-delay: 1.05s;
}

.trial-ai-chip.chip-e {
    bottom: 32px;
    left: 8px;
    animation-delay: 1.4s;
}

.trial-ai-copy {
    max-width: 620px;
    margin: 0 auto;
}

.trial-ai-copy h2 {
    margin: 10px 0 10px;
    font-size: clamp(27px, 4vw, 39px);
    letter-spacing: -.035em;
}

.trial-ai-copy p {
    min-height: 28px;
    margin: 0;
    font-size: 17px;
    font-weight: 650;
}

.trial-ai-copy small {
    display: block;
    margin-top: 14px;
    opacity: .62;
}

.trial-ai-progress {
    overflow: hidden;
    width: min(460px, 90%);
    height: 7px;
    margin: 22px auto 0;
    border-radius: 999px;
    background: rgba(59, 34, 116, .09);
}

.trial-ai-progress span {
    display: block;
    width: 10%;
    height: 100%;
    border-radius: inherit;
    background: currentColor;
    transition: width 1.1s ease;
}

@keyframes trialCorePulse {
    0%,
    100% {
        transform:
            translateX(-50%)
            scale(1);
    }

    50% {
        transform:
            translateX(-50%)
            scale(1.06);
    }
}

@keyframes trialChipFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* =========================================================
   Nuvraqel Trial Step 3
   ========================================================= */

.trial-profile-main {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 54px 0 80px;
}

.trial-profile-intro {
    max-width: 760px;
    margin-bottom: 32px;
}

.trial-profile-intro h1 {
    margin: 9px 0 13px;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.trial-profile-intro > p {
    max-width: 690px;
    font-size: 17px;
    line-height: 1.65;
    opacity: .76;
}

.trial-summary-box {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 25px;
    padding: 18px 20px;
    border-radius: 15px;
    background: rgba(109, 47, 203, .06);
    line-height: 1.55;
}

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

.trial-profile-card {
    padding: 25px;
    border: 1px solid rgba(54, 33, 97, .10);
    border-radius: 20px;
    background: #fff;
    box-shadow:
        0 12px 40px rgba(54, 33, 97, .055);
}

.trial-profile-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.trial-profile-number {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    opacity: .52;
}

.trial-profile-card h2 {
    margin: 0;
    font-size: 23px;
    letter-spacing: -.025em;
}

.trial-profile-check {
    display: flex;
    flex: 0 0 auto;
    width: 31px;
    height: 31px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(35, 150, 90, .11);
    font-weight: 800;
}

.trial-profile-description {
    margin: 15px 0;
    line-height: 1.55;
}

.trial-profile-reason {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 13px 15px;
    border-radius: 12px;
    background: rgba(54, 33, 97, .035);
    font-size: 13px;
    line-height: 1.5;
}

.trial-profile-section {
    margin-top: 22px;
}

.trial-profile-section h3 {
    margin: 0 0 10px;
    font-size: 13px;
    letter-spacing: .02em;
}

.trial-cpv-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trial-cpv-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 12px;
    border: 1px solid rgba(54, 33, 97, .07);
    border-radius: 11px;
}

.trial-cpv-row > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trial-cpv-row strong {
    font-size: 13px;
}

.trial-cpv-row span {
    font-size: 12px;
    line-height: 1.35;
    opacity: .67;
}

.trial-cpv-relevance {
    flex: 0 0 auto;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(86, 36, 164, .07);
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .04em;
}

.relevance-core {
    background: rgba(35, 150, 90, .11);
}

.relevance-discovery {
    opacity: .65;
}

.trial-keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.trial-keyword {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border-radius: 9px;
    background: rgba(66, 34, 126, .055);
    font-size: 12px;
    font-weight: 650;
}

.trial-keyword small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 18px;
    padding: 0 4px;
    border-radius: 6px;
    background: rgba(66, 34, 126, .08);
    font-size: 9px;
}

.trial-keyword-negative {
    background: rgba(180, 35, 24, .07);
    color: #9f1d14;
}

.trial-keyword-negative small {
    background: rgba(180, 35, 24, .12);
}

.trial-profile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
}

.trial-secondary-button {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 17px;
    border: 1px solid rgba(54, 33, 97, .14);
    border-radius: 11px;
    background: #fff;
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.trial-profile-actions button[disabled] {
    opacity: .45;
    cursor: not-allowed;
}

.trial-profile-preview-note {
    margin-top: 13px;
    text-align: right;
    font-size: 12px;
    opacity: .55;
}

@media (max-width: 820px) {

    .trial-profile-grid {
        grid-template-columns: 1fr;
    }

    .trial-profile-main {
        width:
            min(
                100% - 28px,
                680px
            );
        padding-top: 35px;
    }

    .trial-ai-orbit {
        width: 310px;
        transform: scale(.92);
    }

    .trial-profile-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .trial-secondary-button,
    .trial-profile-actions .trial-submit {
        justify-content: center;
        width: 100%;
    }

    .trial-profile-preview-note {
        text-align: center;
    }
}


/* Zabunio-Logo */
.trial-brand-logo {
    display: block;
    height: 30px;
    width: auto;
}
