#aifc-app {
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    background: #fff;
}

#aifc-app *,
#aifc-app *::before,
#aifc-app *::after {
    box-sizing: border-box;
}

.aifc-screen {
    display: none;
    min-height: 100vh;
    background: #fff;
}

.aifc-screen.active {
    display: block;
}

.aifc-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 45px 0 80px;
}

.aifc-container h1 {
    margin: 0;
    font-size: 58px;
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -2px;
}

.aifc-container h1 em {
    color: #145cff;
    font-family: Georgia, serif;
}

.aifc-intro-text {
    max-width: 700px;
    font-size: 20px;
    line-height: 1.6;
    color: #666;
    margin: 35px 0 45px;
}

.aifc-start-card {
    border: 1px solid #d8d8d8;
    border-radius: 16px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
}

.aifc-field label,
.aifc-report-fields label {
    display: block;
    font-size: 11px;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
    color: #555;
}

.aifc-field input,
.aifc-report-fields input,
.aifc-report-fields select {
    width: 100%;
    height: 52px;
    border: 1px solid #d5d5d5;
    border-radius: 9px;
    padding: 0 16px;
    font-size: 16px;
    background: #fff;
}

.aifc-blue-btn {
    background: #125cff;
    color: #fff;
    border: 0;
    border-radius: 30px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.aifc-free-text {
    align-self: center;
    color: #777;
    font-family: monospace;
    font-size: 13px;
}

.aifc-topbar {
    height: 58px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
    font-family: monospace;
    color: #777;
    font-size: 13px;
}

.aifc-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    background: #9cff35;
    margin-right: 8px;
}

.aifc-exit {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #777;
}

.aifc-progress {
    height: 3px;
    background: #eee;
}

#aifc-progress-bar {
    width: 9%;
    height: 100%;
    background: #125cff;
    transition: width .3s ease;
}

.aifc-question-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.aifc-question-title {
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 12px;
    font-weight: 500;
    letter-spacing: -1px;
}

.aifc-question-help {
    color: #777;
    font-size: 16px;
    margin-bottom: 35px;
}

.aifc-option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 60px;
    border: 1px solid #d4d4d4;
    border-radius: 11px;
    margin-bottom: 10px;
    padding: 12px 18px;
    cursor: pointer;
    background: #fafafa;
    transition: .2s;
}

.aifc-option:hover {
    border-color: #111;
}

.aifc-option.selected {
    border-color: #111;
    background: #fff;
}

.aifc-option input {
    margin-right: 14px;
    width: 22px;
    height: 22px;
    accent-color: #125cff;
}

.aifc-option span {
    font-size: 16px;
    line-height: 1.4;
}

.aifc-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.aifc-back-btn,
.aifc-next-btn {
    border-radius: 28px;
    padding: 13px 22px;
    cursor: pointer;
    font-size: 15px;
}

.aifc-back-btn {
    background: #fff;
    border: 1px solid #ddd;
}

.aifc-next-btn {
    background: #111;
    color: #fff;
    border: 1px solid #111;
}

.aifc-next-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

#aifc-selected-count {
    color: #777;
    font-family: monospace;
    font-size: 12px;
}

.aifc-review-container {
    max-width: 540px;
    margin: 0 auto;
    padding: 30px 0 80px;
}

.aifc-review-line {
    height: 3px;
    background: #125cff;
    margin-bottom: 30px;
}

.aifc-small-title {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 1px;
    color: #777;
}

.aifc-review-container h2 {
    font-size: 36px;
    font-weight: 400;
    margin: 22px 0 8px;
}

.aifc-review-container > p {
    color: #777;
}

.aifc-review-item {
    border-top: 1px solid #ddd;
    padding: 16px 0;
    display: grid;
    grid-template-columns: 38px 1fr 20px;
    cursor: pointer;
}

.aifc-review-number {
    color: #125cff;
    font-family: monospace;
    font-size: 11px;
}

.aifc-review-question {
    font-size: 11px;
    color: #777;
    margin-bottom: 5px;
}

.aifc-review-answer {
    font-size: 14px;
}

.aifc-review-arrow {
    color: #777;
}

.aifc-review-bottom {
    border-top: 1px solid #ddd;
    margin-top: 20px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.aifc-score-container {
    max-width: 730px;
    margin: 0 auto;
    padding: 70px 20px;
    text-align: center;
}

.aifc-score-number {
    font-family: Georgia, serif;
    font-size: 90px;
}

.aifc-score-number small {
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #777;
}

.aifc-score-label {
    display: inline-block;
    background: #125cff;
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
}

.aifc-report-box {
    margin-top: 35px;
    background: linear-gradient(135deg, #155dff, #0d39c7);
    color: #fff;
    border-radius: 22px;
    padding: 42px;
    text-align: left;
}

.aifc-report-box h2 {
    font-size: 30px;
    margin: 0 0 15px;
}

.aifc-report-box p {
    line-height: 1.6;
}

.aifc-report-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 30px;
}

.aifc-report-fields input,
.aifc-report-fields select {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.5);
}

.aifc-report-fields select option {
    color: #111;
}

.aifc-white-btn {
    margin-top: 25px;
    border: 0;
    background: #fff;
    color: #125cff;
    border-radius: 30px;
    padding: 15px 25px;
    font-weight: 600;
    cursor: pointer;
}

.aifc-save-status {
    margin-top: 15px;
    font-size: 14px;
}

/* ================================
   FINAL / SCORE PAGE
   ================================ */

.ai-fit-result {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    box-sizing: border-box;
}

/* Top score area */
.ai-score-area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 45px;
}

.ai-score-gauge {
    width: 360px;
    text-align: center;
}

.ai-gauge {
    width: 340px;
    height: 175px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Gauge arc */
.ai-gauge::before {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    left: 35px;
    top: 25px;
    border-radius: 50%;
    border: 22px solid #f2dfc2;
    border-right-color: #13a84b;
    border-bottom-color: #13a84b;
    transform: rotate(-45deg);
    box-sizing: border-box;
}

/* Gauge needle */
.ai-gauge-needle {
    position: absolute;
    width: 145px;
    height: 3px;
    background: #111;
    left: 98px;
    top: 148px;
    transform-origin: left center;
    transform: rotate(-8deg);
    z-index: 3;
}

.ai-gauge-needle::before {
    content: "";
    position: absolute;
    width: 27px;
    height: 27px;
    background: #111;
    border-radius: 50%;
    left: -13px;
    top: -12px;
}

.ai-gauge-needle::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    background: #fff;
    border-radius: 50%;
    left: -4px;
    top: -4px;
}

/* 0 / 100 */
.ai-gauge-min,
.ai-gauge-max {
    position: absolute;
    bottom: 0;
    font-size: 14px;
    color: #999;
}

.ai-gauge-min {
    left: 8px;
}

.ai-gauge-max {
    right: 8px;
}

/* Score number */
.ai-score-number {
    margin-top: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 70px;
    line-height: 1;
    color: #111;
    font-weight: 400;
}

.ai-score-number span {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #777;
    margin-left: 6px;
}

/* Strong fit badge */
.ai-score-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 18px;
    border-radius: 30px;
    background: #145cff;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* ================================
   BOTTOM CONTENT
   ================================ */

.ai-result-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 345px;
    gap: 48px;
    align-items: start;
}


/* ================================
   BLUE REPORT BOX
   ================================ */

.ai-report-box {
    position: relative;
    overflow: hidden;
    min-height: 385px;
    padding: 40px 44px;
    border-radius: 22px;
    background: linear-gradient(
        120deg,
        #155cff 0%,
        #104de4 55%,
        #0c3cc0 100%
    );
    color: #fff;
    box-sizing: border-box;
}

/* Grid pattern */
.ai-report-box::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .14;
    background-image:
        linear-gradient(
            rgba(255,255,255,.45) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.45) 1px,
            transparent 1px
        );
    background-size: 56px 56px;
}

/* Decorative dots */
.ai-report-box::after {
    content: "•";
    position: absolute;
    right: 75px;
    top: 70px;
    color: #d9e3ff;
    font-size: 28px;
}

.ai-report-inner {
    position: relative;
    z-index: 2;
}

.ai-report-title {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.ai-report-text {
    max-width: 620px;
    margin: 0 0 27px;
    color: rgba(255,255,255,.88);
    font-size: 16px;
    line-height: 1.55;
}


/* ================================
   EMAIL + ROLE
   ================================ */

.ai-report-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}

.ai-report-field label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,.85);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ai-report-field input,
.ai-report-field select {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 30px;
    outline: none;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 15px;
    box-sizing: border-box;
}

.ai-report-field input::placeholder {
    color: rgba(255,255,255,.85);
}

.ai-report-field input:focus,
.ai-report-field select:focus {
    border-color: #fff;
}

.ai-report-field select option {
    color: #111;
    background: #fff;
}


/* ================================
   UNLOCK BUTTON
   ================================ */

.ai-unlock-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 53px;
    padding: 0 27px;
    border: 0;
    border-radius: 30px;
    background: #fff;
    color: #0755ed;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ai-unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}


/* ================================
   RIGHT BLACK CARD
   ================================ */

.ai-call-card {
    min-height: 535px;
    padding: 42px 40px;
    border-radius: 17px;
    background: #0b0b0b;
    color: #fff;
    box-sizing: border-box;
}

.ai-call-title {
    margin: 0 0 17px;
    color: #fff;
    font-size: 30px;
    line-height: 1.08;
    font-weight: 700;
}

.ai-call-text {
    margin: 0 0 35px;
    color: #c9c9c9;
    font-size: 16px;
    line-height: 1.55;
}

.ai-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 30px;
    background: #145cff;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: transform .2s ease;
}

.ai-call-btn:hover {
    transform: translateY(-2px);
}


/* ================================
   MOBILE
   ================================ */

@media (max-width: 900px) {

    .ai-result-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ai-call-card {
        min-height: auto;
    }

    .ai-report-box {
        min-height: auto;
    }
}

@media (max-width: 600px) {

    .ai-fit-result {
        padding: 25px 15px 50px;
    }

    .ai-gauge {
        transform: scale(.85);
        transform-origin: center top;
        margin-bottom: -25px;
    }

    .ai-score-number {
        font-size: 58px;
    }

    .ai-report-box {
        padding: 30px 24px;
        border-radius: 18px;
    }

    .ai-report-title {
        font-size: 27px;
    }

    .ai-report-text {
        font-size: 15px;
    }

    .ai-report-fields {
        grid-template-columns: 1fr;
    }

    .ai-call-card {
        padding: 32px 25px;
    }

    .ai-call-title {
        font-size: 27px;
    }

    .ai-call-btn,
    .ai-unlock-btn {
        width: 100%;
    }
}

@media (max-width: 700px) {

    .aifc-container {
        padding: 35px 20px;
    }

    .aifc-container h1 {
        font-size: 42px;
    }

    .aifc-start-card {
        grid-template-columns: 1fr;
    }

    .aifc-question-title {
        font-size: 32px;
    }

    .aifc-report-fields {
        grid-template-columns: 1fr;
    }

    .aifc-report-box {
        padding: 25px;
    }

}