/* =========================================================
   TRUSTCHECK DEMO
   Scam-check style UI simulation
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    background: #f5f5f5;
}


body {
    min-height: 100vh;

    margin: 0;

    background: #f5f5f5;

    color: #333333;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================================
   HEADER
   ========================================================= */

.top-header {

    width: 100%;

    height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 24px;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;

}


.brand {

    display: flex;

    align-items: center;

    gap: 9px;
}


.brand-shield {

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #e21b23;

    color: #ffffff;

    font-size: 25px;

    font-weight: 700;

    clip-path:
        polygon(
            50% 0%,
            93% 16%,
            88% 65%,
            50% 100%,
            12% 65%,
            7% 16%
        );
}


.brand-text {

    font-size: 24px;

    font-weight: 800;

    letter-spacing: -1px;

    color: #222222;
}


.brand-text span {
    color: #e21b23;
}


.header-actions {

    display: flex;

    align-items: center;

    gap: 18px;
}


.header-icon,
.menu-button,
.language-button {

    border: none;

    background: transparent;

    cursor: pointer;
}


.header-icon svg {

    width: 27px;
    height: 27px;

    fill: none;

    stroke: #333333;

    stroke-width: 2;

    stroke-linecap: round;
}


.language-button {

    display: flex;

    align-items: center;

    gap: 5px;

    color: #333333;

    font-size: 15px;

    font-weight: 600;
}


.language-button span {
    font-size: 21px;
}


.menu-button {

    width: 30px;

    display: flex;

    flex-direction: column;

    gap: 5px;
}


.menu-button span {

    display: block;

    width: 28px;
    height: 3px;

    background: #333333;

    border-radius: 3px;
}


/* =========================================================
   DEMO NOTICE
   ========================================================= */

.demo-notice {

    width: 100%;

    padding: 8px 15px;

    text-align: center;

    background: #fff8dc;

    color: #856404;

    border-bottom: 1px solid #f1df9a;

    font-size: 11px;

    font-weight: 600;
}


/* =========================================================
   PAGE
   ========================================================= */

.page-container {

    width: 100%;

    max-width: 760px;

    margin: 0 auto;

    padding: 18px 15px 40px;
}


/* =========================================================
   SEARCH
   ========================================================= */

.search-section {
    margin-bottom: 16px;
}


.search-box {

    width: 100%;

    height: 58px;

    display: flex;

    align-items: center;

    background: #ffffff;

    border-radius: 30px;

    padding-left: 22px;

    box-shadow:
        0 2px 12px rgba(0, 0, 0, .07);
}


.search-box input {

    flex: 1;

    height: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: #333333;

    font-size: 18px;
}


.search-box input::placeholder {
    color: #999999;
}


.search-box button {

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    background: transparent;

    cursor: pointer;
}


.search-box button svg {

    width: 25px;
    height: 25px;

    fill: none;

    stroke: #333333;

    stroke-width: 2;

    stroke-linecap: round;
}


/* =========================================================
   RESULT CARD
   ========================================================= */

.result-card,
.feeling-card {

    background: #ffffff;

    border-radius: 16px;

    padding: 24px 22px;

    box-shadow:
        0 2px 12px rgba(0, 0, 0, .06);
}


.result-card h1 {

    margin: 0 0 9px;

    color: #333333;

    font-size: 27px;

    line-height: 1.2;

    font-weight: 700;

    word-break: break-word;
}


.question {

    margin-bottom: 16px;

    color: #333333;

    font-size: 17px;

    line-height: 1.45;
}


.question strong {
    color: #d91c25;
}


/* =========================================================
   STATUS
   ========================================================= */

.status-bar {

    min-height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 8px 15px;

    background: #0bbd68;

    border-radius: 6px;

    color: #ffffff;

    font-size: 17px;

    font-weight: 600;

    text-align: center;
}


.status-shield {

    width: 28px;
    height: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 2px solid #ffffff;

    border-radius: 50%;

    font-size: 17px;
}


/* =========================================================
   SCORE
   ========================================================= */

.score-section {

    display: flex;

    flex-direction: column;

    align-items: center;

    padding-top: 26px;
}


.score-circle {

    width: 205px;
    height: 105px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    border-radius:
        205px 205px 0 0;

    background:
        conic-gradient(
            from 270deg,
            #00b968 0deg,
            #00b968 305deg,
            #d8d8d8 305deg,
            #d8d8d8 360deg
        );
}


.score-circle::after {

    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    left: 50%;
    bottom: -72px;

    transform: translateX(-50%);

    border-radius: 50%;

    background: #ffffff;
}


.score-content {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: baseline;

    justify-content: center;

    margin-bottom: 13px;
}


.score-number {

    color: #333333;

    font-size: 28px;

    font-weight: 700;
}


.score-total {

    margin-left: 4px;

    color: #333333;

    font-size: 18px;

    font-weight: 600;
}


.what-is-this {

    margin-top: -1px;

    color: #c71d25;

    font-size: 16px;

    font-weight: 700;

    text-decoration: underline;
}


.disclaimer {

    margin-top: 7px;

    color: #666666;

    font-size: 13px;

    text-decoration: underline;
}


/* =========================================================
   DIVIDER
   ========================================================= */

.divider {

    width: 100%;

    height: 1px;

    margin: 18px 0 22px;

    background: #e2e2e2;
}


/* =========================================================
   OVERVIEW
   ========================================================= */

.overview h2 {

    margin-bottom: 8px;

    color: #333333;

    font-size: 22px;
}


.overview-row {

    min-height: 68px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid #e5e5e5;
}


.overview-row.last-row {
    border-bottom: none;
}


.overview-left {

    display: flex;

    align-items: center;

    gap: 17px;
}


.overview-icon {

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;
}


.overview-icon svg {

    width: 29px;
    height: 29px;

    fill: none;

    stroke: #333333;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.overview-title {

    color: #333333;

    font-size: 17px;

    line-height: 1.25;
}


.overview-value {

    margin-top: 3px;

    color: #12a964;

    font-size: 16px;

    line-height: 1.2;
}


.owner-value {
    color: #e19a00;
}


.row-check {

    color: #0aaa63;

    font-size: 28px;

    font-weight: 700;
}


.row-warning {

    width: 0;
    height: 0;

    position: relative;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid #e9a000;
}


.row-warning::after {

    content: "!";

    position: absolute;

    left: -3px;
    top: 5px;
}


/* =========================================================
   FEELING CARD
   ========================================================= */

.feeling-card {

    margin-top: 20px;

    padding: 24px 20px;
}


.feeling-title {

    display: flex;

    align-items: flex-start;

    gap: 17px;

    color: #333333;

    font-size: 17px;

    line-height: 1.45;

    font-weight: 600;
}


.feeling-title strong {
    color: #d91c25;
}


.feeling-main-icon {

    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    display: flex;

    align-items: center;
    justify-content: center;
}


.feeling-main-icon svg {

    width: 42px;
    height: 42px;

    fill: none;

    stroke: #333333;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* =========================================================
   FEELINGS
   ========================================================= */

.feelings {

    display: flex;

    align-items: center;

    justify-content: space-around;

    margin-top: 22px;
}


.feeling-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 7px;
}


.emoji {

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 34px;
}


.feeling-item span {

    color: #333333;

    font-size: 14px;
}


.bad .emoji {
    border: 4px solid #d51b24;
}


.unhappy .emoji {
    border: 4px solid #e78b00;
}


.neutral .emoji {
    border: 4px solid #e7bc00;
}


.happy .emoji {
    border: 4px solid #0aae65;
}


.great .emoji {
    border: 4px solid #0aae65;
}


.report-button {

    display: block;

    margin: 20px auto 0;

    border: none;

    background: transparent;

    color: #c71d25;

    font-size: 16px;

    text-decoration: underline;

    cursor: pointer;
}


/* =========================================================
   INVALID RESULT
   ========================================================= */

.invalid .status-bar {

    background: #d9252c;
}


.invalid .score-circle {

    background:
        conic-gradient(
            from 270deg,
            #d9252c 0deg,
            #d9252c 8deg,
            #d8d8d8 8deg,
            #d8d8d8 360deg
        );
}


.invalid .overview-value {

    color: #d9252c;
}


.invalid .owner-value {

    color: #d9252c;
}


.invalid .row-check {

    color: #d9252c;
}


.invalid .row-warning {

    border-bottom-color: #d9252c;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .top-header {

        height: 64px;

        padding: 0 15px;
    }


    .brand-shield {

        width: 34px;
        height: 34px;

        font-size: 22px;
    }


    .brand-text {

        font-size: 21px;
    }


    .header-actions {

        gap: 12px;
    }


    .header-icon svg {

        width: 24px;
        height: 24px;
    }


    .menu-button {

        width: 26px;
    }


    .menu-button span {

        width: 26px;
    }


    .page-container {

        padding:
            14px 10px 30px;
    }


    .search-box {

        height: 56px;
    }


    .result-card,
    .feeling-card {

        padding:
            21px 16px;

        border-radius: 15px;
    }


    .result-card h1 {

        font-size: 25px;
    }


    .question {

        font-size: 16px;
    }


    .status-bar {

        font-size: 15px;

        min-height: 49px;
    }


    .score-circle {

        width: 190px;
        height: 98px;
    }


    .score-circle::after {

        width: 140px;
        height: 140px;

        bottom: -67px;
    }


    .score-number {

        font-size: 27px;
    }


    .overview-title {

        font-size: 16px;
    }


    .overview-value {

        font-size: 15px;
    }


    .overview-left {

        gap: 12px;
    }


    .overview-icon {

        width: 31px;
        height: 31px;
    }


    .overview-icon svg {

        width: 27px;
        height: 27px;
    }


    .feeling-title {

        font-size: 15px;

        gap: 10px;
    }


    .feelings {

        gap: 5px;
    }


    .emoji {

        width: 48px;
        height: 48px;

        font-size: 29px;
    }

}


@media (max-width: 380px) {

    .brand-text {
        font-size: 19px;
    }


    .language-button {
        display: none;
    }


    .feelings {
        gap: 0;
    }


    .emoji {

        width: 43px;
        height: 43px;

        font-size: 25px;
    }


    .feeling-item span {
        font-size: 13px;
    }

}