body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #fcfbf8;
    color: #1e293b;
}

.page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(124,108,242,0.22), transparent 35%),
        radial-gradient(circle at top right, rgba(47,158,111,0.18), transparent 35%),
        radial-gradient(circle at bottom, rgba(255,196,145,0.16), transparent 35%);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 70px;
}

.logo {
    font-size: 28px;
    font-weight: 900;
}

.nav a {
    margin-left: 26px;
    text-decoration: none;
    color: #475569;
    font-weight: 700;
}

.button-small {
    background: #7c6cf2;
    color: white !important;
    padding: 12px 20px;
    border-radius: 999px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 70px 70px 40px;
}

.badge {
    display: inline-block;
    background: rgba(255,255,255,0.85);
    color: #7c6cf2;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 22px;
}

h1 {
    font-size: 76px;
    line-height: 0.98;
    letter-spacing: -3px;
    margin: 0;
}

.highlight {
    color: #7c6cf2;
}

.hero p {
    font-size: 21px;
    line-height: 1.7;
    color: #64748b;
}

.primary,
.secondary {
    display: inline-block;
    margin-top: 26px;
    padding: 17px 28px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 900;
}

.primary {
    background: #7c6cf2;
    color: white;
    box-shadow: 0 16px 40px rgba(124,108,242,0.28);
}

.secondary {
    background: white;
    color: #1e293b;
    margin-left: 12px;
    border: 1px solid #e5e7eb;
}

.dashboard,
.analyze-card,
.tool {
    background: rgba(255,255,255,0.86);
    border: 1px solid #eeeeee;
    border-radius: 32px;
    box-shadow: 0 25px 70px rgba(30,41,59,0.12);
}

.dashboard {
    padding: 32px;
}

.mini-grid,
.tools,
.form-grid {
    display: grid;
    gap: 22px;
}

.mini-grid {
    grid-template-columns: 1fr 1fr;
}

.mini-card {
    border-radius: 24px;
    padding: 20px;
    font-weight: 900;
}

.green { background: #e8f8ef; }
.purple { background: #efecff; }
.blue { background: #e8f3ff; }
.peach { background: #fff0df; }

.mini-card span {
    display: block;
    font-size: 24px;
    margin-top: 8px;
}

.section {
    padding: 70px;
}

.section h2 {
    text-align: center;
    font-size: 46px;
}

.section-sub,
.form-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 18px;
}

.tools {
    grid-template-columns: repeat(3, 1fr);
}

.tool {
    padding: 30px;
    transition: .25s;
}

.tool:hover {
    transform: translateY(-6px);
}

.tool p {
    color: #64748b;
    line-height: 1.6;
}

.analyze-card {
    max-width: 1100px;
    margin: 20px auto 90px;
    padding: 38px;
}

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

textarea {
    width: 100%;
    height: 250px;
    border: 1px solid #e5e7eb;
    border-radius: 26px;
    padding: 18px;
    font-size: 15px;
    box-sizing: border-box;
    background: #fcfbf8;
}

button {
    margin-top: 26px;
    width: 100%;
    border: none;
    background: linear-gradient(135deg, #7c6cf2, #5b4ee6);
    color: white;
    padding: 19px;
    border-radius: 24px;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

button:disabled {
    opacity: .75;
    cursor: not-allowed;
}

.error-box {
    background: #fff4e5;
    color: #b45309;
    border: 1px solid #facc15;
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.upload-box {
    border: 2px dashed #d6d3ff;
    background: #faf9ff;
    border-radius: 28px;
    padding: 45px;
    text-align: center;
    cursor: pointer;
    transition: .3s;
    display: block;
    margin-bottom: 26px;
}

.upload-box:hover {
    border-color: #7c6cf2;
    background: white;
    transform: translateY(-3px);
}

.upload-icon {
    font-size: 60px;
    margin-bottom: 12px;
}

.upload-box h3 {
    margin: 10px 0;
}

.upload-box p {
    color: #64748b;
}

#fileName {
    margin-top: 20px;
    font-weight: 800;
    color: #7c6cf2;
}

/* Report Page */

.report-page {
    min-height: 100vh;
    padding: 28px;
    background:
        radial-gradient(circle at top left, rgba(124,108,242,0.18), transparent 35%),
        radial-gradient(circle at top right, rgba(47,158,111,0.14), transparent 35%),
        #fcfbf8;
}

.report-nav {
    max-width: 1180px;
    margin: 0 auto 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px 28px;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(30,41,59,0.08);
}

.report-nav a {
    color: #7c6cf2;
    font-weight: 800;
    text-decoration: none;
}


.report-header {
    max-width: 1180px;
    margin: 60px auto 24px;
}

.report-header h1 {
    font-size: 52px;
    margin-bottom: 8px;
}

.report-header p {
    color: #64748b;
    font-size: 18px;
}

.report-dashboard{
    max-width:1180px;
    margin:24px auto;
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:22px;
    align-items:stretch;
}

.big-score-card{
    grid-column:1 / -1;
    display:flex;
    align-items:center;
    gap:34px;
    background:white;
    border:1px solid #e5e7eb;
    border-radius:24px;
    padding:34px;
    box-shadow:0 8px 28px rgba(15,23,42,.06);
}


.big-score-card {
    grid-row: span 2;
    padding: 34px;
    display: flex;
    gap: 28px;
    align-items: center;
}

.circle-score {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: conic-gradient(#7c6cf2 86%, #eee8ff 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.circle-score span {
    font-size: 48px;
    font-weight: 900;
}

.circle-score p {
    margin: 0;
    font-weight: 800;
}

.score-card-small{
    background:white;
    border:1px solid #e5e7eb;
    border-radius:20px;
    padding:24px;
    box-shadow:0 6px 22px rgba(15,23,42,.05);
}

.score-card-small:hover {
    transform: translateY(-6px);
}

.score-card-small strong {
    font-size: 34px;
}

.bar {
    margin-top: 18px;
    height: 10px;
    background: #edf2f7;
    border-radius: 999px;
    overflow: hidden;
}

.bar div {
    height: 100%;
    background: #7c6cf2;
    border-radius: 999px;
}

.green-card strong { color: #2f9e6f; }
.purple-card strong { color: #7c6cf2; }
.blue-card strong { color: #2f80ed; }
.orange-card strong { color: #f97316; }

.insight-grid,
.two-column,
.question-card,
.ai-summary {
    max-width: 1180px;
    margin: 22px auto 0;
}

.insight-grid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:18px;
}

.insight-card {
    padding: 28px;
}

.insight-card li {
    margin-bottom: 12px;
}

.strength { background: #f1fbf6; }
.missing { background: #fff7ed; }
.risk { background: #fff1f2; }

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.action-card {
    padding: 30px;
}

.action-card li {
    background: #f8fafc;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 16px;
}

.rewrite-box {
    background: #f5f3ff;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 12px;
}

.question-card {
    padding: 30px;
}

.questions {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.questions div {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 18px;
    border-radius: 20px;
    text-align: center;
    font-weight: 700;
}

.ai-summary p {
    white-space: pre-wrap;
    line-height: 1.9;
    color: #475569;
    font-size: 17px;
}

.button-row {
    margin-top: 30px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.dashboard-btn {
    background: #7c6cf2;
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: .25s;
    width: auto;
}

.dashboard-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(124,108,242,.25);
}

@media (max-width: 900px) {
    .hero,
    .form-grid,
    .tools,
    .report-dashboard,
    .insight-grid,
    .two-column,
    .questions {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 48px;
    }

    .nav,
    .hero,
    .section {
        padding: 28px;
    }

    .big-score-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------- Rewrite Studio ---------- */

.rewrite-studio {
    max-width: 1180px;
    margin: 30px auto;
}

.rewrite-comparison-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    padding: 28px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 22px;
    align-items: stretch;
    box-shadow: 0 20px 55px rgba(15,23,42,.08);
}

.rewrite-column {
    border-radius: 22px;
    padding: 22px;
}

.rewrite-column h3,
.why-box h3 {
    margin-top: 0;
}

.rewrite-column.original {
    background: #f8fafc;
}

.rewrite-column.improved {
    background: #f5f3ff;
}

.rewrite-arrow {
    font-size: 34px;
    font-weight: 900;
    color: #7c6cf2;
    display: flex;
    align-items: center;
}

.why-box {
    grid-column: 1 / 4;
    background: #ecfdf5;
    border-radius: 22px;
    padding: 22px;
    color: #065f46;
}

@media (max-width: 900px) {
    .rewrite-comparison-card {
        grid-template-columns: 1fr;
    }

    .rewrite-arrow {
        justify-content: center;
    }

    .why-box {
        grid-column: auto;
    }
}
.improvement-tags{
    margin-top:18px;
}

.improvement-tag{
    display:inline-block;
    margin:6px;
    padding:8px 14px;
    background:#dcfce7;
    color:#166534;
    border-radius:999px;
    font-size:14px;
    font-weight:700;
}
.resume-paper{
    width:8.5in;
    min-height:11in;
    background:white;
    margin:50px auto;
    padding:70px;
    box-sizing:border-box;
    border-radius:10px;
    box-shadow:0 20px 70px rgba(0,0,0,.08);
}
.category-breakdown{
    margin-top:30px;
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:22px;
}

.category-card{
    background:#f8fafc;
    border-radius:22px;
    padding:24px;
    border:1px solid #e5e7eb;
}

.category-card h3{
    margin-top:0;
}

.category-label{
    font-size:13px;
    font-weight:800;
    color:#64748b;
    text-transform:uppercase;
    margin-top:18px;
}
.resume-paper{
    max-width:850px;
    margin:40px auto;
    background:white;
    padding:70px;
    border-radius:14px;
    box-shadow:0 25px 80px rgba(0,0,0,.08);
    border:1px solid #e5e7eb;
}

.resume-paper pre{
    margin:0;
    white-space:pre-wrap;
    font-family:Arial, sans-serif;
    font-size:14px;
    line-height:1.55;
    color:#111827;
}

@media print{
    .no-print{
        display:none !important;
    }

    body{
        background:white;
    }

    .report-page{
        background:white;
        padding:0;
    }

    .resume-paper{
        box-shadow:none;
        border:none;
        margin:0;
        padding:30px;
        max-width:none;
    }
}
.resume-document{
    font-family: "Inter", sans-serif;
    font-size:15px;
    line-height:1.7;
    color:#1f2937;
}

.resume-document strong{
    font-size:18px;
    font-weight:700;
}

.resume-document h1{
    font-size:34px;
}

.resume-document h2{
    margin-top:34px;
    margin-bottom:12px;
    padding-bottom:6px;
    border-bottom:2px solid #e5e7eb;
    font-size:18px;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.resume-document br{
    line-height:1.8;
}
.resume-document h1{
    font-size:36px;
    font-weight:800;
    margin-bottom:6px;
    color:#111827;
}

.resume-document h2{
    font-size:16px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-top:34px;
    margin-bottom:12px;
    padding-bottom:6px;
    border-bottom:2px solid #e5e7eb;
    color:#111827;
}

.resume-document p{
    margin:10px 0;
    color:#374151;
}

.resume-document ul{
    margin:10px 0 18px 20px;
    padding:0;
}

.resume-document li{
    margin-bottom:8px;
    line-height:1.6;
}
.score-number-block{
    min-width:190px;
    height:150px;
    border-radius:24px;
    background:#f5f3ff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.score-number-block span{
    font-size:54px;
    font-weight:900;
    color:#7c6cf2;
}

.score-number-block p{
    margin:0;
    font-weight:800;
    color:#334155;
}
#loadingScreen{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(252,251,248,.96);
    z-index:9999;
    align-items:center;
    justify-content:center;
}

.loading-card{
    background:white;
    border:1px solid #e5e7eb;
    border-radius:28px;
    padding:42px;
    max-width:520px;
    box-shadow:0 25px 80px rgba(15,23,42,.12);
    text-align:left;
}

.loading-card h1{
    font-size:26px;
    margin-bottom:14px;
}

.loading-card h2{
    font-size:32px;
    margin:0 0 12px;
}

.loading-card p{
    color:#64748b;
    line-height:1.6;
}

.loading-steps{
    margin:24px 0;
}

.loading-steps div{
    padding:12px 0;
    border-bottom:1px solid #e5e7eb;
    font-weight:700;
}
.recruiter-summary{
    max-width:1180px;
    margin:24px auto;
}

.recruiter-summary p{
    font-size:18px;
    line-height:1.7;
    color:#334155;
}
.soon-badge{
    display:inline-block;
    margin-left:8px;
    padding:5px 9px;
    border-radius:999px;
    background:#f5f3ff;
    color:#7c6cf2;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.resume-paper{
    max-width:850px;
    margin:40px auto;
    background:white;
    padding:70px;
    border-radius:18px;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
}

.cover-letter-document{
    font-family:Georgia, serif;
    font-size:17px;
    line-height:1.9;
    color:#1e293b;
    white-space:pre-wrap;
}
/* Coming Soon Badge */

.coming-soon{
    display:inline-block;
    margin-bottom:16px;
    padding:6px 14px;
    background:#ede9fe;
    color:#6d5dfc;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}
/* ---------- Footer ---------- */

.footer{

    width:100%;

    margin-top:120px;
    padding:70px 20px;

    text-align:center;

    border-top:1px solid #ececec;

    color:#64748b;

}

.footer-logo{

    font-size:34px;

    font-weight:800;

    color:#1e293b;

    margin-bottom:15px;

}

.footer p{

    max-width:500px;

    margin:0 auto 30px;

    line-height:1.8;

}

.footer-links{

    display:flex;

    justify-content:center;

    gap:35px;

    margin-bottom:25px;

}

.footer-links a{

    color:#6d5dfc;

    text-decoration:none;

    font-weight:600;


}
#loadingScreen{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(14px);
    z-index:9999;
    align-items:center;
    justify-content:center;
}

.loading-card{
    width:520px;
    max-width:90%;
    background:white;
    border-radius:28px;
    padding:45px;
    text-align:center;
    box-shadow:0 30px 90px rgba(15,23,42,.15);
}

.loader{
    width:54px;
    height:54px;
    border:6px solid #ede9fe;
    border-top:6px solid #6d5dfc;
    border-radius:50%;
    margin:0 auto 25px;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

.loading-card h2{
    font-size:30px;
    margin-bottom:12px;
    color:#1e293b;
}

.loading-card p{
    color:#64748b;
    font-size:17px;
    margin-bottom:28px;
}

.loading-steps{
    display:grid;
    gap:12px;
    text-align:left;
}

.loading-steps span{
    background:#f8fafc;
    padding:14px 18px;
    border-radius:14px;
    color:#334155;
    font-weight:700;
}

.logo{
    display:flex;
    align-items:center;
    gap:14px;
    font-size:30px;
    font-weight:800;
    color:#1e293b;
}

.logo-icon{
    width:42px;
    height:42px;
    border-radius:14px;
    background:linear-gradient(135deg,#7c6cff,#5b7cff);
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    font-size:21px;
    box-shadow:0 10px 28px rgba(124,108,255,.25);
}
.badge{
    display:inline-block;
    padding:10px 18px;
    background:#ede9fe;
    color:#6d5dfc;
    border-radius:999px;
    font-size:14px;
    font-weight:700;
    margin-bottom:20px;
}
.feedback-box{
    max-width:900px;
    margin:60px auto;
    padding:40px;
    background:white;
    border:1px solid #e5e7eb;
    border-radius:28px;
    text-align:center;
    box-shadow:0 20px 60px rgba(15,23,42,.08);
}

.feedback-box h3{
    font-size:30px;
    margin-bottom:14px;
    color:#1e293b;
}

.feedback-box p{
    color:#64748b;
    font-size:17px;
    line-height:1.7;
    max-width:620px;
    margin:0 auto 26px;
}

.feedback-btn{
    display:inline-block;
    padding:16px 30px;
    background:#7c6cf2;
    color:white;
    text-decoration:none;
    border-radius:18px;
    font-weight:800;
    transition:.25s;
}

.feedback-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 14px 30px rgba(124,108,242,.28);
}
.privacy-note{
    text-align:center;
    margin-top:16px;
    color:#64748b;
    font-size:14px;
    line-height:1.5;
}