/* Phi Browser Landing Page - Build: %%DEPLOY_VERSION%% */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "plantin", serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* #bg-canvas canvas {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
} */

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 2rem;
    background: rgba(8, 8, 12, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.header-content {
    font-family: "orpheus-pro", serif;
    font-size: 0.85rem;
    font-weight: 400;
    font-style: italic;
    color: #c8bfa8;
    text-align: center;
    letter-spacing: 0.08em;
    position: relative;
    /* Authentic letterpress embossed effect */
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.12),
        0 -1px 0 rgba(0, 0, 0, 0.8),
        0 2px 3px rgba(0, 0, 0, 0.6),
        0 0 8px rgba(0, 0, 0, 0.3);
}

.header-content::before {
    content: '~ ';
    color: #a89968;
    font-weight: 300;
    font-style: normal;
}

.header-content::after {
    content: ' ~';
    color: #a89968;
    font-weight: 300;
    font-style: normal;
}

.header-content span {
    font-family: "plantin", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    color: #e8dcc6;
    position: relative;
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.18),
        0 -1px 0 rgba(0, 0, 0, 0.9),
        0 2px 4px rgba(0, 0, 0, 0.7),
        0 0 12px rgba(0, 0, 0, 0.4);
}

.back-link {
    font-family: "neue-kabel", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e8dcc6;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.18),
        0 -1px 0 rgba(0, 0, 0, 0.9),
        0 2px 4px rgba(0, 0, 0, 0.7),
        0 0 8px rgba(232, 220, 198, 0.2);
}

.back-link:hover {
    color: #f2ead6;
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.25),
        0 -1px 0 rgba(0, 0, 0, 0.9),
        0 2px 4px rgba(0, 0, 0, 0.7),
        0 0 12px rgba(232, 220, 198, 0.4);
    transform: translateX(-2px);
}

/* Enhanced letterpress texture and noise */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Paper texture noise */
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.025) 0%, transparent 35%),
        radial-gradient(circle at 45% 85%, rgba(0, 0, 0, 0.02) 0%, transparent 30%),
        /* Fine grain texture */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.008) 1px,
            rgba(255, 255, 255, 0.008) 2px
        ),
        /* Cross-hatch letterpress pattern */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.006) 3px,
            rgba(255, 255, 255, 0.006) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.006) 3px,
            rgba(255, 255, 255, 0.006) 4px
        );
    background-size: 80px 80px, 60px 60px, 40px 40px, 2px 2px, 4px 4px, 4px 4px;
    pointer-events: none;
    opacity: 0.6;
}

/* Additional depth shadow for letterpress */
.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(145deg, 
            rgba(255, 255, 255, 0.01) 0%, 
            transparent 25%, 
            transparent 75%, 
            rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
    opacity: 0.8;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 2rem 2rem 2rem;
    position: relative;
    box-sizing: border-box;
}

/* Create a centered content wrapper */
.main-content::before {
    content: '';
    flex: 1;
    min-height: 100px; /* Minimum space for header */
}

.main-content::after {
    content: '';
    flex: 1;
}

/* Hero Section */
.hero {
    max-width: 800px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-family: "neue-kabel", sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    background: linear-gradient(
        135deg, 
        #ec4899 0%,      /* Pink */
        #be185d 25%,     /* Dark Pink */
        #a21caf 50%,     /* Medium Purple */
        #8b5cf6 75%,     /* Purple */
        #7c3aed 100%     /* Deep Purple */
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    cursor: crosshair;
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Animated gradient that cycles through colors */
    animation: color-flow 8s ease-in-out infinite;
    
    /* Subtle 3D materialized effect */
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.08),
        0 2px 0 rgba(190, 24, 93, 0.3),
        0 3px 0 rgba(190, 24, 93, 0.2),
        0 6px 12px rgba(0, 0, 0, 0.15),
        0 0 15px rgba(190, 24, 93, 0.1);
    
    transform: perspective(2000px) rotateX(0.5deg);
}

.hero h1:hover {
    transform: perspective(2000px) rotateX(0.3deg) translateZ(2px);
    animation-duration: 4s; /* Faster animation on hover */
    background-size: 400% 400%; /* More dynamic gradient movement */
    
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.12),
        0 2px 0 rgba(190, 24, 93, 0.4),
        0 3px 0 rgba(190, 24, 93, 0.3),
        0 4px 0 rgba(190, 24, 93, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(190, 24, 93, 0.15),
        0 0 35px rgba(139, 92, 246, 0.08);
}

/* Gradient animation keyframes */
@keyframes color-flow {
    0%, 100% { 
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 0%;
    }
    50% { 
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 100%;
    }
}

.hero h1::before {
    content: 'Phi Browser';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(190, 24, 93, 0.8) 0%, 
        rgba(139, 92, 246, 0.8) 25%, 
        rgba(236, 72, 153, 0.8) 50%, 
        rgba(139, 92, 246, 0.8) 75%, 
        rgba(190, 24, 93, 0.8) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: -1;
    background-size: 200% 200%;
    animation: subtle-gradient-shift 12s ease-in-out infinite;
    transition: all 0.6s ease;
    opacity: 0.6;
    
    /* Subtle shadow layer for more depth */
    filter: blur(0.5px);
}

.hero h1:hover::before {
    opacity: 0.8;
    top: 3px;
    left: 3px;
}

.hero h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Subtle surface texture */
        repeating-linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 3px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            rgba(255, 255, 255, 0.015) 1px,
            transparent 4px
        );
    pointer-events: none;
    opacity: 0.3;
    border-radius: 4px;
}

@keyframes subtle-gradient-shift {
    0%, 100% { 
        background-position: 0% 50%;
    }
    50% { 
        background-position: 100% 50%;
    }
}

/* Hero Tagline Hierarchy */
.hero-tagline-primary {
    font-family: "orpheus-pro", serif;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 400;
    font-style: normal;
    color: #e8dcc6;
    margin: 1.2rem 0 1.5rem 0;
    line-height: 1.3;
    letter-spacing: 0.02em;
    position: relative;
    
    /* Subtle embossed effect without visible background */
    text-shadow: 
        /* Gentle highlight for subtle raised effect */
        0 1px 0 rgba(255, 255, 255, 0.2),
        0 2px 0 rgba(255, 255, 255, 0.1),
        
        /* Very subtle shadow for minimal depth */
        0 -1px 0 rgba(0, 0, 0, 0.3),
        
        /* Soft glow for visibility */
        0 0 8px rgba(232, 220, 198, 0.4),
        0 0 16px rgba(232, 220, 198, 0.2);
    
    /* Entrance animation */
    animation: fadeInUp 1.2s ease-out 0.5s both;
}

.hero-tagline-primary .ornament-left,
.hero-tagline-primary .ornament-right {
    font-size: 0.8em;
    color: #d4c5a9;
    margin: 0 0.5rem;
    opacity: 0.9;
    text-shadow: 
        /* Bright highlight for visibility */
        0 1px 0 rgba(255, 255, 255, 0.3),
        0 2px 0 rgba(255, 255, 255, 0.2),
        
        /* Minimal shadow for depth */
        0 -1px 0 rgba(0, 0, 0, 0.4),
        
        /* Soft glow */
        0 0 6px rgba(212, 197, 169, 0.5),
        0 0 12px rgba(212, 197, 169, 0.3);
    animation: ornament-glow 4s ease-in-out infinite alternate;
}

@keyframes ornament-glow {
    0% { 
        opacity: 0.8; 
        transform: scale(1);
        text-shadow: 
            0 1px 0 rgba(255, 255, 255, 0.3),
            0 2px 0 rgba(255, 255, 255, 0.2),
            0 -1px 0 rgba(0, 0, 0, 0.4),
            0 0 6px rgba(212, 197, 169, 0.4),
            0 0 12px rgba(212, 197, 169, 0.2);
    }
    100% { 
        opacity: 1; 
        transform: scale(1.03);
        text-shadow: 
            0 1px 0 rgba(255, 255, 255, 0.4),
            0 2px 0 rgba(255, 255, 255, 0.3),
            0 -1px 0 rgba(0, 0, 0, 0.5),
            0 0 8px rgba(212, 197, 169, 0.6),
            0 0 16px rgba(212, 197, 169, 0.4);
    }
}

.hero-tagline-secondary {
    font-family: "neue-kabel", sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 1.5rem 0 1rem 0;
    line-height: 1.4;
    letter-spacing: 0.01em;
    
    /* Subtle glow effect */
    text-shadow: 
        0 0 10px rgba(139, 92, 246, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.1),
        0 -1px 0 rgba(0, 0, 0, 0.5);
    
    /* Entrance animation */
    animation: fadeInUp 1.2s ease-out 0.8s both;
}

.hero-tagline-tertiary {
    font-family: "soleil", sans-serif;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin: 1rem 0 3rem 0;
    line-height: 1.5;
    letter-spacing: 0.02em;
    
    /* Minimal depth */
    text-shadow: 
        0 1px 0 rgba(0, 0, 0, 0.5),
        0 1px 2px rgba(0, 0, 0, 0.2);
    
    /* Entrance animation */
    animation: fadeInUp 1.2s ease-out 1.1s both;
}

/* Tagline entrance animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Waitlist Section */
.waitlist-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    margin-bottom: 4rem;
}

.waitlist-title {
    font-family: "neue-kabel", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.waitlist-subtitle {
    font-family: "soleil", sans-serif;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.6;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input {
    font-family: "soleil", sans-serif;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 300;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #be185d;
    box-shadow: 0 0 0 3px rgba(190, 24, 93, 0.2);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    font-family: "neue-kabel", sans-serif;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #be185d, #8b5cf6);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(190, 24, 93, 0.3);
}

/* About Section */
.about-section {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.3) 100%);
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-title {
    font-family: "neue-kabel", sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    background: linear-gradient(
        135deg,
        #ec4899 0%,
        #be185d 25%,
        #a21caf 50%,
        #8b5cf6 75%,
        #7c3aed 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: subtle-gradient-shift 8s ease-in-out infinite;
}

.about-description {
    font-family: "soleil", sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Jobs Section */
.jobs-section {
    min-height: 100vh;
    padding: 4rem 2rem;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.8) 50%);
}

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

.jobs-title {
    font-family: "neue-kabel", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #be185d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.job-tile {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.job-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(190, 24, 93, 0.2);
    border-color: rgba(190, 24, 93, 0.3);
}

.job-title {
    font-family: "neue-kabel", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.job-department {
    font-family: "neue-kabel", sans-serif;
    color: #be185d;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-description {
    font-family: "plantin", serif;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.job-meta {
    font-family: "soleil", sans-serif;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
}

.apply-now-btn {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: "neue-kabel", sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apply-now-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.job-location {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-family: "neue-kabel", sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.job-location::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.job-tile:hover .job-location::before {
    left: 100%;
}

.job-tile:hover .job-location {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

/* Job Detail Page */
.job-detail {
    display: none;
    min-height: 100vh;
    padding: 6rem 2rem 4rem;
}

.job-detail.active {
    display: block;
}

.job-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.back-btn {
    font-family: "neue-kabel", sans-serif;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.job-detail h1 {
    font-family: "neue-kabel", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #be185d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.job-detail-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.job-detail-meta span {
    font-family: "neue-kabel", sans-serif;
    background: rgba(190, 24, 93, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.job-locations {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-label {
    font-family: "neue-kabel", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #be185d;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.location-tag {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    font-family: "neue-kabel", sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.location-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.location-tag:hover::before {
    left: 100%;
}

.location-tag:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.job-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.job-content {
    font-family: "plantin", serif;
}

.job-content h2 {
    font-family: "neue-kabel", sans-serif;
    color: #be185d;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.job-content h2:first-child {
    margin-top: 0;
}

.job-content p {
    font-family: "plantin", serif;
    font-size: 1.35rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.job-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.job-content li {
    font-family: "plantin", serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.apply-btn {
    font-family: "neue-kabel", sans-serif;
    background: linear-gradient(135deg, #be185d, #8b5cf6);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(190, 24, 93, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .hero {
        margin-bottom: 2rem;
        width: 100%;
        max-width: 500px; /* Same as waitlist section */
    }
    
    .hero h1 {
        font-size: clamp(3.5rem, 12vw, 5rem); /* More aggressive scaling for mobile */
        line-height: 0.9; /* Tighter line height for better fit */
        letter-spacing: -0.03em; /* Slightly tighter spacing */
    }
    
    .hero-tagline-primary {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
        margin: 1rem 0 1rem 0;
    }
    
    .hero-tagline-primary .ornament-left,
    .hero-tagline-primary .ornament-right {
        margin: 0 0.3rem;
        font-size: 0.7em;
    }
    
    .hero-tagline-secondary {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin: 1rem 0 0.8rem 0;
    }
    
    .hero-tagline-tertiary {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        margin: 0.8rem 0 2rem 0;
    }
    
    .waitlist-section {
        padding: 2rem 1.5rem;
    }
    
    .about-section {
        padding: 3rem 1.5rem;
    }
    
    .about-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .about-description {
        font-size: clamp(1rem, 4vw, 1.2rem);
        line-height: 1.5;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .job-detail-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .job-content {
        padding: 1.5rem;
    }
    
    .job-content p {
        font-size: 1.2rem;
        line-height: 1.7;
        margin-bottom: 1.7rem;
    }
    
    .job-content li {
        font-size: 1.1rem;
        line-height: 1.65;
        margin-bottom: 0.8rem;
    }
    
    .job-description {
        font-size: 1.15rem;
        line-height: 1.65;
    }
    
    .waitlist-subtitle {
        font-size: 1.1rem;
        line-height: 1.55;
    }
}

/* Extra small screens - very narrow viewports */
@media (max-width: 480px) {
    .hero h1 {
        font-size: clamp(4rem, 15vw, 5.5rem); /* Even more aggressive for very narrow screens */
        line-height: 0.85; /* Even tighter for maximum impact */
        margin-bottom: 1rem; /* Reduce bottom margin */
    }
    
    .hero {
        max-width: 100%; /* Take full available width */
        padding: 0 0.5rem; /* Small padding to prevent edge touching */
    }
    
    .waitlist-section {
        padding: 1.5rem 1rem; /* Reduce padding on very small screens */
    }
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-text {
    font-family: "soleil", sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scroll-bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    margin-top: -2px;
}

@keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Success Message */
.success-message {
    font-family: "soleil", sans-serif;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 1rem;
    color: #22c55e;
    text-align: center;
    margin-top: 1rem;
    font-weight: 300;
    display: none;
}

/* Apply Now Lightbox */
.apply-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.apply-lightbox.show {
    display: flex;
}

.apply-lightbox-content {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.apply-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.apply-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.apply-lightbox h3 {
    font-family: "neue-kabel", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.apply-lightbox p {
    font-family: "soleil", sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.apply-lightbox .email-link {
    font-family: "neue-kabel", sans-serif;
    font-weight: 600;
    color: #ec4899;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.apply-lightbox .email-link:hover {
    color: #be185d;
}

.apply-lightbox-button {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-family: "neue-kabel", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.2s ease;
}

.apply-lightbox-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

@media (max-width: 600px) {
    .apply-lightbox-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .apply-lightbox h3 {
        font-size: 1.3rem;
    }
    
    .apply-lightbox p {
        font-size: 0.9rem;
    }
}

/* Short viewport height adjustments */
@media (max-height: 700px) {
    .main-content::before {
        min-height: 120px; /* Increase minimum top space for shorter viewports */
        flex: 1.5; /* Give more weight to top space */
    }
    
    .main-content::after {
        flex: 1; /* Less weight to bottom space */
    }
    
    .hero {
        margin-bottom: 1.5rem; /* Reduced bottom margin */
    }
    
    .hero h1 {
        font-size: clamp(2.5rem, 7vw, 4.5rem); /* Slightly smaller on short screens */
        margin-bottom: 1rem;
    }
}

@media (max-height: 600px) {
    .main-content::before {
        min-height: 140px; /* Even more top space for very short viewports */
        flex: 2; /* Even more weight to top space */
    }
    
    .main-content::after {
        flex: 0.5; /* Minimal bottom space */
    }
}

@media (max-height: 500px) {
    .main-content::before {
        min-height: 120px; /* Maintain safe distance but optimize for space */
        flex: 1;
    }
    
    .main-content::after {
        flex: 0.3; /* Minimal bottom space */
    }
    
    .hero h1 {
        font-size: clamp(2rem, 6vw, 3.5rem); /* Even smaller on very short screens */
        margin-bottom: 0.5rem;
    }
    
    .hero-tagline-primary,
    .hero-tagline-secondary,
    .hero-tagline-tertiary {
        font-size: 0.9rem; /* Smaller taglines */
        margin-bottom: 0.5rem;
    }
    
    .scroll-indicator {
        display: none; /* Hide scroll indicator on very short screens */
    }
}