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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #111827;
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 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(229, 231, 235, 0.8);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    width: 32px;
    height: 32px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
}

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

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

.nav-link:hover {
    color: #3b82f6;
}

.cta-button {
    background: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #4b5563;
    transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

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

.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.stat {
    text-align: center;
}

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

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #3b82f6;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.primary-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(59, 130, 246, 0.4);
}

.primary-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #4b5563;
    padding: 1rem 2rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-1px);
}

.button-icon {
    width: 20px;
    height: 20px;
}

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

.demo-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.demo-screen {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 280px;
}

.demo-header {
    background: #f3f4f6;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-dots {
    display: flex;
    gap: 0.25rem;
}

.demo-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
}

.demo-dots span:nth-child(1) { background: #ef4444; }
.demo-dots span:nth-child(2) { background: #f59e0b; }
.demo-dots span:nth-child(3) { background: #10b981; }

.demo-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
}

.demo-content {
    padding: 1.5rem;
}

.job-posting h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.job-posting p {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.extension-popup {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.popup-header {
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.generate-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}

.arrow {
    font-size: 2rem;
    color: #3b82f6;
    font-weight: bold;
}

.resume-preview {
    font-size: 0.875rem;
    line-height: 1.6;
}

.resume-line {
    padding: 0.25rem 0;
    border-left: 3px solid transparent;
    padding-left: 0.5rem;
}

.resume-line.highlighted {
    border-left-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
    font-weight: 500;
}

/* Problem Section */
.problem {
    padding: 4rem 0;
    background: white;
}

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

.problem-item {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

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

.problem-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.problem-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: #f8fafc;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #3b82f6;
    color: white;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #111827;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
    background: white;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
}

.step:nth-child(even) {
    grid-template-columns: auto 1fr auto;
}

.step:nth-child(even) .step-visual {
    order: -1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #111827;
}

.step-content p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1.125rem;
}

.step-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.upload-demo, .linkedin-demo, .download-demo {
    background: #f8fafc;
    border: 2px dashed #d1d5db;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    min-width: 200px;
}

.upload-icon, .download-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.job-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: left;
}

.job-card h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.job-card p {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.fitcv-button {
    background: #3b82f6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
}

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

.progress-fill {
    width: 75%;
    height: 100%;
    background: #3b82f6;
    border-radius: 4px;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0%, 100% { width: 75%; }
    50% { width: 90%; }
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
    background: #f8fafc;
}

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

.pricing-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid #3b82f6;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: #111827;
}

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

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6b7280;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
}

.period {
    font-size: 1rem;
    color: #6b7280;
}

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

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

.check-icon {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
}

.pricing-button {
    display: block;
    text-align: center;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.pricing-button.primary {
    background: #3b82f6;
    color: white;
}

.pricing-button.primary:hover {
    background: #2563eb;
}

.pricing-button.secondary {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.pricing-button.secondary:hover {
    background: #3b82f6;
    color: white;
}

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

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

.testimonial {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    color: #f59e0b;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: #4b5563;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

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

.author-title {
    font-size: 0.875rem;
    color: #6b7280;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    text-align: center;
}

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

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.feature-icon {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-column a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #3b82f6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        height: auto;
        min-height: 48px;
    }

    .navbar .container {
        padding: 0.375rem 20px;
        min-height: 48px;
        max-height: 48px;
    }

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

    .nav-brand {
        gap: 0.375rem;
    }

    .logo {
        width: 24px;
        height: 24px;
    }

    .brand-text {
        font-size: 1.25rem;
        font-weight: 600;
        line-height: 1.1;
    }

    .mobile-menu-toggle {
        gap: 3px;
    }

    .mobile-menu-toggle span {
        width: 22px;
        height: 2.5px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        padding: 6rem 0 2rem;
        text-align: center;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .demo-container {
        flex-direction: column;
        gap: 1rem;
    }

    .arrow {
        transform: rotate(90deg);
    }

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

    .step:nth-child(even) .step-visual {
        order: 0;
    }

    .cta-features {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .navbar {
        height: auto;
        min-height: 40px;
    }

    .navbar .container {
        padding: 0.25rem 15px;
        min-height: 40px;
        max-height: 40px;
    }

    .nav-brand {
        gap: 0.25rem;
    }

    .logo {
        width: 20px;
        height: 20px;
    }

    .brand-text {
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.1;
    }

    .mobile-menu-toggle {
        gap: 2px;
    }

    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .primary-button.large {
        padding: 1rem 1.5rem;
        font-size: 1.125rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

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

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.primary-button:focus,
.secondary-button:focus,
.cta-button:focus,
.nav-link:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .gradient-text {
        -webkit-text-fill-color: #3b82f6;
        color: #3b82f6;
    }
}
/* Coming Soon Styles */
.coming-soon {
    position: relative;
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

.coming-soon::after {
    content: "Coming Soon - Extension in Review";
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.coming-soon::before {
    content: "";
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #1f2937;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.coming-soon:hover::after,
.coming-soon:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Ensure tooltips don't get cut off */
.hero-cta,
.pricing-card,
.cta-buttons,
.nav-links {
    position: relative;
    overflow: visible;
}

/* Mobile adjustments for coming soon tooltips */
@media (max-width: 768px) {
    .coming-soon::after {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
        bottom: -40px;
    }
    
    .coming-soon::before {
        bottom: -30px;
    }
}