/* =========================================================
   DEEPGUARD AI
   GLOBAL STYLE
   ========================================================= */

:root {
    --purple: #7654d6;
    --purple-dark: #6242c1;
    --purple-light: #f2effb;
    --purple-soft: #f8f6fd;

    --dark: #292440;
    --text: #37324f;
    --muted: #858292;

    --border: #ebe8f2;
    --background: #f8f7fb;
    --white: #ffffff;

    --green: #20a463;
    --red: #df4b5b;

    --sidebar-width: 245px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--background);
    color: var(--text);
}

a {
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================================
   PUBLIC SHELL
   ========================================================= */

.public-shell {
    min-height: 100vh;
    width: 100%;
}


/* =========================================================
   APP SHELL
   ========================================================= */

.app-shell {
    min-height: 100vh;
    display: flex;
    width: 100%;
    background: var(--background);
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;

    width: var(--sidebar-width);
    height: 100vh;

    background: #ffffff;

    border-right: 1px solid var(--border);

    display: flex;
    flex-direction: column;

    z-index: 1000;
}


/* Brand */

.sidebar-brand {
    padding: 25px 22px 22px;
    border-bottom: 1px solid #f1eff5;
}

.sidebar-brand a {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--dark);
}

.brand-icon {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: var(--purple);
    color: white;

    font-size: 20px;

    box-shadow:
        0 7px 18px rgba(118, 84, 214, 0.22);
}

.brand-text {
    display: flex;
    align-items: baseline;
    gap: 4px;

    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.brand-text small {
    color: var(--purple);
    font-size: 12px;
    font-weight: 800;
}


/* Navigation */

.sidebar-nav {
    padding: 22px 13px;
    flex: 1;
}

.nav-section-title {
    padding: 0 12px;
    margin-bottom: 9px;

    color: #a09daa;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.2px;
}

.nav-section-space {
    margin-top: 25px;
}


.nav-link {
    position: relative;

    display: flex;
    align-items: center;

    gap: 12px;

    width: 100%;

    padding: 11px 13px;

    margin-bottom: 4px;

    border-radius: 10px;

    color: #777383;

    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.nav-link i {
    width: 19px;
    text-align: center;
    font-size: 16px;
}

.nav-link:hover {
    color: var(--purple);
    background: #f7f4fd;
}

.nav-link.active {
    color: var(--purple);
    background: #f0ebfc;
    font-weight: 700;
}

.nav-link.active::before {
    content: "";

    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;

    width: 3px;

    border-radius: 0 5px 5px 0;

    background: var(--purple);
}


/* Sidebar bottom */

.sidebar-bottom {
    padding: 15px;

    border-top: 1px solid #f1eff5;
}

.user-mini {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 10px;

    margin-bottom: 8px;

    background: #faf9fd;
    border-radius: 11px;
}

.user-avatar {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eee9fa;
    color: var(--purple);

    border-radius: 9px;
}

.user-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.user-info strong {
    color: #39344e;
    font-size: 12px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-info small {
    color: #9995a2;
    font-size: 10px;
    margin-top: 2px;
}

.logout-link {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 12px;

    color: #8d8997;

    border-radius: 9px;

    font-size: 12px;
    font-weight: 600;
}

.logout-link:hover {
    color: #d34c5d;
    background: #fff2f4;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.main-content {
    width: calc(100% - var(--sidebar-width));
    margin-left: var(--sidebar-width);

    min-height: 100vh;

    background: var(--background);
}


/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {
    height: 76px;

    background: #ffffff;

    border-bottom: 1px solid var(--border);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 32px;

    position: sticky;
    top: 0;

    z-index: 100;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 13px;
}

.topbar-label {
    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.3px;

    color: #aaa6b2;

    margin-bottom: 3px;
}

.topbar h1 {
    margin: 0;

    color: #302c48;

    font-size: 17px;
    font-weight: 750;
}

.topbar-right {
    display: flex;
    align-items: center;
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 7px 11px;

    background: #f5fbf7;

    border: 1px solid #e1f1e7;

    color: #479269;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 700;
}

.status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #35ad70;

    box-shadow: 0 0 0 3px rgba(53, 173, 112, 0.10);
}

.mobile-menu-btn {
    display: none;

    width: 38px;
    height: 38px;

    border: 1px solid var(--border);
    background: white;

    border-radius: 9px;

    color: var(--dark);

    font-size: 19px;
}


/* =========================================================
   PAGE CONTENT
   ========================================================= */

.page-content {
    width: 100%;
    max-width: 1450px;

    margin: 0 auto;

    padding: 30px 32px 45px;
}


/* =========================================================
   FLASH
   ========================================================= */

.flash-container {
    padding: 15px 32px 0;
}

.flash-container .alert {
    max-width: 1450px;
    margin: 0 auto;
}


/* =========================================================
   HOME
   ========================================================= */

.home-page {
    min-height: calc(100vh - 76px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px 30px;
}

.home-container {
    width: 100%;
    max-width: 1050px;

    text-align: center;
}

.home-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 13px;

    background: #f0ebfc;
    color: var(--purple);

    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;

    margin-bottom: 20px;
}

.home-title {
    max-width: 850px;

    margin: 0 auto 18px;

    color: #25213e;

    font-size: clamp(35px, 5vw, 62px);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -2px;
}

.home-title span {
    color: var(--purple);
}

.home-description {
    max-width: 670px;

    margin: 0 auto 30px;

    color: #858292;

    font-size: 16px;
    line-height: 1.7;
}

.home-actions {
    display: flex;
    justify-content: center;
    gap: 11px;

    flex-wrap: wrap;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-width: 145px;

    padding: 12px 19px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 700;
}

.home-btn-primary {
    background: var(--purple);
    color: white;

    box-shadow:
        0 8px 20px rgba(118, 84, 214, 0.20);
}

.home-btn-primary:hover {
    background: var(--purple-dark);
    color: white;
}

.home-btn-secondary {
    background: white;

    border: 1px solid #e5e0ee;

    color: var(--purple);
}

.home-btn-secondary:hover {
    background: #f8f5fd;
    color: var(--purple);
}


/* =========================================================
   AUTH PAGES
   ========================================================= */

.auth-page {
    min-height: 100vh;

    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    background: #ffffff;
}

.auth-brand {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255,255,255,0.13),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #6540ca 0%,
            #7654d6 45%,
            #8c68e8 100%
        );

    color: white;

    padding: 55px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-brand-content {
    width: 100%;
    max-width: 480px;
}

.auth-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: white;

    font-size: 21px;
    font-weight: 800;

    margin-bottom: 75px;
}

.auth-brand-logo-icon {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: rgba(255,255,255,0.16);

    font-size: 19px;
}

.auth-brand h1 {
    margin: 0 0 18px;

    font-size: clamp(38px, 4vw, 56px);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -1.5px;
}

.auth-brand p {
    margin: 0;

    max-width: 440px;

    color: rgba(255,255,255,0.82);

    font-size: 15px;

    line-height: 1.8;
}

.auth-form-side {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 45px;
}

.auth-card {
    width: 100%;
    max-width: 430px;
}

.auth-card h2 {
    margin: 0 0 7px;

    color: #292440;

    font-size: 30px;
    font-weight: 800;

    letter-spacing: -0.5px;
}

.auth-subtitle {
    color: #858292;

    font-size: 13px;

    margin-bottom: 29px;
}

.auth-form-group {
    margin-bottom: 17px;
}

.auth-label {
    display: block;

    margin-bottom: 7px;

    color: #403b55;

    font-size: 12px;
    font-weight: 700;
}

.auth-input {
    width: 100%;
    height: 48px;

    padding: 0 14px;

    border: 1px solid #ddd9e7;

    border-radius: 10px;

    outline: none;

    background: white;

    color: #302c48;

    font-size: 13px;

    transition: 0.2s;
}

.auth-input:focus {
    border-color: var(--purple);

    box-shadow:
        0 0 0 3px rgba(118,84,214,0.10);
}

.auth-button {
    width: 100%;
    height: 48px;

    margin-top: 8px;

    border: none;
    border-radius: 10px;

    background: var(--purple);
    color: white;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.auth-button:hover {
    background: var(--purple-dark);
}

.auth-footer {
    margin-top: 20px;

    text-align: center;

    color: #858292;

    font-size: 12px;
}

.auth-footer a {
    color: var(--purple);
    font-weight: 700;
}


/* =========================================================
   DASHBOARD
   ========================================================= */

.dashboard-page {
    width: 100%;
}


/* Four cards */

.stats-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 22px;
}

.stat-card {
    min-width: 0;

    background: white;

    border: 1px solid var(--border);

    border-radius: 17px;

    padding: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-shadow:
        0 4px 18px rgba(60,45,100,0.035);

    transition: transform 0.18s ease,
                box-shadow 0.18s ease;
}

.stat-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 9px 25px rgba(60,45,100,0.07);
}

.stat-content {
    min-width: 0;
}

.stat-label {
    color: #817d8d;

    font-size: 11px;

    font-weight: 650;

    margin-bottom: 6px;
}

.stat-value {
    color: #25213d;

    font-size: 27px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: -0.7px;
}

.stat-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-size: 18px;
}


/* Dashboard chart */

.dashboard-chart {
    background: white;

    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 23px;

    box-shadow:
        0 4px 18px rgba(60,45,100,0.035);
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 20px;
}

.chart-title {
    margin: 0;

    color: #302c48;

    font-size: 16px;
    font-weight: 750;
}

.chart-subtitle {
    margin: 4px 0 0;

    color: #96929f;

    font-size: 11px;
}

.chart-badge {
    padding: 6px 10px;

    border-radius: 8px;

    background: #f4f1fa;

    color: #7654d6;

    font-size: 10px;

    font-weight: 700;
}

.chart-wrapper {
    height: 320px;
    position: relative;
}


/* =========================================================
   GENERIC CARDS
   ========================================================= */

.page-intro {
    margin-bottom: 22px;
}

.page-intro h1 {
    margin: 0 0 6px;

    color: #292440;

    font-size: 27px;

    font-weight: 800;

    letter-spacing: -0.5px;
}

.page-intro p {
    margin: 0;

    color: #858292;

    font-size: 13px;
}


/* =========================================================
   ANALYZER
   ========================================================= */

.analyzer-page {
    max-width: 1100px;
    margin: 0 auto;
}

.analyzer-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        290px;

    gap: 18px;

    align-items: start;
}

.upload-card,
.side-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow:
        0 4px 18px rgba(60,45,100,0.035);
}

.upload-card {
    padding: 25px;
}

.upload-zone {
    min-height: 315px;

    border: 1.5px dashed #b9a9e8;

    background: #fbfaff;

    border-radius: 15px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 25px;

    cursor: pointer;

    transition: 0.2s;
}

.upload-zone:hover,
.upload-zone.dragging {
    border-color: var(--purple);

    background: #f7f4ff;
}

.upload-symbol {
    width: 58px;
    height: 58px;

    border-radius: 15px;

    background: #eee9fb;

    color: var(--purple);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;

    margin-bottom: 15px;
}

.upload-zone h2 {
    margin: 0 0 7px;

    color: #302c48;

    font-size: 19px;
    font-weight: 750;
}

.upload-zone p {
    margin: 0 0 17px;

    color: #8b8794;

    font-size: 12px;
}

.choose-button {
    display: inline-flex;

    padding: 10px 17px;

    border-radius: 9px;

    background: var(--purple);

    color: white;

    font-size: 12px;
    font-weight: 700;
}

.file-input {
    display: none;
}

.file-name {
    min-height: 18px;

    margin-top: 13px;

    color: var(--purple);

    font-size: 11px;

    font-weight: 700;
}

.submit-button {
    width: 100%;

    margin-top: 16px;

    padding: 12px;

    border: none;

    border-radius: 10px;

    background: var(--dark);

    color: white;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s;
}

.submit-button:hover {
    background: var(--purple);
}

.submit-button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.side-card {
    padding: 21px;
}

.side-card h3 {
    margin: 0 0 15px;

    color: #302c48;

    font-size: 15px;
    font-weight: 750;
}

.requirement {
    padding: 13px 0;

    border-bottom: 1px solid #f0eef4;
}

.requirement:last-child {
    border-bottom: none;
}

.requirement-title {
    margin-bottom: 5px;

    color: #413c56;

    font-size: 12px;
    font-weight: 700;
}

.requirement-text {
    color: #8b8794;

    font-size: 11px;

    line-height: 1.6;
}

.supported {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 9px;
}

.format {
    padding: 5px 8px;

    border-radius: 6px;

    background: #f2effa;

    color: #7053c8;

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   HISTORY
   ========================================================= */

.history-page {
    max-width: 1200px;
    margin: 0 auto;
}

.history-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 7px;

    box-shadow:
        0 4px 18px rgba(60,45,100,0.035);

    overflow-x: auto;
}

.history-table {
    width: 100%;

    min-width: 730px;

    border-collapse: collapse;
}

.history-table th {
    padding: 15px 17px;

    text-align: left;

    color: #918d9c;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.6px;

    border-bottom: 1px solid #f0eef5;
}

.history-table td {
    padding: 15px 17px;

    color: #37324d;

    font-size: 12px;

    border-bottom: 1px solid #f6f4fa;

    vertical-align: middle;
}

.history-table tr:last-child td {
    border-bottom: none;
}

.badge-real,
.badge-fake,
.badge-pending {
    display: inline-flex;

    padding: 5px 10px;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 750;
}

.badge-real {
    background: #eaf8f0;
    color: #249458;
}

.badge-fake {
    background: #fdebee;
    color: #df4354;
}

.badge-pending {
    background: #f5f3f8;
    color: #85818e;
}

.btn-view {
    display: inline-flex;

    padding: 7px 11px;

    border-radius: 7px;

    background: #f2effa;

    color: #7053c8;

    font-size: 10px;

    font-weight: 700;
}

.btn-view:hover {
    background: var(--purple);
    color: white;
}


/* =========================================================
   RESULT
   ========================================================= */

.result-page {
    max-width: 1000px;
    margin: 0 auto;
}

.result-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        290px;

    gap: 18px;
}

.result-card,
.details-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow:
        0 4px 18px rgba(60,45,100,0.035);
}

.result-card {
    padding: 32px;

    text-align: center;
}

.result-label {
    margin-bottom: 14px;

    color: #96929f;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.result-status {
    margin-bottom: 9px;

    font-size: 38px;

    line-height: 1;

    font-weight: 800;
}

.result-status.fake {
    color: var(--red);
}

.result-status.real {
    color: var(--green);
}

.result-description {
    max-width: 520px;

    margin: 0 auto 25px;

    color: #858292;

    font-size: 12px;

    line-height: 1.7;
}

.confidence-container {
    padding: 21px;

    background: #f8f7fb;

    border-radius: 14px;
}

.confidence-heading {
    margin-bottom: 6px;

    color: #807b8b;

    font-size: 10px;
    font-weight: 700;
}

.confidence-value {
    color: var(--purple);

    font-size: 34px;
    font-weight: 800;
}

.confidence-bar {
    height: 7px;

    margin-top: 12px;

    background: #e7e4ed;

    border-radius: 20px;

    overflow: hidden;
}

.confidence-progress {
    height: 100%;

    background: var(--purple);

    border-radius: 20px;
}

.details-card {
    padding: 21px;
}

.details-card h3 {
    margin: 0 0 17px;

    color: #302c48;

    font-size: 15px;
}

.detail {
    padding: 12px 0;

    border-bottom: 1px solid #efedf3;
}

.detail:last-child {
    border-bottom: none;
}

.detail-label {
    margin-bottom: 4px;

    color: #96929f;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.6px;

    text-transform: uppercase;
}

.detail-value {
    color: #39354e;

    font-size: 12px;

    font-weight: 650;

    word-break: break-word;
}

.actions {
    display: flex;

    gap: 8px;

    margin-top: 17px;

    flex-wrap: wrap;
}

.action {
    flex: 1;

    min-width: 120px;

    padding: 10px 13px;

    border-radius: 8px;

    text-align: center;

    font-size: 11px;
    font-weight: 700;
}

.action-primary {
    background: var(--purple);
    color: white;
}

.action-primary:hover {
    background: var(--purple-dark);
    color: white;
}

.action-secondary {
    background: #f1eef9;
    color: #7050c8;
}

.action-secondary:hover {
    background: #e6e0f5;
    color: #7050c8;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-page {
    max-width: 1150px;
    margin: 0 auto;
}

.about-hero,
.about-card,
.technology-card,
.process-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow:
        0 4px 18px rgba(60,45,100,0.035);
}

.about-hero {
    padding: 32px;
    margin-bottom: 18px;
}

.about-label {
    margin-bottom: 10px;

    color: var(--purple);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.about-hero h1 {
    margin: 0 0 11px;

    color: #292440;

    font-size: 32px;
    font-weight: 800;
}

.about-hero p {
    max-width: 760px;

    margin: 0;

    color: #777482;

    font-size: 13px;

    line-height: 1.75;
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

    margin-bottom: 18px;
}

.about-card {
    padding: 24px;
}

.about-card h2,
.technology-card h2,
.process-card h2 {
    margin: 0 0 12px;

    color: #302c48;

    font-size: 17px;
    font-weight: 750;
}

.about-card p {
    margin: 0;

    color: #7e7a89;

    font-size: 12px;

    line-height: 1.7;
}

.feature-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.feature {
    display: flex;
    gap: 11px;
}

.feature-line {
    width: 3px;
    min-width: 3px;

    height: 34px;

    background: var(--purple);

    border-radius: 5px;
}

.feature h3 {
    margin: 0 0 3px;

    color: #37324f;

    font-size: 12px;
}

.feature p {
    margin: 0;

    color: #85818e;

    font-size: 11px;

    line-height: 1.5;
}

.technology-card,
.process-card {
    padding: 24px;

    margin-bottom: 18px;
}

.technologies {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}

.technology {
    padding: 7px 10px;

    border-radius: 7px;

    background: #f2eff9;

    border: 1px solid #e8e2f5;

    color: #7050c8;

    font-size: 10px;

    font-weight: 700;
}

.process {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 17px;
}

.process-number {
    margin-bottom: 8px;

    color: var(--purple);

    font-size: 9px;

    font-weight: 800;
}

.process-item h3 {
    margin: 0 0 5px;

    color: #37324f;

    font-size: 12px;
}

.process-item p {
    margin: 0;

    color: #85818e;

    font-size: 11px;

    line-height: 1.55;
}

.note {
    margin-top: 18px;

    padding: 15px 17px;

    background: #f8f6fc;

    border: 1px solid #e9e4f4;

    border-radius: 11px;

    color: #777381;

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .analyzer-layout,
    .result-layout {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 900px) {

    :root {
        --sidebar-width: 0px;
    }

    .sidebar {
        width: 245px;

        transform: translateX(-100%);

        transition: transform 0.25s ease;

        box-shadow:
            8px 0 30px rgba(30,20,60,0.08);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        width: 100%;
        margin-left: 0;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .topbar {
        padding: 0 20px;
    }

    .page-content {
        padding: 25px 20px 40px;
    }

    .flash-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-brand {
        display: none;
    }

    .auth-form-side {
        min-height: 100vh;
        padding: 35px 22px;
    }

}


@media (max-width: 700px) {

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .process {
        grid-template-columns:
            1fr 1fr;
    }

    .home-title {
        letter-spacing: -1px;
    }

}


@media (max-width: 500px) {

    .topbar-right {
        display: none;
    }

    .page-content {
        padding: 20px 14px 30px;
    }

    .flash-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .upload-card,
    .result-card,
    .about-hero,
    .about-card,
    .technology-card,
    .process-card {
        padding: 20px;
    }

    .process {
        grid-template-columns: 1fr;
    }

    .auth-form-side {
        padding: 25px 18px;
    }

}
/* =========================================================
   PUBLIC FLASH MESSAGES
   ========================================================= */

.public-flash-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: min(420px, calc(100% - 40px));
}

.public-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    margin-bottom: 10px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(40, 30, 70, 0.10);
    animation: alertSlideIn 0.25s ease;
}

.public-alert i {
    font-size: 16px;
}

.public-alert-danger {
    background: #fff1f3;
    border: 1px solid #f3cbd1;
    color: #c7384b;
}

.public-alert-success {
    background: #eefaf3;
    border: 1px solid #ccebd9;
    color: #21844c;
}

.public-alert-warning {
    background: #fff8e8;
    border: 1px solid #f1dfac;
    color: #9a7516;
}

.public-alert-info {
    background: #f2effb;
    border: 1px solid #ded6f3;
    color: #6548b8;
}


.auth-alert {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    margin-bottom: 20px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
}

.auth-alert-danger {
    background: #fff1f3;
    border: 1px solid #f3cbd1;
    color: #c7384b;
}

.auth-alert-success {
    background: #eefaf3;
    border: 1px solid #ccebd9;
    color: #21844c;
}

.auth-alert-warning {
    background: #fff8e8;
    border: 1px solid #f1dfac;
    color: #9a7516;
}


@keyframes alertSlideIn {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* =========================================================
   AUTHENTICATED HOME
   ========================================================= */

.user-home-page {
    width: 100%;
}


/* Welcome */

.welcome-section {
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(118, 84, 214, 0.12),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #ffffff,
            #f9f7ff
        );

    border: 1px solid var(--border);
    border-radius: 20px;

    padding: 28px 30px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.welcome-label {
    color: var(--purple);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.3px;
}


.welcome-section h1 {
    margin: 7px 0 7px;

    color: #292440;

    font-size: 28px;

    font-weight: 800;

    letter-spacing: -0.7px;
}


.welcome-section h1 span {
    color: var(--purple);
}


.welcome-section p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
}


.welcome-button {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 12px 17px;

    border-radius: 10px;

    background: var(--purple);

    color: white;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

    box-shadow:
        0 8px 20px rgba(
            118,
            84,
            214,
            0.20
        );
}


.welcome-button:hover {
    background: var(--purple-dark);

    color: white;
}


/* Home grid */

.home-dashboard-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.5fr);

    gap: 18px;

    margin-top: 18px;
}


.quick-card,
.recent-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 22px;

    box-shadow:
        0 4px 18px rgba(
            60,
            45,
            100,
            0.035
        );
}


.home-card-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 18px;
}


.home-card-header h2 {
    margin: 0 0 4px;

    color: #302c48;

    font-size: 16px;

    font-weight: 750;
}


.home-card-header p {
    margin: 0;

    color: #96929f;

    font-size: 10px;
}


.home-card-header > i {
    width: 35px;

    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background: #f2effa;

    color: var(--purple);
}


.home-card-header > a {
    color: var(--purple);

    font-size: 10px;

    font-weight: 700;
}


/* Quick actions */

.quick-actions {
    display: grid;

    gap: 9px;
}


.quick-action {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 12px;

    border-radius: 11px;

    background: #faf9fd;

    border: 1px solid #f0edf5;

    color: var(--text);

    transition: 0.2s ease;
}


.quick-action:hover {
    transform: translateX(3px);

    border-color: #ddd5f0;

    background: #f8f5fd;

    color: var(--text);
}


.quick-action.primary {
    background: #f1edfc;

    border-color: #e4dcf6;
}


.quick-action-icon {
    width: 36px;

    height: 36px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background: white;

    color: var(--purple);
}


.quick-action > span:nth-child(2) {
    min-width: 0;

    flex: 1;

    display: flex;

    flex-direction: column;
}


.quick-action strong {
    color: #39344e;

    font-size: 11px;
}


.quick-action small {
    color: #9995a2;

    font-size: 9px;

    margin-top: 2px;
}


.quick-action > i:last-child {
    color: #aaa5b3;

    font-size: 12px;
}


/* Recent detections */

.recent-list {
    display: grid;

    gap: 3px;
}


.recent-item {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 10px 5px;

    border-bottom: 1px solid #f3f1f6;
}


.recent-item:last-child {
    border-bottom: none;
}


.recent-file-icon {
    width: 35px;

    height: 35px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background: #f2effa;

    color: var(--purple);

    font-size: 14px;
}


.recent-info {
    min-width: 0;

    flex: 1;

    display: flex;

    flex-direction: column;
}


.recent-info strong {
    color: #39344e;

    font-size: 11px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.recent-info small {
    color: #9995a2;

    font-size: 9px;

    margin-top: 3px;
}


.recent-result {
    display: flex;

    align-items: flex-end;

    flex-direction: column;

    gap: 3px;
}


.recent-result small {
    color: #9995a2;

    font-size: 9px;
}


/* Empty state */

.empty-home {
    text-align: center;

    padding: 35px 15px;
}


.empty-home > div {
    width: 48px;

    height: 48px;

    margin: 0 auto 12px;

    border-radius: 13px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #f0ebfc;

    color: var(--purple);

    font-size: 20px;
}


.empty-home h3 {
    margin: 0 0 5px;

    color: #37324f;

    font-size: 14px;
}


.empty-home p {
    margin: 0 0 15px;

    color: #96929f;

    font-size: 10px;
}


.empty-button {
    display: inline-flex;

    padding: 9px 13px;

    border-radius: 8px;

    background: var(--purple);

    color: white;

    font-size: 10px;

    font-weight: 700;
}


.empty-button:hover {
    color: white;

    background: var(--purple-dark);
}


/* Info banner */

.home-info-banner {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    margin-top: 18px;

    padding: 17px 18px;

    background: #f8f6fc;

    border: 1px solid #e9e4f4;

    border-radius: 13px;
}


.info-banner-icon {
    width: 34px;

    height: 34px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eee9fa;

    color: var(--purple);

    border-radius: 9px;
}


.home-info-banner strong {
    display: block;

    color: #39344e;

    font-size: 11px;

    margin-bottom: 3px;
}


.home-info-banner p {
    margin: 0;

    color: #85818e;

    font-size: 10px;

    line-height: 1.6;
}


/* =========================================================
   DASHBOARD IMPROVEMENTS
   ========================================================= */

.page-intro {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 15px;
}


.dashboard-action-button {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 10px 13px;

    border-radius: 9px;

    background: var(--purple);

    color: white;

    font-size: 11px;

    font-weight: 700;
}


.dashboard-action-button:hover {
    background: var(--purple-dark);

    color: white;
}


.mini-stats {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 18px;
}


.mini-stats > div {
    background: white;

    border: 1px solid var(--border);

    border-radius: 13px;

    padding: 14px 16px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.mini-stats span {
    color: #8e8998;

    font-size: 10px;

    font-weight: 600;
}


.mini-stats strong {
    color: #37324f;

    font-size: 15px;

    font-weight: 800;
}


.charts-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 18px;
}


.chart-large {
    min-width: 0;
}


.plotly-chart {
    width: 100%;

    min-height: 320px;
}


.recent-table-card {
    width: 100%;
}


.table-view-all {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    color: var(--purple);

    font-size: 10px;

    font-weight: 700;
}


.recent-table-wrapper {
    width: 100%;

    overflow-x: auto;
}


.recent-table {
    width: 100%;

    min-width: 850px;

    border-collapse: collapse;
}


.recent-table th {
    padding: 12px;

    text-align: left;

    color: #918d9c;

    font-size: 9px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    border-bottom: 1px solid #f0eef5;
}


.recent-table td {
    padding: 12px;

    color: #37324d;

    font-size: 11px;

    border-bottom: 1px solid #f6f4fa;

    vertical-align: middle;
}


.recent-table tr:last-child td {
    border-bottom: none;
}


.table-file {
    display: flex;

    align-items: center;

    gap: 8px;

    max-width: 230px;
}


.table-file > span {
    width: 28px;

    height: 28px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #f2effa;

    color: var(--purple);

    border-radius: 7px;
}


.table-file strong {
    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.dashboard-empty {
    text-align: center;

    padding: 45px 20px;
}


.dashboard-empty > i {
    display: block;

    color: var(--purple);

    font-size: 32px;

    margin-bottom: 10px;
}


.dashboard-empty h3 {
    margin: 0 0 5px;

    color: #37324f;

    font-size: 15px;
}


.dashboard-empty p {
    margin: 0 0 17px;

    color: #96929f;

    font-size: 11px;
}


/* =========================================================
   PUBLIC LANDING PAGE
   ========================================================= */

.landing-page {
    min-height: 100vh;

    background: #ffffff;

    color: var(--text);
}


.landing-nav {
    height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 6%;

    border-bottom: 1px solid #f0edf5;

    background: rgba(
        255,
        255,
        255,
        0.95
    );
}


.landing-brand {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #292440;

    font-size: 17px;

    font-weight: 800;
}


.landing-brand:hover {
    color: #292440;
}


.landing-brand b {
    color: var(--purple);
}


.landing-brand-icon {
    width: 37px;

    height: 37px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--purple);

    color: white;

    border-radius: 10px;

    box-shadow:
        0 7px 18px rgba(
            118,
            84,
            214,
            0.22
        );
}


.landing-nav-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}


.landing-login {
    padding: 9px 13px;

    color: #777383;

    font-size: 12px;

    font-weight: 700;
}


.landing-login:hover {
    color: var(--purple);
}


.landing-nav-button {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 10px 15px;

    border-radius: 9px;

    background: var(--purple);

    color: white;

    font-size: 11px;

    font-weight: 700;
}


.landing-nav-button:hover {
    background: var(--purple-dark);

    color: white;
}


/* Hero */

.landing-hero {
    max-width: 1250px;

    margin: 0 auto;

    min-height: 610px;

    padding: 70px 35px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(350px, 0.95fr);

    gap: 60px;

    align-items: center;
}


.hero-content {
    max-width: 650px;
}


.hero-visual {
    display: flex;

    justify-content: center;
}


.home-badge {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 7px 13px;

    background: #f0ebfc;

    color: var(--purple);

    border-radius: 20px;

    font-size: 10px;

    font-weight: 800;

    margin-bottom: 20px;
}


.home-title {
    max-width: 850px;

    margin: 0 0 18px;

    color: #25213e;

    font-size: clamp(
        42px,
        5vw,
        68px
    );

    line-height: 1.03;

    font-weight: 800;

    letter-spacing: -2.8px;
}


.home-title span {
    color: var(--purple);
}


.home-description {
    max-width: 610px;

    margin: 0 0 28px;

    color: #858292;

    font-size: 15px;

    line-height: 1.75;
}


.hero-content .home-actions {
    justify-content: flex-start;
}


.hero-trust {
    display: flex;

    flex-wrap: wrap;

    gap: 17px;

    margin-top: 23px;
}


.hero-trust span {
    display: flex;

    align-items: center;

    gap: 6px;

    color: #858292;

    font-size: 10px;

    font-weight: 600;
}


.hero-trust i {
    color: var(--green);

    font-size: 11px;
}


/* Scan visual */

.scan-card {
    width: min(
        430px,
        100%
    );

    padding: 18px;

    background: white;

    border: 1px solid #e9e5f1;

    border-radius: 20px;

    box-shadow:
        0 25px 60px rgba(
            60,
            45,
            100,
            0.10
        );

    transform: rotate(1deg);
}


.scan-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 13px;
}


.scan-header > div {
    display: flex;

    flex-direction: column;
}


.scan-small {
    color: #a09baa;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1px;
}


.scan-header strong {
    color: #37324f;

    font-size: 13px;

    margin-top: 3px;
}


.scan-status {
    display: flex;

    align-items: center;

    gap: 5px;

    color: var(--green);

    font-size: 8px;

    font-weight: 800;
}


.scan-status i {
    font-size: 6px;
}


.scan-preview {
    height: 255px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        radial-gradient(
            circle at 50% 45%,
            #d9cff4,
            #9a7de0 40%,
            #4e3994 100%
        );

    border-radius: 14px;
}


.scan-preview::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(255,255,255,0.04) 1px,
            transparent 1px
        );

    background-size: 20px 20px;
}


.face-frame {
    width: 145px;

    height: 180px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 2px solid rgba(
        255,
        255,
        255,
        0.85
    );

    border-radius: 65px 65px 55px 55px;

    color: rgba(
        255,
        255,
        255,
        0.85
    );

    font-size: 70px;

    z-index: 2;
}


.scan-line {
    position: absolute;

    left: 12%;

    right: 12%;

    top: 50%;

    height: 2px;

    background: rgba(
        255,
        255,
        255,
        0.75
    );

    box-shadow:
        0 0 15px
        rgba(
            255,
            255,
            255,
            0.7
        );

    z-index: 3;

    animation: scanMove 2.8s
        ease-in-out infinite;
}


@keyframes scanMove {

    0% {
        top: 20%;
    }

    50% {
        top: 78%;
    }

    100% {
        top: 20%;
    }

}


.scan-corner {
    position: absolute;

    width: 22px;

    height: 22px;

    border-color: white;

    z-index: 4;
}


.scan-corner.top-left {
    top: 18px;
    left: 18px;

    border-top: 2px solid;
    border-left: 2px solid;
}


.scan-corner.top-right {
    top: 18px;
    right: 18px;

    border-top: 2px solid;
    border-right: 2px solid;
}


.scan-corner.bottom-left {
    bottom: 18px;
    left: 18px;

    border-bottom: 2px solid;
    border-left: 2px solid;
}


.scan-corner.bottom-right {
    bottom: 18px;
    right: 18px;

    border-bottom: 2px solid;
    border-right: 2px solid;
}


.scan-result {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 15px;
}


.scan-result div:first-child {
    display: flex;

    flex-direction: column;
}


.scan-result span {
    color: #9995a2;

    font-size: 9px;
}


.scan-result strong {
    color: #37324f;

    font-size: 12px;

    margin-top: 3px;
}


.scan-icon {
    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background: #eaf8f0;

    color: var(--green);
}


/* Landing stats */

.landing-stats {
    max-width: 1100px;

    margin: 0 auto 70px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top: 1px solid #eeeaf4;

    border-bottom: 1px solid #eeeaf4;
}


.landing-stat {
    padding: 25px;

    text-align: center;

    border-right: 1px solid #eeeaf4;
}


.landing-stat:last-child {
    border-right: none;
}


.landing-stat strong {
    display: block;

    color: var(--purple);

    font-size: 24px;

    font-weight: 800;
}


.landing-stat span {
    display: block;

    margin-top: 4px;

    color: #96929f;

    font-size: 10px;

    font-weight: 600;
}


/* Sections */

.landing-section {
    max-width: 1150px;

    margin: 0 auto;

    padding: 80px 30px;
}


.landing-section-soft {
    max-width: none;

    background: #faf9fd;

    padding-left: max(
        30px,
        calc(
            (100vw - 1090px) / 2
        )
    );

    padding-right: max(
        30px,
        calc(
            (100vw - 1090px) / 2
        )
    );
}


.section-heading {
    max-width: 700px;

    margin: 0 auto 40px;

    text-align: center;
}


.section-heading > span {
    color: var(--purple);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.2px;
}


.section-heading h2 {
    margin: 8px 0 10px;

    color: #292440;

    font-size: 32px;

    font-weight: 800;

    letter-spacing: -1px;
}


.section-heading p {
    margin: 0;

    color: #858292;

    font-size: 12px;

    line-height: 1.7;
}


/* Workflow */

.workflow-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


.workflow-card {
    position: relative;

    padding: 25px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 16px;

    box-shadow:
        0 4px 18px rgba(
            60,
            45,
            100,
            0.035
        );
}


.workflow-number {
    position: absolute;

    top: 20px;

    right: 20px;

    color: #dcd7e7;

    font-size: 11px;

    font-weight: 800;
}


.workflow-icon {
    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 17px;

    border-radius: 11px;

    background: #f0ebfc;

    color: var(--purple);

    font-size: 19px;
}


.workflow-card h3 {
    margin: 0 0 7px;

    color: #37324f;

    font-size: 14px;
}


.workflow-card p {
    margin: 0;

    color: #85818e;

    font-size: 11px;

    line-height: 1.65;
}


/* Features */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}


.landing-feature {
    padding: 23px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 15px;
}


.feature-icon {
    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 15px;

    border-radius: 10px;

    background: #f0ebfc;

    color: var(--purple);
}


.landing-feature h3 {
    margin: 0 0 7px;

    color: #37324f;

    font-size: 13px;
}


.landing-feature p {
    margin: 0;

    color: #85818e;

    font-size: 10px;

    line-height: 1.65;
}


/* Technology */

.technology-section {
    max-width: 1100px;

    margin: 0 auto;

    padding: 80px 30px;

    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap: 70px;

    align-items: center;
}


.technology-label {
    color: var(--purple);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.2px;
}


.technology-section h2 {
    margin: 9px 0 12px;

    color: #292440;

    font-size: 32px;

    font-weight: 800;

    letter-spacing: -1px;
}


.technology-section h2 span {
    color: var(--purple);
}


.technology-section p {
    max-width: 600px;

    margin: 0;

    color: #858292;

    font-size: 12px;

    line-height: 1.75;
}


.technology-pills {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}


.technology-pills span {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 10px 12px;

    background: #f5f2fb;

    border: 1px solid #e7e1f2;

    border-radius: 9px;

    color: #7050c8;

    font-size: 10px;

    font-weight: 700;
}


/* CTA */

.landing-cta {
    max-width: 1100px;

    margin: 30px auto 70px;

    padding: 35px 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #6540ca,
            #7654d6,
            #8c68e8
        );

    color: white;

    box-shadow:
        0 20px 50px rgba(
            118,
            84,
            214,
            0.20
        );
}


.landing-cta span {
    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.2px;

    color: rgba(
        255,
        255,
        255,
        0.72
    );
}


.landing-cta h2 {
    margin: 7px 0 5px;

    font-size: 27px;

    font-weight: 800;
}


.landing-cta p {
    margin: 0;

    color: rgba(
        255,
        255,
        255,
        0.78
    );

    font-size: 11px;
}


.cta-button {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 12px 17px;

    border-radius: 9px;

    background: white;

    color: var(--purple);

    font-size: 11px;

    font-weight: 800;

    white-space: nowrap;
}


.cta-button:hover {
    background: #f7f5fc;

    color: var(--purple-dark);
}


/* Footer */

.landing-footer {
    max-width: 1100px;

    margin: 0 auto;

    padding: 25px 30px;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid #eeeaf4;

    color: #9995a2;

    font-size: 9px;
}


/* =========================================================
   RESPONSIVE ADDITIONS
   ========================================================= */

@media (max-width: 1000px) {

    .landing-hero {
        grid-template-columns: 1fr;

        text-align: center;

        padding-top: 55px;
    }


    .hero-content {
        margin: 0 auto;
    }


    .hero-content .home-actions {
        justify-content: center;
    }


    .hero-trust {
        justify-content: center;
    }


    .hero-visual {
        margin-top: 10px;
    }


    .home-dashboard-grid {
        grid-template-columns: 1fr;
    }


    .charts-grid {
        grid-template-columns: 1fr;
    }


    .mini-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .technology-section {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .feature-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .landing-nav {
        padding: 0 20px;
    }


    .landing-nav-button {
        display: none;
    }


    .landing-hero {
        padding:
            45px 20px;
    }


    .home-title {
        font-size: 42px;

        letter-spacing: -1.5px;
    }


    .landing-stats {
        grid-template-columns:
            repeat(2, 1fr);

        margin-left: 20px;

        margin-right: 20px;
    }


    .landing-stat:nth-child(2) {
        border-right: none;
    }


    .landing-stat:nth-child(-n+2) {
        border-bottom: 1px solid #eeeaf4;
    }


    .workflow-grid {
        grid-template-columns: 1fr;
    }


    .feature-grid {
        grid-template-columns: 1fr;
    }


    .landing-cta {
        margin-left: 20px;

        margin-right: 20px;

        padding: 28px;

        flex-direction: column;

        align-items: flex-start;
    }


    .landing-footer {
        margin: 0 20px;

        flex-direction: column;
    }


    .welcome-section {
        flex-direction: column;

        align-items: flex-start;
    }


    .welcome-button {
        width: 100%;

        justify-content: center;
    }


    .mini-stats {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 500px) {

    .scan-card {
        transform: none;
    }


    .landing-section,
    .technology-section {
        padding-left: 20px;

        padding-right: 20px;
    }


    .section-heading h2,
    .technology-section h2 {
        font-size: 26px;
    }


    .home-title {
        font-size: 36px;
    }


    .home-description {
        font-size: 13px;
    }


    .hero-trust {
        flex-direction: column;

        align-items: center;

        gap: 8px;
    }

}