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

body {
    font-family:
        "Inter",
        "Segoe UI",
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    line-height: 1.6;
    color: #1e1e3f;
    background: #f5f7fa;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #1e1e3f 0%, #2a2a52 100%);
    padding: 60px 20px 50px;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image:
        radial-gradient(
            circle at 20% 50%,
            rgba(255, 122, 89, 0.3) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(255, 122, 89, 0.2) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 40% 20%,
            rgba(255, 122, 89, 0.15) 0%,
            transparent 50%
        );
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 122, 89, 0.15);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 122, 89, 0.3);
    animation: fadeInDown 0.8s ease;
}

.hero-badge span {
    font-size: 18px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title-gradient {
    background: linear-gradient(90deg, #ff7a59 0%, #ffb199 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Hero Search */
.hero-search {
    max-width: 700px;
    margin: 0 auto 40px;
    display: flex;
    gap: 12px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.search-icon {
    font-size: 20px;
    margin-right: 12px;
    color: #ff7a59;
}

.hero-search-input {
    flex: 1;
    border: none;
    padding: 18px 0;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: #1e1e3f;
}

.hero-search-input::placeholder {
    color: #999;
}

.hero-search-button {
    background: #ff7a59;
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 10px 40px rgba(255, 122, 89, 0.3);
}

.hero-search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(255, 122, 89, 0.4);
    background: #ff8d6f;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

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

.hero-stat-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.hero-stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #ff7a59;
    margin-bottom: 6px;
    line-height: 1;
}

.hero-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    display: none;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Filter Section */
.filter-section {
    margin-bottom: 40px;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 100;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10px;
}

.filter-button {
    padding: 12px 28px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
}

.filter-button:hover {
    background: #fff5f2;
    color: #ff7a59;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 122, 89, 0.15);
}

.filter-button.active {
    background: linear-gradient(135deg, #ff7a59 0%, #ff8d6f 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 122, 89, 0.3);
}

/* Jobs Grid */
.jobs-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Job Card */
.job-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(30, 30, 63, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: row;
    border: 1px solid #f0f0f0;
    padding: 24px;
    gap: 24px;
    align-items: center;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(30, 30, 63, 0.12);
    border-color: #ff7a59;
}

/* Company Logo */
.job-card-left {
    flex-shrink: 0;
}

.company-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffded4;
}

.company-initial {
    font-size: 28px;
    font-weight: 800;
    color: #ff7a59;
}

/* Job Content */
.job-card-center {
    flex: 1;
    min-width: 0;
}

.job-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.job-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e1e3f;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.job-badge {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.badge-blue {
    background: linear-gradient(135deg, #1e1e3f 0%, #2a2a52 100%);
}

.badge-pink {
    background: linear-gradient(135deg, #ff7a59 0%, #ff8d6f 100%);
}

.badge-purple {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
}

.badge-green {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.badge-orange {
    background: linear-gradient(135deg, #ff7a59 0%, #ff6b47 100%);
}

.job-company {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.job-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.job-meta-item {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.job-meta-item svg {
    flex-shrink: 0;
    color: #ff7a59;
}

.job-description {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.job-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 14px;
    background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
    color: #ff7a59;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #ffded4;
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, #ff7a59 0%, #ff8d6f 100%);
    color: white;
    transform: translateY(-2px);
}

/* Job Actions */
.job-card-right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

.job-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 180px;
}

.save-button {
    align-self: flex-end;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.save-button:hover {
    background: #ff7a59;
    border-color: #ff7a59;
    color: white;
    transform: scale(1.1);
}

.save-button.saved {
    background: #ff7a59;
    border-color: #ff7a59;
    color: white;
}

.save-button.saved svg {
    fill: white;
}

.apply-button {
    padding: 14px 24px;
    background: linear-gradient(135deg, #ff7a59 0%, #ff8d6f 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(255, 122, 89, 0.2);
    display: block;
}

.apply-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 122, 89, 0.35);
}

.details-button {
    padding: 14px 24px;
    background: white;
    color: #1e1e3f;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    border: 2px solid #1e1e3f;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    display: block;
}

.details-button:hover {
    background: #1e1e3f;
    color: white;
    transform: translateY(-2px);
}

.job-posted {
    text-align: right;
}

.posted-date {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

/* More Jobs Section */
.more-jobs-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px dashed #e0e0e0;
}

.more-jobs-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px dashed #d0d0d0;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.more-jobs-card:hover {
    transform: translateY(-5px);
    border-color: #ff7a59;
    box-shadow: 0 10px 30px rgba(255, 122, 89, 0.1);
}

.more-jobs-icon {
    font-size: 72px;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

.more-jobs-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e1e3f;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.more-jobs-description {
    font-size: 17px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 28px;
}

.more-jobs-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.more-badge {
    padding: 8px 20px;
    background: white;
    color: #ff7a59;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: 2px solid #ffded4;
}

.notify-button {
    padding: 16px 32px;
    background: linear-gradient(135deg, #ff7a59 0%, #ff8d6f 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 122, 89, 0.2);
}

.notify-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 122, 89, 0.35);
}

.notify-button svg {
    animation: ring 2s ease-in-out infinite;
}

/* Search Results Message */
.search-results-message {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 16px;
    margin: 20px 0;
}

.search-results-message p:first-child {
    font-size: 64px;
    margin-bottom: 16px;
}

.search-results-message p:nth-child(2) {
    font-size: 20px;
    font-weight: 700;
    color: #1e1e3f;
    margin-bottom: 8px;
}

.search-results-message p:last-child {
    font-size: 15px;
    color: #666;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes ring {
    0%,
    100% {
        transform: rotate(0deg);
    }
    10%,
    30% {
        transform: rotate(-10deg);
    }
    20%,
    40% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

.job-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.job-card:nth-child(1) {
    animation-delay: 0.05s;
}
.job-card:nth-child(2) {
    animation-delay: 0.1s;
}
.job-card:nth-child(3) {
    animation-delay: 0.15s;
}
.job-card:nth-child(4) {
    animation-delay: 0.2s;
}
.job-card:nth-child(5) {
    animation-delay: 0.25s;
}
.job-card:nth-child(6) {
    animation-delay: 0.3s;
}
.job-card:nth-child(7) {
    animation-delay: 0.35s;
}
.job-card:nth-child(8) {
    animation-delay: 0.4s;
}
.job-card:nth-child(9) {
    animation-delay: 0.45s;
}
.job-card:nth-child(10) {
    animation-delay: 0.5s;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 42px;
    }

    .container {
        max-width: 100%;
    }
}

@media (max-width: 968px) {
    .hero-section {
        padding: 80px 20px 60px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .hero-stat-number {
        font-size: 36px;
    }

    .job-card {
        padding: 20px;
        gap: 20px;
    }

    .company-logo {
        width: 70px;
        height: 70px;
    }

    .company-initial {
        font-size: 24px;
    }

    .job-title {
        font-size: 20px;
    }

    .job-actions {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 16px 50px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-search {
        flex-direction: column;
        gap: 10px;
    }

    .hero-search-button {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .filter-bar {
        gap: 8px;
    }

    .filter-button {
        padding: 10px 20px;
        font-size: 13px;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .job-card-left {
        align-self: flex-start;
    }

    .company-logo {
        width: 60px;
        height: 60px;
    }

    .company-initial {
        font-size: 20px;
    }

    .job-card-center {
        width: 100%;
    }

    .job-title {
        font-size: 19px;
    }

    .job-card-right {
        width: 100%;
        align-items: stretch;
    }

    .job-actions {
        width: 100%;
    }

    .save-button {
        align-self: flex-start;
    }

    .more-jobs-section {
        margin-top: 40px;
        padding-top: 40px;
    }

    .more-jobs-card {
        padding: 40px 24px;
    }

    .more-jobs-icon {
        font-size: 56px;
    }

    .more-jobs-title {
        font-size: 26px;
    }

    .more-jobs-description {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 50px 12px 40px;
    }

    .hero-badge {
        padding: 10px 20px;
        font-size: 13px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .search-input-wrapper {
        padding: 0 20px;
    }

    .hero-search-input {
        padding: 16px 0;
        font-size: 15px;
    }

    .hero-search-button {
        padding: 16px 28px;
        font-size: 15px;
    }

    .hero-stat-icon {
        font-size: 32px;
    }

    .hero-stat-number {
        font-size: 32px;
    }

    .hero-stat-label {
        font-size: 13px;
    }

    .container {
        padding: 40px 12px;
    }

    .filter-section {
        margin-bottom: 30px;
        padding: 12px 0;
    }

    .filter-bar {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-bar::-webkit-scrollbar {
        display: none;
    }

    .filter-button {
        padding: 8px 16px;
        font-size: 12px;
        white-space: nowrap;
    }

    .jobs-grid {
        gap: 16px;
    }

    .job-card {
        padding: 16px;
        gap: 16px;
    }

    .job-title {
        font-size: 18px;
    }

    .job-description {
        font-size: 14px;
    }

    .job-meta {
        gap: 16px;
    }

    .job-meta-item {
        font-size: 13px;
    }

    .tag {
        padding: 5px 12px;
        font-size: 11px;
    }

    .more-jobs-section {
        margin-top: 30px;
        padding-top: 30px;
    }

    .more-jobs-card {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .more-jobs-icon {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .more-jobs-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .more-jobs-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .more-jobs-badges {
        gap: 8px;
        margin-bottom: 24px;
    }

    .more-badge {
        padding: 6px 16px;
        font-size: 12px;
    }

    .notify-button {
        padding: 14px 28px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: #ff7a59;
    color: white;
}

::-moz-selection {
    background: #ff7a59;
    color: white;
}
