/* ================================
   UPLOAD PREVIEW
================================ */

.upload-preview {
    width: 100%;
    max-width: 500px;
    margin-top: 30px;
    padding: 20px;
    background: white;
    border: 1px solid #e3e7f0;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(30, 40, 70, 0.10);
    text-align: left;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.preview-header h3 {
    font-size: 17px;
    color: #182238;
}

.remove-file {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: #f3f4f8;
    color: #657084;
    cursor: pointer;
    font-size: 16px;
}

.remove-file:hover {
    background: #ffe9e9;
    color: #d33;
}

.preview-content {
    width: 100%;
    text-align: center;
}

.form-image {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #e5e8ef;
}

.pdf-preview {
    padding: 30px 15px;
    background: #f7f8fc;
    border-radius: 12px;
}

.pdf-icon {
    font-size: 50px;
    margin-bottom: 10px;
}

.pdf-preview h4 {
    font-size: 14px;
    word-break: break-word;
    color: #273249;
}

.pdf-preview p {
    color: #7b8494;
    font-size: 12px;
    margin-top: 5px;
}

.analyze-btn {
    width: 100%;
    margin-top: 18px;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: #5b58dc;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.analyze-btn:hover {
    background: #4c49ca;
    transform: translateY(-2px);
}


/* Mobile */

@media (max-width: 650px) {

    .upload-preview {
        max-width: 100%;
    }

    .form-image {
        max-height: 300px;
    }

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f9fc;
    color: #172033;
    line-height: 1.6;
}

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

header {
    width: 100%;
    height: 76px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e8ecf3;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: #18243a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    font-size: 25px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #5d687b;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #5b5bea;
}

.language-btn {
    border: 1px solid #dce2ed;
    background: white;
    padding: 10px 17px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    color: #39445a;
}

/* ================= HERO ================= */

.hero {
    min-height: 680px;
    padding: 90px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    background:
        radial-gradient(circle at 80% 30%, #e9e7ff 0, transparent 30%),
        linear-gradient(135deg, #f9fbff, #f3f5ff);
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 30px;
    background: #ecebff;
    color: #5351c9;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(45px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 25px;
    color: #182238;
}

.hero h1 span {
    display: block;
    color: #5b58dc;
}

.hero-content > p {
    color: #657084;
    font-size: 18px;
    max-width: 560px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    border: none;
    padding: 15px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.primary-btn {
    background: #5b58dc;
    color: white;
    box-shadow: 0 10px 25px rgba(91, 88, 220, 0.25);
}

.primary-btn:hover {
    transform: translateY(-3px);
    background: #4c49ca;
}

.secondary-btn {
    background: white;
    color: #303b51;
    border: 1px solid #dfe4ed;
}

.secondary-btn:hover {
    transform: translateY(-3px);
}

.small-text {
    font-size: 12px !important;
    color: #8992a3 !important;
    margin-top: 15px;
}

/* ================= AI PREVIEW ================= */

.hero-preview {
    width: 470px;
    min-width: 400px;
    position: relative;
    min-height: 430px;
}

.document-card {
    width: 350px;
    background: white;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 25px 60px rgba(30, 40, 70, 0.12);
    transform: rotate(-3deg);
    position: absolute;
    left: 0;
    top: 30px;
    border: 1px solid #edf0f6;
}

.document-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf0f5;
}

.document-header span {
    font-size: 30px;
}

.document-header strong {
    display: block;
    font-size: 14px;
}

.document-header small {
    color: #929baa;
}

.form-line {
    margin-top: 25px;
}

.form-line label {
    font-size: 11px;
    color: #687386;
    display: block;
    margin-bottom: 7px;
}

.fake-input {
    width: 100%;
    height: 13px;
    background: #edf0f5;
    border-radius: 5px;
}

.fake-input.short {
    width: 55%;
}

.fake-input.medium {
    width: 75%;
}

/* AI CARD */

.ai-card {
    width: 280px;
    background: #ffffff;
    border: 1px solid #e4e5ff;
    border-radius: 18px;
    padding: 22px;
    position: absolute;
    right: 0;
    bottom: 25px;
    box-shadow: 0 20px 50px rgba(40, 45, 90, 0.15);
}

.ai-title {
    color: #5b58dc;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ai-title span {
    color: #42c58a;
}

.ai-card h3 {
    font-size: 13px;
    color: #8b94a5;
    margin-bottom: 5px;
}

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

.ai-card p {
    font-size: 12px;
    color: #697488;
    margin-top: 10px;
}

.ai-tags {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 15px;
}

.ai-tags span {
    font-size: 11px;
    color: #378d69;
    background: #ecfaf4;
    padding: 6px 8px;
    border-radius: 7px;
}

/* ================= BENEFITS ================= */

.benefits {
    max-width: 1100px;
    margin: -40px auto 70px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(30, 40, 70, 0.08);
    overflow: hidden;
}

.benefit {
    padding: 30px;
    text-align: center;
    border-right: 1px solid #edf0f5;
}

.benefit:last-child {
    border-right: none;
}

.benefit span {
    font-size: 28px;
}

.benefit h3 {
    margin: 10px 0 5px;
    font-size: 16px;
}

.benefit p {
    color: #7a8495;
    font-size: 13px;
}

/* ================= SECTIONS ================= */

.section {
    padding: 100px 7%;
    max-width: 1250px;
    margin: auto;
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 55px;
}

.section-heading > span {
    color: #5b58dc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2 {
    font-size: 42px;
    line-height: 1.15;
    margin: 15px 0;
}

.section-heading h2 strong {
    color: #5b58dc;
}

.section-heading p {
    color: #7b8494;
}

/* ================= STEPS ================= */

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

.step {
    background: white;
    padding: 28px;
    border-radius: 18px;
    border: 1px solid #e8ebf2;
}

.step > div {
    color: #5b58dc;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    color: #778194;
    font-size: 13px;
}

/* ================= FEATURES ================= */

.features-section {
    max-width: none;
    background: #f0f2ff;
}

.feature-grid {
    max-width: 1050px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: white;
    padding: 28px;
    border-radius: 18px;
    border: 1px solid #e5e7f4;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(40, 45, 90, 0.1);
}

.feature-card span {
    font-size: 30px;
}

.feature-card h3 {
    font-size: 16px;
    margin: 15px 0 7px;
}

.feature-card p {
    font-size: 13px;
    color: #788295;
}

/* ================= FORM TYPES ================= */

.form-types {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.form-types div {
    background: white;
    border: 1px solid #e5e9f0;
    border-radius: 14px;
    padding: 20px;
    font-weight: 700;
    text-align: center;
    transition: 0.3s;
}

.form-types div:hover {
    transform: translateY(-4px);
    border-color: #aaa8ff;
}

/* ================= CTA ================= */

.cta {
    margin: 60px 7% 80px;
    padding: 80px 20px;
    text-align: center;
    border-radius: 30px;
    background: linear-gradient(135deg, #5552d5, #7471ef);
    color: white;
}

.cta h2 {
    font-size: 45px;
    margin-bottom: 10px;
}

.cta p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.cta .primary-btn {
    background: white;
    color: #5552d5;
    box-shadow: none;
}

/* ================= FOOTER ================= */

footer {
    background: #172033;
    color: white;
    padding: 45px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

footer strong {
    font-size: 18px;
}

footer p {
    color: #9ba4b5;
    font-size: 12px;
    margin-top: 5px;
}

footer a {
    color: #c7ccda;
    text-decoration: none;
    margin: 0 10px;
    font-size: 13px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {

    nav {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-preview {
        margin-top: 20px;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {

    header {
        padding: 0 5%;
    }

    .language-btn {
        display: none;
    }

    .hero {
        padding: 55px 5%;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-preview {
        width: 100%;
        min-width: 0;
        transform: scale(0.85);
    }

    .benefits {
        margin: -20px 5% 40px;
        grid-template-columns: 1fr;
    }

    .benefit {
        border-right: none;
        border-bottom: 1px solid #edf0f5;
    }

    .steps,
    .feature-grid,
    .form-types {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 5%;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .cta {
        margin: 30px 5% 50px;
        padding: 55px 20px;
    }

    .cta h2 {
        font-size: 34px;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }
}
/* ================================
   ANALYSIS RESULT
================================ */

.analysis-result {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e5e8ef;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.result-header > span {
    font-size: 30px;
}

.result-header small {
    color: #5b58dc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.result-header h2 {
    font-size: 20px;
    margin-top: 2px;
    color: #182238;
}

.result-card {
    background: #f7f8fc;
    border-radius: 14px;
    padding: 20px;
}

.result-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.result-card p {
    color: #697488;
    font-size: 13px;
    margin-bottom: 18px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #e4e7ef;
    font-size: 12px;
}

.result-item span {
    color: #5b58dc;
    font-weight: 600;
}

.continue-btn {
    width: 100%;
    margin-top: 15px;
    padding: 13px;
    border: 1px solid #dcdff0;
    border-radius: 10px;
    background: white;
    color: #4f4cbf;
    font-weight: 700;
    cursor: pointer;
}

.continue-btn:hover {
    background: #f0f0ff;
}
/* ================================
   Language Selector
================================ */

.language-selector {
    position: relative;
}

.language-btn {
    cursor: pointer;
}

.language-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 150px;
    padding: 8px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    z-index: 1000;
}

.language-menu.show {
    display: block;
}

.language-menu button {
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: transparent;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.language-menu button:hover {
    background: #f3f4f6;
}
/* ====================================
   FormHelp AI - Voice Controls
==================================== */

.voice-controls {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.listen-btn,
.stop-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.listen-btn {
    background: #2563eb;
    color: white;
}

.stop-btn {
    background: #ef4444;
    color: white;
}

.listen-btn:hover,
.stop-btn:hover {
    opacity: 0.9;
}

.listen-btn:active,
.stop-btn:active {
    transform: scale(0.98);
}

/* ====================================
   Supported Forms Cards
==================================== */

.form-types {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;

    margin-top: 40px;
}


.form-card {
    background: white;

    border: 1px solid #e5e7eb;

    border-radius: 18px;

    overflow: hidden;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.form-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.12);
}


.form-image {
    height: 170px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 70px;

    background:
        linear-gradient(
            135deg,
            #eef4ff,
            #f8fafc
        );
}


.form-card-content {
    padding: 20px;
}


.form-card-content h3 {
    margin: 0 0 8px;

    font-size: 20px;
}


.form-card-content p {
    color: #64748b;

    line-height: 1.6;

    margin-bottom: 15px;
}


.form-card-content span {
    color: #2563eb;

    font-weight: 600;

    font-size: 14px;
}


/* ====================================
   Form Preview Modal
==================================== */

.form-preview-modal {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 10000;

    background:
        rgba(0, 0, 0, 0.6);

    align-items: center;

    justify-content: center;

    padding: 20px;
}


.form-preview-modal.show {
    display: flex;
}


.form-preview-box {
    position: relative;

    width: 100%;

    max-width: 650px;

    max-height: 90vh;

    overflow-y: auto;

    background: white;

    border-radius: 20px;

    padding: 30px;

    box-sizing: border-box;
}


.close-form-preview {
    position: absolute;

    right: 18px;

    top: 18px;

    border: none;

    background: transparent;

    font-size: 22px;

    cursor: pointer;
}


.sample-form-icon {
    text-align: center;

    font-size: 45px;
}


.form-preview-box h2 {
    text-align: center;

    margin: 10px 0;
}


.form-preview-box > p {
    text-align: center;

    color: #64748b;

    margin-bottom: 25px;
}


/* ====================================
   Sample Form
==================================== */

.sample-form {
    border: 1px solid #d1d5db;

    border-radius: 12px;

    padding: 20px;

    background: #f8fafc;
}


.sample-form-header {
    text-align: center;

    font-weight: 700;

    font-size: 18px;

    padding-bottom: 18px;

    margin-bottom: 18px;

    border-bottom: 1px solid #d1d5db;
}


.sample-field {
    margin-bottom: 18px;
}


.sample-field label {
    display: block;

    font-weight: 600;

    margin-bottom: 7px;
}


.sample-field div {
    height: 35px;

    border: 1px solid #cbd5e1;

    border-radius: 6px;

    background: white;
}


.sample-field div.large {
    height: 65px;
}


.preview-upload-btn {
    width: 100%;

    margin-top: 22px;

    padding: 13px;

    border: none;

    border-radius: 10px;

    background: #2563eb;

    color: white;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;
}


/* ====================================
   Mobile
==================================== */

@media (max-width: 800px) {

    .form-types {
        grid-template-columns: 1fr;
    }

}
/* ==========================================
   SUPPORTED FORMS EXPLORER
========================================== */

.forms-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);

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

    z-index: 99999;

    padding: 20px;
}

.forms-modal.show {
    display: flex;
}

.forms-modal-box {
    width: min(950px, 95vw);
    max-height: 90vh;

    overflow-y: auto;

    background: #ffffff;
    border-radius: 24px;

    padding: 30px;

    position: relative;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);

    animation: formModalOpen 0.25s ease;
}

@keyframes formModalOpen {

    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

.forms-close {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: #f1f5f9;

    font-size: 20px;

    cursor: pointer;

    transition: 0.2s;
}

.forms-close:hover {
    background: #fee2e2;
    transform: rotate(90deg);
}

.forms-modal-title {
    margin: 0;

    padding-right: 50px;

    font-size: 28px;
    font-weight: 700;
}

.form-breadcrumb {
    margin-top: 8px;
    margin-bottom: 25px;

    color: #64748b;

    font-size: 14px;
}


/* ==========================================
   CATEGORY BUTTONS
========================================== */

.government-category-list {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(230px, 1fr));

    gap: 15px;
}

.government-category-btn {
    border: 1px solid #e2e8f0;

    background: #f8fafc;

    border-radius: 16px;

    padding: 18px;

    display: flex;
    align-items: center;

    gap: 12px;

    font-size: 16px;
    font-weight: 600;

    color: #1e293b;

    cursor: pointer;

    transition: all 0.2s ease;

    text-align: left;
}

.government-category-btn:hover {
    transform: translateY(-3px);

    background: #eef2ff;

    border-color: #6366f1;

    box-shadow:
        0 10px 25px rgba(99, 102, 241, 0.15);
}

.category-icon {
    width: 40px;
    height: 40px;

    border-radius: 12px;

    background: #e0e7ff;

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

    font-size: 20px;
}

.category-arrow {
    margin-left: auto;

    font-size: 20px;

    color: #6366f1;
}


/* ==========================================
   FORMS
========================================== */

.government-form-list {
    display: grid;

    gap: 18px;
}

.back-category-btn {
    width: fit-content;

    border: none;

    background: #f1f5f9;

    padding: 10px 16px;

    border-radius: 10px;

    font-weight: 600;

    cursor: pointer;

    margin-bottom: 5px;
}

.back-category-btn:hover {
    background: #e2e8f0;
}

.government-form-card {
    display: flex;

    gap: 22px;

    padding: 18px;

    border: 1px solid #e2e8f0;

    border-radius: 18px;

    background: #ffffff;

    transition: 0.25s;

    box-shadow:
        0 5px 20px rgba(15, 23, 42, 0.06);
}

.government-form-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.12);
}


/* ==========================================
   FORM IMAGE
========================================== */

.government-form-image {
    width: 190px;
    min-width: 190px;

    height: 150px;

    border-radius: 14px;

    overflow: hidden;

    background: #f1f5f9;

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

.government-form-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.form-placeholder {
    text-align: center;

    font-size: 42px;

    color: #64748b;
}

.form-placeholder span {
    display: block;

    font-size: 13px;

    margin-top: 5px;
}


/* ==========================================
   FORM INFORMATION
========================================== */

.government-form-info {
    flex: 1;
}

.government-form-info h3 {
    margin: 5px 0 8px;

    font-size: 20px;
}

.government-form-info p {
    margin: 0 0 18px;

    color: #64748b;

    font-size: 14px;
}

.government-form-actions {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}

.open-form-btn,
.download-form-btn {
    text-decoration: none;

    padding: 10px 15px;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 600;

    display: inline-block;

    transition: 0.2s;
}

.open-form-btn {
    background: #4f46e5;

    color: white;
}

.open-form-btn:hover {
    background: #4338ca;

    transform: translateY(-2px);
}

.download-form-btn {
    background: #ecfdf5;

    color: #047857;

    border: 1px solid #a7f3d0;
}

.download-form-btn:hover {
    background: #d1fae5;
}


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

@media (max-width: 600px) {

    .forms-modal-box {
        padding: 20px;

        border-radius: 18px;
    }

    .government-form-card {
        flex-direction: column;
    }

    .government-form-image {
        width: 100%;
        height: 190px;
    }

    .government-category-list {
        grid-template-columns: 1fr;
    }

}
/* ==========================================
   SMART FORM CHECKER
========================================== */

.check-form-section {
    padding: 80px 20px;
    background: #f8fafc;
}

.check-form-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.check-form-content h2 {
    font-size: 38px;
    margin: 10px 0;
}

.check-form-content > p {
    max-width: 650px;
    margin: 0 auto 35px;
    color: #64748b;
    line-height: 1.7;
}

.check-upload-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 45px 25px;
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    background: #ffffff;
}

.check-upload-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.check-upload-box h3 {
    margin: 10px 0;
    font-size: 22px;
}

.check-upload-box p {
    color: #64748b;
    margin-bottom: 25px;
}

.check-upload-btn {
    border: none;
    padding: 13px 25px;
    border-radius: 10px;
    background: #4f46e5;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.check-upload-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.check-form-preview {
    max-width: 700px;
    margin: 30px auto 0;
}
/* =========================================================
   FormHelp AI - SMART FORM CHECK
   Professional UI + Animations
   ========================================================= */


/* ================================
   MAIN CONTAINER
   ================================ */

.smart-form-check {
    width: min(900px, 92%);
    margin: 70px auto;
    padding: 45px 35px;

    background: rgba(255, 255, 255, 0.95);

    border: 1px solid rgba(108, 92, 231, 0.12);

    border-radius: 28px;

    box-shadow:
        0 25px 70px rgba(35, 40, 80, 0.12);

    text-align: center;

    position: relative;

    overflow: hidden;

    animation:
        smartCheckEnter 0.8s ease forwards;
}


/* Decorative glow */

.smart-form-check::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    top: -120px;
    right: -100px;

    background: rgba(108, 92, 231, 0.10);

    border-radius: 50%;

    filter: blur(10px);

    pointer-events: none;
}


/* ================================
   LABEL
   ================================ */

.smart-check-label {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 17px;

    border-radius: 30px;

    background: #f1efff;

    color: #5b4bb7;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 14px;
}


/* ================================
   TITLE
   ================================ */

.smart-check-title {
    font-size: clamp(30px, 5vw, 46px);

    font-weight: 800;

    color: #172033;

    margin: 8px 0 12px;

    animation:
        titleReveal 0.8s ease forwards;
}


/* ================================
   DESCRIPTION
   ================================ */

.smart-check-description {
    max-width: 650px;

    margin: 0 auto 32px;

    color: #6d7182;

    font-size: 16px;

    line-height: 1.7;
}


/* ================================
   UPLOAD AREA
   ================================ */

.smart-upload-area {
    max-width: 650px;

    margin: 0 auto;

    padding: 40px 25px;

    border: 2px dashed #d8d4f5;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #faf9ff,
            #ffffff
        );

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;

    animation:
        cardReveal 0.8s ease 0.2s both;
}


.smart-upload-area:hover {
    transform: translateY(-5px);

    border-color: #8b7cf0;

    box-shadow:
        0 15px 40px rgba(108, 92, 231, 0.12);
}


/* ================================
   UPLOAD ICON
   ================================ */

.smart-upload-icon {
    width: 78px;
    height: 78px;

    margin: 0 auto 18px;

    display: flex;

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

    border-radius: 22px;

    background: #f0edff;

    font-size: 38px;

    animation:
        uploadFloat 2.5s ease-in-out infinite;
}


.smart-upload-area h3 {
    margin: 0 0 7px;

    color: #20243a;

    font-size: 22px;
}


.smart-upload-area p {
    margin: 0 0 22px;

    color: #85899a;

    font-size: 14px;
}


/* ================================
   UPLOAD BUTTON
   ================================ */

.smart-upload-btn {
    border: none;

    padding: 13px 25px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #6c5ce7,
            #8274ed
        );

    color: white;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 22px rgba(108, 92, 231, 0.25);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.smart-upload-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(108, 92, 231, 0.35);
}


.smart-upload-btn:active {
    transform: scale(0.97);
}


/* ================================
   SELECTED FILE
   ================================ */

.smart-file-preview {
    max-width: 650px;

    margin: 20px auto;

    padding: 16px 18px;

    display: flex;

    align-items: center;

    gap: 14px;

    text-align: left;

    background: #fafaff;

    border: 1px solid #e8e6f5;

    border-radius: 16px;

    animation:
        fileReveal 0.45s ease forwards;
}


.smart-file-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

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

    background: #eeeaff;

    border-radius: 12px;

    font-size: 24px;
}


.smart-file-info {
    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 4px;

    min-width: 0;
}


.smart-file-info strong {
    color: #24283c;

    font-size: 15px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.smart-file-info span {
    color: #85899a;

    font-size: 13px;
}


.smart-remove-btn {
    width: 35px;
    height: 35px;

    border: none;

    border-radius: 50%;

    background: #fff0f0;

    color: #d94a4a;

    cursor: pointer;

    font-size: 16px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.smart-remove-btn:hover {
    transform: rotate(90deg);

    background: #ffe1e1;
}


/* ================================
   CHECK BUTTON
   ================================ */

.smart-check-btn {
    margin-top: 22px;

    padding: 15px 32px;

    border: none;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #5b4bb7,
            #7665e8
        );

    color: white;

    font-size: 16px;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 10px 28px rgba(91, 75, 183, 0.25);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}


.smart-check-btn:hover:not(:disabled) {
    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(91, 75, 183, 0.35);
}


.smart-check-btn:active:not(:disabled) {
    transform: scale(0.97);
}


.smart-check-btn:disabled {
    opacity: 0.45;

    cursor: not-allowed;

    box-shadow: none;
}


/* ================================
   CHECKING AREA
   ================================ */

.smart-checking {
    margin: 35px auto 10px;

    padding: 30px 20px;

    max-width: 600px;

    border-radius: 20px;

    background: #f7f5ff;

    animation:
        checkingReveal 0.5s ease forwards;
}


.smart-loader {
    width: 58px;
    height: 58px;

    margin: 0 auto 18px;

    border-radius: 50%;

    border: 5px solid #e4e1f8;

    border-top-color: #6c5ce7;

    animation:
        loaderSpin 0.9s linear infinite;
}


.smart-checking h3 {
    margin: 0 0 8px;

    color: #292344;

    font-size: 20px;
}


.smart-checking p {
    margin: 0;

    color: #777b8c;

    font-size: 14px;
}


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

.smart-result {
    margin-top: 35px;

    text-align: left;

    animation:
        resultReveal 0.7s ease forwards;
}


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

.smart-result-header {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 20px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #f6f4ff,
            #fbfaff
        );

    border: 1px solid #e8e5f8;
}


.smart-result-icon {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;

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

    border-radius: 16px;

    background: #eae6ff;

    font-size: 28px;
}


.smart-result-header span {
    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

    color: #6c5ce7;
}


.smart-result-header h3 {
    margin: 4px 0 0;

    font-size: 22px;

    color: #20243a;
}


/* ================================
   READINESS
   ================================ */

.form-readiness {
    margin: 30px auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}


.readiness-circle {
    width: 145px;
    height: 145px;

    border-radius: 50%;

    display: flex;

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

    position: relative;

    background:
        conic-gradient(
            #6c5ce7 0deg,
            #6c5ce7 var(--progress, 0deg),
            #e8e8f4 var(--progress, 0deg),
            #e8e8f4 360deg
        );

    box-shadow:
        0 12px 35px rgba(108, 92, 231, 0.18);

    animation:
        progressReveal 1s ease forwards;
}


.readiness-circle::before {
    content: "";

    position: absolute;

    width: 112px;
    height: 112px;

    border-radius: 50%;

    background: white;
}


.readiness-percentage {
    position: relative;

    z-index: 2;

    font-size: 28px;

    font-weight: 900;

    color: #292344;
}


.readiness-text {
    margin-top: 12px;

    color: #656a7c;

    font-size: 15px;

    font-weight: 700;
}


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

.smart-status-message {
    padding: 16px 18px;

    margin-bottom: 20px;

    border-radius: 14px;

    background: #f4f3ff;

    border: 1px solid #e5e2fa;

    color: #45405f;

    font-weight: 600;

    text-align: center;
}


/* ================================
   FIELD CHECK CARD
   ================================ */

.form-check-card {
    padding: 24px;

    border-radius: 20px;

    background: #fafaff;

    border: 1px solid #e8e7f2;

    animation:
        cardReveal 0.7s ease forwards;
}


.form-check-heading {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 17px;

    font-size: 20px;

    font-weight: 800;

    color: #20243a;
}


/* ================================
   SMART FIELD
   ================================ */

.smart-field {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 15px 17px;

    margin: 9px 0;

    border-radius: 13px;

    background: white;

    border: 1px solid #eeeeF5;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.smart-field:hover {
    transform: translateX(5px);

    box-shadow:
        0 7px 22px rgba(40, 40, 80, 0.08);
}


.smart-field.warning {
    border-left: 4px solid #ffae42;

    animation:
        fieldSlideIn 0.5s ease both;
}


.smart-field.success {
    border-left: 4px solid #35c875;

    animation:
        fieldSlideIn 0.5s ease both;
}


.field-name {
    display: flex;

    align-items: center;

    gap: 9px;

    font-weight: 700;

    color: #20243a;
}


.field-status {
    color: #70758a;

    font-size: 14px;

    text-align: right;
}


/* ================================
   IMPORTANT MESSAGE
   ================================ */

.smart-important {
    margin-top: 20px;

    padding: 18px 20px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #fff8e8,
            #fffdf6
        );

    border: 1px solid #ffe4a8;

    line-height: 1.6;

    color: #514522;

    animation:
        importantReveal 0.7s ease both;
}


.smart-important strong {
    color: #392d0e;
}


/* ================================
   STATISTICS
   ================================ */

.smart-statistics {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;

    margin-top: 20px;
}


.smart-stat {
    padding: 20px;

    text-align: center;

    border-radius: 16px;

    background: white;

    border: 1px solid #ececf4;

    box-shadow:
        0 8px 25px rgba(40, 40, 80, 0.06);

    transition:
        transform 0.25s ease;
}


.smart-stat:hover {
    transform: translateY(-5px);
}


.smart-stat-icon {
    font-size: 25px;

    margin-bottom: 5px;
}


.smart-stat-number {
    font-size: 27px;

    font-weight: 900;

    color: #28234d;
}


.smart-stat-label {
    font-size: 13px;

    color: #777b8c;

    margin-top: 4px;
}


/* ================================
   CHECK AGAIN
   ================================ */

.smart-check-again-btn {
    display: block;

    margin: 25px auto 0;

    padding: 13px 24px;

    border: 1px solid #dcd8f3;

    border-radius: 12px;

    background: white;

    color: #5b4bb7;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.smart-check-again-btn:hover {
    background: #f6f4ff;

    transform: translateY(-2px);
}


/* ================================
   ANIMATIONS
   ================================ */

@keyframes smartCheckEnter {

    from {
        opacity: 0;

        transform:
            translateY(35px)
            scale(0.97);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


@keyframes titleReveal {

    from {
        opacity: 0;

        transform:
            translateY(20px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


@keyframes cardReveal {

    from {
        opacity: 0;

        transform:
            translateY(20px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


@keyframes uploadFloat {

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

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

}


@keyframes fileReveal {

    from {
        opacity: 0;

        transform:
            translateY(-10px)
            scale(0.98);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


@keyframes checkingReveal {

    from {
        opacity: 0;

        transform:
            translateY(15px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


@keyframes loaderSpin {

    from {
        transform:
            rotate(0deg);
    }

    to {
        transform:
            rotate(360deg);
    }

}


@keyframes resultReveal {

    from {
        opacity: 0;

        transform:
            translateY(25px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


@keyframes progressReveal {

    from {
        transform:
            scale(0.75)
            rotate(-90deg);

        opacity: 0.4;
    }

    to {
        transform:
            scale(1)
            rotate(0deg);

        opacity: 1;
    }

}


@keyframes fieldSlideIn {

    from {
        opacity: 0;

        transform:
            translateX(-25px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }

}


@keyframes importantReveal {

    from {
        opacity: 0;

        transform:
            translateY(15px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


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

@media (max-width: 600px) {

    .smart-form-check {
        width: 92%;

        padding: 30px 18px;

        margin: 40px auto;
    }


    .smart-check-title {
        font-size: 30px;
    }


    .smart-check-description {
        font-size: 14px;
    }


    .smart-upload-area {
        padding: 30px 18px;
    }


    .readiness-circle {
        width: 120px;
        height: 120px;
    }


    .readiness-circle::before {
        width: 92px;
        height: 92px;
    }


    .readiness-percentage {
        font-size: 24px;
    }


    .smart-field {
        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }


    .field-status {
        text-align: left;
    }


    .smart-statistics {
        grid-template-columns: 1fr;
    }


    .smart-result-header {
        align-items: flex-start;
    }

}
/* =====================================================
   FORMHELP AI - ASK AI SECTION
===================================================== */

.ask-ai-section {
    width: 100%;
    max-width: 1100px;
    margin: 70px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.ask-ai-content {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 55px 30px;
    border-radius: 24px;
    background: linear-gradient(135deg, #eef4ff, #f8fbff);
    border: 1px solid #dce7f7;
    box-shadow: 0 15px 40px rgba(30, 70, 120, 0.08);
}

.ask-ai-content::before {
    content: "🤖";
    position: absolute;
    top: -35px;
    right: 45px;
    font-size: 110px;
    opacity: 0.06;
}

.ask-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 50px;
    background: #ffffff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 5px 18px rgba(30, 70, 120, 0.08);
}

.ask-ai-content h2 {
    margin: 18px 0 12px;
    font-size: 34px;
    font-weight: 800;
    color: #172033;
}

.ask-ai-content p {
    max-width: 680px;
    margin: 0 auto 28px;
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
}

.ask-ai-btn {
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    background: #2563eb;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
    transition: 0.25s ease;
}

.ask-ai-btn:hover {
    transform: translateY(-2px);
    background: #1d4ed8;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.30);
}


/* =====================================================
   ASK AI MODAL
===================================================== */

.ask-ai-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

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

    padding: 20px;
    box-sizing: border-box;

    background: rgba(15, 23, 42, 0.60);
    backdrop-filter: blur(6px);
}

.ask-ai-modal.active {
    display: flex;
}


/* =====================================================
   ASK AI BOX
===================================================== */

.ask-ai-box {
    position: relative;

    width: 100%;
    max-width: 560px;
    height: 680px;
    max-height: 90vh;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #ffffff;
    border-radius: 24px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.20);

    animation: askAIBoxIn 0.25s ease;
}

@keyframes askAIBoxIn {

    from {
        opacity: 0;
        transform: translateY(25px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =====================================================
   ASK AI CLOSE BUTTON
===================================================== */

.close-ask-ai {
    position: absolute;
    top: 16px;
    right: 16px;

    width: 38px;
    height: 38px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;

    font-size: 18px;
    cursor: pointer;

    z-index: 10;

    transition: 0.2s ease;
}

.close-ask-ai:hover {
    background: rgba(255, 255, 255, 0.30);
    transform: rotate(90deg);
}


/* =====================================================
   ASK AI HEADER
===================================================== */

.ask-ai-header {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 22px 60px 22px 24px;

    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #ffffff;
}

.ask-ai-icon {
    width: 48px;
    height: 48px;

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

    flex-shrink: 0;

    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);

    font-size: 25px;
}

.ask-ai-header h2 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
}

.ask-ai-header span {
    font-size: 13px;
    opacity: 0.88;
}


/* =====================================================
   CHAT MESSAGES
===================================================== */

.ask-ai-messages {
    flex: 1;

    overflow-y: auto;

    padding: 24px;

    display: flex;
    flex-direction: column;
    gap: 14px;

    background: #f8fafc;
}


/* Scrollbar */

.ask-ai-messages::-webkit-scrollbar {
    width: 6px;
}

.ask-ai-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}


/* =====================================================
   AI MESSAGE
===================================================== */

.ai-message {
    align-self: flex-start;

    max-width: 82%;

    padding: 13px 16px;

    border-radius: 16px 16px 16px 4px;

    background: #ffffff;
    color: #263248;

    font-size: 14px;
    line-height: 1.6;

    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}


/* =====================================================
   USER MESSAGE
===================================================== */

.user-message {
    align-self: flex-end;

    max-width: 82%;

    padding: 13px 16px;

    border-radius: 16px 16px 4px 16px;

    background: #2563eb;
    color: #ffffff;

    font-size: 14px;
    line-height: 1.6;

    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.18);
}


/* =====================================================
   AI TYPING
===================================================== */

.ai-typing {
    align-self: flex-start;

    padding: 13px 17px;

    border-radius: 16px 16px 16px 4px;

    background: #ffffff;

    color: #64748b;

    font-size: 14px;

    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.ai-typing span {
    display: inline-block;

    width: 6px;
    height: 6px;

    margin: 0 2px;

    border-radius: 50%;

    background: #94a3b8;

    animation: typingDot 1.2s infinite ease-in-out;
}

.ai-typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.ai-typing span:nth-child(3) {
    animation-delay: 0.30s;
}

@keyframes typingDot {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.45;
    }

    30% {
        transform: translateY(-4px);
        opacity: 1;
    }

}


/* =====================================================
   INPUT AREA
===================================================== */

.ask-ai-input-area {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 16px;

    background: #ffffff;

    border-top: 1px solid #e5e7eb;
}

.ask-ai-input-area input {
    flex: 1;

    min-width: 0;

    height: 48px;

    padding: 0 16px;

    border: 1px solid #d7dee9;
    border-radius: 13px;

    outline: none;

    background: #f8fafc;

    color: #172033;

    font-size: 14px;

    transition: 0.2s ease;
}

.ask-ai-input-area input:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.ask-ai-input-area input::placeholder {
    color: #94a3b8;
}


/* =====================================================
   SEND BUTTON
===================================================== */

#askAISend {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    border: none;
    border-radius: 13px;

    background: #2563eb;
    color: #ffffff;

    font-size: 20px;

    cursor: pointer;

    transition: 0.2s ease;
}

#askAISend:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

#askAISend:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}


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

@media (max-width: 768px) {

    .ask-ai-section {
        margin: 50px auto;
        padding: 0 15px;
    }

    .ask-ai-content {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .ask-ai-content h2 {
        font-size: 27px;
    }

    .ask-ai-content p {
        font-size: 14px;
    }

    .ask-ai-box {
        height: 620px;
        max-height: 92vh;
        border-radius: 20px;
    }

    .ask-ai-header {
        padding: 18px 55px 18px 18px;
    }

    .ask-ai-messages {
        padding: 18px;
    }

    .ai-message,
    .user-message {
        max-width: 88%;
    }

}


@media (max-width: 480px) {

    .ask-ai-content h2 {
        font-size: 24px;
    }

    .ask-ai-content p {
        font-size: 13px;
    }

    .ask-ai-btn {
        width: 100%;
    }

    .ask-ai-box {
        height: 600px;
    }

    .ask-ai-header h2 {
        font-size: 18px;
    }

    .ask-ai-header span {
        font-size: 12px;
    }

    .ask-ai-input-area {
        padding: 12px;
    }

    .ask-ai-input-area input {
        height: 44px;
        font-size: 13px;
    }

    #askAISend {
        width: 44px;
        height: 44px;
    }

}
/* =========================================================
   FORMHELP AI — PREMIUM WELCOME SCREEN
   No image required
   ========================================================= */

#welcome-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;

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

    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(91, 88, 220, 0.45),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(37, 99, 235, 0.35),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #080b20,
            #11143a,
            #090b1c
        );

    backdrop-filter: blur(14px);

    animation: welcomeExit 1s ease 3.5s forwards;
}


/* Animated light effect */

#welcome-screen::before {
    content: "";

    position: absolute;
    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: rgba(108, 92, 231, 0.22);

    filter: blur(100px);

    animation: floatingGlow 4s ease-in-out infinite;
}


/* Welcome content */

.welcome-content {
    position: relative;
    z-index: 2;

    text-align: center;

    color: white;

    padding: 30px;

    animation: welcomeZoom 1.2s ease forwards;
}


/* WELCOME TO */

.welcome-content p {
    margin: 0 0 12px;

    font-size: 17px;

    font-weight: 600;

    letter-spacing: 6px;

    color: #d9d8ff;

    opacity: 0;

    animation:
        welcomeTextIn 0.9s ease 0.2s forwards;
}


/* FORMHELP AI */

.welcome-content h1 {
    margin: 0;

    font-size: clamp(45px, 8vw, 85px);

    font-weight: 900;

    letter-spacing: 3px;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #9c9aff,
            #ffffff
        );

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 30px rgba(108, 92, 231, 0.5);

    opacity: 0;

    animation:
        welcomeTitleIn 1s ease 0.5s forwards;
}


/* Tagline */

.welcome-content span {
    display: block;

    margin-top: 18px;

    font-size: 16px;

    letter-spacing: 1px;

    color: #d6d7f5;

    opacity: 0;

    animation:
        welcomeTextIn 1s ease 0.9s forwards;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes welcomeZoom {

    from {
        transform: scale(0.85);
    }

    to {
        transform: scale(1);
    }
}


@keyframes welcomeTextIn {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes welcomeTitleIn {

    from {
        opacity: 0;
        transform: scale(0.75);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


@keyframes floatingGlow {

    0% {
        transform: translate(-180px, -100px);
    }

    50% {
        transform: translate(180px, 100px);
    }

    100% {
        transform: translate(-180px, -100px);
    }
}


@keyframes welcomeExit {

    0% {
        opacity: 1;
        visibility: visible;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}


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

@media (max-width: 600px) {

    .welcome-content {
        padding: 20px;
    }

    .welcome-content p {
        font-size: 13px;
        letter-spacing: 4px;
    }

    .welcome-content h1 {
        font-size: 43px;
        letter-spacing: 1px;
    }

    .welcome-content span {
        font-size: 13px;
        line-height: 1.5;
    }
}
