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

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #667eea;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 6px;
}

/* Force hero positioning - moved from inline styles */
.hero {
    display: flex !important;
    align-items: flex-start !important;
    padding-top: 120px !important;
    min-height: 100vh !important;
}

.hero .container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: flex-start !important;
    padding-top: 2rem !important;
}

.hero-content {
    grid-column: 1 !important;
    order: 1 !important;
}

.hero-visual {
    grid-column: 2 !important;
    order: 2 !important;
}

/* Prevent layout shift during loading */
.hero .container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem;
    align-items: flex-start !important;
    min-height: 600px;
    padding-top: 2rem !important;
    position: relative;
}

/* Ensure hero content stays on the left */
.hero-content {
    grid-column: 1 !important;
    order: 1 !important;
    padding-top: 1rem !important;
    position: relative;
}

/* Ensure hero visual stays on the right */
.hero-visual {
    grid-column: 2;
    order: 2;
}

/* Prevent layout shift by setting explicit positioning */
.hero-content,
.hero-visual {
    position: relative;
    width: 100%;
    height: auto;
}

/* Prevent FOUC by ensuring stable layout from start */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start !important;
    padding-top: 120px !important; /* Account for fixed navbar */
    position: relative;
}

/* Force hero content to stay at top - higher specificity */
body .hero {
    align-items: flex-start !important;
    padding-top: 120px !important;
}

/* Ultra-specific override to force positioning */
html body .hero {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding-top: 120px !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}

html body .hero .container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: flex-start !important;
    padding-top: 2rem !important;
    margin-top: 0 !important;
}

.hero .container {
    width: 100%;
}

/* Prevent text selection issues */
.btn {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.nav-link:hover {
    color: #667eea;
}

.nav-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hamburger:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary:focus {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary:focus {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

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

/* Hero Section - Navy Blue Gradient */
.hero {
    padding: 0 !important;
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 41, 59, 0.15) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
}

/* Floating Geometric Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid rgba(255, 255, 255, 0.1);
    animation: float 8s ease-in-out infinite;
}

.triangle-1 {
    top: 30%;
    right: 25%;
    animation-delay: 1s;
}

.floating-square {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite;
}

.square-1 {
    top: 70%;
    left: 20%;
    animation-delay: 3s;
}

.floating-diamond {
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    animation: float 5s ease-in-out infinite;
}

.diamond-1 {
    top: 40%;
    left: 80%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.highlight {
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.trust-icon {
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.resume-comparison {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.resume-before,
.resume-after {
    text-align: center;
    min-width: 150px;
}

.resume-header {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #4a5568;
}

.resume-content {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.resume-line {
    height: 4px;
    background: #e2e8f0;
    margin-bottom: 0.5rem;
    border-radius: 2px;
}

.resume-line.short {
    width: 70%;
}

.ats-score {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.ats-score.low {
    background: #fed7d7;
    color: #c53030;
}

.ats-score.high {
    background: #c6f6d5;
    color: #2f855a;
}

.arrow {
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

/* Problem Section */
.problem-section {
    padding: 6rem 0;
    background: #f7fafc;
}

/* Financial Pressure Section */
.financial-pressure {
    margin: 4rem 0;
    padding: 3rem 0;
    background: linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%);
    border-radius: 20px;
    border: 1px solid #fecaca;
}

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

.pressure-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.pressure-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.pressure-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 1rem;
}

.pressure-item p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 1rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
}

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

.problem-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.problem-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Solution Section */
.solution-section {
    padding: 6rem 0;
    background: white;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
}

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

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.solution-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: #f7fafc;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.step-content p {
    color: #4a5568;
    line-height: 1.6;
}

/* Company Logos */
.company-logos {
    padding: 4rem 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.company-logos .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.company-logos h3 {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.logo-item {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #64748b;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #2563eb;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: #f8f9ff;
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid #667eea;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #2d3748;
}

.author-title {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Pricing */
.pricing {
    padding: 6rem 0;
    background: #f7fafc;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    color: #4a5568;
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    color: #667eea;
}

.period {
    font-size: 1.2rem;
    color: #4a5568;
}

.pricing-features {
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.feature-icon {
    color: #48bb78;
    font-size: 1.2rem;
}

/* FAQ */
.faq {
    padding: 6rem 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: bold;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: #4a5568;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
}

.urgency-icon {
    font-size: 1.1rem;
}

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

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

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

.cta-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.cta-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

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

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

/* Demo Modal */
.demo-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.demo-modal-content {
    background: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 20px 20px 0 0;
}

.demo-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.demo-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.demo-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.demo-container {
    padding: 2rem;
}

.demo-step {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.demo-step.active {
    display: block;
}

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

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

/* Upload Area */
.demo-upload-area {
    border: 2px dashed #667eea;
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    background: #f8f9ff;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.demo-upload-area:hover {
    border-color: #4ecdc4;
    background: #f0fffe;
}

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

.demo-upload-area p {
    margin: 1rem 0;
    color: #666;
    font-size: 1.1rem;
}

.demo-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.demo-btn:hover {
    transform: translateY(-2px);
}

/* Resume Preview */
.demo-resume-preview {
    background: #f8f9ff;
    border-radius: 15px;
    padding: 2rem;
    border-left: 4px solid #667eea;
}

.demo-resume-preview h4 {
    color: #333;
    margin-bottom: 1rem;
}

.resume-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    border: 1px solid #eee;
}

.resume-content h5 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.resume-content h6 {
    color: #667eea;
    margin: 1rem 0 0.5rem 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.resume-content.optimized {
    border-left: 4px solid #4ecdc4;
}

/* Processing Animation */
.processing-animation {
    text-align: center;
    padding: 3rem;
}

.ai-brain {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.brain-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #667eea;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.brain-pulse:nth-child(2) {
    animation-delay: 0.5s;
}

.brain-pulse:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.processing-text {
    margin-bottom: 2rem;
}

.processing-message {
    margin: 0.5rem 0;
    color: #666;
    font-size: 1.1rem;
    opacity: 0;
    animation: messageFade 0.5s ease-in-out forwards;
}

.processing-message:nth-child(1) { animation-delay: 0.5s; }
.processing-message:nth-child(2) { animation-delay: 1.5s; }
.processing-message:nth-child(3) { animation-delay: 2.5s; }
.processing-message:nth-child(4) { animation-delay: 3.5s; }

@keyframes messageFade {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    width: 0%;
    animation: progressFill 4s ease-in-out forwards;
}

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

/* Results Comparison */
.results-comparison {
    margin-top: 2rem;
}

.comparison-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ats-scores {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.score-before, .score-after {
    text-align: center;
}

.score-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #333;
}

.score-before .score-number {
    color: #ff6b6b;
}

.score-after .score-number {
    color: #4ecdc4;
}

.score-label {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.score-arrow {
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
}

.before-after-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.8rem 2rem;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #667eea;
    color: white;
}

.tab-btn:hover {
    transform: translateY(-2px);
}

.resume-comparison {
    margin-bottom: 2rem;
}

.resume-panel h4 {
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

/* Improvements List */
.improvements-list {
    background: #f8f9ff;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #4ecdc4;
}

.improvements-list h4 {
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.improvement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.improvement-icon {
    color: #4ecdc4;
    font-size: 1.2rem;
}

/* Demo Footer */
.demo-footer {
    padding: 2rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 1rem;
    justify-content: center;
    background: #f8f9ff;
    border-radius: 0 0 20px 20px;
}

.demo-btn-primary {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.demo-btn-primary:hover {
    transform: translateY(-2px);
}

.demo-btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.demo-btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* CRITICAL: Global Content Protection - Business Viability */
/* Disable text selection on all preview content */
.preview-container,
.before-after,
.resume-preview,
.resume-content,
.resume-content-formatted,
.resume-section-header,
.resume-text,
.resume-bullets,
.resume-bullet,
.results-container {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Disable text highlighting globally */
.resume-preview *,
.before-after *,
.preview-container * {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
        color: #333;
    }
    
    .nav-cta {
        display: none;
    }
    
    body.nav-open {
        overflow: hidden;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
        margin-top: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .resume-comparison {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        margin: 0 auto;
        max-width: 300px;
    }
    
    .resume-before,
    .resume-after {
        min-width: auto;
        width: 100%;
    }
    
    .arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }
    
    .ats-score {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .demo-modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .demo-header {
        padding: 1.5rem;
    }
    
    .demo-container {
        padding: 1.5rem;
    }
    
    .ats-scores {
        flex-direction: column;
        gap: 1rem;
    }
    
    .score-arrow {
        transform: rotate(90deg);
    }
    
    .demo-footer {
        flex-direction: column;
        align-items: center;
    }
    
    .demo-btn-primary,
    .demo-btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-cta .btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
    
    .hero-stats {
        gap: 0.5rem;
    }
    
    .stat {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .resume-comparison {
        padding: 1rem;
        max-width: 280px;
        gap: 1rem;
    }
    
    .resume-header {
        font-size: 0.9rem;
    }
    
    .resume-line {
        height: 8px;
        margin: 4px 0;
    }
    
    .ats-score {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
    
    .arrow {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    .amount {
        font-size: 3rem;
    }
}

/* Extra small screens (320px and below) */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-cta .btn {
        font-size: 0.8rem;
        padding: 0.7rem 1.2rem;
    }
    
    .resume-comparison {
        max-width: 260px;
        padding: 0.8rem;
    }
    
    .resume-line {
        height: 6px;
        margin: 3px 0;
    }
    
    .ats-score {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
}