:root {
    --navy: #0f172a;
    --navy-soft: #1e293b;
    --navy-light: #334155;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --indigo: #4f46e5;
    --cyan: #06b6d4;
    --green: #059669;
    --amber: #f59e0b;
    --red: #dc2626;
    --muted: #64748b;
    --muted-light: #94a3b8;
    --line: #e2e8f0;
    --paper: #ffffff;
    --bg: #f8fafc;
    --soft: #f1f5f9;
    --soft-blue: #eef2ff;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 12px 35px rgba(15, 23, 42, 0.08);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34%),
        radial-gradient(circle at bottom right, rgba(6, 182, 212, 0.10), transparent 30%),
        var(--bg);
    color: var(--navy);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 3px;
}

button {
    font-family: inherit;
}

.page-shell {
    min-height: 100vh;
}

/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 82% 14%, rgba(6, 182, 212, 0.22), transparent 28%),
        radial-gradient(circle at 12% 18%, rgba(79, 70, 229, 0.24), transparent 32%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.99), rgba(30, 64, 175, 0.96)),
        linear-gradient(135deg, #0f172a, #2563eb);
    color: white;
    padding: 28px 32px 92px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 640px;
    height: 640px;
    top: -250px;
    right: -190px;
    background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    left: -240px;
    bottom: -260px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.26), transparent 72%);
    pointer-events: none;
    z-index: -1;
}

/* NAV / BRAND */

.nav {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand-home {
    text-decoration: none;
    color: white;
}

/* WIDE LOGO BRAND - CLEAR, PREMIUM, NOT TOO TINY */

.logo-only-brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    width: auto;
    max-width: 370px;
    min-width: 0;
    line-height: 0;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 22px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.96),
            rgba(239, 246, 255, 0.90)
        );
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
}

.wide-brand-logo {
    width: 300px;
    max-width: 100%;
    max-height: 72px;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: left center;
    filter:
        saturate(1.18)
        contrast(1.16)
        brightness(1.05)
        drop-shadow(0 6px 14px rgba(15, 23, 42, 0.18));
}

/* Hide old square-logo/text classes if old templates still reference them */

.brand-mark,
.brand-mark-dark,
.brand-title,
.brand-subtitle {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: auto;
}

.nav-link {
    color: #e0f2fe;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    transition:
        background 0.18s ease,
        transform 0.18s ease,
        border-color 0.18s ease;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.30);
}

/* HERO CONTENT */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
    gap: 54px;
    align-items: center;
}

.hero-copy {
    max-width: 790px;
}

.pill {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #dbeafe;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.hero h1 {
    font-size: clamp(44px, 5.6vw, 74px);
    line-height: 0.98;
    margin: 0 0 24px;
    letter-spacing: -3px;
    font-weight: 900;
    max-width: 850px;
}

.hero p {
    font-size: 19px;
    line-height: 1.75;
    color: #dbeafe;
    max-width: 735px;
    margin: 0;
    text-wrap: balance;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.primary-link,
.secondary-link,
.legal-secondary-link {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 15px 22px;
    border-radius: 15px;
    font-weight: 900;
    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.primary-link {
    background: white;
    color: var(--navy);
    box-shadow: 0 12px 30px rgba(255,255,255,0.16);
}

.primary-link.dark {
    background: var(--navy);
    color: white;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
}

.secondary-link {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #e0f2fe;
}

.legal-secondary-link {
    background: #eef2ff;
    color: var(--blue);
    border: 1px solid #c7d2fe;
}

.primary-link:hover,
.secondary-link:hover,
.legal-secondary-link:hover {
    transform: translateY(-1px);
}

.platform-note {
    margin-top: 22px !important;
    font-size: 14px !important;
    color: #cbd5e1 !important;
}

.platform-note a {
    color: white;
    font-weight: 900;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.36);
}

.platform-note a:hover {
    border-bottom-color: white;
}

/* HERO CARD */

.hero-card {
    position: relative;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 34px;
    padding: 24px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(16px);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.32),
            rgba(255,255,255,0.04),
            rgba(255,255,255,0.16)
        );
    pointer-events: none;
    opacity: 0.55;
}

.career-preview-card {
    position: relative;
    z-index: 1;
    background:
        linear-gradient(180deg, #ffffff, #f8fafc);
    color: var(--navy);
    border-radius: 24px;
    padding: 34px;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
}

.preview-score-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.preview-score-row div {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
}

.preview-label {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.preview-score-row strong {
    font-size: 36px;
    letter-spacing: -1px;
}

.career-progress {
    height: 12px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 24px;
}

.career-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.career-preview-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    letter-spacing: -0.5px;
}

.career-preview-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.preview-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.preview-tags span,
.tag-list span,
.source-pill {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
}

/* MAIN */

main {
    max-width: 1180px;
    margin: -52px auto 0;
    padding: 0 24px 60px;
    position: relative;
    z-index: 10;
}

/* STATUS */

.status-strip {
    position: relative;
    z-index: 20;
    background: white;
    border-radius: var(--radius);
    box-shadow:
        0 28px 80px rgba(15, 23, 42, 0.16),
        0 1px 0 rgba(255, 255, 255, 0.85) inset;
    border: 1px solid rgba(226, 232, 240, 0.95);
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr auto;
    gap: 16px;
    padding: 22px;
    align-items: center;
    margin-bottom: 28px;
}

.status-strip strong {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.status-strip span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.status-badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 900 !important;
    font-size: 12px !important;
}

.status-badge.free {
    color: var(--muted) !important;
    background: var(--soft);
}

.status-badge.premium {
    color: #3730a3 !important;
    background: #e0e7ff;
}

.status-badge.pro {
    color: #065f46 !important;
    background: #d1fae5;
}

.mini-link {
    color: var(--blue);
    font-weight: 900;
    text-decoration: none;
}

.mini-link:hover {
    text-decoration: underline;
}

/* BENEFITS */

.benefits-strip {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(226, 232, 240, 0.95);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    margin-bottom: 34px;
}

.benefit {
    padding: 26px;
    border-right: 1px solid var(--line);
}

.benefit:last-child {
    border-right: none;
}

.benefit strong {
    display: block;
    font-size: 17px;
    margin-bottom: 8px;
}

.benefit span {
    color: var(--muted);
    line-height: 1.65;
    font-size: 14px;
}

/* SECTIONS */

.studio-section,
.result-section,
.tool-section,
.pricing-section,
.support-section {
    margin-top: 36px;
}

.section-heading,
.result-header {
    text-align: center;
    max-width: 790px;
    margin: 0 auto 32px;
}

.section-heading h2,
.result-header h2 {
    font-size: 36px;
    letter-spacing: -1px;
    margin: 0 0 12px;
}

.section-heading p,
.result-header p {
    color: var(--muted);
    margin: 0;
    line-height: 1.7;
    text-wrap: balance;
}

/* CARDS */

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.workflow-grid.one-two {
    grid-template-columns: 1.15fr 0.85fr;
}

.workflow-card,
.metric-card,
.insight-card,
.analysis-card,
.job-card,
.saved-jobs-panel,
.pricing-card,
.unlock-card,
.support-section,
.legal-card {
    position: relative;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.workflow-card {
    padding: 32px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.workflow-card:hover,
.job-card:hover,
.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

.active-card {
    border-color: rgba(37, 99, 235, 0.42);
}

.card-icon {
    width: 52px;
    min-width: 52px;
    height: 52px;
    background: var(--soft-blue);
    color: var(--blue);
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 900;
    margin-bottom: 20px;
}

.workflow-card h3 {
    font-size: 26px;
    margin: 0 0 12px;
    letter-spacing: -0.6px;
}

.workflow-card p {
    color: var(--muted);
    line-height: 1.7;
    text-wrap: balance;
}

.workflow-card ul {
    padding-left: 20px;
    color: var(--navy-soft);
    line-height: 2;
}

/* FORMS */

.form-block {
    margin-top: 24px;
}

.file-box {
    display: block;
    border: 1.5px dashed #cbd5e1;
    border-radius: 18px;
    padding: 22px;
    background: #fafafa;
    margin-bottom: 16px;
    transition:
        background 0.18s ease,
        border-color 0.18s ease;
}

.file-box:hover {
    background: #f8fafc;
    border-color: var(--blue);
}

.file-box span {
    display: block;
    font-weight: 800;
    margin-bottom: 12px;
}

.file-box span::after {
    content: "PDF, DOCX or TXT";
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}

input[type="file"],
.text-input,
.large-textarea,
select {
    width: 100%;
    padding: 15px 16px;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    font-size: 15px;
    outline: none;
    background: white;
    color: var(--navy);
}

.large-textarea,
.generated-output textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.6;
    font-family: "Segoe UI", Arial, sans-serif;
}

.generated-output textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8fafc;
    padding: 14px;
    min-height: 220px;
    margin-bottom: 14px;
}

input[type="file"]:focus,
.text-input:focus,
.large-textarea:focus,
select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.text-label {
    display: block;
    font-weight: 800;
    margin-bottom: 8px;
    margin-top: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: end;
}

.checkbox-column {
    align-self: stretch;
    display: flex;
    align-items: end;
}

.agreement-box {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.55;
}

.agreement-box input {
    margin-top: 3px;
    flex-shrink: 0;
}

.agreement-box span {
    display: block;
}

/* BUTTONS */

.btn-primary,
.btn-pay,
.btn-dark,
.small-button,
.pricing-button {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    padding: 15px 18px;
    border-radius: 15px;
    font-weight: 900;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        box-shadow 0.18s ease;
}

.btn-primary,
.btn-dark {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(90deg, var(--blue), var(--indigo));
    color: white;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.25);
}

.btn-pay {
    background: #0070ba;
    color: white;
    box-shadow: 0 12px 25px rgba(0, 112, 186, 0.22);
}

.btn-dark {
    background: var(--navy);
    color: white;
    margin-top: 10px;
}

.small-button {
    background: var(--blue);
    color: white;
    padding: 10px 13px;
    font-size: 12px;
    border-radius: 12px;
}

.small-button.secondary {
    background: var(--soft-blue);
    color: var(--blue);
}

.btn-primary:hover,
.btn-pay:hover,
.btn-dark:hover,
.small-button:hover,
.pricing-button:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.btn-primary::after,
.btn-pay::after,
.btn-dark::after,
.primary-link::after,
.secondary-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.22),
            transparent
        );
    transform: skewX(-25deg);
    transition: left 0.65s ease;
}

.btn-primary:hover::after,
.btn-pay:hover::after,
.btn-dark:hover::after,
.primary-link:hover::after,
.secondary-link:hover::after {
    left: 140%;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

/* NOTES / ALERTS */

.payment-note {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
    margin: 12px 0 0;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
}

.alert {
    padding: 16px 18px;
    border-radius: 16px;
    margin: 18px auto;
    max-width: 920px;
    font-weight: 800;
}

.alert-error {
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.alert-success {
    color: #065f46;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}

/* RESULTS */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.metric-card {
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.metric-value {
    font-size: 38px;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -1px;
}

.metric-value.text-fit {
    font-size: 28px;
}

.metric-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    margin-top: 8px;
}

.insight-card {
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
    background:
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.insight-card h3 {
    margin: 0 0 10px;
    font-size: 26px;
    letter-spacing: -0.6px;
}

.insight-card p {
    color: var(--muted);
    line-height: 1.75;
    margin: 0;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.analysis-card {
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.analysis-card h3 {
    margin: 0 0 12px;
}

.analysis-card p,
.analysis-card li {
    color: var(--muted);
    line-height: 1.7;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* GENERATED OUTPUT */

.generated-output {
    margin-top: 20px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
}

.generated-output h4 {
    margin: 0 0 12px;
    font-size: 18px;
}

.generated-output p,
.generated-output li {
    color: var(--muted);
    line-height: 1.65;
}

/* JOBS */

.job-search-form {
    margin-top: 0;
}

.job-results-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

.job-list h3,
.saved-jobs-panel h3 {
    margin: 0 0 18px;
    font-size: 26px;
    letter-spacing: -0.6px;
}

.job-card {
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-soft);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.job-card h4 {
    font-size: 21px;
    margin: 0 0 6px;
    letter-spacing: -0.4px;
}

.job-card-header p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.job-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0;
}

.job-meta span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.code-details {
    margin-top: 14px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.code-details summary {
    cursor: pointer;
    font-weight: 900;
    color: var(--navy-soft);
    list-style: none;
}

.code-details summary::-webkit-details-marker {
    display: none;
}

.code-details summary::before {
    content: "＋";
    display: inline-block;
    margin-right: 6px;
    color: var(--blue);
    font-weight: 900;
}

.code-details[open] summary::before {
    content: "−";
}

.code-details p {
    line-height: 1.7;
}

.match-score-box {
    background: #ecfeff;
    border: 1px solid #a5f3fc;
    color: #155e75;
    border-radius: 16px;
    padding: 14px;
    margin-top: 14px;
}

.match-score-box strong {
    display: block;
    margin-bottom: 4px;
}

.match-score-box span {
    font-size: 13px;
}

.job-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    align-items: center;
}

.small-link {
    color: var(--blue);
    font-weight: 900;
    text-decoration: none;
    padding: 9px 0;
}

.small-link:hover {
    text-decoration: underline;
}

.locked-note {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    background: var(--soft);
    border-radius: 999px;
    padding: 8px 12px;
}

/* SAVED JOBS */

.saved-jobs-panel {
    padding: 24px;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 18px;
}

.saved-job {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
}

.saved-job strong {
    display: block;
}

.saved-job span {
    display: block;
    color: var(--muted);
    margin: 4px 0 8px;
    font-size: 13px;
}

.saved-job a {
    display: inline-block;
    color: var(--blue);
    font-weight: 900;
    text-decoration: none;
    margin-bottom: 10px;
}

.saved-job a:hover {
    text-decoration: underline;
}

.mini-danger {
    border: none;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    padding: 7px 12px;
    font-weight: 900;
    cursor: pointer;
}

/* PRICING */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    padding: 30px;
    box-shadow: var(--shadow);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.pricing-card.featured {
    border-color: rgba(37, 99, 235, 0.38);
    background:
        linear-gradient(180deg, #ffffff, #eef2ff);
}

.pricing-label {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--soft-blue);
    color: var(--blue);
    font-weight: 900;
    font-size: 12px;
}

.pricing-card h3 {
    font-size: 44px;
    margin: 18px 0;
    letter-spacing: -1.5px;
}

.pricing-card ul {
    padding-left: 20px;
    line-height: 2;
    color: var(--navy-soft);
}

.pricing-card .primary-link,
.pricing-card .btn-pay {
    width: 100%;
    margin-top: 14px;
}

.unlock-card {
    margin-top: 24px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.unlock-card h3 {
    margin: 0 0 8px;
    font-size: 26px;
}

.unlock-card p {
    color: var(--muted);
    margin-bottom: 18px;
}

.unlock-form-inline {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    max-width: 680px;
    margin: 0 auto;
}

.unlock-form-inline .btn-dark {
    margin-top: 0;
    width: auto;
    min-width: 150px;
}

/* SUPPORT */

.support-section {
    position: relative;
    overflow: hidden;
    padding: 36px;
    text-align: center;
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f8fafc
        );
}

.support-section::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    top: -120px;
    right: -120px;
    background:
        radial-gradient(
            circle,
            rgba(37,99,235,0.08),
            transparent 70%
        );
    pointer-events: none;
}

.support-section h2 {
    margin: 0 0 10px;
    font-size: 32px;
    letter-spacing: -0.8px;
}

.support-section p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    text-wrap: balance;
}

.support-email {
    display: inline-block;
    margin: 18px 0;
    padding: 14px 20px;
    border-radius: 16px;
    background: var(--soft);
    color: var(--blue);
    font-weight: 900;
    border: 1px solid var(--line);
    user-select: all;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.support-email:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(37,99,235,0.12);
}

/* LEGAL / POLICY PAGES */

.legal-hero {
    padding-bottom: 78px;
}

.legal-hero-content {
    grid-template-columns: 1fr;
}

.legal-main {
    max-width: 980px;
    margin: -42px auto 0;
    padding: 0 24px 64px;
    position: relative;
    z-index: 10;
}

.legal-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px;
    margin-bottom: 28px;
}

.legal-card h2 {
    font-size: 24px;
    letter-spacing: -0.5px;
    margin: 28px 0 10px;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card p,
.legal-card li {
    color: var(--muted);
    line-height: 1.75;
    font-size: 15px;
}

.legal-card ul {
    padding-left: 22px;
}

.legal-updated {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--blue) !important;
    font-size: 12px !important;
    font-weight: 900;
    margin: 0 0 12px !important;
}

.legal-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* FOOTER */

.footer {
    text-align: center;
    color: var(--muted);
    padding: 40px 20px 52px;
    font-size: 14px;
}

.footer p {
    margin: 6px 0;
    line-height: 1.65;
}

.footer a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 900;
}

.footer a:hover {
    text-decoration: underline;
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
    border: 3px solid #f8fafc;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ANIMATION */

.hero,
.workflow-card,
.metric-card,
.insight-card,
.analysis-card,
.job-card,
.saved-jobs-panel,
.pricing-card,
.unlock-card,
.support-section,
.legal-card,
.status-strip,
.benefits-strip {
    animation: fadeUp 0.55s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .job-results-grid {
        grid-template-columns: 1fr;
    }

    .saved-jobs-panel {
        position: static;
    }

    .wide-brand-logo {
        width: 270px;
        max-height: 64px;
    }

    .logo-only-brand {
        max-width: 340px;
        padding: 9px 14px;
    }
}

@media (max-width: 900px) {
    .hero-content,
    .workflow-grid,
    .workflow-grid.one-two,
    .benefits-strip,
    .metrics-grid,
    .analysis-grid,
    .pricing-grid,
    .status-strip {
        grid-template-columns: 1fr;
    }

    main {
        margin: -36px auto 0;
        padding: 0 16px 50px;
        position: relative;
        z-index: 10;
    }

    .legal-main {
        margin: -34px auto 0;
        padding: 0 16px 50px;
    }

    .hero-content {
        gap: 34px;
    }

    .benefit {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .benefit:last-child {
        border-bottom: none;
    }

    .nav {
        margin-bottom: 42px;
        gap: 18px;
    }

    .hero {
        padding: 24px 18px 66px;
    }

    .legal-hero {
        padding-bottom: 64px;
    }

    .hero h1 {
        max-width: 760px;
    }

    .career-preview-card {
        min-height: 250px;
    }

    .legal-card {
        padding: 28px 22px;
    }

    .status-strip {
        align-items: stretch;
    }

    .wide-brand-logo {
        width: 250px;
        max-height: 60px;
    }

    .logo-only-brand {
        max-width: 320px;
        padding: 9px 14px;
    }
}

@media (max-width: 620px) {
    .nav {
        align-items: flex-start;
        gap: 18px;
        flex-direction: column;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }

    .nav-link {
        padding: 10px 15px;
    }

    .wide-brand-logo {
        width: 230px;
        max-height: 54px;
    }

    .logo-only-brand {
        max-width: 290px;
        padding: 8px 12px;
        border-radius: 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .unlock-form-inline {
        grid-template-columns: 1fr;
    }

    .unlock-form-inline .btn-dark {
        width: 100%;
    }

    .job-card-header {
        flex-direction: column;
    }

    .button-row {
        flex-direction: column;
    }

    .button-row .primary-link,
    .button-row .legal-secondary-link {
        width: 100%;
    }
}

@media (max-width: 520px) {
    main {
        margin: -28px auto 0;
    }

    .legal-main {
        margin: -28px auto 0;
    }

    .hero {
        padding: 22px 16px 58px;
    }

    .wide-brand-logo {
        width: 210px;
        max-height: 50px;
    }

    .logo-only-brand {
        max-width: 265px;
        padding: 8px 11px;
        border-radius: 16px;
    }

    .hero h1 {
        font-size: clamp(38px, 12vw, 52px);
        line-height: 1.02;
        letter-spacing: -1.8px;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.65;
    }

    .hero-actions {
        flex-direction: column;
    }

    .primary-link,
    .secondary-link {
        width: 100%;
        text-align: center;
    }

    .platform-note {
        font-size: 13px !important;
    }

    .hero-card {
        padding: 16px;
        border-radius: 26px;
    }

    .career-preview-card {
        min-height: 220px;
        padding: 24px 20px;
    }

    .preview-score-row {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .result-header h2 {
        font-size: 30px;
    }

    .workflow-card,
    .support-section,
    .legal-card,
    .pricing-card,
    .unlock-card {
        padding: 24px 20px;
    }

    .support-section {
        padding: 28px 20px;
    }

    .agreement-box {
        font-size: 12px;
        padding: 12px;
    }

    .metric-value {
        font-size: 32px;
    }

    .legal-actions {
        flex-direction: column;
    }

    .legal-actions .primary-link,
    .legal-secondary-link {
        width: 100%;
        text-align: center;
    }

    .support-email {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .job-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .job-actions form,
    .job-actions button,
    .job-actions .small-link {
        width: 100%;
        text-align: center;
    }

    .small-button {
        width: 100%;
    }
}