/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans', 'Noto Sans SC', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Arabic', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 28px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-cta {
    margin-left: 10px;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
        transition: left 0.3s ease;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 18px;
        font-weight: 600;
        padding: 15px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-cta {
        margin: 20px 0;
        padding: 15px 30px;
        font-size: 16px;
        margin-left: 0;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo {
        font-size: 20px;
    }
    
    .nav-logo i {
        font-size: 24px;
    }
    
    .nav-toggle span {
        width: 20px;
        height: 2px;
    }
    
    .nav-menu {
        padding-top: 30px;
        gap: 20px;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 12px 0;
    }
    
    .nav-cta {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Buttons */
.cta-button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button.primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.cta-button.secondary:hover {
    background: #2563eb;
    color: white;
}

.cta-button.large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23cbd5e1" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.gradient-text {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
}

/* Chat Demo */
.hero-demo {
    animation: fadeInRight 1s ease-out 0.8s both;
}

.chat-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.chat-header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.chat-info h3 {
    margin: 0;
    font-size: 16px;
}

.status {
    font-size: 12px;
    opacity: 0.8;
}

.chat-messages {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    animation: messageSlideIn 0.5s ease-out;
}

.message.bot {
    text-align: left;
}

.message.user {
    text-align: right;
}

.message-bubble {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
}

.message.bot .message-bubble {
    background: #f1f5f9;
    color: #334155;
}

.message.user .message-bubble {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f1f5f9;
    border-radius: 18px;
    max-width: 80px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #64748b;
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

.chat-input {
    display: flex;
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
}

.chat-input button {
    width: 40px;
    height: 40px;
    border: none;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dropbox Styles */
.dropbox-container {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    animation: dropboxSlideIn 0.5s ease-out;
}

.dropbox {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.dropbox:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.dropbox.dragover {
    border-color: #2563eb;
    background: #dbeafe;
    transform: scale(1.02);
}

.dropbox-content i {
    font-size: 2.5rem;
    color: #64748b;
    margin-bottom: 15px;
    display: block;
}

.dropbox-content p {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.file-types {
    font-size: 0.8rem;
    color: #64748b;
}

.upload-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: progressShimmer 1.5s infinite;
}

.progress-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2563eb;
}

.upload-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #10b981;
    font-weight: 600;
}

.upload-success i {
    font-size: 1.5rem;
}

/* Section Styling */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1e293b;
}

/* Workflow Animation Section */
.workflow-animation {
    padding: 8rem 0; /* Reduced padding */
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: auto; /* Remove fixed height constraint */
}

.workflow-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.workflow-animation .container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
}

/* Enhanced Header */
.workflow-header {
    text-align: center;
    margin-bottom: 100px;
}

.workflow-header .section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.workflow-subtitle {
    font-size: 1.4rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.workflow-intro {
    max-width: 800px;
    margin: 0 auto;
}

.workflow-intro p {
    font-size: 1.1rem;
    opacity: 0.7;
    line-height: 1.7;
}

/* Enhanced Scroll Progress Indicator */
.scroll-progress-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 8px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-progress-indicator.visible {
    opacity: 1;
}

.progress-dots {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.progress-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.progress-dot.active {
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
    transform: scale(1.3);
}

.progress-dot::after {
    content: attr(data-step);
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.9);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-dot.active::after {
    opacity: 1;
}

/* Enhanced Workflow Steps Container */
.workflow-steps-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Consistent spacing between steps */
}

/* Individual Workflow Steps */
.workflow-step {
    min-height: 80vh; /* Reduced height for better mobile experience */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 1; /* Always visible by default */
    transform: translateY(0) scale(1); /* Reset transform */
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 8rem; /* Reduced spacing */
    padding: 2rem 0; /* Add padding for better spacing */
}

.workflow-step.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.workflow-step.in-view {
    opacity: 1; /* Keep fully visible when in view */
    transform: translateY(0) scale(1);
}

/* Step Background Effects */
.step-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.step-background .flow-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.step-background .flow-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(37, 99, 235, 0.4), transparent);
    animation: flowMove 8s linear infinite;
}

.step-background .flow-line[data-line="1"] {
    left: 20%;
    animation-delay: 0s;
}

.step-background .flow-line[data-line="2"] {
    left: 50%;
    animation-delay: 2s;
}

.step-background .flow-line[data-line="3"] {
    left: 80%;
    animation-delay: 4s;
}

@keyframes flowMove {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Step Content Layout */
.step-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 60px 40px;
    min-height: 400px; /* Ensure minimum content height */
    margin: 0 auto; /* Center the content */
}

.step-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.step-content.center {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 1000px;
}

/* Flexible ordering for responsive design */
.step-info {
    grid-column: 1;
    padding-right: 20px;
}

.step-visual {
    grid-column: 2;
    padding-left: 20px;
}

.step-content.reverse .step-info {
    grid-column: 2;
    padding-left: 20px;
    padding-right: 0;
}

.step-content.reverse .step-visual {
    grid-column: 1;
    padding-right: 20px;
    padding-left: 0;
}

/* Step Info Styling */
.step-info {
    padding: 20px 0;
}

/* Desktop adjustments for better layout */
@media (min-width: 1024px) {
    .step-content {
        gap: 80px;
        padding: 80px 60px;
    }
    
    .step-info {
        padding: 40px 0;
    }
    
    .step-info {
        padding-right: 40px;
    }
    
    .step-visual {
        padding-left: 40px;
    }
    
    .step-content.reverse .step-info {
        padding-left: 40px;
        padding-right: 0;
    }
    
    .step-content.reverse .step-visual {
        padding-right: 40px;
        padding-left: 0;
    }
}

.step-number {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    transform: scale(0);
    animation: numberPop 0.6s ease-out 0.3s forwards;
}

@keyframes numberPop {
    0% { transform: scale(0) rotate(-180deg); }
    70% { transform: scale(1.1) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.step-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out 0.5s forwards;
}

.step-info p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out 0.7s forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature Highlights */
.feature-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(37, 99, 235, 0.1);
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid rgba(37, 99, 235, 0.3);
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease-out forwards;
}

.highlight-item:nth-child(1) { animation-delay: 0.9s; }
.highlight-item:nth-child(2) { animation-delay: 1.1s; }
.highlight-item:nth-child(3) { animation-delay: 1.3s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.highlight-item i {
    color: #60a5fa;
    font-size: 1.1rem;
}

.highlight-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #e2e8f0;
}

/* Accuracy Stats */
.accuracy-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.accuracy-stats .stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: statSlideUp 0.6s ease-out forwards;
}

.accuracy-stats .stat-item:nth-child(1) { animation-delay: 1.2s; }
.accuracy-stats .stat-item:nth-child(2) { animation-delay: 1.4s; }
.accuracy-stats .stat-item:nth-child(3) { animation-delay: 1.6s; }

@keyframes statSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accuracy-stats .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #10b981;
    display: block;
    margin-bottom: 5px;
}

.accuracy-stats .stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Analysis Breakdown */
.analysis-breakdown {
    margin-top: 30px;
}

.analysis-breakdown h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.analysis-breakdown ul {
    list-style: none;
    padding: 0;
}

.analysis-breakdown li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateX(-20px);
    animation: listItemSlide 0.5s ease-out forwards;
}

.analysis-breakdown li:nth-child(1) { animation-delay: 1.3s; }
.analysis-breakdown li:nth-child(2) { animation-delay: 1.4s; }
.analysis-breakdown li:nth-child(3) { animation-delay: 1.5s; }
.analysis-breakdown li:nth-child(4) { animation-delay: 1.6s; }
.analysis-breakdown li:nth-child(5) { animation-delay: 1.7s; }

@keyframes listItemSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.analysis-breakdown li i {
    color: #10b981;
    font-size: 1rem;
}

/* Ranking Benefits */
.ranking-benefits {
    margin-top: 30px;
}

.ranking-benefits h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.ranking-benefits ul {
    list-style: none;
    padding: 0;
}

.ranking-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateX(-20px);
    animation: listItemSlide 0.5s ease-out forwards;
}

.ranking-benefits li:nth-child(1) { animation-delay: 1.2s; }
.ranking-benefits li:nth-child(2) { animation-delay: 1.3s; }
.ranking-benefits li:nth-child(3) { animation-delay: 1.4s; }
.ranking-benefits li:nth-child(4) { animation-delay: 1.5s; }

.ranking-benefits li i {
    color: #fbbf24;
    font-size: 1rem;
}

/* Enhanced Visual Demos */
.step-visual {
    position: relative;
    opacity: 0;
    transform: scale(0.9);
    animation: visualZoomIn 0.8s ease-out 0.4s forwards;
}

@keyframes visualZoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Processing Indicator */
.processing-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.processing-dots {
    display: flex;
    gap: 8px;
}

.processing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
    animation: processingDot 1.5s ease-in-out infinite;
}

.processing-dots span:nth-child(1) { animation-delay: 0s; }
.processing-dots span:nth-child(2) { animation-delay: 0.3s; }
.processing-dots span:nth-child(3) { animation-delay: 0.6s; }

@keyframes processingDot {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    30% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Enhanced CV Lines with dynamic widths */
.cv-line.messy {
    height: 12px;
    background: #94a3b8;
    margin: 8px 0;
    border-radius: 2px;
    animation: shimmer 2s ease-in-out infinite;
}

.cv-line.messy[data-width="80"] { width: 80%; }
.cv-line.messy[data-width="60"] { width: 60%; }
.cv-line.messy[data-width="90"] { width: 90%; }
.cv-line.messy[data-width="70"] { width: 70%; }
.cv-line.messy[data-width="85"] { width: 85%; }

/* Enhanced Metric Bars */
.metric-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 4px;
    transform-origin: left;
    transform: scaleX(0);
    animation: metricFill 1.5s ease-out 0.8s forwards;
}

.metric-fill[data-percent="94"] { width: 94%; }
.metric-fill[data-percent="89"] { width: 89%; }
.metric-fill[data-percent="91"] { width: 91%; }
.metric-fill[data-percent="87"] { width: 87%; }

@keyframes metricFill {
    to { transform: scaleX(1); }
}

/* Results Summary Styling */
.results-summary {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.results-header {
    margin-bottom: 60px;
}

.success-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transform: scale(0);
    animation: successPop 0.8s ease-out 0.3s forwards;
}

@keyframes successPop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.success-icon i {
    font-size: 3rem;
    color: white;
}

.results-header h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-header p {
    font-size: 1.3rem;
    opacity: 0.8;
}

/* Enhanced Summary Stats */
.summary-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.summary-stats .stat-item.large {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: largeStat 0.8s ease-out forwards;
}

.summary-stats .stat-item.large:nth-child(1) { animation-delay: 0.6s; }
.summary-stats .stat-item.large:nth-child(2) { animation-delay: 0.8s; }
.summary-stats .stat-item.large:nth-child(3) { animation-delay: 1.0s; }
.summary-stats .stat-item.large:nth-child(4) { animation-delay: 1.2s; }

@keyframes largeStat {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.summary-stats .stat-item.large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.summary-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 10px;
}

.summary-stats .stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #e2e8f0;
}

.stat-description {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Impact Metrics */
.impact-metrics {
    margin-bottom: 60px;
}

.impact-metrics h4 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #e2e8f0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.impact-item {
    text-align: center;
    padding: 25px 15px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: impactSlide 0.6s ease-out forwards;
}

.impact-item:nth-child(1) { animation-delay: 1.4s; }
.impact-item:nth-child(2) { animation-delay: 1.6s; }
.impact-item:nth-child(3) { animation-delay: 1.8s; }
.impact-item:nth-child(4) { animation-delay: 2.0s; }

@keyframes impactSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.impact-value {
    font-size: 2rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 8px;
}

.impact-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* CTA Container */
.cta-container {
    text-align: center;
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.2rem;
    margin-bottom: 15px;
    transform: scale(0);
    animation: ctaPop 0.6s ease-out 2.2s forwards;
}

@keyframes ctaPop {
    0% { transform: scale(0); }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.cta-subtitle {
    opacity: 0.7;
    font-size: 0.95rem;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 2.4s forwards;
}

@keyframes fadeIn {
    to { opacity: 0.7; }
}

/* Enhanced Controls */
.workflow-controls {
    text-align: center;
    margin-top: 100px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.control-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(37, 99, 235, 0.2);
    color: white;
    border: 2px solid rgba(37, 99, 235, 0.4);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.control-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.control-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.playback-info {
    opacity: 0.7;
    font-size: 0.95rem;
}

/* Enhanced Animation Keyframes for 5-Step Workflow */
@keyframes successPop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes ctaPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    }
    50% {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
    }
}

@keyframes stepSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes metricBarFill {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes impactGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
    }
}

/* Workflow Stage */
.workflow-stage {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 60px 40px;
    margin-bottom: 150px; /* Increased margin for better scroll space between steps */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workflow-stage:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Flow Lines */
.flow-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: 24px;
}

.flow-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(37, 99, 235, 0.3), transparent);
    animation: flowMove 8s linear infinite;
}

.flow-line[data-line="1"] {
    left: 20%;
    animation-delay: 0s;
}

.flow-line[data-line="2"] {
    left: 50%;
    animation-delay: 2s;
}

.flow-line[data-line="3"] {
    left: 80%;
    animation-delay: 4s;
}

@keyframes flowMove {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Timeline Progress */
.timeline-progress {
    position: relative;
    margin-bottom: 60px;
}

.timeline-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
}

.timeline-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #8b5cf6, #10b981);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-markers {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.marker-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.timeline-marker.active .marker-dot {
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
    transform: scale(1.2);
}

.marker-label {
    margin-top: 45px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.timeline-marker.active .marker-label {
    opacity: 1;
}

/* Workflow Content */
.workflow-content {
    position: relative;
    min-height: 500px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-scene {
    display: none;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.workflow-scene.active {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.workflow-scene {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

/* Scene Visual Styles */
.scene-visual {
    position: relative;
}

.demo-window {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    color: #333;
}

.window-header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.window-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.chat-area {
    height: 300px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.chat-message {
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 80%;
    animation: messageSlide 0.5s ease-out;
}

.chat-message.bot {
    background: #f1f5f9;
    color: #334155;
    align-self: flex-start;
}

.chat-message.user {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    align-self: flex-end;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upload-zone {
    padding: 30px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    text-align: center;
}

.upload-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.file-icon {
    font-size: 3rem;
    color: #2563eb;
    animation: fileFloat 2s ease-in-out infinite;
}

@keyframes fileFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.upload-text span {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #64748b;
}

.upload-progress {
    width: 200px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #8b5cf6);
    border-radius: 4px;
    width: 0%;
    animation: progressFill 3s ease-out;
}

@keyframes progressFill {
    to { width: 100%; }
}

/* Data Extraction Demo */
.extraction-demo {
    display: flex;
    align-items: center;
    gap: 40px;
}

.data-transform {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.raw-cv, .structured-data {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: #333;
}

.cv-header, .data-header {
    font-weight: 600;
    margin-bottom: 15px;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 8px;
}

.cv-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cv-line {
    height: 12px;
    background: #d1d5db;
    border-radius: 6px;
    animation: shimmer 1.5s ease-in-out infinite;
}

.cv-line:nth-child(1) { width: 80%; }
.cv-line:nth-child(2) { width: 60%; }
.cv-line:nth-child(3) { width: 90%; }
.cv-line:nth-child(4) { width: 70%; }

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.transform-arrow {
    font-size: 2rem;
    color: #2563eb;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.data-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.data-field {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    opacity: 0;
    transform: translateX(-20px);
    animation: dataFieldSlide 0.5s ease-out forwards;
}

.data-field:nth-child(1) { animation-delay: 0.2s; }
.data-field:nth-child(2) { animation-delay: 0.4s; }
.data-field:nth-child(3) { animation-delay: 0.6s; }
.data-field:nth-child(4) { animation-delay: 0.8s; }

@keyframes dataFieldSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.field-label {
    font-weight: 600;
    color: #6b7280;
}

.field-value {
    color: #374151;
}

/* AI Analysis Demo */
.analysis-demo {
    text-align: center;
}

.ai-brain-visual {
    position: relative;
    padding: 40px;
}

.brain-core {
    position: relative;
    display: inline-block;
}

.brain-core i {
    font-size: 4rem;
    color: #8b5cf6;
    animation: brainPulse 2s ease-in-out infinite;
}

@keyframes brainPulse {
    0%, 100% { transform: scale(1); color: #8b5cf6; }
    50% { transform: scale(1.1); color: #2563eb; }
}

.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.neural-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    opacity: 0;
    animation: nodeActivate 3s ease-in-out infinite;
}

.neural-node[data-node="1"] {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.neural-node[data-node="2"] {
    top: 10%;
    right: 20%;
    animation-delay: 0.5s;
}

.neural-node[data-node="3"] {
    bottom: 20%;
    left: 15%;
    animation-delay: 1s;
}

.neural-node[data-node="4"] {
    bottom: 30%;
    right: 10%;
    animation-delay: 1.5s;
}

.neural-node[data-node="5"] {
    top: 50%;
    left: 50%;
    animation-delay: 2s;
}

@keyframes nodeActivate {
    0%, 80% { opacity: 0; transform: scale(0); }
    10%, 70% { opacity: 1; transform: scale(1); }
}

.analysis-metrics {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.metric-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    animation: metricSlide 0.6s ease-out forwards;
}

.metric-item:nth-child(1) { animation-delay: 0.3s; }
.metric-item:nth-child(2) { animation-delay: 0.6s; }
.metric-item:nth-child(3) { animation-delay: 0.9s; }
.metric-item:nth-child(4) { animation-delay: 1.2s; }

@keyframes metricSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.metric-label {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #10b981;
}

/* Ranking Demo */
.ranking-demo {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.leaderboard {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    color: #333;
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
}

.leaderboard-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
}

.total-candidates {
    font-size: 0.9rem;
    color: #6b7280;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid transparent;
    opacity: 0;
    transform: translateX(-30px);
    animation: rankSlide 0.6s ease-out forwards;
}

.rank-item:nth-child(1) {
    border-left-color: #fbbf24;
    animation-delay: 0.2s;
}

.rank-item:nth-child(2) {
    border-left-color: #9ca3af;
    animation-delay: 0.4s;
}

.rank-item:nth-child(3) {
    border-left-color: #f59e0b;
    animation-delay: 0.6s;
}

@keyframes rankSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.rank-position {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.rank-info {
    flex: 1;
}

.rank-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #111827;
}

.rank-score {
    display: flex;
    align-items: center;
    gap: 10px;
}

.score-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 4px;
    transform-origin: left;
    transform: scaleX(0);
    animation: scoreFill 1.5s ease-out 0.8s forwards;
}

@keyframes scoreFill {
    to { transform: scaleX(1); }
}

.score-text {
    font-weight: 600;
    color: #059669;
    min-width: 45px;
    text-align: right;
}

.insights-panel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.insights-panel h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(10px);
    animation: insightSlide 0.5s ease-out forwards;
}

.insight-item:nth-child(2) { animation-delay: 0.3s; }
.insight-item:nth-child(3) { animation-delay: 0.6s; }
.insight-item:nth-child(4) { animation-delay: 0.9s; }

@keyframes insightSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.insight-item i {
    color: #10b981;
    font-size: 1rem;
}

/* Kanban Board Demo */
.kanban-demo {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    color: #333;
    margin: 20px 0;
    max-width: 650px;
    border: 1px solid #e2e8f0;
}

.kanban-header {
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.kanban-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
}

.kanban-header i {
    color: #3b82f6;
    font-size: 1.1rem;
}

.kanban-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.kanban-column {
    background: #ffffff;
    border-radius: 10px;
    padding: 12px;
    border: 2px solid #e5e7eb;
    min-height: 160px;
    opacity: 0;
    transform: translateY(20px);
    animation: columnSlide 0.6s ease-out forwards;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.kanban-column:nth-child(1) { animation-delay: 0.1s; }
.kanban-column:nth-child(2) { animation-delay: 0.2s; }
.kanban-column:nth-child(3) { animation-delay: 0.3s; }
.kanban-column:nth-child(4) { animation-delay: 0.4s; }

@keyframes columnSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kanban-column[data-stage="new"] {
    border-color: #3b82f6;
    border-top: 4px solid #3b82f6;
}

.kanban-column[data-stage="screening"] {
    border-color: #f59e0b;
    border-top: 4px solid #f59e0b;
}

.kanban-column[data-stage="interview"] {
    border-color: #10b981;
    border-top: 4px solid #10b981;
}

.kanban-column[data-stage="hired"] {
    border-color: #8b5cf6;
    border-top: 4px solid #8b5cf6;
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.column-count {
    background: #3b82f6;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.kanban-column[data-stage="screening"] .column-count {
    background: #f59e0b;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.kanban-column[data-stage="interview"] .column-count {
    background: #10b981;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.kanban-column[data-stage="hired"] .column-count {
    background: #8b5cf6;
    box-shadow: 0 2px 4px rgba(139, 92, 246, 0.3);
}

.candidate-card {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0;
    transform: scale(0.9);
    animation: cardPop 0.4s ease-out forwards;
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.candidate-card:nth-child(2) { animation-delay: 0.5s; }
.candidate-card:nth-child(3) { animation-delay: 0.7s; }

@keyframes cardPop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.candidate-card:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border-left-color: #3b82f6;
}

.kanban-column[data-stage="new"] .candidate-card:hover {
    border-left-color: #3b82f6;
}

.kanban-column[data-stage="screening"] .candidate-card:hover {
    border-left-color: #f59e0b;
}

.kanban-column[data-stage="interview"] .candidate-card:hover {
    border-left-color: #10b981;
}

.kanban-column[data-stage="hired"] .candidate-card:hover {
    border-left-color: #8b5cf6;
}

.candidate-name {
    font-weight: 600;
    color: #6d88b3;
    font-size: 0.8rem;
}

.ai-score {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    min-width: 45px;
}

.ai-score.high {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #047857;
    border-color: #10b981;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.ai-score.medium {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-color: #f59e0b;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

/* Scene Info */
.scene-info {
    padding: 40px 0;
}

.scene-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scene-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 25px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: rgba(37, 99, 235, 0.2);
    color: #93c5fd;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

/* Workflow Controls */
.workflow-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.control-buttons {
    display: flex;
    gap: 15px;
}

.step-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.step-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.step-button.active {
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    border-color: #8b5cf6;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

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

.step-text {
    font-size: 0.9rem;
}

.playback-controls {
    display: flex;
    gap: 15px;
}

.control-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Results Summary */
.results-summary {
    margin-top: 40px;
    padding: 30px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Scroll Progress Indicator */
.scroll-progress-indicator {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-progress-indicator.visible {
    opacity: 1;
}

.progress-dots {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.progress-dot.active {
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
    transform: scale(1.2);
}

.progress-dot::after {
    content: attr(data-step);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-dot.active::after {
    opacity: 1;
}

/* Workflow Stage */
.workflow-stage {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 60px 40px;
    margin-bottom: 150px; /* Increased margin for better scroll space between steps */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workflow-stage:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Flow Lines */
.flow-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: 24px;
}

.flow-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(37, 99, 235, 0.3), transparent);
    animation: flowMove 8s linear infinite;
}

.flow-line[data-line="1"] {
    left: 20%;
    animation-delay: 0s;
}

.flow-line[data-line="2"] {
    left: 50%;
    animation-delay: 2s;
}

.flow-line[data-line="3"] {
    left: 80%;
    animation-delay: 4s;
}

@keyframes flowMove {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Timeline Progress */
.timeline-progress {
    position: relative;
    margin-bottom: 60px;
}

.timeline-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
}

.timeline-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #8b5cf6, #10b981);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-markers {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.marker-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.timeline-marker.active .marker-dot {
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
    transform: scale(1.2);
}

.marker-label {
    margin-top: 45px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.timeline-marker.active .marker-label {
    opacity: 1;
}

/* Workflow Content */
.workflow-content {
    position: relative;
    min-height: 500px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-scene {
    display: none;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.workflow-scene.active {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.workflow-scene {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

/* Scene Visual Styles */
.scene-visual {
    position: relative;
}

.demo-window {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    color: #333;
}

.window-header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.window-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.chat-area {
    height: 300px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.chat-message {
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 80%;
    animation: messageSlide 0.5s ease-out;
}

.chat-message.bot {
    background: #f1f5f9;
    color: #334155;
    align-self: flex-start;
}

.chat-message.user {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    align-self: flex-end;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upload-zone {
    padding: 30px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    text-align: center;
}

.upload-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.file-icon {
    font-size: 3rem;
    color: #2563eb;
    animation: fileFloat 2s ease-in-out infinite;
}

@keyframes fileFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.upload-text span {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #64748b;
}

.upload-progress {
    width: 200px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #8b5cf6);
    border-radius: 4px;
    width: 0%;
    animation: progressFill 3s ease-out;
}

@keyframes progressFill {
    to { width: 100%; }
}

/* Data Extraction Demo */
.extraction-demo {
    display: flex;
    align-items: center;
    gap: 40px;
}

.data-transform {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.raw-cv, .structured-data {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: #333;
}

.cv-header, .data-header {
    font-weight: 600;
    margin-bottom: 15px;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 8px;
}

.cv-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cv-line {
    height: 12px;
    background: #d1d5db;
    border-radius: 6px;
    animation: shimmer 1.5s ease-in-out infinite;
}

.cv-line:nth-child(1) { width: 80%; }
.cv-line:nth-child(2) { width: 60%; }
.cv-line:nth-child(3) { width: 90%; }
.cv-line:nth-child(4) { width: 70%; }

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.transform-arrow {
    font-size: 2rem;
    color: #2563eb;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.data-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.data-field {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    opacity: 0;
    transform: translateX(-20px);
    animation: dataFieldSlide 0.5s ease-out forwards;
}

.data-field:nth-child(1) { animation-delay: 0.2s; }
.data-field:nth-child(2) { animation-delay: 0.4s; }
.data-field:nth-child(3) { animation-delay: 0.6s; }
.data-field:nth-child(4) { animation-delay: 0.8s; }

@keyframes dataFieldSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.field-label {
    font-weight: 600;
    color: #6b7280;
}

.field-value {
    color: #374151;
}

/* AI Analysis Demo */
.analysis-demo {
    text-align: center;
}

.ai-brain-visual {
    position: relative;
    padding: 40px;
}

.brain-core {
    position: relative;
    display: inline-block;
}

.brain-core i {
    font-size: 4rem;
    color: #8b5cf6;
    animation: brainPulse 2s ease-in-out infinite;
}

@keyframes brainPulse {
    0%, 100% { transform: scale(1); color: #8b5cf6; }
    50% { transform: scale(1.1); color: #2563eb; }
}

.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.neural-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    opacity: 0;
    animation: nodeActivate 3s ease-in-out infinite;
}

.neural-node[data-node="1"] {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.neural-node[data-node="2"] {
    top: 10%;
    right: 20%;
    animation-delay: 0.5s;
}

.neural-node[data-node="3"] {
    bottom: 20%;
    left: 15%;
    animation-delay: 1s;
}

.neural-node[data-node="4"] {
    bottom: 30%;
    right: 10%;
    animation-delay: 1.5s;
}

.neural-node[data-node="5"] {
    top: 50%;
    left: 50%;
    animation-delay: 2s;
}

@keyframes nodeActivate {
    0%, 80% { opacity: 0; transform: scale(0); }
    10%, 70% { opacity: 1; transform: scale(1); }
}

.analysis-metrics {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.metric-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    animation: metricSlide 0.6s ease-out forwards;
}

.metric-item:nth-child(1) { animation-delay: 0.3s; }
.metric-item:nth-child(2) { animation-delay: 0.6s; }
.metric-item:nth-child(3) { animation-delay: 0.9s; }
.metric-item:nth-child(4) { animation-delay: 1.2s; }

@keyframes metricSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.metric-label {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #10b981;
}

/* Ranking Demo */
.ranking-demo {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.leaderboard {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    color: #333;
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
}

.leaderboard-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
}

.total-candidates {
    font-size: 0.9rem;
    color: #6b7280;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid transparent;
    opacity: 0;
    transform: translateX(-30px);
    animation: rankSlide 0.6s ease-out forwards;
}

.rank-item:nth-child(1) {
    border-left-color: #fbbf24;
    animation-delay: 0.2s;
}

.rank-item:nth-child(2) {
    border-left-color: #9ca3af;
    animation-delay: 0.4s;
}

.rank-item:nth-child(3) {
    border-left-color: #f59e0b;
    animation-delay: 0.6s;
}

@keyframes rankSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.rank-position {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.rank-info {
    flex: 1;
}

.rank-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #111827;
}

.rank-score {
    display: flex;
    align-items: center;
    gap: 10px;
}

.score-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 4px;
    transform-origin: left;
    transform: scaleX(0);
    animation: scoreFill 1.5s ease-out 0.8s forwards;
}

@keyframes scoreFill {
    to { transform: scaleX(1); }
}

.score-text {
    font-weight: 600;
    color: #059669;
    min-width: 45px;
    text-align: right;
}

.insights-panel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.insights-panel h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(10px);
    animation: insightSlide 0.5s ease-out forwards;
}

.insight-item:nth-child(2) { animation-delay: 0.3s; }
.insight-item:nth-child(3) { animation-delay: 0.6s; }
.insight-item:nth-child(4) { animation-delay: 0.9s; }

@keyframes insightSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.insight-item i {
    color: #10b981;
    font-size: 1rem;
}

/* Pain Points Section */
.pain-points {
    padding: 80px 0;
    background: white;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pain-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    background: #f8fafc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pain-card i {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 20px;
}

.pain-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

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

/* Solution Section */
.solution {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.solution-description {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.5;
}

.solution-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1e293b;
}

.step-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Transform Animation */
.transform-animation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.messy-cvs, .organized-data {
    text-align: center;
}

.cv-stack {
    position: relative;
    width: 80px;
    height: 100px;
    margin: 0 auto 15px;
}

.cv-paper {
    position: absolute;
    width: 60px;
    height: 80px;
    background: #f1f5f9;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    animation: cvFloat 3s ease-in-out infinite;
}

.cv-paper:nth-child(1) { top: 0; left: 0; animation-delay: 0s; }
.cv-paper:nth-child(2) { top: 5px; left: 10px; animation-delay: 0.5s; }
.cv-paper:nth-child(3) { top: 10px; left: 20px; animation-delay: 1s; }
.cv-paper:nth-child(4) { top: 15px; left: 30px; animation-delay: 1.5s; }

.ai-processor {
    text-align: center;
    padding: 20px;
}

.ai-processor i {
    font-size: 3rem;
    color: #2563eb;
    animation: processorPulse 2s ease-in-out infinite;
}

.ai-processor span {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    color: #2563eb;
}

.data-row {
    width: 80px;
    height: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 6px;
    margin: 8px auto;
    animation: dataSlideIn 0.5s ease-out;
}

.data-row:nth-child(1) { animation-delay: 2s; }
.data-row:nth-child(2) { animation-delay: 2.2s; }
.data-row:nth-child(3) { animation-delay: 2.4s; }
.data-row:nth-child(4) { animation-delay: 2.6s; }

.label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: #2563eb;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

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

/* Customer Types Section */
.customers {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.customer-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 24px;
    border: none;
    background: white;
    color: #64748b;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.tab-button:hover:not(.active) {
    background: #f1f5f9;
    color: #2563eb;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.customer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.customer-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}

.customer-content p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 25px;
}

.customer-content ul {
    list-style: none;
    padding: 0;
}

.customer-content li {
    padding: 8px 0;
    color: #64748b;
    position: relative;
    padding-left: 25px;
}

.customer-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

.customer-visual {
    text-align: center;
}

.customer-visual i {
    font-size: 8rem;
    color: #2563eb;
    opacity: 0.1;
}

/* Trust Section */
.trust {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.logo-placeholder {
    padding: 20px 40px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #94a3b8;
    font-weight: 600;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto 40px;
}

.testimonial blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial cite {
    color: #64748b;
    font-size: 1rem;
}

.mission {
    max-width: 600px;
    margin: 0 auto;
}

.mission p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

/* Call to Action Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
}

.feature i {
    color: #10b981;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 28px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.footer-social a:hover {
    background: #2563eb;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* 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 fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

@keyframes cvFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes processorPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes dataSlideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

@keyframes dropboxSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes uploadPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Comprehensive Mobile Responsive Styles */
@media (max-width: 1024px) {
    /* Workflow Animation Adjustments */
    .workflow-animation {
        padding: 5rem 0; /* Reduced padding for tablet */
    }
    
    .workflow-steps-container {
        padding: 0 1.5rem;
    }
    
    .workflow-step {
        margin-bottom: 4rem; /* Consistent spacing */
        min-height: auto; /* Remove height constraints */
        padding: 2.5rem 1.5rem;
        opacity: 1; /* Always visible */
        transform: none; /* Remove complex transforms */
    }
    
    .step-content {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: none;
    }
    
    .step-content.reverse {
        display: flex;
        flex-direction: column;
        direction: ltr;
    }
    
    .step-content.center {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    /* Ensure step-info always comes first (titles on top) */
    .step-info {
        order: 1;
        text-align: center;
        width: 100%;
        padding: 0;
    }
    
    .step-visual {
        order: 2;
        width: 100%;
        max-width: 100%;
    }
    
    /* Override any reverse ordering for mobile */
    .step-content.reverse .step-info {
        order: 1;
    }
    
    .step-content.reverse .step-visual {
        order: 2;
    }
    
    /* Solution Section Adjustments */
    .solution-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .solution-visual {
        order: -1;
    }
}

/* Additional Responsive Breakpoints for Better Mobile Adaptation */
@media (max-width: 992px) {
    .workflow-step {
        min-height: auto; /* Remove height constraints */
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
        opacity: 1; /* Always visible */
        transform: none; /* Remove transforms */
    }
    
    .step-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
        text-align: center;
        width: 100%;
        max-width: none;
    }
    
    .step-info {
        order: 1;
        text-align: center;
        padding: 0;
    }
    
    .step-visual {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .step-info h3 {
        font-size: 2rem;
    }
    
    .step-info p {
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto 1rem;
    }
}

@media (max-width: 768px) {
    /* General Container Adjustments */
    .container {
        padding: 0 15px;
    }
    
    /* Section Padding Adjustments */
    .pain-points,
    .solution,
    .benefits,
    .customers,
    .workflow-animation {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        justify-content: center;
    }
    
    .chat-container {
        max-width: 100%;
        margin: 0;
    }
    
    .chat-messages {
        height: 250px;
    }
    
    /* Pain Points Section */
    .pain-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }
    
    .pain-card {
        padding: 30px 20px;
    }
    
    .pain-card i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .pain-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    /* Solution Section */
    .solution-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .solution-visual {
        order: -1;
    }
    
    .solution-steps {
        margin-top: 25px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        margin-bottom: 25px;
    }
    
    .step-number {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .step-content h4 {
        margin-bottom: 8px;
    }
    
    /* Benefits Section */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .benefit-card {
        padding: 30px 20px;
    }
    
    .benefit-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .benefit-icon i {
        font-size: 1.8rem;
    }
    
    .benefit-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    /* Workflow Animation Section */
    .workflow-animation {
        padding: 4rem 0; /* Further reduced padding for mobile */
    }
    
    .workflow-header {
        text-align: center;
        margin-bottom: 2rem; /* Reduced margin */
    }
    
    .workflow-intro {
        margin-top: 1rem;
    }
    
    .scroll-progress-indicator {
        display: none; /* Hide on mobile for simplicity */
    }
    
    .workflow-step {
        margin-bottom: 3rem; /* Consistent spacing */
        padding: 2rem 1rem; /* Increased padding for better content separation */
        min-height: auto; /* Remove height constraints on mobile */
        opacity: 1; /* Always visible on mobile */
        transform: none; /* Remove transforms on mobile */
    }
    
    .step-content {
        display: flex;
        flex-direction: column;
        gap: 2rem; /* Consistent gap */
        text-align: center;
        padding: 1.5rem;
        width: 100%;
        max-width: none;
    }
    
    /* Always put step-info first on mobile */
    .step-info {
        order: 1;
        text-align: center;
        width: 100%;
        margin-bottom: 1rem;
        padding: 0; /* Remove extra padding */
    }
    
    .step-visual {
        order: 2;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden; /* Prevent visual overflow */
    }
    
    /* Scale down all visual containers for mobile */
    .step-visual > * {
        transform: scale(0.9);
        transform-origin: center;
    }
    
    /* Override reverse ordering for mobile */
    .step-content.reverse {
        flex-direction: column; /* Ensure column layout */
        direction: ltr; /* Reset direction */
    }
    
    .step-content.reverse .step-info {
        order: 1;
    }
    
    .step-content.reverse .step-visual {
        order: 2;
    }
    
    .step-number {
        font-size: 2.5rem;
        margin-bottom: 15px;
        width: 70px;
        height: 70px;
    }
    
    .step-info h3 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .step-info p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .feature-highlights {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        align-items: center;
    }
    
    .highlight-item {
        justify-content: center;
        max-width: 280px;
        width: 100%;
    }
    
    .accuracy-stats,
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .ranking-benefits ul,
    .analysis-breakdown ul {
        text-align: left;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Kanban Board Mobile Styles */
    .kanban-demo {
        padding: 20px 15px;
        max-width: 100%;
        border-radius: 12px;
        overflow-x: auto;
    }
    
    .kanban-header h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .kanban-board {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        min-width: 300px;
    }
    
    .kanban-column {
        padding: 12px;
        min-height: 160px;
        border-radius: 8px;
    }
    
    .column-header {
        font-size: 0.8rem;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }
    
    .candidate-card {
        padding: 10px;
        font-size: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .candidate-name {
        font-size: 0.8rem;
        font-weight: 600;
    }
    
    .ai-score {
        align-self: flex-end;
        font-size: 0.7rem;
        padding: 4px 8px;
        min-width: 40px;
        text-align: center;
    }
    
    /* Customer Types Section */
    .customer-tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .tab-button {
        width: 100%;
        max-width: 250px;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .customer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .customer-visual {
        order: -1;
    }
    
    .customer-visual i {
        font-size: 4rem;
    }
    
    /* CTA Section */
    .cta-content {
        text-align: center;
        padding: 0 15px;
    }
    
    .cta-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .cta-button.large {
        width: 100%;
        max-width: 300px;
        padding: 16px 20px;
        font-size: 16px;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile Devices */
    .container {
        padding: 0 10px;
    }
    
    /* Navigation */
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo {
        font-size: 20px;
    }
    
    .nav-logo i {
        font-size: 24px;
    }
    
    .nav-toggle span {
        width: 20px;
        height: 2px;
    }
    
    .nav-menu {
        padding-top: 30px;
        gap: 20px;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 12px 0;
    }
    
    .nav-cta {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    /* Section Padding */
    .pain-points,
    .solution,
    .benefits,
    .customers,
    .workflow-animation {
        padding: 40px 0;
    }
    
    .cta-section {
        padding: 35px 0;
    }
    
    /* Hero Section */
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-content {
        gap: 25px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .cta-button {
        max-width: 250px;
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .chat-container {
        border-radius: 12px;
    }
    
    .chat-messages {
        height: 220px;
        padding: 15px;
    }
    
    .chat-input {
        padding: 15px;
    }
    
    .chat-input input {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .dropbox-container {
        padding: 15px;
    }
    
    .dropbox {
        padding: 20px 15px;
    }
    
    /* Pain Points Section */
    .pain-grid {
        gap: 20px;
        margin-top: 25px;
    }
    
    .pain-card {
        padding: 25px 15px;
    }
    
    .pain-card i {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }
    
    .pain-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .pain-card p {
        font-size: 0.9rem;
    }
    
    /* Solution Section */
    .solution-content {
        gap: 20px;
    }
    
    .solution-steps {
        margin-top: 20px;
    }
    
    .step {
        margin-bottom: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    /* Benefits Section */
    .benefits-grid {
        gap: 20px;
    }
    
    .benefit-card {
        padding: 25px 15px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .benefit-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
    }
    
    /* Workflow Animation Section */
    .workflow-step {
        margin-bottom: 50px;
        padding: 25px 10px;
        min-height: auto;
    }
    
    .step-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 20px 5px;
    }
    
    /* Ensure consistent ordering on mobile */
    .step-info {
        order: 1;
        text-align: center;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .step-visual {
        order: 2;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden; /* Prevent visual overflow */
    }
    
    /* Scale down visual containers even more for extra small screens */
    .step-visual > * {
        transform: scale(0.8);
        transform-origin: center;
    }
    
    /* Override any reverse class for small mobile */
    .step-content.reverse .step-info {
        order: 1;
    }
    
    .step-content.reverse .step-visual {
        order: 2;
    }
    
    .step-number {
        font-size: 2rem;
        margin-bottom: 12px;
        width: 60px;
        height: 60px;
    }
    
    .step-info h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .step-info p {
        font-size: 0.95rem;
        line-height: 1.5;
        max-width: 100%;
    }
    
    .feature-highlights {
        gap: 12px;
        margin-top: 15px;
        align-items: center;
    }
    
    .highlight-item {
        font-size: 0.85rem;
        padding: 10px 16px;
        max-width: 250px;
        text-align: center;
    }
    
    .accuracy-stats,
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .impact-item .impact-value {
        font-size: 1.8rem;
    }
    
    /* Demo Windows and Visuals - Enhanced Mobile Scaling */
    .demo-window,
    .interaction-demo,
    .extraction-demo,
    .analysis-demo,
    .ranking-demo {
        max-width: 100%;
        margin: 0 auto;
        border-radius: 8px;
        transform: scale(0.85); /* Scale down visuals for better mobile fit */
        transform-origin: center;
    }
    
    .window-header {
        padding: 8px 12px;
    }
    
    .window-title {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .window-title i {
        font-size: 0.9rem;
    }
    
    .window-controls {
        gap: 4px;
    }
    
    .control {
        width: 8px;
        height: 8px;
    }
    
    .chat-area {
        height: 140px;
        padding: 8px;
        gap: 8px;
    }
    
    .chat-message {
        padding: 8px 12px;
        font-size: 0.75rem;
        border-radius: 12px;
        max-width: 85%;
    }
    
    .upload-zone {
        padding: 15px;
    }
    
    .upload-visual {
        gap: 12px;
    }
    
    .file-icon {
        font-size: 2rem;
    }
    
    .upload-text span {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .upload-progress {
        width: 150px;
    }
    
    .progress-bar {
        height: 6px;
    }
    
    /* Data Extraction Demo Mobile */
    .data-transform {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .raw-cv, .structured-data {
        width: 100%;
        max-width: 220px;
        padding: 12px;
        font-size: 0.8rem;
    }
    
    .cv-header, .data-header {
        font-size: 0.85rem;
        margin-bottom: 10px;
        padding-bottom: 6px;
    }
    
    .cv-line {
        height: 8px;
        margin: 6px 0;
    }
    
    .transform-arrow {
        transform: rotate(90deg);
        margin: 8px 0;
        font-size: 1.5rem;
    }
    
    .data-field {
        padding: 6px 0;
        font-size: 0.75rem;
    }
    
    .field-label,
    .field-value {
        font-size: 0.75rem;
    }
    
    /* AI Analysis Demo Mobile */
    .ai-brain-visual {
        padding: 20px;
    }
    
    .brain-core i {
        font-size: 2.5rem;
    }
    
    .neural-node {
        width: 8px;
        height: 8px;
    }
    
    .analysis-metrics {
        padding: 12px;
        max-width: 240px;
        margin: 0 auto;
        gap: 8px;
        grid-template-columns: 1fr;
    }
    
    .metric-item {
        margin-bottom: 8px;
        padding: 8px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
    }
    
    .metric-label {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }
    
    .metric-value {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .metric-bar {
        height: 5px;
        margin-top: 4px;
    }
    
    /* Kanban Demo Mobile */
    .kanban-demo {
        padding: 12px 8px;
        max-width: 100%;
        overflow-x: auto;
        transform: scale(0.9);
        transform-origin: center;
    }
    
    .kanban-header h4 {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .kanban-board {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        min-width: 240px;
    }
    
    .kanban-column {
        padding: 6px;
        min-height: 100px;
        border-radius: 6px;
    }
    
    .column-header {
        font-size: 0.65rem;
        padding-bottom: 4px;
        margin-bottom: 6px;
    }
    
    .column-count {
        font-size: 0.6rem;
        padding: 1px 4px;
    }
    
    .candidate-card {
        padding: 4px 6px;
        margin-bottom: 4px;
        font-size: 0.6rem;
        border-radius: 4px;
    }
    
    .candidate-name {
        font-size: 0.65rem;
        margin-bottom: 2px;
    }
    
    .ai-score {
        font-size: 0.55rem;
        padding: 1px 4px;
        min-width: 25px;
        border-radius: 3px;
    }
    
    /* Results Summary */
    .results-summary {
        padding: 25px 15px;
    }
    
    .summary-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item.large {
        padding: 20px 15px;
    }
    
    .stat-item.large .stat-number {
        font-size: 2rem;
    }
    
    /* Customer Types Section */
    .tab-button {
        padding: 8px 16px;
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .customer-content {
        gap: 20px;
    }
    
    .customer-visual i {
        font-size: 3rem;
    }
    
    .customer-text h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .customer-text p {
        font-size: 0.9rem;
    }
    
    .customer-text ul li {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    /* CTA Section */
    .cta-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .cta-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .cta-button.large {
        max-width: 280px;
        padding: 14px 18px;
        font-size: 14px;
    }
    
    /* Footer */
    .footer {
        padding: 30px 0 20px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-logo {
        font-size: 20px;
    }
    
    .footer-logo i {
        font-size: 22px;
    }
    
    .footer-links {
        gap: 12px;
    }
    
    .footer-links a {
        font-size: 14px;
    }
    
    .footer-social a {
        font-size: 1.2rem;
        padding: 8px;
    }
    
    .footer-bottom {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .workflow-animation {
        padding: 3rem 0;
    }
    
    .workflow-step {
        margin-bottom: 2rem;
        padding: 1.5rem 0.75rem;
    }
    
    .step-content {
        gap: 1.5rem;
        padding: 1rem;
        min-height: 300px;
    }
    
    .step-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .step-info p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .feature-highlights {
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .highlight-item {
        padding: 8px 16px;
        font-size: 0.85rem;
        max-width: 240px;
    }
    
    /* Enhanced Visual Scaling for Extra Small Devices */
    .demo-window,
    .interaction-demo,
    .extraction-demo,
    .analysis-demo,
    .ranking-demo {
        transform: scale(0.75); /* Further scale down for very small screens */
        transform-origin: center;
        margin: -10px auto; /* Compensate for scale spacing */
    }
    
    .chat-area {
        height: 120px;
        padding: 6px;
    }
    
    .chat-message {
        padding: 6px 10px;
        font-size: 0.7rem;
        border-radius: 10px;
    }
    
    .window-title {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .window-title i {
        font-size: 0.8rem;
    }
    
    .upload-zone {
        padding: 10px;
    }
    
    .file-icon {
        font-size: 1.5rem;
    }
    
    .upload-text span {
        font-size: 0.7rem;
    }
    
    .upload-progress {
        width: 120px;
    }
    
    .progress-bar {
        height: 4px;
    }
    
    /* Data Transform Mobile Scaling */
    .raw-cv, .structured-data {
        max-width: 180px;
        padding: 8px;
    }
    
    .cv-header, .data-header {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    
    .cv-line {
        height: 6px;
        margin: 4px 0;
    }
    
    .data-field {
        padding: 4px 0;
        font-size: 0.7rem;
    }
    
    .transform-arrow {
        font-size: 1.2rem;
        margin: 6px 0;
    }
    
    /* AI Brain Mobile Scaling */
    .ai-brain-visual {
        padding: 15px;
    }
    
    .brain-core i {
        font-size: 2rem;
    }
    
    .neural-node {
        width: 6px;
        height: 6px;
    }
    
    .analysis-metrics {
        max-width: 200px;
        padding: 8px;
        gap: 6px;
    }
    
    .metric-item {
        padding: 6px;
        margin-bottom: 6px;
    }
    
    .metric-label {
        font-size: 0.65rem;
        margin-bottom: 3px;
    }
    
    .metric-value {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }
    
    .metric-bar {
        height: 4px;
    }
    
    /* Kanban Board Extra Small Scaling */
    .kanban-demo {
        transform: scale(0.8);
        padding: 8px 6px;
        margin: -8px auto;
    }
    
    .kanban-board {
        min-width: 200px;
        gap: 6px;
    }
    
    .kanban-column {
        padding: 4px;
        min-height: 80px;
    }
    
    .column-header {
        font-size: 0.6rem;
        margin-bottom: 4px;
    }
    
    .candidate-card {
        padding: 3px 4px;
        margin-bottom: 3px;
        font-size: 0.55rem;
    }
    
    .candidate-name {
        font-size: 0.6rem;
        margin-bottom: 1px;
    }
    
    .ai-score {
        font-size: 0.5rem;
        padding: 1px 3px;
        min-width: 20px;
    }
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}

.language-selector-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    color: #6366f1;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.language-selector-button:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

.current-language-flag {
    font-size: 16px;
}

.current-language-name {
    font-size: 13px;
    white-space: nowrap;
}

.language-selector-button i {
    font-size: 10px;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown.show ~ .language-selector-button i {
    transform: rotate(180deg);
}

.language-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.language-item:last-child {
    border-bottom: none;
}

.language-item:hover {
    background-color: rgba(99, 102, 241, 0.05);
}

.language-flag {
    font-size: 16px;
}

.language-name {
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-selector {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .language-dropdown {
    left: auto;
    right: 0;
}

[dir="rtl"] .hero-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .step-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .step-content.reverse {
    flex-direction: row;
}

[dir="rtl"] .pain-grid {
    direction: rtl;
}

[dir="rtl"] .cta-buttons {
    direction: rtl;
}

[dir="rtl"] .footer-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .chat-messages {
    direction: rtl;
}

[dir="rtl"] .message {
    flex-direction: row-reverse;
}

[dir="rtl"] .message.bot .message-bubble {
    border-radius: 20px 20px 5px 20px;
}

[dir="rtl"] .message.user .message-bubble {
    border-radius: 20px 20px 20px 5px;
}

[dir="rtl"] .kanban-board {
    direction: rtl;
}

[dir="rtl"] .workflow-steps-container {
    direction: rtl;
}

/* Mobile RTL adjustments */
@media (max-width: 768px) {
    [dir="rtl"] .nav-toggle {
        left: 20px;
        right: auto;
    }
    
    [dir="rtl"] .language-selector {
        margin-left: 0;
        margin-right: 10px;
    }
    
    [dir="rtl"] .hero-content {
        flex-direction: column;
    }
    
    [dir="rtl"] .step-content,
    [dir="rtl"] .step-content.reverse {
        flex-direction: column;
    }
}
/* Step 3: Candidate Analysis Demo */
.candidate-analysis-demo {
 display: flex;
 justify-content: center;
 align-items: center;
 perspective: 1000px;
}


.candidate-card-container {
 width: 320px;
 height: 400px;
 position: relative;
 cursor: pointer;
}


.candidate-card-inner {
 width: 100%;
 height: 100%;
 transform-style: preserve-3d;
 transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
 position: relative;
}


.candidate-card-container.flipped .candidate-card-inner {
 transform: rotateY(180deg);
}


.candidate-card-front,
.candidate-card-back {
 position: absolute;
 width: 100%;
 height: 100%;
 backface-visibility: hidden;
 border-radius: 20px;
 background: rgba(255, 255, 255, 0.05);
 border: 1px solid rgba(255, 255, 255, 0.2);
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 padding: 20px;
 text-align: center;
}


.candidate-card-front {
 z-index: 2;
 transform: rotateY(0deg);
}


.candidate-card-back {
 transform: rotateY(180deg);
 padding: 30px;
}


.candidate-avatar {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 background: linear-gradient(135deg, #2563eb, #8b5cf6);
 display: flex;
 justify-content: center;
 align-items: center;
 font-size: 60px;
 color: white;
 margin-bottom: 20px;
 box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


.candidate-info .candidate-name {
 font-size: 1.5rem;
 font-weight: 700;
 margin-bottom: 5px;
}


.candidate-info .candidate-title {
 font-size: 1rem;
 color: rgba(255, 255, 255, 0.7);
 margin-bottom: 25px;
}


.overall-assessment {
 border-top: 1px solid rgba(255, 255, 255, 0.2);
 padding-top: 20px;
 width: 100%;
}


.assessment-score {
 font-size: 2.5rem;
 font-weight: 700;
 color: #10b981;
}


.assessment-label {
 font-size: 0.9rem;
 color: rgba(255, 255, 255, 0.7);
}


.analysis-details {
 display: flex;
 justify-content: space-between;
 width: 100%;
 height: 100%;
}


.analysis-column {
 width: 48%;
 text-align: left;
}


.column-title {
 font-size: 1.1rem;
 font-weight: 600;
 margin-bottom: 15px;
 display: flex;
 align-items: center;
 gap: 8px;
}


.analysis-column.pros .column-title {
 color: #22c55e;
}


.analysis-column.cons .column-title {
 color: #ef4444;
}


.analysis-details ul {
 list-style: none;
 padding: 0;
 margin: 0;
}


.analysis-details li {
 font-size: 0.85rem;
 color: rgba(255, 255, 255, 0.8);
 margin-bottom: 10px;
 display: flex;
 align-items: flex-start;
 gap: 8px;
}


.analysis-details li i {
 margin-top: 3px;
}


.analysis-column.pros li i {
 color: #22c55e;
}


.analysis-column.cons li i {
 color: #ef4444;
}

/* Additional RTL Language Support */
[data-lang="ar"] {
    font-family: 'Noto Sans Arabic', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    direction: rtl;
    text-align: right;
}

[data-lang="ar"] .nav-container {
    flex-direction: row-reverse;
}

[data-lang="ar"] .nav-logo {
    margin-left: 0;
    margin-right: auto;
}

[data-lang="ar"] .nav-menu {
    flex-direction: row-reverse;
}

[data-lang="ar"] .language-selector {
    margin-right: 0;
    margin-left: 15px;
}

[data-lang="ar"] .hero-content {
    text-align: right;
}

[data-lang="ar"] .hero-buttons {
    justify-content: flex-end;
}

[data-lang="ar"] .hero-stats {
    direction: rtl;
}

[data-lang="ar"] .step-content {
    direction: rtl;
}

[data-lang="ar"] .step-content.reverse {
    direction: ltr;
}

[data-lang="ar"] .pain-grid {
    direction: rtl;
}

[data-lang="ar"] .benefits-grid {
    direction: rtl;
}

[data-lang="ar"] .cta-buttons {
    justify-content: center;
    direction: rtl;
}

[data-lang="ar"] .footer-content {
    direction: rtl;
}

[data-lang="ar"] .chat-messages {
    direction: rtl;
}

[data-lang="ar"] .message.bot {
    text-align: right;
}

[data-lang="ar"] .message.user {
    text-align: left;
}

[data-lang="ar"] .message.bot .message-bubble {
    border-radius: 20px 20px 5px 20px;
}

[data-lang="ar"] .message.user .message-bubble {
    border-radius: 20px 20px 20px 5px;
}

/* Chinese text optimization */
[data-lang="zh"] {
    font-family: 'Noto Sans SC', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif !important;
    line-height: 1.7;
}

/* Japanese text optimization */
[data-lang="ja"] {
    font-family: 'Noto Sans JP', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif !important;
    line-height: 1.7;
}

/* Korean text optimization */
[data-lang="ko"] {
    font-family: 'Noto Sans KR', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif !important;
    line-height: 1.7;
}

/* Hindi text optimization */
[data-lang="hi"] {
    font-family: 'Noto Sans Devanagari', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.8;
}

/* Russian text optimization */
[data-lang="ru"] {
    font-family: 'Noto Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Turkish text optimization */
[data-lang="tr"] {
    font-family: 'Noto Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* European languages with special characters */
[data-lang="fr"],
[data-lang="de"],
[data-lang="es"],
[data-lang="it"],
[data-lang="pt"],
[data-lang="nl"] {
    font-family: 'Inter', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Improve text rendering for all languages */
* {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure proper character spacing for Asian languages */
[data-lang="zh"],
[data-lang="ja"],
[data-lang="ko"] {
    word-break: break-all;
    word-wrap: break-word;
}

[data-lang="zh"] p,
[data-lang="ja"] p,
[data-lang="ko"] p {
    letter-spacing: 0.02em;
}

/* Fix issues with special characters in titles and headings */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.step-info h3 {
    font-variant-ligatures: none;
    font-feature-settings: "liga" 0;
}

/* Ensure proper Unicode support */
html {
    font-synthesis: none;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Fix potential encoding issues with pseudo-elements */
.language-item::before,
.analysis-details li::before,
.customer-content li::before {
    font-family: inherit;
}

/* Improve mobile font rendering for international characters */
@media (max-width: 768px) {
    [data-lang="zh"],
    [data-lang="ja"],
    [data-lang="ko"] {
        font-size: 14px;
        line-height: 1.6;
    }
    
    [data-lang="ar"] {
        font-size: 15px;
        line-height: 1.8;
    }
    
    [data-lang="hi"] {
        font-size: 15px;
        line-height: 1.9;
    }
}
