/* =========================================================
   SIRAVU
   Global Styles
========================================================= */

:root {
    --primary: #e7194f;
    --primary-dark: #d31648;
    --primary-light: #fff0f4;

    --green: #00a884;
    --green-light: #ecfbf6;

    --yellow: #f59e0b;
    --yellow-light: #fff8e8;

    --dark: #111827;
    --text: #334155;
    --muted: #64748b;

    --border: #e8ebef;
    --light: #f7f8fa;
    --white: #ffffff;

    --container: 1400px;

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --shadow-sm: 0 4px 15px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 12px 35px rgba(15, 23, 42, 0.09);
    --shadow-lg: 0 25px 70px rgba(15, 23, 42, 0.12);
}


/* =========================================================
   Reset
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--white);
    color: var(--dark);

    font-family: "Cairo", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}


/* =========================================================
   Container
========================================================= */

.container {
    width: 100%;
    max-width: var(--container);

    margin-right: auto;
    margin-left: auto;

    padding-right: 40px;
    padding-left: 40px;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #f0f1f3;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   Logo
========================================================= */

.logo {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.logo-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: var(--primary);
    color: var(--white);

    font-size: 18px;
    font-weight: 800;

    box-shadow: 0 6px 16px rgba(231, 25, 79, 0.18);
}

.logo-content {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.logo-title {
    color: var(--primary);

    font-size: 19px;
    font-weight: 800;

    letter-spacing: -0.4px;
}

.logo-subtitle {
    margin-top: 4px;

    color: #94a3b8;

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================================
   Desktop Navigation
========================================================= */

.main-nav {
    display: flex;
    align-items: center;

    gap: 28px;

    margin-right: auto;
    margin-left: auto;
}

.main-nav a {
    position: relative;

    color: #475569;

    font-size: 13px;
    font-weight: 600;

    transition:
        color 0.2s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: -10px;
    left: 0;

    height: 2px;

    border-radius: 10px;

    background: var(--primary);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}


/* =========================================================
   Header Actions
========================================================= */

.header-actions {
    display: flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.language-btn {
    height: 40px;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 0 10px;

    background: transparent;

    color: #64748b;

    font-size: 12px;
    font-weight: 600;

    border-radius: 10px;

    transition: all 0.2s ease;
}

.language-btn:hover {
    background: #f8fafc;
    color: var(--dark);
}

.login-btn {
    color: #475569;

    font-size: 13px;
    font-weight: 700;

    transition: color 0.2s ease;
}

.login-btn:hover {
    color: var(--primary);
}


/* =========================================================
   Primary Button
========================================================= */

.btn-primary {
    min-height: 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border-radius: 11px;

    background: var(--primary);
    color: var(--white);

    font-size: 13px;
    font-weight: 800;

    box-shadow: 0 8px 20px rgba(231, 25, 79, 0.18);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);

    transform: translateY(-2px);

    box-shadow: 0 12px 25px rgba(231, 25, 79, 0.24);
}


/* =========================================================
   Secondary Button
========================================================= */

.btn-secondary {
    min-height: 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border: 1px solid var(--border);
    border-radius: 11px;

    background: var(--white);
    color: #475569;

    font-size: 13px;
    font-weight: 700;

    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: rgba(231, 25, 79, 0.3);
    color: var(--primary);

    box-shadow: var(--shadow-sm);
}


/* =========================================================
   Mobile Menu Button
========================================================= */

.mobile-menu-button {
    width: 42px;
    height: 42px;

    display: none;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 11px;

    background: var(--white);

    color: #475569;
}

.mobile-menu-button svg {
    width: 20px;
    height: 20px;
}


/* =========================================================
   Mobile Menu
========================================================= */

.mobile-menu {
    display: none;

    border-top: 1px solid #f0f1f3;

    background: var(--white);
}

.mobile-menu.is-open {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;

    padding: 10px 0 20px;
}

.mobile-nav a {
    padding: 13px 0;

    border-bottom: 1px solid #f1f3f5;

    color: #475569;

    font-size: 14px;
    font-weight: 600;
}

.mobile-nav a.active {
    color: var(--primary);
}

.mobile-nav .mobile-cta {
    margin-top: 12px;

    padding: 12px 20px;

    border: 0;

    color: var(--white);

    text-align: center;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #ffffff 55%,
            #f8fafc 100%
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -180px;
    top: 50px;

    border-radius: 50%;

    background: rgba(0, 168, 132, 0.045);

    filter: blur(70px);

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    left: -180px;
    top: -120px;

    border-radius: 50%;

    background: rgba(231, 25, 79, 0.04);

    filter: blur(70px);

    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;

    min-height: 610px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    align-items: center;

    gap: 70px;

    padding-top: 60px;
    padding-bottom: 75px;
}


/* =========================================================
   Hero Content
========================================================= */

.hero-content {
    order: 2;

    text-align: right;
}

.hero-badge {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 7px 13px;

    margin-bottom: 18px;

    border: 1px solid rgba(231, 25, 79, 0.12);
    border-radius: 50px;

    background: rgba(231, 25, 79, 0.05);

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--primary);
}

.hero-title {
    max-width: 650px;

    margin-bottom: 20px;

    color: #111827;

    font-size: 48px;
    font-weight: 800;

    line-height: 1.45;

    letter-spacing: -1.2px;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-description {
    max-width: 620px;

    margin-bottom: 27px;

    color: #64748b;

    font-size: 15px;

    line-height: 2;
}

.hero-description strong {
    color: #334155;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    align-items: center;

    justify-content: flex-start;

    gap: 10px;

    margin-bottom: 19px;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
    min-height: 47px;

    padding-right: 23px;
    padding-left: 23px;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    flex-wrap: wrap;

    gap: 15px;

    color: #94a3b8;

    font-size: 10px;
    font-weight: 600;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;

    gap: 5px;
}

.hero-trust-item .check {
    color: #00a884;

    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   Hero Visual
========================================================= */

.hero-visual {
    order: 1;

    position: relative;
}

.hero-preview-wrapper {
    position: relative;

    width: 100%;
    max-width: 610px;

    margin: 0 auto;
}

.hero-preview {
    position: relative;

    overflow: hidden;

    padding: 12px;

    border: 1px solid #e5e7eb;
    border-radius: 19px;

    background: var(--white);

    box-shadow: var(--shadow-lg);
}

.preview-topbar {
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 13px;

    margin-bottom: 10px;

    border-radius: 10px;

    background: #f8fafc;
}

.preview-dots {
    display: flex;

    gap: 5px;
}

.preview-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #cbd5e1;
}

.preview-url {
    width: 130px;
    height: 6px;

    border-radius: 20px;

    background: #e2e8f0;
}

.preview-content {
    min-height: 325px;

    display: grid;
    grid-template-columns: 31% 69%;

    gap: 10px;

    padding: 12px;

    border-radius: 11px;

    background: #f8fafc;
}

.preview-sidebar,
.preview-main {
    padding: 14px;

    border-radius: 9px;

    background: #ffffff;

    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.preview-avatar {
    width: 54px;
    height: 54px;

    margin: 0 auto 15px;

    border-radius: 50%;

    background: #ecfbf6;
}

.preview-lines {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.preview-line {
    width: 100%;
    height: 5px;

    border-radius: 10px;

    background: #e2e8f0;
}

.preview-line.small {
    width: 60%;
}

.preview-line.medium {
    width: 78%;
}

.preview-line.green {
    background: #ccefe6;
}

.preview-line.pink {
    background: #fbcbd8;
}

.preview-section {
    margin-top: 25px;
}

.preview-section-title {
    width: 80px;
    height: 6px;

    margin-bottom: 10px;

    border-radius: 10px;

    background: #fbcbd8;
}

.preview-main-header {
    display: flex;
    align-items: center;

    gap: 10px;
}

.preview-main-header-content {
    flex: 1;
}

.preview-main-name {
    width: 130px;
    height: 8px;

    border-radius: 10px;

    background: #334155;
}

.preview-main-role {
    width: 95px;
    height: 5px;

    margin-top: 7px;

    border-radius: 10px;

    background: #e2e8f0;
}

.preview-main-icon {
    width: 30px;
    height: 30px;

    border-radius: 8px;

    background: #fff0f4;
}

.preview-tags {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 7px;

    margin-top: 22px;
}

.preview-tag {
    height: 29px;

    border-radius: 7px;

    background: #ecfbf6;
}

.preview-tag:nth-child(2) {
    background: #fff0f4;
}

.preview-tag:nth-child(3) {
    background: #f8fafc;
}


/* =========================================================
   Floating Preview Cards
========================================================= */

.floating-card {
    position: absolute;

    padding: 12px;

    border: 1px solid #edf0f3;
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.98);

    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);

    z-index: 5;
}

.floating-ai {
    width: 175px;

    right: -25px;
    top: 45px;
}

.floating-ats {
    width: 190px;

    left: -25px;
    bottom: -20px;
}

.floating-card-row {
    display: flex;
    align-items: center;

    gap: 9px;
}

.floating-icon {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 8px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 13px;
    font-weight: 800;
}

.floating-title {
    color: #334155;

    font-size: 9px;
    font-weight: 800;
}

.floating-description {
    margin-top: 2px;

    color: #94a3b8;

    font-size: 8px;
}

.ats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ats-title {
    color: #64748b;

    font-size: 9px;
    font-weight: 800;
}

.ats-score {
    color: #00a884;

    font-size: 14px;
    font-weight: 800;
}

.ats-bar {
    width: 100%;
    height: 7px;

    margin-top: 8px;

    overflow: hidden;

    border-radius: 20px;

    background: #edf2f0;
}

.ats-progress {
    width: 99%;
    height: 100%;

    border-radius: 20px;

    background: #42c9a8;
}


/* =========================================================
   VALUE SECTION
========================================================= */

.value-section {
    border-top: 1px solid #f0f2f4;

    background: var(--white);
}

.value-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    align-items: center;

    gap: 80px;

    padding-top: 75px;
    padding-bottom: 80px;
}


/* =========================================================
   Stats
========================================================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 13px;

    order: 1;
}

.stat-card {
    min-height: 145px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 20px;

    border: 1px solid;
    border-radius: 15px;

    text-align: center;
}

.stat-card.green {
    border-color: #d5f3e9;
    background: #f3fcf9;
}

.stat-card.pink {
    border-color: #f8d6e0;
    background: #fff5f7;
}

.stat-card.yellow {
    border-color: #f8e8bd;
    background: #fffbf0;
}

.stat-card.gray {
    border-color: #e5e9ee;
    background: #f8fafc;
}

.stat-number {
    margin-bottom: 6px;

    font-size: 28px;
    font-weight: 800;

    line-height: 1.2;
}

.stat-card.green .stat-number {
    color: #008f70;
}

.stat-card.pink .stat-number {
    color: var(--primary);
}

.stat-card.yellow .stat-number {
    color: #d98500;
}

.stat-card.gray .stat-number {
    color: #475569;
}

.stat-text {
    max-width: 150px;

    color: #64748b;

    font-size: 10px;
    font-weight: 700;

    line-height: 1.8;
}


/* =========================================================
   Value Content
========================================================= */

.value-content {
    order: 2;

    text-align: right;
}

.section-label {
    display: flex;
    align-items: center;

    justify-content: flex-start;

    gap: 10px;

    margin-bottom: 10px;
}

.section-label-line {
    width: 30px;
    height: 1px;

    background: var(--primary);
}

.section-label-text {
    color: var(--primary);

    font-size: 10px;
    font-weight: 800;
}

.value-title {
    margin-bottom: 17px;

    color: #111827;

    font-size: 31px;
    font-weight: 800;

    line-height: 1.6;
}

.value-title .highlight {
    color: var(--primary);
}

.value-description {
    margin-bottom: 22px;

    color: #64748b;

    font-size: 13px;

    line-height: 2.1;
}


/* =========================================================
   Mini Features
========================================================= */

.mini-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 10px;
}

.mini-feature {
    padding: 13px;

    border: 1px solid #edf0f3;
    border-radius: 11px;

    background: #f8fafc;
}

.mini-feature-inner {
    display: flex;
    align-items: flex-start;

    gap: 10px;
}

.mini-feature-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 8px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 13px;
    font-weight: 800;
}

.mini-feature-icon.green {
    background: var(--green-light);
    color: var(--green);
}

.mini-feature-title {
    margin-bottom: 2px;

    color: #334155;

    font-size: 10px;
    font-weight: 800;
}

.mini-feature-description {
    color: #94a3b8;

    font-size: 9px;

    line-height: 1.8;
}


/* =========================================================
   Footer
========================================================= */

.site-footer {
    padding-top: 60px;
    padding-bottom: 25px;

    background: #0f172a;

    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);

    gap: 50px;
}

.footer-brand-description {
    max-width: 300px;

    margin-top: 15px;

    color: #94a3b8;

    font-size: 12px;

    line-height: 2;
}

.footer-title {
    margin-bottom: 16px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.footer-links a {
    color: #94a3b8;

    font-size: 11px;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 45px;
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    color: #64748b;

    font-size: 10px;
}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1200px) {

    .container {
        padding-right: 30px;
        padding-left: 30px;
    }

    .main-nav {
        gap: 18px;
    }

    .hero-inner {
        gap: 45px;
    }

    .hero-title {
        font-size: 42px;
    }

    .floating-ai {
        right: -10px;
    }

    .floating-ats {
        left: -10px;
    }
}


@media (max-width: 1024px) {

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .hero-inner {
        grid-template-columns: 1fr;

        gap: 55px;

        padding-top: 50px;
    }

    .hero-content {
        order: 1;

        text-align: center;
    }

    .hero-title,
    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        order: 2;
    }

    .hero-preview-wrapper {
        max-width: 650px;
    }

    .value-inner {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .stats-grid {
        order: 2;
    }

    .value-content {
        order: 1;

        text-align: center;
    }

    .section-label {
        justify-content: center;
    }

    .value-description {
        max-width: 750px;

        margin-right: auto;
        margin-left: auto;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 768px) {

    .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .header-inner {
        min-height: 64px;
    }

    .hero-inner {
        min-height: auto;

        padding-top: 40px;
        padding-bottom: 55px;
    }

    .hero-title {
        font-size: 35px;

        line-height: 1.5;
    }

    .hero-description {
        font-size: 13px;

        line-height: 2;
    }

    .hero-actions {
        flex-direction: column;

        width: 100%;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
    }

    .hero-trust {
        gap: 8px 14px;
    }

    .floating-ai {
        display: none;
    }

    .floating-ats {
        left: 5px;
        bottom: -15px;

        width: 170px;
    }

    .preview-content {
        min-height: 280px;
    }

    .value-inner {
        padding-top: 55px;
        padding-bottom: 60px;
    }

    .value-title {
        font-size: 27px;
    }

    .value-description {
        font-size: 12px;
    }

    .mini-features {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 35px;
    }
}


@media (max-width: 520px) {

    .logo-title {
        font-size: 17px;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
    }

    .hero-badge {
        font-size: 9px;
    }

    .hero-title {
        font-size: 29px;

        letter-spacing: -0.5px;
    }

    .hero-description {
        font-size: 12px;
    }

    .hero-preview {
        padding: 7px;
    }

    .preview-topbar {
        height: 28px;
    }

    .preview-content {
        min-height: 230px;

        gap: 6px;

        padding: 7px;
    }

    .preview-sidebar,
    .preview-main {
        padding: 8px;
    }

    .preview-avatar {
        width: 35px;
        height: 35px;

        margin-bottom: 10px;
    }

    .preview-section {
        margin-top: 15px;
    }

    .preview-main-name {
        width: 90px;
    }

    .preview-main-role {
        width: 70px;
    }

    .preview-tags {
        margin-top: 14px;
    }

    .floating-ats {
        width: 145px;

        left: 0;
    }

    .value-title {
        font-size: 24px;
    }

    .stats-grid {
        gap: 8px;
    }

    .stat-card {
        min-height: 120px;

        padding: 12px;
    }

    .stat-number {
        font-size: 23px;
    }

    .stat-text {
        font-size: 9px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;
    }
}


/* =========================================================
   Accessibility
========================================================= */

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

::selection {
    background: rgba(231, 25, 79, 0.15);
    color: #be123c;
}


/* =========================================================
   RTL
========================================================= */

html[dir="rtl"] {
    direction: rtl;
}

html[dir="ltr"] {
    direction: ltr;
}
/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    order: 2;

    position: relative;

    width: 100%;
    min-width: 0;
}


.hero-preview-wrapper {
    position: relative;

    width: 100%;
    max-width: 650px;

    margin: 0 auto;

    padding: 35px 35px 45px;
}


/* =========================================================
   MAIN RESUME ANALYSIS CARD
========================================================= */

.resume-analysis-card {
    position: relative;

    width: 100%;

    padding: 22px 24px 25px;

    border: 1px solid #e5e9ed;
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 25px 70px rgba(15, 23, 42, 0.13),
        0 5px 18px rgba(15, 23, 42, 0.04);

    overflow: hidden;
}


/* =========================================================
   Analysis Header
========================================================= */

.analysis-header {
    display: flex;

    align-items: center;
    justify-content: flex-start;

    min-height: 55px;

    border-bottom: 1px solid #f0f2f4;

    padding-bottom: 14px;
}


.analysis-brand {
    display: flex;

    align-items: center;

    gap: 12px;
}


.analysis-logo {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    background: var(--primary);

    color: #ffffff;

    font-size: 18px;
    font-weight: 800;

    box-shadow:
        0 8px 18px rgba(231, 25, 79, 0.18);
}


.analysis-title-wrapper {
    display: flex;
    flex-direction: column;

    gap: 2px;
}


.analysis-title {
    display: flex;
    align-items: center;

    gap: 7px;

    color: #263244;

    font-size: 11px;
    font-weight: 800;
}


.analysis-subtitle {
    color: #8a94a3;

    font-size: 9px;

    line-height: 1.7;
}


.live-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 3px 6px;

    border-radius: 5px;

    background: #fff0f4;

    color: var(--primary);

    font-size: 7px;
    font-weight: 800;
}


/* =========================================================
   Status
========================================================= */

.analysis-status {
    position: absolute;

    left: 18px;
    top: 77px;

    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 5px 9px;

    border-radius: 20px;

    background: #ecfbf6;

    color: #008f70;

    font-size: 8px;
    font-weight: 800;
}


.status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #00a884;
}


/* =========================================================
   Score Cards
========================================================= */

.analysis-scores {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    margin-top: 25px;

    padding: 12px;

    border-radius: 14px;

    background: #f7f9fa;
}


.score-card {
    position: relative;

    min-height: 112px;

    padding: 13px 14px;

    border: 1px solid;

    border-radius: 12px;

    background: #ffffff;
}


.score-success {
    border-color: #a8dccf;

    background:
        linear-gradient(
            180deg,
            #effbf8 0%,
            #ffffff 100%
        );

    box-shadow:
        inset 0 0 0 1px rgba(0, 168, 132, 0.08);
}


.score-danger {
    border-color: #f2d8df;

    background:
        linear-gradient(
            180deg,
            #fff8fa 0%,
            #ffffff 100%
        );
}


.score-card-header {
    display: flex;

    align-items: center;

    gap: 5px;

    color: #718096;

    font-size: 8px;
    font-weight: 700;
}


.score-success .score-card-header > span:first-child {
    color: #00a884;

    font-size: 11px;
}


.score-danger .score-card-header > span:first-child {
    color: #ef6b84;

    font-size: 11px;
}


.score-number {
    margin-top: 4px;

    font-size: 24px;
    font-weight: 800;

    line-height: 1.2;
}


.score-success .score-number {
    color: #008f70;
}


.score-danger .score-number {
    color: #ec4168;
}


.score-description {
    margin-top: 2px;

    color: #7c8796;

    font-size: 7px;
    font-weight: 600;
}


.score-progress {
    position: absolute;

    right: 13px;
    bottom: 10px;
    left: 13px;

    height: 5px;

    overflow: hidden;

    border-radius: 20px;

    background: #edf1f3;
}


.score-progress span {
    display: block;

    height: 100%;

    border-radius: inherit;
}


.score-success .score-progress span {
    background: #00a884;
}


.score-danger .score-progress span {
    background: #f06a86;
}


/* =========================================================
   AI Rewrite
========================================================= */

.ai-rewrite-card {
    margin-top: 17px;

    padding: 14px;

    border: 1px solid #edf0f2;

    border-radius: 13px;

    background: #ffffff;
}


.rewrite-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 10px;
}


.rewrite-title {
    display: flex;

    align-items: center;

    gap: 6px;

    color: #354052;

    font-size: 9px;
    font-weight: 800;
}


.rewrite-icon {
    color: var(--primary);

    font-size: 11px;
}


.rewrite-title-muted {
    color: #64748b;

    font-weight: 600;
}


.rewrite-status {
    flex-shrink: 0;

    padding: 4px 8px;

    border-radius: 5px;

    background: #ecfbf6;

    color: #00a884;

    font-size: 7px;
    font-weight: 800;
}


.rewrite-content {
    padding: 10px 12px;

    border-radius: 10px;

    background: #f5f7f8;
}


.rewrite-old,
.rewrite-new {
    color: #64748b;

    font-size: 8px;

    line-height: 1.9;
}


.rewrite-new {
    margin-top: 5px;

    color: #4b5563;
}


.rewrite-label {
    color: #7c8796;

    font-weight: 700;
}


.rewrite-new .rewrite-label {
    color: #008f70;
}


.rewrite-new strong {
    color: #008f70;

    font-weight: 800;
}


/* =========================================================
   Keywords
========================================================= */

.keywords-section {
    margin-top: 17px;
}


.keywords-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 8px;
}


.keywords-title {
    color: #64748b;

    font-size: 8px;
    font-weight: 700;
}


.keywords-count {
    color: var(--primary);

    font-size: 9px;
    font-weight: 800;
}


.keywords-list {
    display: flex;

    flex-wrap: wrap;

    justify-content: flex-start;

    gap: 7px;
}


.keyword {
    display: inline-flex;

    align-items: center;

    gap: 4px;

    padding: 5px 8px;

    border: 1px solid #bde9de;

    border-radius: 7px;

    background: #effbf8;

    color: #168b76;

    font-family: Arial, sans-serif;

    font-size: 8px;
    font-weight: 700;
}


.keyword b {
    font-size: 9px;
}


.keyword-pink {
    border-color: #f7ced9;

    background: #fff2f5;

    color: var(--primary);
}


/* =========================================================
   Floating Cards
========================================================= */

.floating-card {
    position: absolute;

    z-index: 10;

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 10px 12px;

    border: 1px solid #e9edf0;

    border-radius: 13px;

    background: rgba(255, 255, 255, 0.98);

    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.12);
}


/* =========================================================
   Floating ATS
========================================================= */

.floating-ats-top {
    top: 0;
    left: -5px;

    min-width: 145px;
}


.floating-ats-icon {
    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #008f70;

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
}


.floating-ats-title {
    color: #526173;

    font-size: 8px;
    font-weight: 700;
}


.floating-ats-score {
    margin-top: 1px;

    color: #008f70;

    font-size: 8px;
    font-weight: 800;
}


/* =========================================================
   Floating Keywords
========================================================= */

.floating-keywords {
    top: 86px;
    right: -15px;

    min-width: 165px;
}


.floating-keywords-icon {
    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #f3efff;

    color: #7558d6;

    font-size: 13px;
}


.floating-keywords-title {
    color: #455164;

    font-size: 8px;
    font-weight: 800;
}


.floating-keywords-subtitle {
    margin-top: 1px;

    color: #94a3b8;

    font-size: 7px;
}


/* =========================================================
   Floating Result
========================================================= */

.floating-result {
    right: 0;
    bottom: 0;

    min-width: 155px;
}


.floating-result-icon {
    width: 31px;
    height: 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: var(--primary);

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;
}


.floating-result-title {
    color: #64748b;

    font-size: 8px;
    font-weight: 700;
}


.floating-result-value {
    margin-top: 1px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 800;
}

@media (max-width: 1024px) {

    .hero-preview-wrapper {
        max-width: 650px;

        padding-right: 25px;
        padding-left: 25px;
    }

    .floating-keywords {
        right: 0;
    }

    .floating-ats-top {
        left: 0;
    }

    .floating-result {
        right: 10px;
    }

}
@media (max-width: 768px) {

    .hero-preview-wrapper {
        padding: 25px 15px 35px;
    }

    .resume-analysis-card {
        padding: 17px;
        border-radius: 17px;
    }

    .analysis-scores {
        gap: 8px;

        padding: 8px;
    }

    .score-card {
        min-height: 100px;

        padding: 10px;
    }

    .score-number {
        font-size: 21px;
    }

    .floating-ats-top {
        top: 0;
        left: 0;

        min-width: 125px;
    }

    .floating-keywords {
        top: 65px;
        right: -5px;

        min-width: 145px;
    }

    .floating-result {
        right: 0;
        bottom: 0;

        min-width: 135px;
    }

    .floating-card {
        padding: 8px 10px;
    }

}

@media (max-width: 520px) {

    .hero-preview-wrapper {
        padding-right: 8px;
        padding-left: 8px;
    }

    .resume-analysis-card {
        padding: 13px;

        border-radius: 15px;
    }

    .analysis-title {
        font-size: 9px;
    }

    .analysis-subtitle {
        font-size: 7px;
    }

    .analysis-logo {
        width: 34px;
        height: 34px;
    }

    .analysis-status {
        left: 12px;
        top: 65px;
    }

    .analysis-scores {
        margin-top: 23px;
    }

    .score-number {
        font-size: 19px;
    }

    .score-description {
        font-size: 6px;
    }

    .ai-rewrite-card {
        padding: 10px;
    }

    .rewrite-header {
        align-items: flex-start;
    }

    .rewrite-title {
        font-size: 8px;
    }

    .keywords-title {
        font-size: 7px;
    }

    .keyword {
        font-size: 7px;

        padding: 4px 6px;
    }

    .floating-ats-top {
        left: -3px;

        transform: scale(0.85);
        transform-origin: left top;
    }

    .floating-keywords {
        right: -10px;

        transform: scale(0.85);
        transform-origin: right top;
    }

    .floating-result {
        right: -5px;

        transform: scale(0.85);
        transform-origin: right bottom;
    }

}

/* =========================================================
   Logo Image
========================================================= */

.logo {
    display: inline-flex;

    align-items: center;

    flex-shrink: 0;

    text-decoration: none;
}


.logo-image {
    display: block;

    width: auto;
    height: 46px;

    max-width: 170px;

    object-fit: contain;
}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 768px) {

    .logo-image {
        height: 42px;

        max-width: 155px;
    }

}


@media (max-width: 520px) {

    .logo-image {
        height: 38px;

        max-width: 140px;
    }

}