* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Closed Vacancies Section */
.closed-vacancies-section {
    background-color: #333;
    padding: 40px 20px 100px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
    min-height: 100vh;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://alfacta.online/public/assets/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.content {
    position: relative;
    z-index: 1;
    max-width: 400px;
    margin: 0 auto;
}

.lock-icon {
    color: #fff;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.closed-vacancies-title {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.subtitle-container {
    margin-bottom: 24px;
}

.subtitle-background {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.subtitle-highlight {
    font-size: 20px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.company-info-container {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 16px;
}

.company-prefix {
    font-size: 16px;
    color: #E0E0E0;
    margin-bottom: 6px;
    font-weight: 500;
    line-height: 1.4;
}

.company-name {
    font-size: 18px;
    font-weight: 700;
    color: #E53E3E;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.job-types-title {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 16px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.benefits-list {
    margin-bottom: 24px;
    display: inline-block;
    text-align: left;
}

.benefit-item {
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}

.access-info {
    font-size: 16px;
    color: #fff;
    margin-bottom: 28px;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.submit-application-button {
    background-color: #E53E3E;
    border: none;
    border-radius: 25px;
    padding: 16px 40px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-application-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.stats-text {
    font-size: 12px;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.stats-text-dark {
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.3;
    text-align: center;
}

.timer-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 8px 16px;
    display: inline-block;
}

.timer-text {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.timer-container-bottom {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 6px 12px;
    margin-bottom: 20px;
    display: inline-block;
}

.timer-text-bottom {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

/* Vacancy Examples Section */
.vacancy-examples-section {
    background-color: #fff;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.vacancy-slider {
    margin-bottom: 10px;
}

.vacancy-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: grab;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.vacancy-card:active {
    cursor: grabbing;
}

.vacancy-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.vacancy-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 16px;
}

.vacancy-title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.vacancy-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vacancy-location {
    color: #fff;
    font-size: 12px;
    flex: 1;
}

.salary-badge {
    background-color: #4CAF50;
    border-radius: 12px;
    padding: 4px 12px;
}

.salary-text {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.swipe-hint {
    text-align: center;
    margin-bottom: 10px;
}

.swipe-hint-text {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

.navigation-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-button {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background-color: #f0f0f0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.nav-button:hover {
    background-color: #e0e0e0;
}

.nav-button svg {
    color: #666;
}

/* How We Work Section */
.how-we-work-section {
    background-color: #fff;
    padding: 20px 20px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.work-steps {
    margin-bottom: 30px;
}

.work-step {
    display: flex;
    margin-bottom: 24px;
    align-items: flex-start;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background-color: #E53E3E;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.step-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.how-we-work-section .submit-application-button {
    display: block;
    margin: 0 auto;
}

/* FAQ Section */
.faq-section {
    background-color: #fff;
    padding: 20px;
    text-align: center;
}

.faq-list {
    margin-bottom: 30px;
    text-align: left;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: #fff;
    border: none;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    text-align: left;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question span {
    flex: 1;
    margin-right: 12px;
    line-height: 1.4;
}

.faq-icon {
    color: #666;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    background-color: #f9f9f9;
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.faq-item.open .faq-answer {
    padding: 16px;
    max-height: 300px;
}

.faq-answer p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.faq-bottom-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.view-vacancies-button {
    background-color: #E53E3E;
    border: none;
    border-radius: 25px;
    padding: 16px 40px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.view-vacancies-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center;
}

.footer-logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
}

/* Sticky Bottom Bar */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background-color: #2a2a2a;
    border-top: 1px solid #444;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-bottom-bar.show {
    transform: translateY(0);
}

.sticky-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 16px 20px;
    gap: 8px;
}

.sticky-button {
    background-color: #E53E3E;
    border: none;
    border-radius: 25px;
    padding: 12px 32px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    min-width: 200px;
    transition: transform 0.2s;
}

.sticky-button:hover {
    transform: translateY(-1px);
}

.sticky-label {
    font-size: 14px;
    color: #ccc;
    font-weight: 500;
    margin-top: 5px;
}

.sticky-timer {
    background-color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
}

.sticky-timer-text {
    color: #000;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 30px 25px;
    max-width: 380px;
    width: 90%;
    position: relative;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-lock-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.modal-stats {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.modal-timer {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 25px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-input {
    padding: 15px 20px;
    border: 2px solid #333;
    border-radius: 15px;
    font-size: 16px;
    background-color: transparent;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
}

.modal-input::placeholder {
    color: #666;
    font-size: 16px;
}

.modal-input:focus {
    border-color: #E53E3E;
}

.modal-privacy {
    font-size: 12px;
    color: #666;
    margin-top: -5px;
    margin-bottom: 5px;
}

.modal-submit-btn {
    background-color: #E53E3E;
    border: none;
    border-radius: 15px;
    padding: 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.modal-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(229, 62, 62, 0.3);
}

.modal-submit-btn:active {
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .closed-vacancies-section {
        padding: 20px 15px 80px;
    }
    
    .content {
        max-width: 100%;
    }
    
    .vacancy-examples-section,
    .how-we-work-section,
    .faq-section {
        padding: 15px;
    }
    
    .vacancy-image {
        height: 240px;
    }
}

/* Thank You Page Styles */
.thankyou-page {
    min-height: 100vh;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.thankyou-container {
    background-color: #f5f5f5;
    border: 2px solid #333;
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 450px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.thankyou-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.thankyou-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.3;
}

.thankyou-content {
    margin-bottom: 30px;
}

.thankyou-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.thankyou-info {
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 12px;
    padding: 8px 0;
}

.info-icon {
    font-size: 20px;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

.info-text {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.thankyou-note {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    font-style: italic;
}

.thankyou-button {
    background-color: #E53E3E;
    border: none;
    border-radius: 15px;
    padding: 16px 32px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-bottom: 25px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.thankyou-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.thankyou-button:active {
    transform: translateY(0);
}

.thankyou-footer {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.thankyou-logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
}

.company-text {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

/* Mobile responsive for thank you page */
@media (max-width: 480px) {
    .thankyou-container {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .thankyou-title {
        font-size: 20px;
    }
    
    .thankyou-message {
        font-size: 15px;
    }
    
    .info-text {
        font-size: 13px;
    }
}

/* Touch gestures for mobile */
@media (hover: none) and (pointer: coarse) {
    .vacancy-card {
        touch-action: pan-x;
    }
}