:root {
    --primary: var(--brand-primary, #1BC1E5);
    --secondary: var(--brand-accent, #008fd4);
    --sfs-card: rgba(17, 17, 17, .9);
    --sfs-border: rgba(255, 255, 255, .14);
}

html,
body {
    letter-spacing: 0;
}

body {
    background: #000;
}

.body-overlay {
    pointer-events: none;
}

#wrapper {
    min-height: 100vh;
}

#wrapper::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -40;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 16%, color-mix(in srgb, var(--primary) 24%, transparent), transparent 28%),
        radial-gradient(circle at 82% 10%, color-mix(in srgb, var(--secondary) 18%, transparent), transparent 24%),
        linear-gradient(135deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .88));
}

a:hover {
    color: var(--primary);
}

.tf-btn-menu img {
    width: 22px;
}

.tf-btn-menu,
.close-canvas,
.right-nav a,
.left-sidebar,
.section-contact-inner,
.sfs-clickable {
    pointer-events: auto;
}

.sfs-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 46px;
    max-width: 190px;
    border-radius: 16px;
    padding: 0 14px;
    color: #fff;
    background: transparent;
    border: 1px solid transparent;
    font-weight: 700;
    letter-spacing: 0;
    overflow: hidden;
}

.sfs-brand-mark.is-text {
    color: #111;
    background: #fff;
}

.sfs-brand-mark img {
    display: block;
    max-width: 158px;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sfs-brand-mark span {
    line-height: 46px;
}

.left-sidebar {
    background: var(--sfs-card);
    border: 1px solid var(--sfs-border);
}

.left-sidebar .heading {
    align-items: center;
}

.left-sidebar .box-status {
    max-width: 190px;
    padding: 7px 16px;
}

.left-sidebar .box-status .text-body-1 {
    font-size: 14px;
    line-height: 20px;
}

.left-sidebar .image .avatar {
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--sfs-border);
    margin-bottom: 18px;
}

.left-sidebar .image .avatar img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.left-sidebar .image {
    margin-bottom: 26px;
}

.left-sidebar .infor .mail {
    color: #fff;
}

.sfs-profile-id {
    display: inline-flex;
    margin-top: 10px;
    padding: 5px 14px;
    border: 1px solid var(--sfs-border);
    border-radius: 999px;
    color: rgba(255, 255, 255, .78);
}

.sfs-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.sfs-status-badge .dot,
.box-status .dot {
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 18%, transparent);
}

.main-content {
    min-height: 100vh;
}

.section-hero {
    padding-bottom: 120px;
}

.section-hero .main-title {
    margin-bottom: 50px;
}

.section-hero .main-title .title {
    max-width: 820px;
}

.section-hero .main-title .text {
    max-width: 700px;
}

.sfs-action-row,
.sfs-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.sfs-theme-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 54px;
    padding: 4px 4px 4px 24px;
    color: #111;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 999px;
    font-family: "Poppins", serif;
    font-size: 16px;
    line-height: 24px;
}

.sfs-theme-button .icon,
.sfs-theme-button i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #fff;
    background: #111;
    transition: all .3s ease;
}

.sfs-theme-button:hover {
    color: var(--primary);
}

.sfs-theme-button:hover .icon,
.sfs-theme-button:hover i {
    color: var(--primary);
}

.sfs-theme-button.is-ghost {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: var(--sfs-border);
}

.sfs-theme-button.is-ghost i,
.sfs-theme-button.is-ghost .icon {
    color: #111;
    background: #fff;
}

.type-tags,
.list-tags a {
    color: rgba(255, 255, 255, .84);
}

.indicators .indicators-item {
    min-height: 180px;
}

.sfs-metric-value {
    display: block;
    color: #fff;
    font-size: 48px;
    line-height: 54px;
    letter-spacing: 0;
}

.experiences-wrap .item .job-title {
    gap: 18px;
}

.experiences-wrap .item .title {
    max-width: 68%;
}

.sfs-journey-heading {
    margin-bottom: 34px;
}

.sfs-journey-heading h2 {
    margin: 0 0 10px;
    font-size: clamp(32px, 4.2vw, 54px);
    line-height: 1.08;
    letter-spacing: 0;
}

.sfs-journey-heading p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-family: "Poppins", serif;
    font-size: 17px;
    line-height: 1.7;
}

.works-wrap .works-item .image {
    background: rgba(255, 255, 255, .05);
}

.works-wrap .works-item .image img {
    min-height: 320px;
}

.section-services .section-services-inner,
.section-contact-inner,
.pricing-item,
.blockquote-wrap,
.section-testimonial-inner {
    border: 1px solid var(--sfs-border);
}

.section-services .accordion-item.collapsed .accordion-head > .title {
    color: rgba(255, 255, 255, .46);
}

.section-about .heading {
    gap: 32px 96px;
}

.sfs-detail-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sfs-detail-card,
.sfs-portal-card,
.sfs-step-card,
.sfs-alert-box {
    border: 1px solid var(--sfs-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    padding: 18px;
    box-shadow: 0 0 20px rgba(103, 103, 103, .18) inset;
}

.sfs-detail-card span,
.sfs-step-card p,
.sfs-alert-box {
    color: rgba(255, 255, 255, .68);
}

.sfs-detail-card strong {
    display: block;
    margin-top: 5px;
    color: #fff;
}

.sfs-contact-grid .sfs-detail-card,
.sfs-stats-grid .sfs-detail-card {
    min-height: 112px;
}

.sfs-stats-grid .sfs-detail-card strong {
    font-size: 42px;
    line-height: 48px;
}

.sfs-home-stats-section .section-services-inner {
    padding-top: 48px;
    padding-bottom: 48px;
}

.sfs-social-card .social-links {
    margin-top: 12px;
    flex-wrap: wrap;
}

.sfs-social-card .social-links a {
    width: 42px;
    height: 42px;
}

.section-hero .main-title .title,
.section-hero .main-title .text,
.sfs-detail-card,
.sfs-detail-card strong,
.sfs-detail-card span,
.works-wrap .works-item .content,
.works-wrap .works-item .content .title,
.section-about .text,
.section-testimonial-inner,
.blockquote-wrap,
.section-contact-inner,
.experiences-wrap .item,
.services-wrap .heading .title {
    overflow-wrap: anywhere;
    word-break: normal;
}

.section-hero .main-title .title {
    max-width: 100%;
}

.section-about .text,
.blockquote-wrap .text,
.works-wrap .works-item .content .text-body-2 {
    line-height: 1.7;
}

.works-wrap .works-item .content .title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sfs-profile-field-hint {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .52);
    font-family: "Poppins", serif;
    font-size: 13px;
    line-height: 20px;
}

.section-contact-inner form {
    z-index: 2;
}

.section-contact-inner input,
.section-contact-inner textarea,
.sfs-auth-card input {
    color: #fff !important;
}

.section-contact-inner textarea {
    resize: vertical;
}

.sfs-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.sfs-public-alert {
    margin-bottom: 20px;
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(30, 244, 130, .12);
    border: 1px solid rgba(30, 244, 130, .28);
    color: #9ff7c5;
}

.sfs-public-alert.error {
    background: rgba(243, 80, 15, .12);
    border-color: rgba(243, 80, 15, .32);
    color: #ffb299;
}

.sfs-home-sidebar .image .avatar {
    margin-bottom: 22px;
}

.sfs-install-app-button {
    width: 100%;
    color: #111;
    font-family: inherit;
    font-size: inherit;
}

.sfs-install-app-button .text {
    color: #111;
}

.sfs-install-app-button .icon {
    color: #fff;
    background: #111;
}

.sfs-install-app-button:disabled {
    cursor: default;
    opacity: .72;
}

.sfs-install-app-help {
    margin-top: 10px;
    color: rgba(255, 255, 255, .62);
    letter-spacing: 0;
    text-align: center;
}

.sfs-home-verify {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--sfs-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.sfs-home-verify input {
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border: 0;
    color: #fff;
    background: transparent;
    text-transform: uppercase;
}

.sfs-home-verify input:focus {
    outline: none;
}

.sfs-home-verify button {
    flex-shrink: 0;
}

.sfs-verify-note,
.sfs-verify-error {
    margin-top: 10px;
    letter-spacing: 0;
}

.sfs-verify-note {
    color: rgba(255, 255, 255, .62);
}

.sfs-verify-error {
    color: #ffb299;
}

.sfs-portal-grid,
.sfs-step-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sfs-portal-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sfs-portal-card strong,
.sfs-step-card b {
    color: #fff;
}

.sfs-auth-page .main-content {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 40px 15px;
}

.sfs-auth-page .tf-container {
    width: 100%;
}

.sfs-auth-card {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    padding: 42px;
    border: 1px solid var(--sfs-border);
    border-radius: 24px;
    background: rgba(17, 17, 17, .86);
    box-shadow: 0 0 20px rgba(103, 103, 103, .25) inset, 0 28px 90px rgba(0, 0, 0, .4);
}

.sfs-auth-card .subtitle {
    margin-bottom: 18px;
}

.sfs-auth-card .heading {
    margin-bottom: 16px;
}

.sfs-auth-card .text {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, .68);
}

.sfs-auth-card fieldset {
    margin-bottom: 24px;
}

.sfs-auth-card label {
    display: block;
    margin-bottom: 8px;
}

.sfs-auth-options {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .72);
}

.sfs-auth-options label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.sfs-auth-options input {
    accent-color: var(--primary);
}

.sfs-auth-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 14px;
    color: #fecaca;
    background: rgba(239, 68, 68, .12);
    border: 1px solid rgba(239, 68, 68, .3);
}

.sfs-auth-alert.success {
    color: #a7f3d0;
    background: rgba(16, 185, 129, .12);
    border-color: rgba(16, 185, 129, .3);
}

.sfs-auth-card .bot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.sfs-auth-card .bot-links a {
    color: rgba(255, 255, 255, .72);
}

.sfs-auth-card .bot-links a:hover,
.sfs-link-button:hover {
    color: var(--primary);
}

.sfs-link-button {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    color: rgba(255, 255, 255, .72);
    background: transparent;
    font-family: inherit;
    line-height: inherit;
}

.sfs-link-button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.sfs-admin-body .sfs-toggle-field {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 13px;
    border: 1px solid #d8e5ef;
    border-radius: 12px;
    background: #fbfdff;
    text-transform: none;
    letter-spacing: 0;
}

.sfs-admin-body .sfs-toggle-field input {
    width: 20px;
    height: 20px;
    min-height: 20px;
    margin-top: 2px;
    accent-color: var(--premium-primary);
}

.sfs-admin-body .sfs-toggle-field span {
    color: #475569;
    font-size: 13px;
    line-height: 20px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

@media (max-width: 1150px) {
    .main-content {
        padding-top: 20px;
    }

    .left-sidebar {
        margin-bottom: 32px;
    }

    .section-hero {
        padding-top: 44px;
    }
}

@media (max-width: 767px) {
    .sfs-home-verify,
    .sfs-action-row,
    .sfs-auth-options {
        align-items: stretch;
        flex-direction: column;
    }

    .sfs-home-verify {
        border-radius: 24px;
    }

    .sfs-detail-grid,
    .sfs-portal-grid,
    .sfs-step-grid {
        grid-template-columns: 1fr;
    }

    .experiences-wrap .item .job-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .experiences-wrap .item .title {
        max-width: 100%;
    }

    .sfs-auth-card {
        padding: 28px 20px;
    }
}
