/* Global Styles */
:root {
    --primary-color: #0b0b0b;
    --secondary-color: #d6d4ce;
    --primary-font: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", "Nimbus Sans", sans-serif;
    --accent-color: #4CAF50;
    --success-bg: rgba(76, 175, 80, 0.1);
}

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

body {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-family: var(--primary-font);
    min-height: 100vh;
    background: linear-gradient(135deg, #0b0b0b 0%, #1a1a1a 100%);
}

/* Different layouts */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.careers-container {
    padding: 47px 0;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 47px 70px 0 70px;
}

/* Careers page header variant */
.careers-header {
    margin-bottom: 118px;
    padding: 0 70px 0 70px;
}

header nav {
    display: flex;
    align-items: flex-end;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    width: 23px;
    height: 24px;
}

header .logo span {
    margin-left: 6px;
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
}

header nav a {
    color: #d6d4ce;
    text-decoration: none;
    font-size: 16px;
    border: none;
    padding: 8px 16px;
    transition: all 0.3s ease;
    font-weight: 500;
    line-height: 28px;
    background-color: transparent;
    display: flex;
    align-items: flex-end;
    margin-bottom: 2px;
    position: relative;
}

header nav .nav-home {
    margin-right: 35px;
}

header nav a:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

header nav a:hover::after {
    width: 100%;
}

/* Coming Soon Section */
.coming-soon {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.coming-soon .tagline {
    display: inline-flex;
    padding: 4px 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    border: 1px solid var(--secondary-color);
    margin-bottom: 16px;
    color: var(--secondary-color);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
}

.coming-soon h1 {
    max-width: 1016px;
    width: 100%;
    color: #D6D4CE;
    text-align: center;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -3.2px;
    margin-bottom: 16px;
}

.coming-soon p {
    color: #D6D4CE;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0.2px;
    margin-bottom: 40px;
    max-width: 600px;
}

/* Waitlist Form */
.waitlist-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    width: 100%;
    align-items: center;
    flex-direction: row;
}

.waitlist-form input[type="email"] {
    display: flex;
    width: 410px;
    height: 50px;
    padding: 0 28px;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    border: 1px solid #DCDCDC;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    flex: 1;
}

.waitlist-form input[type="email"]:focus {
    border-color: var(--secondary-color);
}

.waitlist-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.30);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
}

.waitlist-form button {
    height: 50px;
    padding: 0 24px;
    border-radius: 25px;
    border: none;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.waitlist-form button:hover {
    opacity: 0.9;
}

.waitlist-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-status {
    text-align: center;
    font-size: 14px;
    min-height: 20px;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 12px;
}

.form-status.success {
    color: #4CAF50;
}

.form-status.error {
    color: #f44336;
}

/* Thank You Content */
.thank-you-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.thank-you-content h1 {
    color: #D6D4CE;
    text-align: center;
    max-width: 1016px;
    width: 100%;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    background: linear-gradient(135deg, #D6D4CE 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.thank-you-content p {
    max-width: 680px;
    width: 100%;
    color: #D6D4CE;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0.2px;
    margin-bottom: 38px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    opacity: 0.9;
}

.home-button {
    display: inline-flex;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    border: 2px solid #D6D4CE;
    background: linear-gradient(135deg, #D6D4CE 0%, #f0f0f0 100%);
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.home-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.home-button:hover::before {
    left: 100%;
}

.home-button:hover {
    background: linear-gradient(135deg, #ffffff 0%, #D6D4CE 100%);
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(214, 212, 206, 0.3);
}

/* Background decoration */
.thank-you-content::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.thank-you-content::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(214, 212, 206, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

/* Hero Section */
.hero {
    padding: 0 100px 0 66px;
}

.hero .tagline {
    display: inline-flex;
    padding: 4px 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    border: 1px solid var(--secondary-color);
    margin-bottom: 16px;
    color: var(--secondary-color);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
}

.hero h1 {
    color: #D6D4CE;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -3.2px;
    margin-bottom: 16px;
}

.hero p {
    width: 100%;
    max-width: 680px;
    color: #D6D4CE;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0.2px;
}

/* Job Listings */
.job-listings {
    margin-top: 71px;
    padding-left: 67px;
    padding-right: 53px;
}

.filters {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
    border-bottom: 2px solid #939393;
    padding-bottom: 49px;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
}

.filters button {
    background: none;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.filters button.active, .filters button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 184px;
    padding: 0 0 0 1px;
    border-bottom: 2px solid #939393;
}

.job-details h3 {
    color: var(--secondary-color);
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 13px;
}

.job-details p {
    color: rgba(214, 212, 206, 0.70);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.16px;
    margin-bottom: 24px;
}

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

.job-details .tag {
    display: flex;
    padding: 4px 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    border: 2px solid #D6D4CE;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-color);
}

.job-details .tag svg {
    width: 12px;
    height: 15px;
    stroke: #D6D4CE;
    stroke-width: 1.5px;
}

/* Intern icon (clock) specific styling */
.job-details .tag svg[width="20"] {
    width: 20px;
    height: 20px;
}

.apply-link {
    align-self: stretch;
    color: #D6D4CE;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 20px;
    position: relative;
    margin-top: 21px;
}

.border-svg {
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    overflow: visible;
    pointer-events: none;
}

.border-path {
    fill: none;
    stroke: var(--secondary-color);
    stroke-width: 2;
    stroke-dasharray: 242; 
    stroke-dashoffset: 121; 
    opacity: 0;
    transition: opacity 0.3s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    header {
        padding: 40px 40px 0 40px;
    }
    
    .coming-soon h1 {
        font-size: 56px;
        letter-spacing: -2.8px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 30px 20px 0 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    header nav {
        align-self: stretch;
        justify-content: center;
        align-items: center;
    }
    
    header nav a {
        align-items: center;
        margin-bottom: 0;
    }
    
    .careers-header {
        padding: 0 20px;
        margin-bottom: 60px;
    }
    
    .hero {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 48px;
        letter-spacing: -2.4px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .job-listings {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 50px;
    }
    
    .filters {
        flex-wrap: wrap;
        gap: 6px;
        padding-bottom: 30px;
    }
    
    .filters button {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .job-item {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 20px 0;
    }
    
    .job-details h3 {
        font-size: 22px;
    }
    
    .job-details p {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 15px;
    }
    
    .apply-link {
        font-size: 22px;
        margin-top: 15px;
        align-self: stretch;
        text-align: center;
    }
    
    header nav .nav-home {
        margin-right: 10px;
    }
    
    .thank-you-content {
        padding: 20px;
    }
    
    .thank-you-content h1 {
        font-size: 48px;
        line-height: 1.1;
    }
    
    .thank-you-content p {
        font-size: 18px;
        line-height: 26px;
        padding: 0 20px;
    }
    
    .home-button {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .thank-you-content::before {
        width: 150px;
        height: 150px;
        top: 15%;
        left: 5%;
    }
    
    .thank-you-content::after {
        width: 100px;
        height: 100px;
        bottom: 15%;
        right: 5%;
    }
    
    .waitlist-form {
        flex-direction: column;
        gap: 16px;
        max-width: 400px;
    }
    
    .waitlist-form input[type="email"],
    .waitlist-form button {
        width: 100%;
        height: 50px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px 15px 0 15px;
        gap: 15px;
    }
    
    header .logo span {
        font-size: 18px;
    }
    
    header nav a {
        font-size: 14px;
        padding: 6px 12px;
        align-items: center;
        margin-bottom: 0;
    }
    
    .coming-soon {
        padding: 15px;
    }
    
    .hero h1 {
        font-size: 36px;
        letter-spacing: -1.8px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .job-details h3 {
        font-size: 20px;
    }
    
    .job-details p {
        font-size: 14px;
        line-height: 20px;
    }
    
    .job-details .tag {
        font-size: 12px;
        padding: 3px 12px;
    }
    
    .apply-link {
        font-size: 20px;
    }
    
    .filters {
        padding-bottom: 20px;
    }
    
    .filters button {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .job-listings {
        margin-top: 40px;
    }
    
    .waitlist-form {
        max-width: 300px;
        gap: 12px;
    }
    
    .waitlist-form input[type="email"] {
        padding: 0 20px;
        font-size: 14px;
    }
    
    .waitlist-form button {
        font-size: 14px;
        padding: 0 20px;
    }
}

@media (max-width: 360px) {
    .thank-you-content h1 {
        font-size: 32px;
        letter-spacing: -1.6px;
    }
    
    .thank-you-content p {
        font-size: 14px;
        line-height: 22px;
    }
    
    .home-button {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .hero h1 {
        font-size: 32px;
        letter-spacing: -1.6px;
    }
    
    .hero p {
        font-size: 14px;
        line-height: 20px;
    }
    
    .job-details h3 {
        font-size: 18px;
    }
    
    .apply-link {
        font-size: 18px;
    }
}