/* ===== CSS RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --light: #f8fafc;
    --text-primary: #e2e8f0;
    --text-secondary: #a8b2c7;
    --success: #10b981;
    --success-dark: #059669;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* ===== BASE STYLES ===== */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    line-height: 1.6;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== BACKGROUND ANIMATION ===== */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.3;
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-dark) 0%, transparent 70%);
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(15, 23, 42, 0.95);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.75rem 5%;
    background: rgba(15, 23, 42, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 48px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--text-primary);
}

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.5rem;
    color: var(--success);
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-cta {
    display: none;
    padding: 0.6rem 1.2rem;
    background: var(--gradient);
    color: white !important;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 0.5rem;
    white-space: nowrap;
}

.mobile-close-btn {
    display: none;
}

.mobile-nav-divider {
    display: none;
    width: 100%;
    height: 1px;
    background: rgba(99, 102, 241, 0.2);
    margin: 1.5rem 0;
}

.mobile-nav-footer {
    display: none;
    margin-top: auto;
    padding-top: 2rem;
}

.mobile-nav-footer a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-footer a:hover {
    color: var(--primary);
}

.mobile-compliance-badge {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.5rem;
    color: var(--success);
    margin: 1rem 0;
    justify-content: center;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient);
    color: white !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--dark-lighter);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 1rem;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    text-align: center;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.modal-incentive {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-input {
    padding: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
    background: rgba(15, 23, 42, 0.6);
    color: var(--text-primary);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modal-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.modal-submit {
    background: var(--gradient);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.modal-success {
    display: none;
    text-align: center;
}

.modal-success.active {
    display: block;
}

.modal-success h3 {
    font-size: 2rem;
    color: var(--success);
    margin-bottom: 1rem;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 5% 2rem;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #fff 0%, #a8b2c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.4s ease;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    animation: fadeInUp 0.4s ease 0.1s both;
}

.waitlist-incentive {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    animation: fadeInUp 0.4s ease 0.1s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.4s ease 0.1s both;
}

.hero-visual {
    position: relative;
    animation: none;
    max-width: 550px;
    margin: 0 auto;
}

.dashboard-preview {
    background: rgba(30, 41, 59, 0.95);
    border-radius: 1rem;
    padding: 1.2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: transform 0.3s ease;
    max-width: 500px;
    margin: 0 auto;
    margin-top: 40px;
    animation: fadeInUp 0.4s ease 0.1s both;
}

.dashboard-preview:hover {
    transform: translateY(-5px);
}

/* ===== SHORTLIST UI ===== */
.shortlist-header {
    margin-bottom: 1rem;
}

.shortlist-header h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.shortlist-header p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.candidate-card {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    padding-bottom: 2.2rem;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
}

.candidate-card:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
    border-color: rgba(99, 102, 241, 0.3);
}

.candidate-card.highlighted-match {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.3);
    position: relative;
    padding-top: 2.2rem;
}

.candidate-card.highlighted-match:hover {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.4);
}

.top-performer-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
    animation: fadeInDown 0.5s ease 0.2s both;
}

.view-details {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.view-details:hover {
    color: var(--primary-dark);
    transform: translateX(2px);
    opacity: 1;
}

.candidate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.candidate-header h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
}

.match-score {
    position: relative;
}

.score-ring-small {
    width: 60px;
    height: 60px;
}

.score-ring-small circle {
    fill: none;
    stroke-width: 4;
}

.score-ring-small .score-bg {
    stroke: rgba(30, 41, 59, 0.5);
}

.score-ring-small .score-fill {
    stroke: var(--success);
    stroke-linecap: round;
    transform-origin: center;
    transform: rotate(-90deg);
}

.score-ring-small text {
    fill: var(--text-primary);
    font-size: 1.1rem;
    font-weight: bold;
    text-anchor: middle;
    dominant-baseline: central;
}

.candidate-title {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.candidate-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.candidate-tags .tag {
    font-size: 0.8rem;
    color: var(--success);
}

.view-more {
    text-align: center;
    margin-top: 1rem;
}

.view-next-btn {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.view-next-btn:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

/* Action Buttons */
.action-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.bias-report-btn {
    background: var(--success-gradient);
    color: white;
    flex: 1;
}

.bias-report-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-text {
    font-size: 0.95rem;
    display: block;
}

.btn-subtitle {
    font-size: 0.75rem;
    opacity: 0.9;
    display: block;
}

.export-group {
    position: relative;
    flex: 1;
}

.export-btn {
    background: var(--gradient);
    color: white;
    width: 100%;
    justify-content: center;
}

.export-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.export-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.5rem;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.export-group:hover .export-dropdown,
.export-group.active .export-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.export-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 0.3rem;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.export-option:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    transform: translateX(5px);
}

/* ===== PAIN POINTS SECTION ===== */
.pain-points {
    padding: 5rem 5%;
    background: var(--dark-lighter);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pain-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pain-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.pain-card:hover::before {
    transform: scaleX(1);
}

.pain-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pain-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pain-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 5rem 5%;
    position: relative;
}

.feature-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
}

.feature:nth-child(even) {
    direction: rtl;
}

.feature:nth-child(even) > * {
    direction: ltr;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.feature-tagline {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.feature-bullets {
    list-style: none;
    padding: 0;
}

.feature-bullets li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.feature-bullets li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.feature-visual {
    background: rgba(30, 41, 59, 0.95);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.2);
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}

/* Feature Visual Styles */
.role-creation-ui {
    font-size: 0.9rem;
}

.upload-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.upload-box {
    background: rgba(15, 23, 42, 0.6);
    border: 2px dashed rgba(99, 102, 241, 0.3);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.upload-box:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.upload-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.upload-box p {
    color: var(--text-primary);
    margin: 0.5rem 0;
    font-weight: 500;
}

.status {
    color: var(--success);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.3rem;
}

.extracted-insights {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.extracted-insights h4 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.pattern-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pattern {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Configuration UI */
.config-ui-v2 {
    font-size: 0.9rem;
}

.ai-prompt-header h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.ai-prompt-box {
    margin-bottom: 1.5rem;
}

.ai-prompt-input {
    width: 100%;
    min-height: 160px;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ai-prompt-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.ai-prompt-input::placeholder {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.config-section {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.config-section h5 {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.config-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-option:hover {
    color: var(--text-primary);
}

.checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-option span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkbox-option.checked span {
    color: var(--text-primary);
}

.keywords-section {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 0.5rem;
    padding: 1rem;
}

.keywords-section h5 {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.keyword-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.keyword-tag {
    background: var(--gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.add-keyword {
    background: transparent;
    border: 1px dashed rgba(99, 102, 241, 0.5);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-keyword:hover {
    border-style: solid;
    background: rgba(99, 102, 241, 0.1);
}

/* Upload Process UI */
.upload-process-ui {
    font-size: 0.9rem;
}

.bulk-upload-area {
    margin-bottom: 1.5rem;
}

.upload-dropzone {
    background: rgba(15, 23, 42, 0.6);
    border: 2px dashed rgba(99, 102, 241, 0.5);
    border-radius: 0.8rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.upload-dropzone.active {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.upload-icon-large {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.upload-status {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-details {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.processing-insights {
    display: grid;
    gap: 0.8rem;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.insight-icon {
    font-size: 1.2rem;
}

.security-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--success);
    margin-top: 1rem;
    justify-content: center;
}

/* Results UI */
.results-ui {
    font-size: 0.9rem;
}

.candidate-result {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.8rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.candidate-result.highlighted-match {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding-top: 2.2rem;
}

.candidate-result.highlighted-match:hover {
    border-color: rgba(16, 185, 129, 0.4);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.candidate-info h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 0 0 0.2rem 0;
}

.role-match {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.score-visual {
    position: relative;
}

.score-ring {
    width: 80px;
    height: 80px;
}

.score-ring circle {
    fill: none;
    stroke-width: 5;
}

.score-ring .score-bg {
    stroke: #1e293b;
}

.score-ring .score-fill {
    stroke: #10b981;
    stroke-linecap: round;
    transform-origin: center;
    transform: rotate(-90deg);
}

.score-text {
    fill: var(--text-primary);
    font-size: 1.5rem;
    font-weight: bold;
    text-anchor: middle;
    dominant-baseline: middle;
}

.match-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.detail-item {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.detail-item.green {
    color: var(--success);
}

.detail-item.yellow {
    color: #fbbf24;
}

.candidate-summary {
    font-size: 0.85rem;
}

.candidate-summary h5 {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin: 0.8rem 0 0.4rem 0;
}

.candidate-summary p {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.candidate-summary ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.candidate-summary li {
    color: var(--text-secondary);
    padding: 0.3rem 0;
    padding-left: 1rem;
    position: relative;
}

.candidate-summary li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.match-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 0.5rem;
}

.view-resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    margin-top: 1rem;
    background: transparent;
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary);
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-resume-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* Shortlist Feature UI */
.shortlist-ui {
    font-size: 0.9rem;
}

.shortlist-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.5rem;
    padding: 0.6rem;
    margin-bottom: 0.8rem;
}

.stat-mini {
    text-align: center;
    flex: 1;
}

.stat-mini.highlight {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.4rem;
    padding: 0.4rem;
}

.stat-mini .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    line-height: 1;
}

.stat-mini.highlight .stat-number {
    color: var(--success);
}

.stat-mini .stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 0.1rem;
    display: block;
}

.stat-arrow {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0.3rem;
}

.shortlist-container {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.8rem;
}

.shortlist-container .candidate-card {
    margin-bottom: 1rem;
}

.shortlist-container .candidate-card:last-of-type {
    margin-bottom: 0;
}

.shortlist-header-compact {
    margin-bottom: 1.5rem;
}

.shortlist-header-compact h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0 0 0.3rem 0;
}

.navigation-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

.shortlist-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-top: 0.8rem;
}

/* Compact Action Buttons */
.action-btn-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 0.4rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.05);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.action-btn-compact:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.action-btn-compact.success {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.action-btn-compact.success:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success);
}

.action-btn-compact .btn-icon {
    font-size: 0.95rem;
}

.export-dropdown-compact {
    position: absolute;
    top: calc(100% + 0.3rem);
    right: 0;
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.4rem;
    padding: 0.3rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 150px;
}

.export-group-compact {
    position: relative;
}

.export-group-compact:hover .export-dropdown-compact,
.export-group-compact.active .export-dropdown-compact {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.export-option-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 0.3rem;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    white-space: nowrap;
}

.export-option-compact:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

/* Common UI Elements */
.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

/* Compliance UI */
.compliance-ui {
    font-size: 0.9rem;
}

.compliance-dashboard {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.8rem;
    padding: 1.5rem;
}

.dashboard-header {
    margin-bottom: 1.5rem;
}

.dashboard-header h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 0.5rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.demographic-overview {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.demographic-overview h5 {
    color: var(--success);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.demo-grid {
    display: grid;
    gap: 0.5rem;
}

.demo-stat {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.demo-label {
    font-weight: 500;
}

.candidate-list {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.candidate-list h5 {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.candidate-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.candidate-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
    gap: 1rem;
    padding: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.candidate-row.header {
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    padding-bottom: 0.75rem;
    margin-bottom: 0.25rem;
}

.candidate-row.more {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    grid-column: 1 / -1;
    opacity: 0.7;
}

.score-badge {
    font-weight: 600;
}

.score-badge.high {
    color: var(--success);
}

.score-badge.medium {
    color: #fbbf24;
}

.status-badge {
    font-size: 0.8rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-buttons .export-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 5rem 5%;
    background: var(--dark-lighter);
}

.pricing-cards {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: bold;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    margin: 1rem 0;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.price-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 5rem 5%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat {
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 5rem 5%;
    text-align: center;
    background: var(--dark);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* ===== FOOTER ===== */
.footer-section {
    background: var(--dark);
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.trust-section {
    padding: 3rem 5%;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.trust-content {
    max-width: 1200px;
    margin: 0 auto;
}

.trust-title {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 0.8rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.trust-badge-item:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.05);
}

.trust-badge-icon {
    font-size: 2.5rem;
}

.trust-badge-label {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.trust-badge-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

footer {
    padding: 2rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    margin-left: 0.5rem;
}

.footer-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.privacy-consent {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0.5rem 0;
    text-align: center;
}

.privacy-consent a {
    color: var(--primary);
    text-decoration: underline;
}

.privacy-consent a:hover {
    color: var(--primary-dark);
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* Safari-specific fixes for backdrop-filter performance */
@supports (-webkit-backdrop-filter: blur(10px)) {
    nav,
    .modal-content,
    .feature-visual,
    .dashboard-preview {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* Hardware acceleration for animations */
.pain-card,
.feature,
.stat,
.pricing-card,
.trust-badge-item {
    will-change: transform, opacity;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Navigation */
    nav {
        padding: 0.75rem 1rem;
    }

    .nav-container {
        position: relative;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-cta {
        display: inline-block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        width: 100%;
        display: block;
    }

    .nav-links .compliance-badge {
        display: none;
    }

    .mobile-compliance-badge {
        display: flex;
    }

    .mobile-nav-divider {
        display: block;
    }

    .mobile-nav-footer {
        display: block;
    }

    .nav-links .btn-primary {
        display: none;
    }

    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    .mobile-close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 1.5rem;
        cursor: pointer;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Hero section */
    .hero {
        padding: 7rem 1rem 2rem;
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-text .subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .waitlist-incentive {
        font-size: 0.85rem;
        padding: 0.3rem 1rem;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        min-height: 44px;
    }

    /* Dashboard preview */
    .hero-visual {
        margin-top: 2rem;
        padding: 0 0.5rem;
    }

    .dashboard-preview {
        padding: 1rem;
        margin-top: 20px;
        transform: none;
        max-width: 100%;
    }

    .dashboard-preview:hover {
        transform: none;
    }

    /* Shortlist */
    .shortlist-header-compact h4 {
        font-size: 1rem;
    }

    .candidate-card {
        padding: 0.8rem;
        padding-bottom: 2.2rem;
        margin-bottom: 0.6rem;
    }

    .candidate-card.highlighted-match {
        padding-top: 2rem;
    }

    .candidate-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 0.5rem;
    }

    .candidate-header h4 {
        font-size: 0.95rem;
        margin-right: 1rem;
    }

    .match-score {
        flex-shrink: 0;
    }

    .score-ring-small {
        width: 50px;
        height: 50px;
    }

    .score-ring-small text {
        font-size: 1rem;
    }

    .candidate-title {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .candidate-tags {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .candidate-tags .tag {
        font-size: 0.75rem;
    }

    .view-details {
        font-size: 0.7rem;
        bottom: 0.6rem;
        right: 0.6rem;
    }

    .top-performer-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
        top: -10px;
    }

    /* Shortlist actions */
    .shortlist-actions {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.6rem;
    }

    .action-btn-compact {
        width: 100%;
        justify-content: center;
        min-height: 44px;
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    .export-group-compact {
        width: 100%;
    }

    .export-dropdown-compact {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: translateY(100%);
        border-radius: 1rem 1rem 0 0;
        padding: 1rem;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    }

    .export-group-compact.active .export-dropdown-compact {
        transform: translateY(0);
    }

    .shortlist-stats {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem;
        margin-bottom: 0.8rem;
    }

    .stat-mini {
        padding: 0.4rem 0.6rem;
    }

    .stat-mini .stat-number {
        font-size: 1.2rem;
    }

    .stat-mini .stat-label {
        font-size: 0.65rem;
    }

    .stat-arrow {
        display: none;
    }

    .navigation-dots {
        margin-top: 0.8rem;
        gap: 0.4rem;
    }

    .dot {
        width: 6px;
        height: 6px;
    }

    .dot.active {
        width: 20px;
    }

    /* Features section */
    .feature {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature:nth-child(even) {
        direction: ltr;
    }

    .feature-content h3 {
        font-size: 1.5rem;
    }

    .feature-tagline {
        font-size: 1rem;
    }

    .feature-bullets {
        font-size: 0.9rem;
    }

    .feature-visual {
        padding: 1rem;
    }

    /* Feature UI mobile */
    .upload-section {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .upload-box {
        padding: 1rem;
    }

    .upload-icon {
        font-size: 1.5rem;
    }

    .upload-box p {
        font-size: 0.85rem;
    }

    .status {
        font-size: 0.75rem;
    }

    .extracted-insights {
        padding: 1rem;
    }

    .extracted-insights h4 {
        font-size: 0.9rem;
    }

    .pattern {
        font-size: 0.8rem;
    }

    /* Configuration UI mobile */
    .ai-prompt-input {
        font-size: 16px;
        padding: 0.75rem;
        min-height: 140px;
    }

    .config-section {
        padding: 0.75rem;
    }

    .checkbox-option {
        padding: 0.3rem 0;
    }

    .checkbox-option input[type="checkbox"] {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
    }

    .checkbox-option span {
        font-size: 0.8rem;
    }

    .keywords-section {
        padding: 0.75rem;
    }

    .keyword-tags {
        gap: 0.4rem;
    }

    .keyword-tag,
    .add-keyword {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        min-height: 32px;
    }

    /* Upload process mobile */
    .upload-dropzone {
        padding: 2rem 1rem;
    }

    .upload-icon-large {
        font-size: 2.5rem;
    }

    .upload-status {
        font-size: 1rem;
    }

    .progress-details {
        font-size: 0.75rem;
    }

    .insight-item {
        padding: 0.6rem;
        font-size: 0.8rem;
        gap: 0.6rem;
    }

    .insight-icon {
        font-size: 1rem;
    }

    .security-note {
        font-size: 0.75rem;
    }

    /* Results UI mobile */
    .candidate-result {
        padding: 1rem;
    }

    .result-header {
        flex-direction: column;
        gap: 0.8rem;
    }

    .score-ring {
        width: 60px;
        height: 60px;
    }

    .score-text {
        font-size: 1.2rem;
    }

    .match-details {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .detail-item {
        font-size: 0.75rem;
    }

    .candidate-summary h5 {
        font-size: 0.85rem;
    }

    .candidate-summary p,
    .candidate-summary li {
        font-size: 0.8rem;
    }

    .view-resume-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        width: 100%;
        max-width: 200px;
    }

    /* Pain points */
    .pain-card {
        padding: 1.5rem;
    }

    .pain-icon {
        font-size: 2rem;
    }

    /* Pricing */
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-card.featured {
        transform: scale(1);
        margin: 0;
    }

    .popular-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        top: -12px;
    }

    .price {
        font-size: 2.5rem;
    }

    /* Modal */
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
        width: calc(100% - 2rem);
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-header h3 {
        font-size: 1.3rem;
    }

    .modal-incentive {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .modal-input {
        padding: 0.8rem;
        font-size: 16px;
        min-height: 44px;
    }

    .modal-submit {
        min-height: 44px;
        font-size: 0.95rem;
        justify-content: center;
    }

    /* Stats section */
    .stat-number {
        font-size: 2.5rem;
    }

    /* CTA section */
    .cta h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    /* Trust badges */
    .trust-badges-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.8rem;
    }

    .trust-badge-item {
        padding: 0.8rem;
    }

    .trust-badge-icon {
        font-size: 1.8rem;
    }

    .trust-badge-label {
        font-size: 0.8rem;
    }

    .trust-badge-desc {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    /* Footer */
    .footer-copyright {
        font-size: 0.8rem;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    /* General spacing */
    .pain-points,
    .features,
    .pricing,
    .stats,
    .cta {
        padding: 3rem 1rem;
    }

    /* Text adjustments */
    p,
    li {
        font-size: 0.9rem;
    }

    /* Touch targets */
    a,
    button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Form elements */
    input,
    select,
    textarea,
    button {
        font-size: 16px;
    }

    /* Simplified animations on mobile */
    .pain-card,
    .feature,
    .stat,
    .pricing-card,
    .trust-badge-item {
        opacity: 1 !important;
        transform: translateY(10px) !important;
    }

    /* Disable all backdrop filters on mobile */
    * {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .logo svg {
        width: 180px;
        height: 40px;
    }

    .mobile-cta {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .hero {
        padding: 6rem 0.75rem 2rem;
    }

    .hero-text h1 {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .hero-text .subtitle {
        font-size: 0.9rem;
    }

    .waitlist-incentive {
        font-size: 0.8rem;
        padding: 0.25rem 0.75rem;
        margin-bottom: 0.8rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .dashboard-preview {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .shortlist-container {
        padding: 0.75rem;
    }

    .candidate-card {
        padding: 0.6rem;
        padding-bottom: 2rem;
    }

    .top-performer-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
    }

    .candidate-header h4 {
        font-size: 0.9rem;
    }

    .score-ring-small {
        width: 45px;
        height: 45px;
    }

    .score-ring-small text {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    .pain-points,
    .features,
    .pricing,
    .stats,
    .cta {
        padding: 2.5rem 0.75rem;
    }
}

/* Responsive breakpoints for larger screens */
@media (max-width: 1200px) {
    .hero {
        min-height: 90vh;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .hero-text .subtitle {
        font-size: 1.1rem;
    }

    .dashboard-preview {
        padding: 1.2rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}