:root {
    --ti-navy: #071f3b;
    --ti-navy-2: #0b315d;
    --ti-blue: #1268d8;
    --ti-blue-2: #2f8dff;
    --ti-sky: #eaf5ff;
    --ti-sky-2: #f6fbff;
    --ti-ink: #102033;
    --ti-muted: #607489;
    --ti-line: #dce9f5;
    --ti-white: #ffffff;
    --ti-green: #22a06b;
    --ti-shadow: 0 24px 70px rgba(7, 31, 59, 0.12);
    --ti-radius: 8px;
}

html {
    scroll-behavior: smooth;
}

.ti-public-body {
    margin: 0;
    color: var(--ti-ink);
    background:
        radial-gradient(circle at 12% 0%, rgba(47, 141, 255, 0.12), transparent 28rem),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 22rem);
    font-family: Inter, Arial, sans-serif;
    letter-spacing: 0;
}

.ti-public-body a {
    color: var(--ti-blue);
    text-decoration: none;
}

.ti-public-body a:hover {
    color: var(--ti-navy);
}

.ti-skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 3000;
    padding: 10px 14px;
    border-radius: 6px;
    color: var(--ti-white);
    background: var(--ti-navy);
    transition: top 0.2s ease;
}

.ti-skip-link:focus {
    top: 12px;
}

.ti-public-main {
    padding-top: 76px;
}

.ti-public-nav {
    min-height: 76px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(18, 104, 216, 0.1);
    backdrop-filter: blur(18px);
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.ti-public-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 34px rgba(7, 31, 59, 0.1);
}

.ti-brand img {
    display: block;
    width: 172px;
    max-height: 46px;
    object-fit: contain;
}

.ti-public-nav .navbar-collapse {
    align-items: center;
}

.ti-public-nav .navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.ti-public-nav .nav-item {
    list-style: none;
}

.ti-public-nav .nav-link {
    margin: 0 2px;
    padding: 10px 13px !important;
    border-radius: 999px;
    color: #28445f !important;
    font-size: 0.94rem;
    font-weight: 700;
}

.ti-public-nav .nav-link:hover,
.ti-public-nav .nav-link.active {
    color: var(--ti-blue) !important;
    background: var(--ti-sky);
}

.ti-toggler {
    border: 1px solid var(--ti-line);
    border-radius: 8px;
    color: var(--ti-navy);
    font-size: 1.45rem;
    background: var(--ti-white);
}

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

.ti-login-link,
.ti-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.ti-login-link {
    padding: 9px 16px;
    border: 1px solid var(--ti-line);
    color: var(--ti-navy);
    background: var(--ti-white);
}

.ti-login-link:hover {
    color: var(--ti-blue);
    border-color: rgba(18, 104, 216, 0.38);
    background: var(--ti-sky-2);
}

.ti-btn {
    padding: 12px 20px;
    border: 1px solid transparent;
}

.ti-btn:hover {
    transform: translateY(-1px);
}

.ti-btn-sm {
    min-height: 44px;
    padding: 9px 17px;
}

.ti-btn-primary {
    color: var(--ti-white) !important;
    border-color: var(--ti-blue) !important;
    background: linear-gradient(135deg, var(--ti-blue), var(--ti-navy-2)) !important;
    box-shadow: 0 14px 28px rgba(18, 104, 216, 0.22);
}

.ti-btn-primary:hover {
    box-shadow: 0 18px 38px rgba(18, 104, 216, 0.28);
}

.ti-btn-secondary {
    color: var(--ti-navy) !important;
    border-color: rgba(18, 104, 216, 0.2) !important;
    background: rgba(255, 255, 255, 0.82) !important;
}

.ti-btn-secondary:hover {
    color: var(--ti-blue) !important;
    background: var(--ti-white) !important;
}

.ti-section {
    padding: 72px 0;
}

.ti-section-soft {
    background: linear-gradient(180deg, var(--ti-sky-2), #ffffff);
}

.ti-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--ti-blue);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ti-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: var(--ti-blue-2);
}

.ti-title {
    color: var(--ti-navy);
    font-weight: 850;
    letter-spacing: 0;
}

.ti-lead {
    color: var(--ti-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.ti-hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    padding: 58px 0 50px;
}

.ti-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(18, 104, 216, 0.12), transparent 42%),
        radial-gradient(circle at 78% 16%, rgba(47, 141, 255, 0.18), transparent 24rem);
    pointer-events: none;
}

.ti-hero .container {
    position: relative;
    z-index: 1;
}

.ti-hero h1 {
    max-width: 820px;
    color: var(--ti-navy);
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: 0;
}

.ti-hero p {
    max-width: 700px;
    color: #445f78;
    font-size: 1.08rem;
    line-height: 1.75;
}

.ti-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.ti-trust-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 42px;
}

.ti-trust-item {
    min-height: 106px;
    padding: 18px;
    border: 1px solid rgba(18, 104, 216, 0.12);
    border-radius: var(--ti-radius);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 12px 34px rgba(7, 31, 59, 0.06);
}

.ti-trust-item strong {
    display: block;
    color: var(--ti-navy);
    font-size: 1.45rem;
    font-weight: 850;
}

.ti-trust-item span {
    color: var(--ti-muted);
    font-size: 0.92rem;
}

.ti-product-shell {
    position: relative;
    padding: 16px;
    border: 1px solid rgba(18, 104, 216, 0.15);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--ti-shadow);
}

.ti-product-window {
    overflow: hidden;
    border-radius: 10px;
    background: var(--ti-white);
}

.ti-window-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--ti-line);
}

.ti-window-dots {
    display: flex;
    gap: 8px;
}

.ti-window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ti-sky);
}

.ti-window-body {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 16px;
    padding: 18px;
}

.ti-metric {
    padding: 16px;
    border: 1px solid var(--ti-line);
    border-radius: var(--ti-radius);
    background: var(--ti-sky-2);
}

.ti-metric label {
    color: var(--ti-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.ti-metric strong {
    display: block;
    color: var(--ti-navy);
    font-size: 1.28rem;
}

.ti-bars {
    display: grid;
    gap: 10px;
    align-content: end;
}

.ti-bar {
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ti-blue), var(--ti-sky));
}

.ti-bar:nth-child(2) {
    width: 78%;
}

.ti-bar:nth-child(3) {
    width: 62%;
}

.ti-grid {
    display: grid;
    gap: 22px;
}

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

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

.ti-card {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--ti-line);
    border-radius: var(--ti-radius);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 38px rgba(7, 31, 59, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ti-card:hover {
    transform: translateY(-3px);
    border-color: rgba(18, 104, 216, 0.26);
    box-shadow: 0 20px 52px rgba(7, 31, 59, 0.1);
}

.ti-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    border-radius: var(--ti-radius);
    color: var(--ti-blue);
    background: var(--ti-sky);
    font-size: 1.45rem;
}

.ti-card h2,
.ti-card h3 {
    color: var(--ti-navy);
    font-size: 1.28rem;
    font-weight: 850;
}

.ti-card p,
.ti-card li {
    color: var(--ti-muted);
    line-height: 1.68;
}

.ti-card ul {
    padding-left: 1.1rem;
    margin-bottom: 0;
}

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

.ti-benefit {
    padding: 18px;
    border-radius: var(--ti-radius);
    color: var(--ti-navy);
    background: var(--ti-white);
    border: 1px solid rgba(18, 104, 216, 0.12);
}

.ti-band {
    padding: 46px;
    border-radius: 14px;
    color: var(--ti-white);
    background:
        radial-gradient(circle at 86% 0%, rgba(255, 255, 255, 0.2), transparent 18rem),
        linear-gradient(135deg, var(--ti-navy), var(--ti-blue));
    box-shadow: var(--ti-shadow);
}

.ti-band h2,
.ti-band h3 {
    color: var(--ti-white);
    font-weight: 850;
}

.ti-band p {
    color: rgba(255, 255, 255, 0.84);
}

.ti-workflow {
    counter-reset: step;
}

.ti-workflow .ti-card::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: var(--ti-radius);
    color: var(--ti-white);
    background: var(--ti-blue);
    font-weight: 850;
}

.ti-screenshot {
    overflow: hidden;
    border: 1px solid var(--ti-line);
    border-radius: 14px;
    background: var(--ti-white);
    box-shadow: var(--ti-shadow);
}

.ti-screenshot img {
    display: block;
    width: 100%;
    height: auto;
}

.ti-ops-visual {
    padding: 24px;
    border: 1px solid var(--ti-line);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(18, 104, 216, 0.12), transparent 46%),
        var(--ti-white);
    box-shadow: var(--ti-shadow);
}

.ti-ops-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    color: var(--ti-muted);
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ti-ops-header strong {
    color: var(--ti-navy);
    font-size: 1rem;
    text-transform: none;
}

.ti-ops-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ti-ops-card {
    min-height: 132px;
    padding: 18px;
    border: 1px solid rgba(18, 104, 216, 0.14);
    border-radius: var(--ti-radius);
    background: rgba(255, 255, 255, 0.84);
}

.ti-ops-card-large,
.ti-ops-card-wide {
    grid-column: span 2;
}

.ti-ops-card span[class^="ph-"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 10px;
    color: var(--ti-blue);
    background: rgba(18, 104, 216, 0.1);
    font-size: 1.45rem;
}

.ti-ops-card label {
    display: block;
    margin-bottom: 5px;
    color: var(--ti-muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ti-ops-card strong {
    display: block;
    color: var(--ti-navy);
    font-size: 1.05rem;
    line-height: 1.35;
}

.ti-ops-progress {
    height: 10px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(11, 79, 138, 0.12);
}

.ti-ops-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ti-blue), var(--ti-green));
}

.ti-form {
    padding: 32px;
    border: 1px solid var(--ti-line);
    border-radius: var(--ti-radius);
    background: var(--ti-white);
    box-shadow: var(--ti-shadow);
}

.ti-form .form-label {
    color: var(--ti-navy);
    font-weight: 800;
}

.ti-form .form-label span {
    color: var(--ti-muted);
    font-weight: 700;
}

.ti-form .form-control,
.ti-form .input-group-text {
    border-color: var(--ti-line);
    border-radius: var(--ti-radius);
}

.ti-form .form-control:focus {
    border-color: var(--ti-blue);
    box-shadow: 0 0 0 0.22rem rgba(18, 104, 216, 0.16);
}

.ti-form .input-validation-error {
    border-color: #d84d4d;
}

.ti-field-error,
.field-validation-error {
    display: block;
    margin-top: 6px;
    color: #b83232;
    font-size: 0.88rem;
    font-weight: 700;
}

.ti-validation-summary.validation-summary-errors,
.ti-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: var(--ti-radius);
    font-weight: 750;
}

.ti-validation-summary.validation-summary-errors {
    color: #8a1f1f;
    border: 1px solid rgba(216, 77, 77, 0.28);
    background: #fff4f4;
}

.ti-validation-summary ul {
    margin: 0;
    padding-left: 1.1rem;
}

.ti-alert-success {
    color: #0f5c43;
    border: 1px solid rgba(34, 160, 107, 0.28);
    background: #effaf5;
}

.accordion-item {
    border-color: var(--ti-line);
}

.accordion-button {
    color: var(--ti-navy);
    font-weight: 850;
}

.accordion-button:not(.collapsed) {
    color: var(--ti-navy);
    background: var(--ti-sky);
}

.ti-public-footer {
    padding: 64px 0 24px;
    color: rgba(255, 255, 255, 0.82);
    background: var(--ti-navy);
}

.ti-public-footer img {
    display: block;
    width: 172px;
    max-height: 56px;
    object-fit: contain;
    border-radius: var(--ti-radius);
    background: var(--ti-white);
    padding: 6px;
}

.ti-public-footer h2 {
    margin-bottom: 16px;
    color: var(--ti-white);
    font-size: 1rem;
    font-weight: 850;
}

.ti-public-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.ti-public-footer li {
    margin-bottom: 10px;
}

.ti-public-footer a {
    color: rgba(255, 255, 255, 0.82);
}

.ti-public-footer a:hover {
    color: var(--ti-white);
}

.ti-social-links {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.ti-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.ti-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ti-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ti-footer-bottom p {
    margin: 0;
}

.ti-scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: var(--ti-radius);
    color: var(--ti-white);
    background: var(--ti-blue);
    box-shadow: 0 16px 30px rgba(7, 31, 59, 0.22);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ti-scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.ti-scroll-top:hover {
    transform: translateY(-2px);
}

.ti-page-hero {
    padding: 62px 0 48px;
    background: linear-gradient(135deg, var(--ti-sky-2), var(--ti-white));
    border-bottom: 1px solid var(--ti-line);
}

.ti-page-hero h1 {
    max-width: 900px;
    color: var(--ti-navy);
    font-size: clamp(2.2rem, 4.5vw, 3.25rem);
    font-weight: 850;
    line-height: 1.04;
}

.ti-page-hero p {
    max-width: 760px;
}

@media (max-width: 991px) {
    .ti-public-main {
        padding-top: 72px;
    }

    .ti-public-nav {
        min-height: 72px;
    }

    .ti-nav-actions {
        align-items: stretch;
        margin-top: 16px;
    }

    .ti-public-nav .navbar-nav {
        align-items: stretch;
        gap: 6px;
        padding-top: 16px;
    }

    .ti-nav-actions,
    .ti-login-link,
    .ti-nav-actions .ti-btn {
        width: 100%;
    }

    .ti-hero {
        min-height: auto;
        padding: 46px 0 42px;
    }

    .ti-trust-row,
    .ti-grid-4,
    .ti-grid-3,
    .ti-benefit-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ti-band {
        padding: 34px;
    }
}

@media (max-width: 575px) {
    .ti-section {
        padding: 48px 0;
    }

    .ti-trust-row,
    .ti-grid-4,
    .ti-grid-3,
    .ti-benefit-strip,
    .ti-window-body {
        grid-template-columns: 1fr;
    }

    .ti-hero h1,
    .ti-page-hero h1 {
        font-size: 2.25rem;
    }

    .ti-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
